Add "Enjoying Sumbee? Share Now" CTA and viral share sheet to the main panel#9
Merged
Merged
Conversation
Agent-Logs-Url: https://github.com/wynnwu/Sumbee/sessions/e71dddc7-7a24-48f4-97ce-e3ac868be8a2 Co-authored-by: wynnwu <1041852+wynnwu@users.noreply.github.com>
Agent-Logs-Url: https://github.com/wynnwu/Sumbee/sessions/e71dddc7-7a24-48f4-97ce-e3ac868be8a2 Co-authored-by: wynnwu <1041852+wynnwu@users.noreply.github.com>
Claude created this pull request from a session on behalf of
wynnwu
June 22, 2026 10:47
View session
Agent-Logs-Url: https://github.com/wynnwu/Sumbee/sessions/f60b2f21-e101-426d-8403-39ce75114043 Co-authored-by: wynnwu <1041852+wynnwu@users.noreply.github.com>
Co-Authored-By: Claude <noreply@anthropic.com> Agent-Logs-Url: https://github.com/wynnwu/Sumbee/sessions/8783059c-f8a6-476f-8081-e1e496ff7570 Co-authored-by: wynnwu <1041852+wynnwu@users.noreply.github.com>
Contributor
Sumbee screenshotsCaptured from Main panelSettings - GenerationStyles editorOutput |
Co-Authored-By: Claude <noreply@anthropic.com> Agent-Logs-Url: https://github.com/wynnwu/Sumbee/sessions/08d87e1f-c11c-446a-b0c0-84b6f481d6db Co-authored-by: wynnwu <1041852+wynnwu@users.noreply.github.com>
Co-Authored-By: Claude <noreply@anthropic.com> Agent-Logs-Url: https://github.com/wynnwu/Sumbee/sessions/5ec4426b-d166-48c6-902f-186726bee7df Co-authored-by: wynnwu <1041852+wynnwu@users.noreply.github.com>
Co-Authored-By: Claude <noreply@anthropic.com> Agent-Logs-Url: https://github.com/wynnwu/Sumbee/sessions/56be9111-96dd-4070-a13f-d997112fe19b Co-authored-by: wynnwu <1041852+wynnwu@users.noreply.github.com>
Co-Authored-By: Claude <noreply@anthropic.com> Agent-Logs-Url: https://github.com/wynnwu/Sumbee/sessions/56be9111-96dd-4070-a13f-d997112fe19b Co-authored-by: wynnwu <1041852+wynnwu@users.noreply.github.com>
…-checks Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
wynnwu
added a commit
that referenced
this pull request
Jun 22, 2026
Adds an "Enjoying Sumbee?" prompt + Share button in the main panel that opens a share sheet (copy message, X/Twitter, email). Merged from PR #9 (claude/add-share-button-main-panel via remote-dev). Includes fixes: ShareContentTests throws signatures, and an explicit Font base in AccentButtonStyle's compact ternary. Co-Authored-By: Claude Opus 4.8 (1M context) <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.




Adds a top-right "Enjoying Sumbee? [Share Now]" call to action in the main panel header (across from the brand) that opens a share modal for spreading the word, following viral-marketing best practices.
Header CTA
MainPanelViewheader gains a right-aligned "Enjoying Sumbee?" label + accentShare Nowbutton that setsstate.showShare..sheetfromContentView.Share modal (
Views/Share/ShareSheet.swift)Ordered by friction:
state.copyShareLink()→NSPasteboard, with a confirming toast).NSWorkspace.NSSharingServicePickerbridge (SharePickerButton, kept as a dedicated AppKit control per the repo's interop learnings — Messages/AirDrop/Mail/etc.).Share copy (
Models/ShareContent.swift)https://github.com/wynnwu/SumbeeURL, benefit-led message/tweet/email strings, and X/mailtolink builders. Message ends with the link so it survives truncation. No analytics/tracking — stays local-first.State / tests / spec
AppState:showShareflag +copyShareLink().ShareContentTests: canonical URL, link-ends-message, tweet length (<280), and X/mailtoquery encoding.specs/001-transcript-summarizer/spec.md.