Skip to content

fix(ui): cap action distribution chart to top 5#63

Merged
ojongerius merged 1 commit into
mainfrom
fix/action-chart-top5
May 20, 2026
Merged

fix(ui): cap action distribution chart to top 5#63
ojongerius merged 1 commit into
mainfrom
fix/action-chart-top5

Conversation

@ojongerius
Copy link
Copy Markdown
Contributor

The action chart rendered one bar per distinct action type, which could be 20+ in a real store — pushing recent receipts far below the fold. Now shows top 5 (sorted by count, already the API order) with a "+N more" note when there are additional types.

Fixes the layout issue reported after v0.2.0.

@ojongerius ojongerius merged commit 2131c51 into main May 20, 2026
3 checks passed
@ojongerius ojongerius deleted the fix/action-chart-top5 branch May 20, 2026 05:35
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