Skip to content

feat(tiles): a tile inside a group opens the tile form; its save writes the group's sort order - #2059

Merged
rubenvdlinde merged 7 commits into
developmentfrom
cloud/b-launchpad-help-tile-form-board-sync-2
Nov 25, 2026
Merged

rubenvdlinde merged 7 commits into
developmentfrom
cloud/b-launchpad-help-tile-form-board-sync-2

Conversation

@rubenvdlinde

@rubenvdlinde rubenvdlinde commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Decision

A tile inside a group (a child of a container's content.placements) is edited with the same tile form as a tile on the dashboard, opened from the same tile menu (Tile menu > Edit tile / Delete tile). It has no placement of its own on the server, and the group renders it through the shared tile renderer, which reads only name, icon, colours, type and address. So in a group the form offers only a web address: no single sign-on, remote desktop or program type, no internal address, no Open in, and no availability check. Settings of that kind that a child already carries are kept, not dropped. A bookmark link child ({label, url, actionType}) becomes a full tile node when it is saved; a link that runs an action or lists several links stays a link. This follows the 25 Nov decision that tiles in a group are full tile nodes.

What

  • src/utils/groupTiles.js: read a group child into the form, write the form back into the group (content.placements[i]) together with the group's sort order (content.sortBy, REQ-TILE-041), remove a child. A theme colour is also written as its CSS variable into backgroundColor, which the group's renderer paints.
  • ContainerChild shows the tile menu on a tile child in edit mode; ContainerWidget hands the edit or delete to the dashboard through an injected openGroupTileEditor; Views provides it, opens TileEditor with groupName, groupSort and inGroup, and saves the group with one placement update. A group that changed under the form says so instead of writing.
  • TileEditor gets inGroup.
  • The group's use counter (launcher-tile-sorting) now listens for clicks on the inner grid in the capture phase instead of a @click on each cell (hydra gate 32); a click in a group inside a group counts the outer cell, as before.
  • Four strings in all 36 locales.

Change: openspec/changes/tile-form-board-sync task 2 ticked; the rest of it is split out as a new task (moving a tile into a group, and a repair step for stored link children).

Checks (local, development merged in at c1e8ee8)

  • hydra scripts/diff-check.sh --base origin/development: GREEN (first run found McCabe 11, gate-32 and the 4-star unit_complexity >5 floor; all fixed).
  • npm run lint: 0 errors.
  • vitest: 4168 passed, 1 failed, inherited from development (l10n-browser-catalogue en.js identity entry 'Group dashboard of {group}'; en.js unchanged here).
  • composer check:strict: PHPUnit 6173 tests, 1 failure OpenApiDriftTest::testTheCommittedDocumentIsCurrent, plus lint:openapi, phpcs, phpmd and psalm reds. All inherited: this PR changes no PHP and no OpenAPI file.
  • Not run: Playwright (no live instance in this run); tests/e2e/tiles-form-board-sync.spec.ts group-order scenario can now follow, for a live lane.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Bx7wxRcm5sbrgP7nXocrri

…writes the group's sort order [skip ci]

tile-form-board-sync task 2 (REQ-TILE-041), work in progress.

Assisted-by: ClaudeCode:claude-opus-5-5
Assisted-by: ClaudeCode:claude-opus-5-5
…ile form [skip ci]

Assisted-by: ClaudeCode:claude-opus-5-5
…istens on the grid, not on a cell [skip ci]

Assisted-by: ClaudeCode:claude-opus-5-5
@rubenvdlinde
rubenvdlinde marked this pull request as ready for review November 25, 2026 15:32
@rubenvdlinde
rubenvdlinde merged commit a156ac0 into development Nov 25, 2026
4 of 8 checks passed
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