Stop asking what theme to install in installation wizard#5952
Merged
Conversation
…ll Theme-tabler Co-authored-by: tabacitu <1032474+tabacitu@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Stop asking for theme selection during installation wizard
Stop asking what theme to install in installation wizard
Mar 2, 2026
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.
WHY
BEFORE - What was wrong? What was happening before this PR?
Running
php artisan backpack:installprompted the user to choose from 3 themes (Theme-tabler, CoreUI v4, CoreUI v2). This choice is unnecessary in v7 — Theme-tabler is the standard.AFTER - What is happening after this PR?
Theme-tabler is installed automatically, with no prompt. If a theme is already installed, installation is skipped. Users can still uninstall/swap themes afterward.
HOW
How did you achieve that, in technical terms?
installTheme(): Replaced the interactivelistChoice()prompt with a direct call tobackpack:require:theme-tabler, guarded byisAnyThemeInstalled().handle(): MovedinstallTheme()outside theno-interactionguard — both interactive and non-interactive paths now share the same auto-install logic, removing the duplicatedelsebranch.isEveryThemeInstalled()private method.Is it a breaking change?
No. Developers who already have a theme installed won't be affected. Those without one will get Theme-tabler automatically instead of being prompted.
How can we test the before & after?
Before: Run
php artisan backpack:installon a fresh install — you'd be prompted to pick a theme.After: Run
php artisan backpack:install— Theme-tabler installs automatically with no prompt.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.