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

Editor UI: More sidebar improvements #2409

Merged

Conversation

Jowan-Spooner
Copy link
Collaborator

As a follow up to #2350 this does some code cleanup and modifies the sorting drop-down into an options popup that allows to introduce more settings in the future.
It also improves the folder color logic and trimming of file paths to the necessary length (both optional now).

Removes a lot of duplicate code.
Makes the "Path" mode truncate folder names when unnecessary.
Makes the folder colors inherit like in the file system.
Allows toggeling the use of folder colors and folder name truncation.
Renames the sorting to grouping (in case sorting gets a separate control in the future)

Makes it so the V-Split  (between the resource list and the content list) is remembered across sessions.
@Jowan-Spooner Jowan-Spooner added Enhance ⚡ Improve a feature's workflow. UI/UX ✏ labels Sep 22, 2024
@firedfromlife
Copy link
Contributor

@Jowan-Spooner Looks great to me! 👍

@Jowan-Spooner Jowan-Spooner added the Approved This can be added, but is not on any roadmap yet label Oct 15, 2024
@zaknafean zaknafean self-requested a review October 16, 2024 14:04
Copy link
Collaborator

@zaknafean zaknafean left a comment

Choose a reason for hiding this comment

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

The Sidebar improvements are great. The refactoring is extensive, and nothing jumps out as out of place or questionable, but this will likely impact other PRs so its probably best to get this in asap.

@zaknafean zaknafean merged commit 642d03e into dialogic-godot:main Oct 16, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved This can be added, but is not on any roadmap yet Enhance ⚡ Improve a feature's workflow. UI/UX ✏
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants