Add widgets - #82
Merged
Merged
Add widgets#82
Conversation
alanvardy
marked this pull request as ready for review
September 27, 2026 03:07
alanvardy
force-pushed
the
alanvardy-var-1065-add-widgets
branch
from
September 27, 2026 03:07
a3379f1 to
230db05
Compare
alanvardy
force-pushed
the
alanvardy-var-1065-add-widgets
branch
from
September 27, 2026 11:31
230db05 to
d711ead
Compare
Render "Open CheckStitch to buy a license" for needsPurchase rows and show the edit hint for an unconfigured widget instead of silently running the first checklist.
alanvardy
force-pushed
the
alanvardy-var-1065-add-widgets
branch
from
September 27, 2026 11:40
d711ead to
b843763
Compare
The label text made the button read "Create reminders" inside the widget; the multi widget already used an icon-only button. Keep the localized string as the accessibility label so VoiceOver still announces the action.
The single-checklist widget now shows a big circular play button filling the space under the checklist name. The multi-checklist widget's row titles move from .body to .title3 so the list reads larger.
A widget renders snapshots, so the app's play -> spinner -> checkmark pattern needs persisted state rather than view-model state: - WidgetRunStateStore (Core) records beginRun/finishRun per checklist in the App Group, with the app's 1s spinner floor, a 1.5s check window, an abandoned-run timeout, and validated reads. - RunChecklistIntent marks the run before its EventKit work and finishes it after, so the store's reload hook can render the spinner mid-run. - The display model carries a per-row WidgetRunIndicator, and both widgets render it (green check on success, play otherwise). - Timeline planning emits the entry that drops the check back to the play icon, so the sequence completes without another tap. Only a full success shows the check, matching the app's never-flash- success rule.
The bordered-prominent fill drew a blue ring around the white play.circle.fill glyph. A plain style leaves the icon alone as the whole button, and the success check now colours the glyph itself, matching the list widget.
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.
No description provided.