Add MultiSelect

This commit is contained in:
Ryan Hughes
2026-05-21 16:35:26 -04:00
parent 640e8056a0
commit d13854857e
5 changed files with 704 additions and 2 deletions
+10 -2
View File
@@ -520,8 +520,6 @@ ShellRoot {
console.warn("Plugin " + manifest.id + " has no barWidget entry point")
continue
}
if (existing && existing.url === url && shell.barWidgetRegistry.has(registryKey)) continue
var meta = manifest.barWidget || {}
meta = {
displayName: meta.displayName || manifest.name,
@@ -531,9 +529,19 @@ ShellRoot {
defaults: meta.defaults || {},
schema: meta.schema || [],
pluginId: manifest.id,
sourceDir: manifest.__sourceDir || "",
source: "plugin"
}
// If the component URL is unchanged, just refresh the metadata in
// place. We can't skip this even when the URL matches: manifests can
// change schema, defaults, or sourceDir between rescans, and the
// settings panel reads metadata from the registry.
if (existing && existing.url === url && shell.barWidgetRegistry.has(registryKey)) {
shell.barWidgetRegistry.register(registryKey, existing.component, meta)
continue
}
loadPluginWidget(registryKey, url, meta)
}