Repository navigation
feat(task-board): collapse a lane to a narrow strip - #7881
Merged
Merged
Conversation
Hovering a lane header shows a collapse button. A collapsed lane becomes a strip with its icon, vertical label and card count, plus an expand button on hover, and still takes a dropped card. The choice is kept per person in preferences, like the lanes shown from the hidden drawer.
decocms Bot
pushed a commit
that referenced
this pull request
Oct 13, 2026
PR: #7881 feat(task-board): collapse a lane to a narrow strip Bump type: minor - decocms (apps/api/package.json): 4.465.0 -> 4.466.0 - @decocms/native (apps/native/package.json): 4.465.0 -> 4.466.0 - @decocms/e2e (packages/e2e/package.json): 1.102.0 -> 1.103.0 Deploy-Scope: web
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.
What is this contribution about?
A lane can be collapsed to a narrow strip, so a long board fits on screen.
collapsedTaskBoardLanes(preferences, localStorage), the same way asshownTaskBoardLanes, so they survive a reload.boardGridColumns: open lanes keepminmax(280px, 1fr), a collapsed lane gets a fixed 44px track, and the hidden-lanes drawer keeps its 280px track. Statuses saved in localStorage that the board no longer has are ignored.Independent of #7880 (the new default lanes). It works with either set of lanes.
How did you verify your code works?
config.test.tscoversboardGridColumnswith open lanes, a collapsed lane in place, the hidden-lanes track, and a stale collapsed status.task-board-collapse-lane.spec.tscollapses a lane from its header, checks the strip is under 60px wide, reloads and finds it still collapsed, drags a card onto the strip and sees its status change, then expands the lane and finds the card in it. Ran locally twice (--repeat-each=2), both passed.bun run verify(10561 pass, 0 fail) andbun run checkare clean.Screenshots/Demonstration
Hovering a lane shows the collapse button:
Backlog and In Review collapsed; hovering In Review shows Expand:
How to Test
Review Checklist