diff --git a/apps/remix-ide/src/app/components/plugin-manager-component.js b/apps/remix-ide/src/app/components/plugin-manager-component.js index d658915f1b..816d9c1c11 100644 --- a/apps/remix-ide/src/app/components/plugin-manager-component.js +++ b/apps/remix-ide/src/app/components/plugin-manager-component.js @@ -105,8 +105,7 @@ class PluginManagerComponent extends ViewPlugin { getAndFilterPlugins = (filter) => { this.filter = typeof filter === 'string' ? filter.toLowerCase() : this.filter - - const isFiltered = (profile) => (profile.displayName ? profile.displayName : profile.name).toLowerCase().includes(this.filter) + const isFiltered = (profile) => (profile.displayName + profile.name + profile.description).toLowerCase().includes(this.filter) const isNotRequired = (profile) => !this.appManager.isRequired(profile.name) const isNotDependent = (profile) => !this.appManager.isDependent(profile.name) const isNotHome = (profile) => profile.name !== 'home' diff --git a/libs/remix-ui/plugin-manager/src/lib/components/InactivePluginCardContainer.tsx b/libs/remix-ui/plugin-manager/src/lib/components/InactivePluginCardContainer.tsx index d3c219dd5e..61814b89a2 100644 --- a/libs/remix-ui/plugin-manager/src/lib/components/InactivePluginCardContainer.tsx +++ b/libs/remix-ui/plugin-manager/src/lib/components/InactivePluginCardContainer.tsx @@ -29,7 +29,12 @@ function InactivePluginCardContainer({ pluginComponent }: InactivePluginCardCont ) : null} {pluginComponent.inactivePlugins && pluginComponent.inactivePlugins.map((profile, idx) => { - return + return })} ) diff --git a/libs/remix-ui/plugin-manager/src/types.d.ts b/libs/remix-ui/plugin-manager/src/types.d.ts index 5b6910c3ce..e7a0b10496 100644 --- a/libs/remix-ui/plugin-manager/src/types.d.ts +++ b/libs/remix-ui/plugin-manager/src/types.d.ts @@ -103,9 +103,9 @@ declare class LocalPlugin { * @returns {Promise<{api: any, profile: any}>} A promise with the new plugin profile */ open(plugins: any[]): Promise<{ - api: any - profile: any - }> + api: any + profile: any + }> profile: any /** @@ -113,21 +113,21 @@ declare class LocalPlugin { */ create(): any updateName({ target }: { - target: any - }): void + target: any + }): void updateUrl({ target }: { - target: any - }): void + target: any + }): void updateDisplayName({ target }: { - target: any - }): void + target: any + }): void updateProfile(key: any, e: any): void updateMethods({ target }: { - target: any - }): void + target: any + }): void /** The form to create a local plugin */ form(): any