Skip to content

Show neutral gray for zero-percent gains/losses - #253

Merged
asiniscalchi merged 2 commits into
mainfrom
gains-zero-gray-color
Aug 17, 2026
Merged

Show neutral gray for zero-percent gains/losses#253
asiniscalchi merged 2 commits into
mainfrom
gains-zero-gray-color

Conversation

@asiniscalchi

Copy link
Copy Markdown
Owner

Previously exact 0% was colored green (positive) or based on inconsistent >=0 checks. Adds a shared tone (positive/negative/neutral) to gain calculations and applies gray consistently across the assets table, portfolio history header, and top holdings.

asiniscalchi and others added 2 commits August 17, 2026 05:53
Previously exact 0% was colored green (positive) or based on
inconsistent >=0 checks. Adds a shared tone (positive/negative/neutral)
to gain calculations and applies gray consistently across the assets
table, portfolio history header, and top holdings.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Resolves 16 advisories (1 critical, 12 high, 1 moderate, 2 low) via
npm audit fix, all within existing package.json semver ranges — no
major version bumps. Most flagged packages (hono, body-parser,
ip-address, js-yaml, shell-quote, immutable, @babel/core) are
transitive deps of dev-only tooling (shadcn CLI, graphql-codegen) and
never ship to production; react-router (via react-router-dom) is the
one direct runtime dependency in scope.

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
@asiniscalchi
asiniscalchi merged commit c4a81ad into main Aug 17, 2026
4 checks passed
@asiniscalchi
asiniscalchi deleted the gains-zero-gray-color branch August 17, 2026 12:14
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