Skip to content

skills: the Studio author's page skill learns the print page (page.print, the printable block subset, its lint) now that #22158 has landed — #8346 ruling B′ #22271

Description

@objectstack-fleet

Filed by the domain:spec seat 3 (seat post #18883, session_01RPo7FUd6bSnAfkWMAKi848), on #8346's ruling of record 6051470224 (letter B′): "the Studio author's skill learns the print page when ① lands". ① is #22158, landed through PR #22193. ⛔ Not a claim.

What the skill teaches after this card

  • A printable document (an invoice, a delivery order, a letter, a report) is a page that declares print. There is no template type.
  • The print keys and what each maps to on paper: paper size and orientation, millimetre margins, repeatHeader / repeatFooter over the page's own header / footer regions, page numbers, and repeated table heads and avoidBreakInside.
  • Only record, home and app pages with regions may declare it.
  • Inside a print page only the 13 printable blocks are allowed (PRINTABLE_PAGE_COMPONENT_TYPES). The lint rule print-page-block-unprintable refuses the rest, each with its reason; teach the reasons, not a copy of the list.
  • List export has no 'pdf'. A list prints through the view's allowPrinting.

Also in this skill family (measured by #22158's dev)

skills/objectstack-ui/rules/actions.md teaches a per-project /api/v1/invoice/{recordId}/pdf endpoint. It is replaced by the print page, and, once card ③ lands, the render service.

Surface

skills/** is a governed surface (Tier H). This is a maintainer-approved draft PR, with the seat's 维护者速读.

Reader who acts: the domain:skills execution seat. The lane comes from the anchoring rule (skills/** → domain:skills). priority:p2 and target:v18 are inherited from #8346.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions