Conversation
- remove gradient background - create base background widget, this will be the main background widget where we update background implementation so we don't have to ever touch other file and all change can be centralized here. Kinda painful everytime need to change background have to go through different files. - Removed backgroundAlt theme color
- Removed unused glass circle icon button - Update and rename glass icon button to quantus icon button, we don't want to always create new widget for every style change. Hence generic naming is needed. - Added new button border color
- Rename button component to quantus button - Update button styling - Add success variant
- Updated styling for tx item - Update color text
|
First comment: Lets either use QUAN trailing for now, or wait for Sejal design update, which won't take long |
|
Here's my review of PR #447 - Redesign home screen. OverviewThis is a well-scoped design system refresh: rename "Glass" components to "Quantus", swap Inter for Geist fonts, update the color palette (pink -> orange, new success/checksum colors), replace the gradient background with a flat one, and clean up the tx item ternary nesting. 47 files changed, +366/-399 lines -- net reduction, which is great. The rename was almost fully carried through and the overall direction is solid. A few issues worth addressing: Issues1. Incomplete method rename in
|
…into beast/redesign-home-screen
Re-review of PR #447 — Redesign home screen7 new commits since my last review. Previous review follow-upResolved
Not addressed (confirm if intentional)
New code in latest commitsCurrency display system (
|
…apps into beast/redesign-home-screen
- remove unused glass button assets - fix DRY violation - fix precision loss in convert fiat - remove silent fallback
|
Re-review of PR #447 — Redesign home screen 3 new commits since my last review ( Previous review follow-up — all five resolved
Not addressed (explicitly optional last round)
Checks
Tiny nits (non-blocking)
VerdictApprove. All previously-flagged blocking issues are resolved cleanly, the precision fix went beyond what I asked for (full |
| /// | ||
| /// QUAN itself is not listed here — it is always the native side. | ||
| /// Adding a new currency only requires a new enum case here and a matching | ||
| /// rate in [ExchangeRateService]. No widget or provider changes are needed. |
There was a problem hiding this comment.
Could you add MYR here - that's actually what we need for the Cafe test!
The currency symbol for the Malaysian Ringgit is RM. It is often placed directly before the numerical amount without a space (e.g., RM50). Internationally, the currency is represented by the ISO 4217 code MYR.
| /// respecting the current hidden state, flip state, and selected fiat. | ||
| /// | ||
| /// Usage: | ||
| /// final formatted = ref.watch(txAmountFormatterProvider)(amount, isSend: true); |
There was a problem hiding this comment.
Not sure we ever want to show transaction items as fiat currency?!
|
|
||
| /// Fixed rates: 1 QUAN in each fiat currency. | ||
| /// When a live price feed is integrated, populate this map from the API. | ||
| static final Map<FiatCurrency, Decimal> _rates = { |
There was a problem hiding this comment.
Please populate these with the current exchange rates - they don't change that much anyway, it's good enough
1 doesn't allow any testing and hides bugs
n13
left a comment
There was a problem hiding this comment.
Made some comments, please address these



Summary
Main idea for buttons and base background is to have stable filename that we can update as we update design so we don't have to modify many files, we just update the styling in respective icon button, button, or base background. I think this way we can be more efficient. Previously we have to always delete or copy or rename, there is friction doing this every design update.
About the symbol for Q or Qu or Quan, I just abritrary did it. Will update once Sejal designed it.
Screenshots