Repository navigation
Description
Analytics is a dead end. You can see that one person has 76 issues and that a project has 100, and then there is nothing you can do about it inside the page. To act on what you just read you have to go to the issue list and rebuild the same filter by hand, from memory.
Every chart element on the page corresponds to an exact set of issues. The filter engine that could select that set already exists. They are not connected.
What to build
Make chart elements navigate to the issue list, pre-filtered to the rows behind them.
- A bar under "By assignee" goes to the issue list filtered to that assignee, in the current scope, measure and date range.
- A bar under "By project", "By label" or "Estimate distribution" does the same for its dimension.
- A cell in the assignee breakdown table goes to that assignee crossed with that state group.
- A point on a distribution keeps whatever page level scope is selected. Drilling into "By assignee" while scoped to one sprint should land you in that sprint's issues for that person, not the whole workspace's.
How the pieces fit
The filter engine is packages/shared/src/filters. Saved views already serialise a filter set and the issue list already reads one, so there is a serialised form to target. Look at how apps/web/src/features/views/ builds a view URL and reuse that rather than inventing a second encoding for the same thing. Two ways to express "issues assigned to X" is exactly the kind of duplication the roadmap says we do not want.
ChartDatum in packages/core/src/analytics/distribution.ts already carries key alongside name, and key is the entity id, or the literal string none for the unassigned and no project buckets. So the id you need is already in the payload and you do not have to look anything up by display name. Handle none deliberately: it maps to "assignee is empty", not to an assignee whose id is the string none.
Accessibility
Bars are currently <span> elements inside an <li>, marked aria-hidden, with the real content in the adjacent text. If a bar becomes clickable it has to become a real link or button with an accessible name that says what it does, not just the category name. "Growth, 100 issues" is a label. "Growth" is not.
Keyboard reachable, visible focus ring, and it should work from the data table rows as well as from the bars, because that is how somebody using a screen reader will be reading the numbers in the first place.
Files
apps/web/src/features/charts/bar-chart.tsxapps/web/src/features/analytics/distribution-section.tsxapps/web/src/features/analytics/breakdown-section.tsxpackages/shared/src/filters/apps/web/src/features/views/for the existing URL shape
Worth agreeing first
Whether drilling through navigates away or opens the list in a panel over the dashboard. Navigating away is much simpler and is a fine first version. Say which one you are building in your first comment.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsBacklog
Activity
imshashank commentedon Aug 15, 2026
Done, closing. Landed with the planning cockpit in #309.
Chart elements are now activatable and drill through to the issues behind them:
AnalyticsDrilldownCohort(packages/shared/src/validators/analytics.ts), so the cohort travels with the datum rather than being reconstructed from a display name. That is the concern this issue raised aboutChartDatum.keyand thenonebucket.BarPlotandLinePlotinapps/web/src/features/analytics/charts/callonActivate(cohort)from a click, fromEnter, and from the data table row, andGET /api/analytics/drilldownresolves it.analytics-drilldown-dialog.tsx. That answers the "worth agreeing first" question at the bottom of this issue.The accessibility requirements are met too: the plot is a single focusable surface with arrow key navigation,
Home/End,Escape, anaria-liveannouncement of the active point inplot-frame.tsx, and the same activation available from the data table rows, which was called out as the path a screen reader user would actually take.Covered by
apps/web/tests/features/analytics/analytics-drilldown-dialog.test.tsx,bar-plot.test.tsxandline-plot.test.tsx.