Revert "fix(topup): add currency symbol to amounts in RechargeCard" - #1966
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughThe change removes user agreement and privacy policy functionality across backend and frontend: API handlers and routes, option-map initialization keys, React routes and pages, related registration checks/UI, settings inputs and handlers, locale strings, and a shared content detection utility. No replacements were introduced; existing unrelated flows remain unchanged. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant U as User
participant FE as Frontend (Router)
participant BE as API Server
Note over U,BE: Previous flow (removed)
U->>FE: Navigate /user-agreement or /privacy-policy
FE->>BE: GET /api/user-agreement or /api/privacy-policy
BE-->>FE: 200 + content (html/markdown/url)
FE-->>U: Render page (iframe/HTML/Markdown)
sequenceDiagram
autonumber
participant U as User
participant FE as Frontend (Router)
participant BE as API Server
rect rgba(255,230,230,0.4)
Note over U,BE: New flow
U->>FE: Navigate /user-agreement or /privacy-policy
FE-->>U: Route not found (no page)
U->>BE: GET /api/user-agreement or /api/privacy-policy
BE-->>U: 404 (endpoint removed)
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested reviewers
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (12)
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 |
Reverts #1952
Summary by CodeRabbit