Repository navigation
feat(app): large busy spinner over the grid, old rows kept under a veil - #50
Merged
Merged
Conversation
The 18 px spinner next to the tab buttons was easy to miss. Each tab now lays a BusyOverlay over its grid while winget reads: a veil of the tab area's color, the Spinner at 48 px and a line of text, shown after 400 ms through a discrete key frame so a search typed letter by letter does not flash and it works with Windows animations off. The text is set when the overlay shows and announced to screen readers. - Install: "Searching the winget catalog..." - Installed: InstalledViewModel.LoadingText (list, export, import) - Updates: "Checking for updates..." Installed and Updates no longer empty their grid when a read starts: the old rows stay under the veil until winget answers. ADR 0028 point 19, note in point 9. Smoke test with a winget held in progress; LoadingText and kept-rows tests. Co-Authored-By: Claude <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.
Summary
BusyOverlay(UserControl) over the grid of each tab while winget reads: a veil of the tab area's color at 0.75, the existingSpinnerin a 48 pxViewbox, and a 16 px line of text in secondary color.InstalledViewModel.LoadingText("Listing installed packages...", "Exporting the package list...", "Importing packages...")DiscreteDoubleKeyFrameonOpacity(no fade): a fast search typed letter by letter does not flash, and it works with Windows animations off. The text is set only when it shows and is announced byLiveRegion.IsHitTestVisible="False".Tests
upgradeheld in progress the Updates overlay is Visible, opaque, with its text; Collapsed and empty afterwards; the window's only spinners are the three in the overlays.InstalledViewModelTests.LoadingTextSaysWhatWinGetIsDoing,UpdatesViewModelTests.CheckKeepsTheOldRowsUntilTheNewOnesArrive.dotnet testper project: WinGetStudio.Tests 108/108, Core 179 passed / 2 skipped.🤖 Generated with Claude Code