Skip to content

initial flash commit - #1

Merged
islandbitcoin merged 1 commit into
mainfrom
flash-dev
Jan 9, 2023
Merged

islandbitcoin merged 1 commit into
mainfrom
flash-dev

Conversation

@islandbitcoin

Copy link
Copy Markdown
Contributor

No description provided.

@islandbitcoin
islandbitcoin merged this pull request into main Jan 9, 2023
islandbitcoin added a commit that referenced this pull request Apr 8, 2023
initial flash commit (#1)

Co-authored-by: islandbitcoin <[email protected]>
@islandbitcoin
islandbitcoin deleted the flash-dev branch July 13, 2023 15:10
@islandbitcoin islandbitcoin mentioned this pull request Sep 9, 2025
islandbitcoin pushed a commit that referenced this pull request Jul 14, 2026
…zation

- wallet-overview: persist + guard the flashcard display balance the same way
  as Cash/BTC, so a linked card no longer blanks to the "Add Flashcard" empty
  state during the price-not-ready window on cold start (ENG-512, review #1).
  Adds cardDisplayBalance to persistent state; effect refires on balanceInSats.
- BridgeAddExternalAccount: normalize at submit — state/country via
  trim().toUpperCase() (Bridge wants ISO codes), trim the free-text fields —
  rather than trusting the autoCapitalize keyboard hint (review #2).
- add wallet-overview.spec.tsx: cached card balance survives an undefined
  converter and refreshes once it resolves (review #3, first test for this).
- minor: standardize the flashcard sync button on readFlashcard().

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
islandbitcoin added a commit that referenced this pull request Jul 14, 2026
* fix(mobile): address v0.6.0-beta user-test feedback (ENG-511)

In-the-wild user testing on v0.6.0-beta surfaced several first-impression
issues. Bundles the quick wins with the blank Cash Wallet bug.

- ENG-512: never render a blank Cash Wallet. formatBalance was overwriting
  the balance with ""/undefined when the price-conversion query lost a race
  on fresh login (or the Cash wallet was briefly missing mid USD->USDT
  cutover); the Cash card has no emptyText so it collapsed to an empty box.
  Now we only write a real value (keeping the cached/"0" balance otherwise)
  and recompute once price conversion resolves.
- Remove the "Non-custodial wallets" and "Get a Flashcard" QuickStart cards.
- Move the "Add Flashcard" action into Settings -> Ways to get paid. The home
  wallet-overview Flashcard row now only shows when a card is linked, so the
  "Add Flashcard" prompt no longer adds noise for users without one.
- Auto-capitalize name/address fields (Full Name, bank name, account owner,
  street, city -> words; US state/country codes -> characters) in the account
  upgrade and Bridge external-account forms.

Refs ENG-511, ENG-512

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* fix(mobile): address ENG-511 review — flashcard race + Bridge normalization

- wallet-overview: persist + guard the flashcard display balance the same way
  as Cash/BTC, so a linked card no longer blanks to the "Add Flashcard" empty
  state during the price-not-ready window on cold start (ENG-512, review #1).
  Adds cardDisplayBalance to persistent state; effect refires on balanceInSats.
- BridgeAddExternalAccount: normalize at submit — state/country via
  trim().toUpperCase() (Bridge wants ISO codes), trim the free-text fields —
  rather than trusting the autoCapitalize keyboard hint (review #2).
- add wallet-overview.spec.tsx: cached card balance survives an undefined
  converter and refreshes once it resolves (review #3, first test for this).
- minor: standardize the flashcard sync button on readFlashcard().

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* chore(mobile,i18n): fix flashcard settings-row namespace + drop orphaned keys

Review follow-up (ENG-511 minors):
- the account-flashcard settings row now uses LL.SettingsScreen.flashcard()
  (new key) instead of borrowing LL.HomeScreen.flashcard() from the
  home-screen wallet card — settings rows use the SettingsScreen namespace.
- remove the orphaned HomeScreen keys flashcardTitle / flashcardDesc /
  nonCustodialWalletTitle / nonCustodialWalletDesc (zero code references).
- regenerate i18n-types.ts + raw-i18n/source/en.json via typesafe-i18n.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* chore(mobile,i18n): sync locale files for the flashcard settings-row key

The translation-drift gate requires every en.json key to exist in each
locale file. Propagate SettingsScreen.flashcard (English placeholder — it's
a brand term) to all locale translation JSONs, and remove the now-orphaned
HomeScreen keys (flashcardTitle/flashcardDesc/nonCustodialWalletTitle/
nonCustodialWalletDesc) from them too. Passes check:translation-drift.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

---------

Co-authored-by: Dread <[email protected]>
Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
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