Skip to content

Badge new ramp payment methods - #6315

Open
j0ntz wants to merge 2 commits into
developfrom
jon/ramps-new-badge
Open

j0ntz wants to merge 2 commits into
developfrom
jon/ramps-new-badge

Conversation

@j0ntz

@j0ntz j0ntz commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Description

Asana task

Shows a "New" burst on ramp payment methods that the info server lists as new, until each entry's endIsoDate passes. It reuses the Best Rate burst with a different label: BestRateBadge becomes BurstBadge with a label prop.

The config is exchangeInfo.{buy,sell}.newPaymentTypes, keyed by payment type. A card has one burst slot, and Best Rate keeps it when a method is both best and new. A missing or invalid date shows no badge. The expiry is checked at render.

Services reloads exchange info whenever an info rollup lands. The 10-minute refresher fires at mount, and on a slow info server answer it runs before the launch rollup exists. updateExchangeInfo skips the dispatch when the payload is unchanged, because the Send scene re-quotes on a new exchangeInfo identity and rollups repeat every 5 minutes.

Testing injected the config through a local proxy in front of the production info server, because the field is not live yet. For the late-rollup frame the proxy held the rollup answer for 20 seconds. The answer landed after login, and the list opened 53 seconds later. Only the buy direction was driven on the simulator for these frames. Sell shares the same code path and has unit test coverage.

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

none

EdgeApp/edge-info-server#169 adds the config field. This PR passes without it, since a missing field means no badge.

Requirements

If you have made any visual changes to the GUI. Make sure you have:

  • Tested on iOS device
  • Tested on Android device
  • Tested on small-screen device (iPod Touch)
  • Tested on large-screen device (tablet)

Tested on the iOS simulator only.

Test evidence

d80f003
Badge new ramp payment methods
2026-11-01

1. new badge on configured payment methods

2. best rate wins when a method is also new

3. expired date shows no new badge

4. invalid date shows no new badge

1. c4 new after late rollup

Takes the label as a prop to let the same burst carry other short labels.
No visual change.
@cursor

cursor Bot commented Nov 1, 2026

Copy link
Copy Markdown

Bugbot is paused — on-demand spend limit reached

Bugbot uses usage-based billing for this team and has hit its on-demand spend limit.

A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-11-01T04:45:43.450594Z
We couldn’t complete this review. Comment @codex review to try again.
cbf2b58 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

The info server lists payment types per direction with an endIsoDate, and the
quote card shows a "New" burst until that date. Best Rate keeps the slot when
both apply.
@j0ntz
j0ntz force-pushed the jon/ramps-new-badge branch from cbf2b58 to d80f003 Compare November 1, 2026 17:31
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.

1 participant