Skip to content

Screen groups, spacing, QR style, header choices, and moving a project to another team - #22

Merged
ExeQue merged 9 commits into
mainfrom
feat/screen-groups
Nov 18, 2026
Merged

ExeQue merged 9 commits into
mainfrom
feat/screen-groups

Conversation

@ExeQue

@ExeQue ExeQue commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Status screens

  • Group widget: one card behind the widgets wholly inside it (on fewer cells than the group). Groups nest, move with what they hold and cannot shrink off a widget; widgets in a group draw no card of their own. Membership is geometric, so there is no new data structure; the server allows the overlap only for a group holding a widget (ScreenLayout::overlapping).
  • Margin and Spacing per screen (none, s, m, l; m as before). With no spacing, tiles are square and borders collapse.
  • QR code style: logo, colors, modules, eyes (set or outer and inner apart), up to 3 filters, from the QR library's own parts, icons and labels. A style that would not scan is refused on save by drawing it once with the scan guards.
  • Header: each part can be turned off (offline always shows), a title of its own, four sizes, seconds, the date in five formats or a custom token pattern (validated client and server side), in the app's, the TV's or a picked language.
  • Settings form in tabs (Display, Look, Data, Header); aspect and orientation moved there from the toolbar. Choices with icons, switches for projects and header parts.
  • MCP: update_screen takes margin, gap, header; the design guide covers groups; list_widget_types drops the icon SVGs.

New migrations: margin and gap, and header on screens; existing screens keep their look.

Projects

  • Move to another team (owner/admin of both teams): one transaction moves the project's own alert rules and channels, drops links to the old team's, MCP token access and the old team's screen references (a scope left empty keeps WidgetScope::NO_PROJECT so it shows nothing), clears assignees/watchers outside the new team, and replaces a taken slug or issue prefix. Logged in the admin audit log.

Tests

Screens, Mcp, Projects, Alerts and friends pass per folder; ScreenQrTest and ShowcaseSeederTest exhaust the local 128 MB memory limit with or without these changes. Pint, PHPStan, tsc and lint pass.

…abbed settings form

- A group card lies behind the widgets wholly inside it, drawing one card for them;
  groups nest, a group moves with all it holds and never shrinks off a widget, and
  widgets in a group draw no card of their own ("Show card" is locked off).
- A screen's margin and the space between its widgets: none, small, medium or
  large; with none, tiles are square and their borders collapse into one line.
- Choices with icons that show what they do: spacing, alignment, text and title
  sizes, theme, fit, aspect and orientation.
- The QR code widget picks the logo, its colors, modules, eyes (a preset or outer
  and inner apart) and up to three filters, from the QR library's own parts, icons
  and labels; a style phones could not read is refused on save.
- The header shows what is chosen: logo, title or a title of its own, team,
  projects, environment, period, problem count and live state; the clock can show
  the date and seconds. Offline always shows.
- Screen settings in tabs (Display, Look, Data, Header); aspect and orientation
  move there from the toolbar.
An owner or admin of both teams moves a project from its settings. One
transaction moves the project's own alert rules and channels, drops links to
the old team's rules and channels, takes the project out of MCP tokens and the
old team's screens (a scope left empty keeps WidgetScope::NO_PROJECT, so it
shows nothing rather than every project), and clears assignees and watchers who
are not in the new team. A slug or issue prefix taken in the new team is
replaced from the dialog. Each move is in the admin audit log.
What follows (aspect and orientation) reads from whether the screen keeps its shape on another display.
…and switches for its parts and projects

- The header's date in a format of five, or one of its own from tokens
  (YYYY, MMMM, ddd, D...) with text in [brackets], checked as it is typed and
  on save.
- Its date and clock in the app's language, the TV's own, or one picked.
- The header drawn small, medium (as before), large or huge.
- The header's parts and the screen's projects as switches, with All projects
  on while none is picked.
- MCP: the design guide covers groups and the new settings, and
  list_widget_types leaves out the designer's icons.
@ExeQue
ExeQue merged commit 9c2302b into main Nov 18, 2026
6 checks passed
@ExeQue
ExeQue deleted the feat/screen-groups branch November 18, 2026 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant