Skip to content

[OpenSpec] surfaces-document-house-style #684

Description

@github-actions

⚠️ OpenSpec-managed issue — this content is automatically synced
from the openspec/ directory. Manual edits will be overwritten on next sync.

Artifacts

Specs

Tasks

  • 1.1 lib/Service/DocumentStyleService.php::forUser() from the resolved set, fonts and footer config. Verify: tests/Unit/Service/DocumentStyleServiceTest.php for the instance default, a group-mapped user, a set without a logo, and system fonts.
  • 1.2 GET /api/document-style, #[NoAdminRequired]. Verify: controller test, anonymous refused.
  • 2.1 Documents block: document logo, cover image, extra footer line, with a preview of the profile. Verify: Playwright scenario "An administrator sets a print logo for documents".
  • 2.2 Store assets in app data documents/ with type and size checks; endpoints #[AuthorizedAdminSetting]. Verify: controller tests for an SVG with script refused, a too-large file refused, non-admin 403.
  • 2.3 Bundle: footer line as a value, assets as metadata. Verify: ConfigBundleServiceTest round trip.
  • 3.1 Document the PHP and HTTP contract in docs/reference/document-style.md with the profile shape. Verify: the docs build.
  • 3.2 Open issues in filinq and OpenRegister naming their half (seed huisstijl from the profile; logo, fonts and footer in exportToPdf()). Verify: issue links recorded in this task.
  • 4.1 l10n en and nl. Verify: npm run test:l10n.
  • 4.2 Colours in the profile meet 4.5:1 for text on background, or the profile carries the warning. Verify: unit test.

Design

See design.md for technical design details.


Synced from openspec/changes/surfaces-document-house-style by OpenSpec workflow
App: thematiq

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

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions