Conversation
Contributor
Greptile SummaryRenames payment rail display strings in
Confidence Score: 5/5
|
| Filename | Overview |
|---|---|
| components/grid-visualizer/src/data/currencies.ts | Display-only rail names updated from snake_case constants to human-readable text across all 22 currencies. API-facing rail values in account-types.ts are correctly left unchanged. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["currencies.ts\n(display strings)"] -->|instantRails, allRails| B["CurrencyPicker\n(search keywords + rail labels)"]
A -->|instantRails| C["FundingToggle\n(JIT tooltip text)"]
A -->|instantRails, allRails| D["InputCard\n(rail badge label)"]
A -->|instantRails.length| E["page.tsx\n(JIT eligibility check)"]
F["account-types.ts\n(enum strings - UNCHANGED)"] -->|paymentRails| G["code-generator.ts\n(API request body)"]
Last reviewed commit: 1a136a7
patcapulong
approved these changes
Mar 16, 2026
6 tasks
patcapulong
added a commit
that referenced
this pull request
Mar 16, 2026
Major design and UX overhaul of the Grid Visualizer (flow builder). Redesigned input cards, funding model section, and keyboard navigation. Incorporates PR #241 (new currencies/account types) and PR #270 (human-readable rail names). Fixes: SWAP funding mode bug, RailDropdown state drift, JIT eligibility guard, flow diagram rail labels, missing DKK/RWF flags and region labels.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

TL;DR
Updated payment rail names from snake_case constants to human-readable display names across all currency configurations.
What changed?
Converted payment rail identifiers from technical constants to user-friendly display names:
FEDNOW→FedNowWIRE→WireSEPA_INSTANT→SEPA InstantFASTER_PAYMENTS→Faster PaymentsBANK_TRANSFER→Bank TransferMOBILE_MONEY→Mobile MoneyPAYNOW→PayNowThis affects both
instantRailsandallRailsarrays across all 22 supported currencies in the grid visualizer.How to test?
Why make this change?
Improves user experience by displaying payment methods with proper capitalization and spacing that users would recognize, rather than technical snake_case identifiers that are harder to read and understand.