Skip to content
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

Merged
merged 25 commits into from
Sep 25, 2024
Merged

CB-4541 feat: tree filter #2908

merged 25 commits into from
Sep 25, 2024

Conversation

Wroud
Copy link
Member

@Wroud Wroud commented Sep 11, 2024

No description provided.

@Wroud Wroud self-assigned this Sep 11, 2024
return true;
}

let isNodeMatched = treeData.getNode(nodeId).name.toLowerCase().includes(this.filter.toLowerCase());
Copy link
Contributor

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/tests-runner/package.json Show resolved Hide resolved
@sergeyteleshev sergeyteleshev self-requested a review September 12, 2024 14:44
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> {
Copy link
Member

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?

Copy link
Member Author

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)

@Wroud Wroud force-pushed the feat/cb-4541/tree-filter branch from 262dd16 to b18ccfe Compare September 16, 2024 10:09
@Wroud Wroud force-pushed the feat/cb-4541/tree-filter branch from 0ba3ad0 to 8c65ffd Compare September 23, 2024 09:24
@Wroud Wroud merged commit 8f54e75 into devel Sep 25, 2024
4 of 6 checks passed
@Wroud Wroud deleted the feat/cb-4541/tree-filter branch September 25, 2024 16:46
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.

6 participants