Skip to content

Feat/dashboard counter layout#1013

Merged
srtab merged 2 commits intomainfrom
feat/dashboard-counter-layout
Apr 2, 2026
Merged

Feat/dashboard counter layout#1013
srtab merged 2 commits intomainfrom
feat/dashboard-counter-layout

Conversation

@srtab
Copy link
Copy Markdown
Owner

@srtab srtab commented Apr 2, 2026

No description provided.

srtab added 2 commits April 2, 2026 23:22
Display a "+N" green indicator next to each absolute-count metric when
today's count is non-zero. Percentage metrics are excluded. Today's
counts are computed within the same aggregate queries using conditional
filters to avoid extra database round-trips.

Also refactors DashboardView.get_context_data into two focused private
methods (_get_activity_counters, _get_merge_counters) and extracts a
_format_pct helper for percentage formatting.
Rearrange counter display to show the main value on top with the
"+N today" indicator below it, replacing the side-by-side layout
for better visual hierarchy.
@srtab srtab self-assigned this Apr 2, 2026
@srtab srtab merged commit 72cd391 into main Apr 2, 2026
5 checks passed
@srtab srtab deleted the feat/dashboard-counter-layout branch April 2, 2026 23:49
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