Repository navigation
feat(columns): collapse columns, open a header menu, add a column from a tile - #232
Merged
Merged
Conversation
…size the menu to its column
…, and close it on an outside click
…o webkit moves focus
This was referenced Nov 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Boards can now collapse columns, open a menu from a column header, and add a column from a tile after the last one. Hosts wire the writes; Flowforge draws the controls. Before this, a host that wanted any of these had to override Flowforge's views and drift from every release.
What changed
collapsedColumns(),collapseAllColumns()andcollapsibleColumns()onBoard(src/Concerns/HasColumnControls.php). A collapsed column draws as a rail with its dot, vertical title and count. A double-click on a column's empty space collapses it. Under collapse all, a single click on a rail opens every column, and a double-click opens only that one. Rails are keyboard buttons ("Expand :name", Enter and Space).columnHeaderMenu()lets a host render a block (for example a name field) above the column's actions. The menu opens over its column at the column's width, and its list scrolls inside the room left in the window.addColumnUsing()plus label, placeholder, colors, default color and color-label setters. A dashed tile after the last column opens a ghost column with a name field and a color grid.color-swatchescomponent (radio group, arrow keys, Enter or Space, Escape back to the dot) for the add form and for hosts.Relaticle\Flowforge\View\FlowforgeIconAlias, so a host maps them withFilamentIcon::register(). The defaults stay Heroicons.--ff-dot-size,--ff-overlay-radiusand--ff-overlay-shadow, documented in the design system page (since 4.4.0).Color::hex()kept only the hue at shade 500.Behavior to know about
Tests
tests/Modern/Feature/{CollapsedColumnsTest,ColumnHeaderMenuTest,AddColumnTest,GroupingViewTest,ColumnLimitTest,DesignContractTest}.php: the board API, collapse state, menu block, add column validation and colors, lanes, tooltips and tokens.tests/Browser/ModernBoardTest.php: collapse and expand with mouse and keyboard, double-click timing, menu placement and height, the ghost add column, swatch keyboard navigation (also in WebKit), and long card titles.Checked
vendor/bin/pint --testclean.vendor/bin/pest --no-coverage: 752 passed.tests/Browser/ModernBoardTest.php --browser safari: 68 passed.4.xat91dc5f118(checked in a 4.x worktree with the same vendor). None come from this branch.Not checked
tests/Fixtures/Moderncover the opt-in paths.