Skip to content

Add epic filter to board view - #31

Open
jarredkenny wants to merge 1 commit into
mantoni:mainfrom
jarredkenny:feature/board-epic-filter
Open

jarredkenny wants to merge 1 commit into
mantoni:mainfrom
jarredkenny:feature/board-epic-filter

Conversation

@jarredkenny

@jarredkenny jarredkenny commented Jan 2, 2026 •

Copy link
Copy Markdown

Summary

Adds a dropdown filter in the board header that allows filtering the board to show only issues belonging to a selected epic.

image

Features

  • Epic filter dropdown appears in app header (next to theme toggle)
  • Defaults to "All Epics" (no filtering)
  • Subscribes to epic details to get parent-child relationships
  • Filters all board columns by selected epic
  • Persists selection to localStorage
  • Hidden when no epics exist in workspace

Files Changed

  • app/state.js - Added epic_filter to board state
  • app/views/board.js - Epic subscription, lookup map, filter dropdown, filtering logic
  • app/main.js - Clear epic filter when leaving board view, persist to localStorage
  • app/index.html - Added placeholder for epic filter in header

Test Plan

  • Unit tests for epic filter functionality (3 tests)
  • All existing tests pass (243 tests)
  • TypeScript, ESLint, Prettier checks pass
  • Manual testing with workspace containing epics

@jarredkenny
jarredkenny force-pushed the feature/board-epic-filter branch 2 times, most recently from ed92f2a to 88eec72 Compare January 2, 2026 20:46
@jarredkenny
jarredkenny force-pushed the feature/board-epic-filter branch from 88eec72 to 1618581 Compare January 2, 2026 20:52
@mantoni

mantoni commented Jan 3, 2026

Copy link
Copy Markdown
Owner

Hm. We have the epic tab if you want to focus on epics, including a progress bar. I'm wondering where you see the value here over using the epic view? Maybe we can enhance the epic view instead?

@jarredkenny

Copy link
Copy Markdown
Author

Hm. We have the epic tab if you want to focus on epics, including a progress bar. I'm wondering where you see the value here over using the epic view? Maybe we can enhance the epic view instead?

I use a single beads db for all of my worktrees and map 1 epic to 1 worktree. In this workflow is incredibly convenient to be able to see the kanban board for a single epic.

I did this for my own workflow, totally understand if it does not meet your vision for beads-ui. That being said, if you're open to it - I feel the Issues and Board tabs could merge into a single Issues tab with all filtering options and a toggle for list vs. board view.

@mantoni

mantoni commented Jan 3, 2026

Copy link
Copy Markdown
Owner

Let me ask my question differently: Why is the board view better than the expanded epic view?

@jarredkenny

jarredkenny commented Jan 3, 2026 •

Copy link
Copy Markdown
Author

List vs. Kanban is just a preference. I suspect the answer is different per person and project.

Edit: and on the Epics tab I need to scroll through all my epics to find the one I care about right now.

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.

2 participants