An earned, one-time in-app ask to star the repository - #207
Open
scgopi wants to merge 1 commit into
Open
Conversation
The install path routes around github.com — brew install --cask puts the app on disk without the user ever seeing the repo — so the README and the site only ever ask people who already found it. This asks the population that actually installs. Earned rather than nagging: nothing appears until three loops have resolved on this machine, it shows once, and a tap or a dismiss retires it for good. It sits in the update banner's slot and yields to it, since news the user asked for outranks an ask aimed at them. Behind a FeatureRamps ramp so it has a kill switch. Counting is crossings-only — counting resolved nodes outright would re-count the same loop on every broadcast. Also moves the delete-from-disk effect into the trailing extension, which is what keeps AppFeature's type body inside swiftlint's 350-line budget. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0168f4VtAUJQgZsyRg8einV5
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.
Designed first as four variants — placement, tone, dismissibility — against the app's real
Themetokens: https://claude.ai/code/artifact/284490c6-397f-4539-856c-2e8ce72c1ad6This builds variant A.
What it does
SidebarStarBannerin the sidebar foot, mirroringSidebarUpdateBanner's anatomy (8pt radius, 7/10 padding, 12pt semibold over 10.5pt at 55% white, opaque #252629 under a 16% tint) in the attention amber rather than the update blue.FeatureRampsramp (100/100) so it has a kill switch viaramps.json.Notes
@Shared(.appStorage)so a test run can't write the real defaults.AppFeature's type body under swiftlint's 350-line error (345 now).Verification
xcodebuild buildswiftlint lintswift format lint --strict🤖 Generated with Claude Code
https://claude.ai/code/session_0168f4VtAUJQgZsyRg8einV5