Skip to content

Add collapse/expand toggle on each column - #284

Open
Abhishek4512009 wants to merge 1 commit into
anoopcodehack:mainfrom
Abhishek4512009:feat/column-collapse
Open

Add collapse/expand toggle on each column#284
Abhishek4512009 wants to merge 1 commit into
anoopcodehack:mainfrom
Abhishek4512009:feat/column-collapse

Conversation

@Abhishek4512009

Copy link
Copy Markdown

Fixes #278

Adds a collapse/expand toggle (▶/▼) to each column header in client/src/components/Board/Column.jsx:

  • hides the card list (and empty-state hint) when collapsed
  • keeps the Droppable wrapper mounted so tasks can still be dragged into a collapsed column
  • drops min-h-[80px] when collapsed so the column actually shrinks
  • includes aria-label / title on the toggle button

JSX verified with esbuild.

Adds a ▶/▼ toggle to each column header. When collapsed the card list and
empty-state hint are hidden, but the Droppable area stays mounted so tasks
can still be dragged into a collapsed column. Collapse state is local
component state.

Closes anoopcodehack#278
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.

Add collapse/expand toggle on each column 🔼

1 participant