Skip to content

feat(settings): search runtime plugins - #3136

Merged
bbedward merged 2 commits into
duxlabs-dev:masterfrom
hthienloc:fix/settings-search-plugin-entries
Aug 21, 2026
Merged

bbedward merged 2 commits into
duxlabs-dev:masterfrom
hthienloc:fix/settings-search-plugin-entries

Conversation

@hthienloc

@hthienloc hthienloc commented Aug 21, 2026 •

Copy link
Copy Markdown
Member

Description

Add installed runtime plugins to the Settings search, including plugins with a desktop surface. Selecting a plugin result opens the Plugins tab, expands the matching plugin, and scrolls it into view. Runtime plugin descriptions remain display-only and are not used for search ranking; static settings stay prioritized.

Type of change

  • New feature (non-breaking change that adds functionality)

Related issues

Closes #2541

Screenshots / video

recording_20260821_202756.mp4

@bbedward

Copy link
Copy Markdown
Member

/claude review

@claude

claude Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Claude review

Feature works as described; two smaller issues worth fixing before merge.

  • Runtime plugin names/descriptions are passed through I18n.tr(), so a plugin whose name collides with an existing catalog term is mistranslated in search results, quickshell/Services/SettingsSearchService.qml:208
  • openPluginSettings looks the plugin up in filteredPlugins, so it silently no-ops when the Plugins tab already has its own search filter active, quickshell/Modules/Settings/PluginsTab.qml:45

Checked: navigation path (sidebar -> SettingsModal -> SettingsContent loader -> PluginsTab), pluginListUpdated signal wiring and cache rebuild, search scoring/sort changes, launcher (searchForLauncher) fallout, and CONTRIBUTING rules (no en.json/template.json changes, no new untranslated strings). Model: claude-opus-5.

@bbedward

Copy link
Copy Markdown
Member

/claude review

@claude

claude Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Claude review

No issues found.

Both findings from the previous round are fixed on the head commit: runtime plugin labels/descriptions now bypass I18n.tr() (SettingsSearchService.qml:153-155), and openPluginSettings clears the tab's own search filter before the filteredPlugins lookup (PluginsTab.qml:44-47).

Checked: pluginListUpdated is emitted at both _updateAvailablePluginsList() call sites so the cache can't go stale; the full navigation chain (sidebar -> parentModal -> setTabIndex(12) -> SettingsContent -> pluginsLoader -> PluginsTab), including that pendingPluginId is set synchronously before the queued applyPendingPluginSettings runs; I18n.tr("") returns "" so the translateItem description rewrite is behavior-preserving for static entries; ids pluginRepeater/pluginSearchField/pluginFlickable all resolve and onTextEdited avoids re-entrancy on the programmatic text = ""; the new sort tie-break is a no-op for static entries (runtimeType: ""); searchForLauncher/AppSearchService fallout degrades cleanly; no circular singleton reference; and CONTRIBUTING rules (no en.json/template.json/settings_search_index.json changes, "Plugins" reuses an existing term, no new untranslated strings). Model: claude-opus-5.

@bbedward
bbedward merged commit 20aafeb into duxlabs-dev:master Aug 21, 2026
1 check passed
@hthienloc
hthienloc deleted the fix/settings-search-plugin-entries branch August 21, 2026 15:28
marcusramberg pushed a commit to marcusramberg/DankMaterialShell that referenced this pull request Sep 2, 2026
* feat(settings): search runtime plugins

* fix(settings): handle plugin search metadata
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Search does not match plugin and widget names

2 participants