Repository navigation
Show full revenue amount in platform dashboard - #75
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe platform-admin overview now shows full VND amounts for settled revenue in the KPI and revenue chart heading. Tests can provide custom overview data and verify the complete formatted amount. ChangesPlatform admin revenue display
Estimated code review effort: 2 (Simple) | ~10 minutes ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
| Filename | Overview |
|---|---|
| apps/web/src/features/platform-admin/platform-admin-page.tsx | Replaces compact revenue summaries with full VND values, but the affected responsive containers do not accommodate long totals. |
| apps/web/test/platform-admin-feedbacks.test.tsx | Extends the server stub to accept overview fixtures and verifies both intended full-value revenue displays. |
Reviews (1): Last reviewed commit: "fix(web): show full platform revenue" | Re-trigger Greptile
| @@ -965,7 +955,7 @@ export function PlatformAdminRoutePage() { | |||
| {[ | |||
There was a problem hiding this comment.
Full amounts lack responsive handling
Large settled VND totals now produce long strings in the primary KPI and chart header, while both value containers lack wrapping or overflow treatment. On narrow dashboard viewports, this increases card height or wraps the values awkwardly, reducing the legibility of the revenue summaries.
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Summary
Verification
3,1 Tr ₫corepack pnpm --filter @databreeze/web exec vitest run test/platform-admin-feedbacks.test.tsx(12/12)git diff --checkSummary by CodeRabbit
Bug Fixes
Tests