Repository navigation
feat: show the DSHMC donation prompt in ControlApp - #579
Conversation
Wire HasAcknowledgedDonationDialog so first launch can ask for support, and add a Donate link on About. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (7)
Included review availability: This review used your included allowance. 2 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour. 📝 WalkthroughWalkthroughThe application adds a startup donation prompt with policy-based handling of dialog choices and acknowledgement persistence. It also adds a Donate button to the About page and documents the acknowledgement setting. ChangesDonation Prompt
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Feature Sequence Diagram(s)sequenceDiagram
participant MainWindow
participant DonationPromptService
participant DonationPromptPolicy
participant ContentDialog
participant Shell
participant Configuration
MainWindow->>DonationPromptService: ShowIfNeededAsync()
DonationPromptService->>DonationPromptPolicy: Check acknowledgement state
DonationPromptService->>ContentDialog: Display donation prompt
ContentDialog-->>DonationPromptService: Return selected options
DonationPromptService->>DonationPromptPolicy: Check open and acknowledgement choices
DonationPromptService->>Shell: Open donations URL when selected
DonationPromptService->>Configuration: Persist acknowledgement when selected
Merge Risk: ⚪ Minimal · up to The donation prompt and acknowledgement flow have no identified issue requiring a change before merge. 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
A rabbit found a prompt at dawn, Comment |
Wire HasAcknowledgedDonationDialog so first launch can ask for support, and add a Donate link on About.
Summary by CodeRabbit