Skip to content

fix(chart): center the progress ring so the card isn't mostly empty#26

Merged
sagar-develop merged 1 commit into
mainfrom
fix/progress-chart-centering
Jun 5, 2026
Merged

fix(chart): center the progress ring so the card isn't mostly empty#26
sagar-develop merged 1 commit into
mainfrom
fix/progress-chart-centering

Conversation

@sagar-develop

Copy link
Copy Markdown
Owner

Why

The Progress chart rendered a small ring in a left-aligned Row with an optional label. Models put the descriptor in the chart title (already rendered above the chart), not label, so the Row held only the ring pinned to the left — leaving ~70% of the full-width card blank. It read as an incomplete / empty bubble.

Fix

Center the ring (and the label, when present) in the card and enlarge it 96→112dp to match the donut's visual weight. Donut/bar/line already fill the card width.

Verified on-device

Realme CPH2723, release: the 72% "Project Completion" ring now sits centered with balanced margins.

🤖 Generated with Claude Code

The Progress chart placed a small ring in a left-aligned Row with an optional
label. Models put the descriptor in the chart `title` (rendered above) rather
than `label`, so the Row held just the ring pinned left — leaving ~70% of the
full-width card blank and reading as an incomplete/empty bubble.

Center the ring (and label, when present) in the card and enlarge it 96→112dp,
matching the donut's visual weight. Donut/bar/line already fill the width.

Verified on-device (Realme CPH2723, release): the 72% "Project Completion"
ring now sits centered with balanced margins.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@sagar-develop sagar-develop merged commit 89243ad into main Jun 5, 2026
@sagar-develop sagar-develop deleted the fix/progress-chart-centering branch June 5, 2026 08:41
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