Repository navigation
refactor(ui): update dialog and welcome tour on QueryaButton - #1420
Merged
ZhuchkaTriplesix merged 1 commit intoOct 11, 2026
Merged
Conversation
18 shadcn button calls (PrimaryButton / OutlineButton / GhostButton / DestructiveButton) become QueryaButton variants at lg (sm for the compact Home link); Cancel and Close are ghost per the standard. Keys, labels and callbacks are unchanged. Part of #1338.
This was referenced Oct 11, 2026
ZhuchkaTriplesix
deleted the
issue/1338-updater-onboarding-querya-button
branch
October 11, 2026 15:02
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.
Part of #1338 / #1331 (closes neither)
First feature-directory pass of the button migration, using
QueryaButton(#1408, indev).What
18 shadcn button calls move to
QueryaButton, mapped by the table indocs/ui-kit.md:PrimaryButtonQueryaButton.primaryOutlineButtonQueryaButton.secondary(ghostwhen it is Cancel / Close)GhostButtonQueryaButton.ghostDestructiveButtonQueryaButton.destructivelib/features/updater/update_dialog.dart(12): all footers atlg.lib/features/onboarding/welcome_tour_dialog.dart(6): footer and slide actions atlg; the compact Home link (ButtonDensity.compact) issm;leading: Icon(...)isicon:.Visible differences (intended, from the standard)
Method
The mechanical part was done with a small codemod that only rewrites calls whose arguments it fully understands (
key,onPressed,child: Text(...),leading: Icon(...),density,size) and reports the rest; both files converted with nothing skipped, and the diff was read by hand.Not in this PR
The recovery app (
querya_startup_recovery_app.dart) runs outside aQueryaThemeScopeand waits for the tolerantQueryaButtonof #1418; the toolbars (QueryaActionButton,QueryaActionMenu) are #1337.Not run locally; CI is the check.