Skip to content

Display numeric physical quantities with their units after the value - #1143

Merged
WaylandYang merged 2 commits into
deeplethe:devfrom
rudycelekli:fix/object-numeric-physical-unit-20261009
Oct 10, 2026
Merged

WaylandYang merged 2 commits into
deeplethe:devfrom
rudycelekli:fix/object-numeric-physical-unit-20261009

Conversation

@rudycelekli

Copy link
Copy Markdown
Contributor

Adopted physical quantities display as kg42 or MW42 because every unit is treated as a currency prefix. Keep currency symbols in front and physical units after the number.

Validation: focused regression fails on baseline and passes fixed; related suites where present, frontend typecheck, style guard and production build pass. No backend or database tests were run.

Signed-off-by: Rudy Celekli <rudy@gradiahq.com>

@WaylandYang WaylandYang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this. Confirmed: an adopted numeric value with a non-currency unit was shown as MW500. Checked on top of dev together with the other fixes from this batch that we are taking: typecheck clean, web tests and the affected crate tests pass. Thanks again.

This was referenced Oct 10, 2026
@WaylandYang
WaylandYang merged commit 2bab83c into deeplethe:dev Oct 10, 2026
6 checks 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.

2 participants