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: Better Resource List + Sidebar #1894

Closed
3 tasks done
Jowan-Spooner opened this issue Nov 11, 2023 · 4 comments
Closed
3 tasks done

Editor: Better Resource List + Sidebar #1894

Jowan-Spooner opened this issue Nov 11, 2023 · 4 comments

Comments

@Jowan-Spooner
Copy link
Collaborator

Jowan-Spooner commented Nov 11, 2023

The sidebar is currently sorted by alphabetical order. This is somewhat okay, but often doesn't actually show what you are working on.
Characters and Timelines are also mixed which can be annoying.

  • Better options for sorting should be considered. Possibilities:

    • sort by last used (latest used always at the top)
    • sort by alphabet but split characters and timelines
    • allow sorting by folder (taking into account the file system). This would allow more complex sorting.
  • It should also be allowed to hide the sidebar for users who prefer to use quick-open (SHIFT+ALT+O) or the file system.

  • When searching the first item should be focused so enter actually opens that item.

@firedfromlife
Copy link
Contributor

I would like to work on this feature.

@firedfromlife
Copy link
Contributor

@Jowan-Spooner Any input on the progress so far? Still need to implement the highlight on search before a PR is ready.

  • Resources are now split into characters and timelines, then sorted alphabetically.
  • I have added a collapse button beside the CurrentResource.
    • imgA
  • This image shows the UI while the sidebar is collapsed.
    • imgB

@Jowan-Spooner
Copy link
Collaborator Author

@firedfromlife Hey, that looks pretty cool. Did you convert the item list into a tree? Or how are you making those sections?

If you open a PR, I could test it and give more detailed feedback. But I like the look so far!

@firedfromlife
Copy link
Contributor

firedfromlife commented Jul 23, 2024

It is currently in a very broken state, by that I mean, it seems to work completely fine, but floods the console with errors when an item is clicked in the tree. Loads the resource up just fine though.
The wild thing, it is only on click too, using arrow navigation throws no errors, neither does loading through the file system.

I will get that resolved then post a pr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants