Skip to content

Mobile app links#69

Merged
AnthonyRonning merged 1 commit intomasterfrom
mobile-app-links
May 14, 2025
Merged

Mobile app links#69
AnthonyRonning merged 1 commit intomasterfrom
mobile-app-links

Conversation

@AnthonyRonning
Copy link
Contributor

@AnthonyRonning AnthonyRonning commented May 14, 2025

Summary by CodeRabbit

  • New Features

    • Added an iOS download option with a direct App Store link and badge in both the hero section and downloads page.
    • Introduced a new Android icon and a dedicated Android section on the downloads page, indicating the app is coming soon.
  • Enhancements

    • Improved the layout of download options for better responsiveness and clarity across devices.

@coderabbitai
Copy link

coderabbitai bot commented May 14, 2025

Walkthrough

The changes update the Marketing component to improve download link presentation, add an iOS App Store badge, and adjust layout for responsiveness. A new Android SVG icon component is introduced. The downloads page is enhanced to include separate, detailed cards for iOS and Android mobile apps, with appropriate icons, links, and status messages.

Changes

File(s) Change Summary
frontend/src/components/Marketing.tsx Updated button/link group layout for responsiveness; changed "Download" label to "Desktop"; added iOS App Store badge/link.
frontend/src/components/icons/Android.tsx Added new exported Android React component rendering an Android SVG icon.
frontend/src/routes/downloads.tsx Replaced "Mobile Coming Soon" with detailed iOS and Android cards; updated icon imports; added App Store badge and status messaging for Android.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant MarketingComponent
    participant DownloadsPage

    User->>MarketingComponent: Views hero section
    MarketingComponent-->>User: Shows Desktop and iOS download links

    User->>DownloadsPage: Navigates to downloads page
    DownloadsPage-->>User: Displays Desktop, iOS (with badge), and Android (coming soon) cards
Loading

Possibly related PRs

  • Add download page #52: Adds a new downloads page route and links to it from the footer and marketing components, directly related to the new download links and assets introduced in this PR.

Poem

In the meadow of code where downloads bloom bright,
Now iOS and Android catch the user's sight.
With badges and icons, the options expand—
Desktop, mobile, all close at hand.
A bunny hops by, quite pleased with the view,
"Choose your device, and try something new!" 🐰📱

Tip

⚡️ Faster reviews with caching
  • CodeRabbit now supports caching for code and dependencies, helping speed up reviews. This means quicker feedback, reduced wait times, and a smoother review experience overall. Cached data is encrypted and stored securely. This feature will be automatically enabled for all accounts on May 16th. To opt out, configure Review - Disable Cache at either the organization or repository level. If you prefer to disable all data retention across your organization, simply turn off the Data Retention setting under your Organization Settings.

Enjoy the performance boost—your workflow just got faster.

✨ Finishing Touches
  • 📝 Generate Docstrings

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented May 14, 2025

Deploying maple with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5bb4e7b
Status: ✅  Deploy successful!
Preview URL: https://42343d72.maple-ca8.pages.dev
Branch Preview URL: https://mobile-app-links.maple-ca8.pages.dev

View logs

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

Added mobile app download options to the Maple application, including iOS App Store integration and Android placeholder for future release.

  • Added new /frontend/src/components/icons/Android.tsx component following React SVG best practices
  • Enhanced /frontend/src/routes/downloads.tsx with dedicated mobile apps section featuring iOS App Store link
  • Updated Marketing component with responsive layout for desktop/mobile download options
  • Implemented iOS platform detection for conditional rendering of download options
  • Added App Store badge integration with proper linking to iOS app ID 6743764835

3 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
frontend/src/routes/downloads.tsx (1)

135-177: Consider adding a subtitle to the mobile section for consistency.

The desktop section has an informative subtitle that explains the value proposition, but the mobile section only has a title. Consider adding a subtitle for consistency and to provide additional context for users.

          <div className="flex items-center gap-3 mb-6">
            <Smartphone className="w-7 h-7" />
            <span className="text-3xl font-light">Mobile Apps</span>
+           <span className="ml-3 text-xl text-[hsl(var(--marketing-text-muted))]">
+             Access your private AI chat on the go
+           </span>
          </div>
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 92c67bb and 5bb4e7b.

📒 Files selected for processing (3)
  • frontend/src/components/Marketing.tsx (1 hunks)
  • frontend/src/components/icons/Android.tsx (1 hunks)
  • frontend/src/routes/downloads.tsx (2 hunks)
🚧 Files skipped from review as they are similar to previous changes (2)
  • frontend/src/components/icons/Android.tsx
  • frontend/src/components/Marketing.tsx
🧰 Additional context used
🧬 Code Graph Analysis (1)
frontend/src/routes/downloads.tsx (2)
frontend/src/components/icons/Apple.tsx (1)
  • Apple (3-16)
frontend/src/components/icons/Android.tsx (1)
  • Android (3-16)
⏰ Context from checks skipped due to timeout of 90000ms (4)
  • GitHub Check: build-ios
  • GitHub Check: build-linux
  • GitHub Check: build-macos (universal-apple-darwin)
  • GitHub Check: Cloudflare Pages
🔇 Additional comments (3)
frontend/src/routes/downloads.tsx (3)

5-7: Icon imports appropriately added for mobile platforms.

The addition of imports for smartphone, Apple, and Android icons properly prepare the file for the new mobile section.


134-140: Well-structured mobile section header.

The section header for mobile apps follows the same design pattern as the desktop section, maintaining consistency across the page.


164-175: Android "coming soon" card implemented correctly.

The Android card matches the iOS card's design while clearly indicating that the app is coming soon. This provides a good user experience by setting expectations.

Comment on lines +141 to +163
<div className="flex flex-col border border-[hsl(var(--marketing-card-border))] bg-[hsl(var(--marketing-card))]/75 text-foreground p-6 rounded-lg hover:border-foreground/30 transition-all duration-300">
<div className="p-3 rounded-full bg-[hsl(var(--marketing-card))]/50 border border-[hsl(var(--purple))]/30 w-fit mb-4">
<Apple className="w-6 h-6 text-[hsl(var(--purple))]" />
</div>
<h3 className="text-xl font-medium mb-2">iOS</h3>
<p className="text-[hsl(var(--marketing-text-muted))] mb-6 flex-grow">
Download our native iOS app for iPhones and iPads.
</p>
<div className="flex justify-center">
<a
href="https://apps.apple.com/us/app/id6743764835"
className="inline-block"
target="_blank"
rel="noopener noreferrer"
>
<img
src="/app-store-badge.svg"
alt="Download on the App Store"
className="h-12"
/>
</a>
</div>
</div>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

iOS App Store integration looks good.

The iOS card is well-implemented with appropriate styling, descriptive text, and a proper App Store badge link. The link opens in a new tab with appropriate security attributes.


🏁 Script executed:

#!/bin/bash
# Verify the App Store badge image exists
if [ -f "./public/app-store-badge.svg" ]; then
  echo "✅ App Store badge SVG exists"
else
  echo "❌ App Store badge SVG not found in public directory"
fi

Length of output: 154


Add missing App Store badge asset

The App Store badge SVG referenced in frontend/src/routes/downloads.tsx is not present in the public directory, causing a broken image link for iOS downloads.

• Ensure public/app-store-badge.svg exists (or update the src path to point to the correct asset).
• Verify the SVG filename and location match the import in the <img> tag.

@AnthonyRonning AnthonyRonning merged commit 787483d into master May 14, 2025
4 of 5 checks passed
@AnthonyRonning AnthonyRonning deleted the mobile-app-links branch May 14, 2025 15:35
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