Skip to content

fix: Download App goes straight to the store on phones - #66

Merged
KMKoushik merged 2 commits into
mainfrom
fix/download-app-direct
Nov 28, 2026
Merged

KMKoushik merged 2 commits into
mainfrom
fix/download-app-direct

Conversation

@KMKoushik

@KMKoushik KMKoushik commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

On iPhone/iPad and Android, the Download App row (Account) and button (Balances) now link straight to that platform's store instead of opening a drawer.
Desktop keeps the drawer with both App Store and Google Play; the unused DownloadAppContent is removed.

Summary by CodeRabbit

  • Updates
    • App download links now adapt to the detected device: on iOS and Android, they link directly to the appropriate app store; on desktop, they open a menu with both store options.
    • The install and account download actions now use this updated experience. The previous download panel, including its explanatory text and close action, is no longer shown.

@coderabbitai

coderabbitai Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Explain Change →

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 57 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ffeee878-8b62-4a13-9d6b-b55a022d0ff0
Commits

Reviewing files that changed from the base of the PR and between cd5219e and 490ccfd.

Files selected for processing: 1

  • src/components/InstallApp.tsx

No actionable comments were generated in the recent review.

Walkthrough

DownloadAppLink renders the matching app-store link on iOS and Android, and opens a drawer with both store buttons on desktop. InstallApp and the account page now use this component instead of their previous drawer-based download entries.

Changes: App download flow

Layer / File(s) Summary
Platform-aware download link
src/components/AppDownload.tsx
DownloadAppLink waits for platform detection, then renders the matching store link on iOS or Android. On desktop, it opens a drawer with both store buttons.
Download entry-point integration
src/components/InstallApp.tsx, src/pages/account.tsx
Both entry points replace their drawer-based download UI with DownloadAppLink. InstallApp retains a 250-pixel width. The account entry removes the drawer title and close action.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Sequence Diagram(s)

sequenceDiagram
  participant User
  participant DownloadAppLink
  participant AppDrawer
  participant StoreButtons
  User->>DownloadAppLink: Activate on desktop
  DownloadAppLink->>AppDrawer: Open drawer
  AppDrawer->>StoreButtons: Show both store buttons
Loading

Possibly related PRs

Merge Risk: Minimal · previous review cd521

Download App links now go straight to the right store on phones and still open a drawer with both stores on desktop. No actionable merge-blocking risk was found in the supplied changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title states the main change: on phones, the Download App link now opens the platform's app store directly instead of a drawer. The raw summary confirms that DownloadAppLink renders a direct store…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title states the main change: on phones, the Download App link now opens the platform's app store directly instead of a drawer. The raw summary confirms that DownloadAppLink renders a direct store link on iOS and Android and keeps the drawer on desktop, and the PR objectives describe the same behavior. The title is specific and matches the changeset. It uses a 'fix:' prefix, which is acceptable.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 025a463f-1936-471f-bf4e-3c58c3c4f928
Commits

Reviewing files that changed from the base of the PR and between 335b846 and cd5219e.

Files selected for processing: 3

  • src/components/AppDownload.tsx
  • src/components/InstallApp.tsx
  • src/pages/account.tsx

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@KMKoushik
KMKoushik merged commit 0f4315d into main Nov 28, 2026
2 checks passed
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