Gear store: /gear website page + in-app Settings entry#151
Open
darioalessandro wants to merge 4 commits into
Open
Gear store: /gear website page + in-app Settings entry#151darioalessandro wants to merge 4 commits into
darioalessandro wants to merge 4 commits into
Conversation
Adds a row in the Settings > About section linking to the recommended-gear page (https://security-union.github.io/remote-shutter/gear?src=app). On iOS/iPadOS it presents an in-app SFSafariViewController from the top view controller; on Mac Catalyst, where SFSafariViewController is unavailable, it opens the URL in the default browser via UIApplication.open. The user-facing "Recommended Gear" string is localized across all 15 shipped locales. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ates links Products and copy per the reviewed design prototype. AmazonLink swaps the tracking ID to remoteshutter-app-20 when opened with ?src=app so app-driven clicks attribute separately. Tags are placeholders until the Associates account is approved. marketing_url now points at the website instead of the GitHub repo. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
📊 Test Coverage Report✅ 449/455 tests passed · ⏭️ 6 skipped
🎥 Capture & session core
📁 Full report — 79 files
Generated from |
Same glass-panel style as the role buttons (lighter gold tint, bag icon), opens the gear page via openGearPage(). Subtitle localized in all 15 locales. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Core actions first; the recommendation reads as a footer, not an ad. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GAMEPLAN play #6 (hardware affiliate channel): the gear store, web + app.
Website (
/gear)website/src/lib/gear.ts.AmazonLinkswaps the Associates tracking ID toremoteshutter-app-20when the page is opened with?src=app, so app-driven clicks attribute separately from organic web in Amazon's own reports — no analytics script needed.rel="sponsored"on all buy links; header nav + sitemap + home-page teaser wired in.marketing_url.txtnow points at the website instead of the GitHub repo (ships with next release).App — two entry points
SFSafariViewController(default browser on Mac Catalyst, where SFSafariVC is unavailable) with?src=appfor attribution.Before the links earn anything
website/src/lib/gear.tswith the approved onesVerified: static export builds with
/gearprerendered; jest green; all 12 buy links + disclosure present in generated HTML; iOS Simulator build passes; CI green on both iOS and Mac Catalyst.🤖 Generated with Claude Code