-
Notifications
You must be signed in to change notification settings - Fork 389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CB-4541 feat: tree filter #2908
Conversation
return true; | ||
} | ||
|
||
let isNodeMatched = treeData.getNode(nodeId).name.toLowerCase().includes(this.filter.toLowerCase()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An idea for the future: we can implement a fuzzy search for all of our filters in the app. it is easy peasy to implement and improves UX experience while searching something
webapp/packages/plugin-navigation-tree/src/TreeNew/DataTransformers/rootTransformers.ts
Show resolved
Hide resolved
webapp/packages/plugin-settings-panel/src/SettingsPanel/SettingsList.tsx
Outdated
Show resolved
Hide resolved
webapp/packages/plugin-settings-panel/src/SettingsPanel/SettingsGroup.tsx
Show resolved
Hide resolved
webapp/packages/plugin-settings-panel/src/SettingsPanel/SettingsList.tsx
Outdated
Show resolved
Hide resolved
import { ROOT_SETTINGS_GROUP, type SettingsGroup as SettingsGroupType } from '@cloudbeaver/core-settings'; | ||
import type { ITreeData } from '@cloudbeaver/plugin-navigation-tree'; | ||
|
||
export function* getGroupsFromTree(treeData: ITreeData, groups: string[]): IterableIterator<SettingsGroupType> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the reason for the generator here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's fix for this comment #2908 (comment)
262dd16
to
b18ccfe
Compare
0ba3ad0
to
8c65ffd
Compare
No description provided.