Skip to content

feat: implement trade detail routing with SecureStorage token handling#116

Open
nonso7 wants to merge 1 commit into
ericmt-98:mainfrom
nonso7:feature/trade-detail-routing
Open

feat: implement trade detail routing with SecureStorage token handling#116
nonso7 wants to merge 1 commit into
ericmt-98:mainfrom
nonso7:feature/trade-detail-routing

Conversation

@nonso7
Copy link
Copy Markdown

@nonso7 nonso7 commented May 31, 2026

  • Add /trade/:id route with TradeDetailRoute wrapper
  • Update History.onSelectTrade to navigate to trade detail view
  • Replace bare localStorage with SecureStorage async token retrieval
  • Remove dead initialTradeId prop from App and main.tsx
  • Add TradeDetailProps interface with buyerToken, sellerToken, onBack
  • Hide bottom nav on /trade/:id routes
  • Back button from detail returns to /history instead of home
  • Handles 404, 403, and network errors in detail view
  • Supports deep-linking in both web and APK environments

Fixes: User cannot inspect past trades or see transaction hashes

Closes #68

- Add /trade/:id route with TradeDetailRoute wrapper
- Update History.onSelectTrade to navigate to trade detail view
- Replace bare localStorage with SecureStorage async token retrieval
- Remove dead initialTradeId prop from App and main.tsx
- Add TradeDetailProps interface with buyerToken, sellerToken, onBack
- Hide bottom nav on /trade/:id routes
- Back button from detail returns to /history instead of home
- Handles 404, 403, and network errors in detail view
- Supports deep-linking in both web and APK environments

Fixes: User cannot inspect past trades or see transaction hashes
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 31, 2026

@nonso7 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

Trade history → trade detail navigation

1 participant