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

feat(NavigationTree): collapse childless nodes #84

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

artemmufazalov
Copy link
Member

If node has no children, collapse it once it is loaded. Part of ydb-platform/ydb-embedded-ui#1836

Screen.Recording.2025-01-22.at.16.02.55.mov

path,
});
interface NavigationTreeReducerOptions {
collapseChildlessNodes?: boolean;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's remove this new option and implement a new behaviour by default

@artemmufazalov artemmufazalov force-pushed the collapse-childless-nodes branch from 4d23d65 to fe038e7 Compare January 22, 2025 14:26
@artemmufazalov artemmufazalov changed the title feat(NavigationTree): add collapseChildlessNodes option feat(NavigationTree): collapse childless nodes Jan 22, 2025
@artemmufazalov artemmufazalov requested a review from amje January 22, 2025 14:39
@artemmufazalov artemmufazalov merged commit 84733db into main Jan 22, 2025
3 checks passed
@artemmufazalov artemmufazalov deleted the collapse-childless-nodes branch January 22, 2025 15:12
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.

2 participants