Repository navigation
Link needs-configuration banners to plugin settings - #3287
Merged
Merged
Conversation
The "Needs configuration" banner told users to add configuration but gave no way to reach the plugin's settings page, so the only visible action was Reload. Add an "Open settings" action to the banner whenever the plugin has a settings page (server settings schema or a frontend settings section), keeping Reload for plugins that are configured outside Settings. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
The needs-configuration banner kept its actions on the same row as the text at every width, so on a phone the message collapsed into a ragged column beside the buttons. Let the banner row wrap and give the text a 16rem basis, so narrow layouts drop the actions to their own row while the desktop panel keeps its single-row layout. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
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.
Human comments
What was wrong
The
needs-configurationplugin banner knew whether a plugin exposed in-app settings, but its actions did not provide a route to those settings. Plugins configured through a frontend-contributed settings section also still need an explicit reload after configuration, and the banner's single-row layout left too little width for its recovery copy once both actions were present on compact screens.What changed
needs-configurationplugins with either declarative settings or a frontend-contributed settings section.How you verified
pnpm exec turbo run test --filter=@bb/app --force -- ToolsView.plugin-detail(36 tests passed)pnpm exec turbo run typecheck lint --filter=@bb/app --force(passed; lint reported 0 errors)pnpm exec oxfmt --check apps/app/src/components/tools/PluginCapabilities.tsx apps/app/src/components/tools/plugin-detail-banner.tsx apps/app/src/views/ToolsView.plugin-detail.test.tsxgit diff --check origin/main...HEAD