Skip to content

Add ability to flip graph orientation#20

Merged
coreyeaston merged 3 commits intomainfrom
develop
Feb 13, 2026
Merged

Add ability to flip graph orientation#20
coreyeaston merged 3 commits intomainfrom
develop

Conversation

@coreyeaston
Copy link
Contributor

No description provided.

coreyeaston and others added 3 commits February 13, 2026 07:45
…n top)

Add a persistent toggle button that swaps which series render above/below
the zero line, allowing users to view uploads on top instead of the default
downloads on top. Choice persists via localStorage.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ABnzbd area

Add React key to <defs> element keyed on flipped state so Chrome's SVG
renderer creates fresh gradient nodes instead of using stale cached ones.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…rt is flipped

Zero download values (idle clients) were routed to the positive stack
group while active values went to negative, causing area jumps and
visual overlap on transitions. stackOffset="sign" was redundant since
downloads/uploads already use separate stackIds with manual negation.

Also removes useState/useEffect anti-pattern for derived chart data,
using direct variable assignment from useMemo instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@coreyeaston coreyeaston merged commit 31f286f into main Feb 13, 2026
1 check passed
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