Skip to content

Add collapsible Kanban columns - #2259

Draft
eysenfalk wants to merge 1 commit into
callumalpass:mainfrom
eysenfalk:feat/kanban-column-collapse
Draft

Add collapsible Kanban columns#2259
eysenfalk wants to merge 1 commit into
callumalpass:mainfrom
eysenfalk:feat/kanban-column-collapse

Conversation

@eysenfalk

Copy link
Copy Markdown

Summary

  • add an accessible collapse control to flat Kanban column headers
  • persist collapsed column keys in the Bases view's ephemeral state
  • restore the state when the view is recreated and ignore malformed saved state
  • keep swimlane headers unchanged

Behavior

Collapse affects only the selected column. The column stays visible as a narrow header, so it can be expanded again. The state belongs to the current Bases view rather than plugin-wide settings.

Validation

  • TZ=UTC npx jest tests/unit/issues/issue-1341-kanban-column-collapse-state.test.ts --runInBand
  • npm test
  • npm run typecheck
  • npm run lint
  • npm run build:test
  • isolated Obsidian runtime: toggle, sibling isolation, persisted restore after view recreation, and no runtime errors

Runtime preview

The isolated runtime check covered expanded and collapsed columns plus restoration after recreating the active Bases view. Screenshot evidence was captured during validation but is not committed to the plugin repository.

Scope

This PR contains only column collapse and persistence. It does not include status colors or drag-animation changes.

@eysenfalk
eysenfalk force-pushed the feat/kanban-column-collapse branch 2 times, most recently from 6c3bd04 to 6545ce2 Compare August 26, 2026 13:47
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