fix(frontend): Trust Wallet discoverability on the Keplr connect path #36

Merged
PlasticDigits merged 2 commits from 4-ux-trust-wallet-connect into master 2026-08-24 00:33:21 +00:00
PlasticDigits commented 2026-08-24 00:19:49 +00:00 (Migrated from gitlab.com)

Summary

  • Completes #4 beyond the merged label-only !26: Trust Wallet is a first-class connect row, and we detect Trust's official window.trustwallet.cosmos inject as well as window.keplr.
  • Both Trust and Keplr rows call connect(WalletName.KEPLR, WalletType.EXTENSION). If Trust injects only window.trustwallet.cosmos, we alias it onto window.keplr (never overwriting a real Keplr provider) so KeplrController works.
  • Modal helper/footer copy + site footer Wallets link point at docs/WALLETS.md. Agent playbook: skills/frontend-keplr-compatible-wallets.

Closes #4

Test plan

  • Open Connect Wallet on desktop with no Cosmos extension: Keplr and Trust rows are visible but disabled, with in-app-browser copy
  • Footer shows Wallets and the modal footer shows Mobile wallet help → docs/WALLETS.md
  • In Trust Wallet's in-app browser on Terra Classic, both Keplr and Trust Wallet are enabled and connect the same account
  • With only window.trustwallet.cosmos (no window.keplr), both rows become enabled
  • Existing Keplr / Station / Leap / Cosmostation / LUNC Dash / Galaxy Station paths still work
  • cd frontend && npm test (includes keplrCompatible.test.ts)
## Summary - Completes [#4](https://gitlab.com/PlasticDigits2/ustr-cmm/-/issues/4) beyond the merged label-only !26: Trust Wallet is a first-class connect row, and we detect Trust's official `window.trustwallet.cosmos` inject as well as `window.keplr`. - Both Trust and Keplr rows call `connect(WalletName.KEPLR, WalletType.EXTENSION)`. If Trust injects only `window.trustwallet.cosmos`, we alias it onto `window.keplr` (never overwriting a real Keplr provider) so `KeplrController` works. - Modal helper/footer copy + site footer **Wallets** link point at [docs/WALLETS.md](https://gitlab.com/PlasticDigits2/ustr-cmm/-/blob/master/docs/WALLETS.md). Agent playbook: [skills/frontend-keplr-compatible-wallets](../skills/frontend-keplr-compatible-wallets/SKILL.md). Closes #4 ## Test plan - [ ] Open Connect Wallet on desktop with no Cosmos extension: Keplr and Trust rows are visible but disabled, with in-app-browser copy - [ ] Footer shows **Wallets** and the modal footer shows **Mobile wallet help** → `docs/WALLETS.md` - [ ] In Trust Wallet's in-app browser on Terra Classic, both **Keplr** and **Trust Wallet** are enabled and connect the same account - [ ] With only `window.trustwallet.cosmos` (no `window.keplr`), both rows become enabled - [ ] Existing Keplr / Station / Leap / Cosmostation / LUNC Dash / Galaxy Station paths still work - [ ] `cd frontend && npm test` (includes `keplrCompatible.test.ts`)
PlasticDigits commented 2026-08-24 00:20:15 +00:00 (Migrated from gitlab.com)

mentioned in issue #4

mentioned in issue #4
PlasticDigits commented 2026-08-24 00:33:09 +00:00 (Migrated from gitlab.com)

added 3 commits

  • b52d00dd...f4319ae2 - 2 commits from branch master
  • c121ff58 - Merge branch 'master' into 4-ux-trust-wallet-connect

Compare with previous version

added 3 commits <ul><li>b52d00dd...f4319ae2 - 2 commits from branch <code>master</code></li><li>c121ff58 - Merge branch &#39;master&#39; into 4-ux-trust-wallet-connect</li></ul> [Compare with previous version](/PlasticDigits2/ustr-cmm/-/merge_requests/14/diffs?diff_id=1978503508&start_sha=b52d00dd4edd650e9bac727ae773aee606c3c04b)
PlasticDigits (Migrated from gitlab.com) merged commit 59ae11c8f4 into master 2026-08-24 00:33:22 +00:00
PlasticDigits commented 2026-08-24 00:33:23 +00:00 (Migrated from gitlab.com)

mentioned in commit 59ae11c8f4

mentioned in commit 59ae11c8f40677282270100af3a4b0c84636e9f8
PlasticDigits commented 2026-08-24 00:33:52 +00:00 (Migrated from gitlab.com)

mentioned in issue #16

mentioned in issue #16
PlasticDigits commented 2026-08-24 00:34:02 +00:00 (Migrated from gitlab.com)

mentioned in issue #18

mentioned in issue #18
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
code/ustr-cmm!36
No description provided.