Skip to content

feat: home-screen quick actions for Give, Wallet, Discover#274

Open
raulriera wants to merge 3 commits into
mainfrom
feat/home-screen-quick-actions
Open

feat: home-screen quick actions for Give, Wallet, Discover#274
raulriera wants to merge 3 commits into
mainfrom
feat/home-screen-quick-actions

Conversation

@raulriera
Copy link
Copy Markdown
Collaborator

@raulriera raulriera commented May 13, 2026

Summary

  • Long-press the app icon to jump into Give, Wallet, or Discover.
  • Each shortcut emits a flipcash:// URL handled by the existing deep link pipeline, so the same route handler covers QR codes, push notifications, and quick actions.
  • A SceneDelegate bridges the iOS quick-action callback, which SwiftUI's App lifecycle does not forward to AppDelegate.

Test plan

  • Long-press the icon → all three shortcuts appear.
  • Tap Give from a backgrounded app → Give sheet opens with a currency selected.
  • Tap Wallet → Wallet sheet opens.
  • Tap Discover → Discover sheet opens.
  • Tap Give with no giveable balance → "No Balance Yet" dialog, not an empty sheet.
  • Cold launch from a shortcut behaves the same as warm activation.

raulriera added 3 commits May 13, 2026 15:33
Long-press the app icon to jump straight into Give, Wallet, or Discover.
Each shortcut emits a flipcash:// URL handled by the existing deep link
pipeline, so the same route handler covers QR codes, push notifications,
and quick actions. A SceneDelegate bridges the iOS quick-action callback,
which SwiftUI's App lifecycle does not forward to AppDelegate.
Bottom-bar and quick-action paths both opened Give the same way — rate
lookup, giveable-balance check, no-balance dialog or sheet. Collapse to
a single SessionContainer method called from both sites.
SessionContainer is a DI container, not a place for business logic. Drop
the helper and keep the guard inline in ScanScreen and DeepLinkController.
@raulriera raulriera force-pushed the feat/home-screen-quick-actions branch from ce0ebbc to 6220dab Compare May 13, 2026 19:49
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