diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/components/PluginSettings/index.tsx | 7 | ||||
-rw-r--r-- | src/plugins/imageZoom/index.tsx | 2 | ||||
-rw-r--r-- | src/plugins/reverseImageSearch.tsx | 2 | ||||
-rw-r--r-- | src/plugins/validUser.tsx | 1 | ||||
-rw-r--r-- | src/plugins/viewIcons.tsx | 1 |
5 files changed, 11 insertions, 2 deletions
diff --git a/src/components/PluginSettings/index.tsx b/src/components/PluginSettings/index.tsx index 8ccc740..e1b36ef 100644 --- a/src/components/PluginSettings/index.tsx +++ b/src/components/PluginSettings/index.tsx @@ -228,9 +228,12 @@ export default function PluginSettings() { if (enabled && searchValue.status === SearchStatus.DISABLED) return false; if (!enabled && searchValue.status === SearchStatus.ENABLED) return false; if (!searchValue.value.length) return true; + + const v = searchValue.value.toLowerCase(); return ( - plugin.name.toLowerCase().includes(searchValue.value.toLowerCase()) || - plugin.description.toLowerCase().includes(searchValue.value.toLowerCase()) + plugin.name.toLowerCase().includes(v) || + plugin.description.toLowerCase().includes(v) || + plugin.tags?.some(t => t.toLowerCase().includes(v)) ); }; diff --git a/src/plugins/imageZoom/index.tsx b/src/plugins/imageZoom/index.tsx index da6ac69..d4adcdc 100644 --- a/src/plugins/imageZoom/index.tsx +++ b/src/plugins/imageZoom/index.tsx @@ -130,6 +130,8 @@ export default definePlugin({ name: "ImageZoom", description: "Lets you zoom in to images and gifs. Use scroll wheel to zoom in and shift + scroll wheel to increase lens radius / size", authors: [Devs.Aria], + tags: ["ImageUtilities"], + patches: [ { find: '"renderLinkComponent","maxWidth"', diff --git a/src/plugins/reverseImageSearch.tsx b/src/plugins/reverseImageSearch.tsx index fd98d0f..c375e19 100644 --- a/src/plugins/reverseImageSearch.tsx +++ b/src/plugins/reverseImageSearch.tsx @@ -76,6 +76,8 @@ export default definePlugin({ name: "ReverseImageSearch", description: "Adds ImageSearch to image context menus", authors: [Devs.Ven, Devs.Nuckyz], + tags: ["ImageUtilities"], + patches: [ { find: ".Messages.MESSAGE_ACTIONS_MENU_LABEL", diff --git a/src/plugins/validUser.tsx b/src/plugins/validUser.tsx index d92269c..42349b4 100644 --- a/src/plugins/validUser.tsx +++ b/src/plugins/validUser.tsx @@ -116,6 +116,7 @@ export default definePlugin({ name: "ValidUser", description: "Fix mentions for unknown users showing up as '<@343383572805058560>' (hover over a mention to fix it)", authors: [Devs.Ven], + tags: ["MentionCacheFix"], patches: [{ find: 'className:"mention"', diff --git a/src/plugins/viewIcons.tsx b/src/plugins/viewIcons.tsx index 0543a64..9e74949 100644 --- a/src/plugins/viewIcons.tsx +++ b/src/plugins/viewIcons.tsx @@ -145,6 +145,7 @@ export default definePlugin({ name: "ViewIcons", authors: [Devs.Ven, Devs.TheKodeToad, Devs.Nuckyz], description: "Makes avatars and banners in user profiles clickable, and adds View Icon/Banner entries in the user and server context menu", + tags: ["ImageUtilities"], settings, |