tiled icon indicating copy to clipboard operation
tiled copied to clipboard

Custom Type Search/Filter

Open natebot13 opened this issue 1 year ago • 2 comments
trafficstars

The number of Custom Types in my project is getting a quite large. When adding a property to an object, the interface for picking the property to add is a simple dropdown and a text field for naming it. The dropdown is in alphabetical order, which does help a bit, but it would be nice if I could search/filter these properties by name.

Describe the solution you'd like Ideally, a bit more UI in the "Add Property" dialogue would be great. Something like a scroll box instead of a dropdown, with a search field at the top to filter what I'm looking for.

Describe alternatives you've considered I don't think there are any alternatives to this at the moment. Maybe I could make my own plugin that has the UI I'm looking for, but I haven't looked into if that's possible.

natebot13 avatar Apr 21 '24 04:04 natebot13

If you start typing with the dropdown in focus, it will select the first match. This is standard dropdown behaviour, and works similarly to that in the class field on objects.

If there is to be a search/filter option in addition to that (perhaps one that can match substrings in the middle of the name?), then I think it should be available for the object class field and in the custom types editor as well.

eishiya avatar Apr 21 '24 13:04 eishiya

Ah, typing the name of the property with the dropdown selected helps a little. It still would be nice to have a filter text box so it can do a more fuzzy filter/search from anywhere within the property name, in case I don't remember exactly how I named a property.

natebot13 avatar Apr 27 '24 08:04 natebot13