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

Ability to Search For and Group Tilesets #3577

Open
benjamin-kirkbride opened this issue Feb 17, 2023 · 5 comments
Open

Ability to Search For and Group Tilesets #3577

benjamin-kirkbride opened this issue Feb 17, 2023 · 5 comments
Labels
feature It's a feature, not a bug.

Comments

@benjamin-kirkbride
Copy link

Is your feature request related to a problem? Please describe.
I have a ton of tilesets (literally hundreds, don't ask) and would like to be able to search through them and also categorize them.

Describe the solution you'd like
Any combination of:

  • a search
  • a tagging system
  • folders
  • ordering

Describe alternatives you've considered
excruciating scrolling

@benjamin-kirkbride benjamin-kirkbride added the feature It's a feature, not a bug. label Feb 17, 2023
@eishiya
Copy link
Contributor

eishiya commented Feb 17, 2023

I thought there was an issue for this already, but apparently not!
Related feature request: #873

For now, there is the Projects panel and the Search In Project (default shortcut: Ctrl+P), which can be used bring up the relevant tilesets by their location or name. However, while this is useful for opening a tileset, it won't help if the problem is that you already have too many tilesets open to begin with.

I think a related feature request would be the option to hide Tilesets panel tabs for tilesets that are not part of the current map.

@benjamin-kirkbride
Copy link
Author

Yeah certainly a lot of discussion to be had about exactly how this should/could be implemented.

Is anyone familiar with the JS or Python Plugins able to speak to whether this could be added via that?

@benjamin-kirkbride benjamin-kirkbride changed the title Ability to Search for and Group Tilesets Ability to Search For and Group Tilesets Feb 18, 2023
@benjamin-kirkbride
Copy link
Author

Looking through the docs, it seems that it's only possible to create temporary dialogs/modals, and that it is not possible to create new views.

Is this correct?

https://www.mapeditor.org/docs/scripting/

@eishiya
Copy link
Contributor

eishiya commented Feb 18, 2023

That is correct, sort of.

It's possible to make a Dialog that lets you search currently open tilesets based on custom properties and bring up a single tileset as the currently active tileset in the Tilesets panel though, which should cover most needs. If multiple matches are found, the dialog can display a list for you to select one from.

Dialogs are not modal, they can also persist while you work without closing, so it's possible to use them to make a sort of filterable shortcut board for different tilesets.

@benjamin-kirkbride
Copy link
Author

I see, but you can't put it into the UI like the Layers Panel, for instance. Perhaps a new issue should be made for that haha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature It's a feature, not a bug.
Projects
None yet
Development

No branches or pull requests

2 participants