zeldamods / objmap-totk

Tears of the Kingdom Object Map
https://objmap-totk.zeldamods.org
GNU General Public License v3.0
49 stars 7 forks source link

Use labels for searchExcludeSets #72

Open elduende05 opened 1 year ago

elduende05 commented 1 year ago

If you use a custom search preset, with a label, to perform an exclusion on the search, the label is replaced with the query. This also happens if you import a file that has custom labels in it, but only for excludes. It would improve usability to use those custom labels since it would reduce the clutter in the UI for complex exclude queries.

savage13 commented 1 year ago

Importing the labels with custom search presets is doable and a simple fix.

Steps to recreate :

Adding labels to custom preset search exclusions is difficult as the label gets lost.

Moreover, it appears there is no way to create a label for a search exclusion (within objmap)

savage13 commented 1 year ago

We could just add a simple label editor using prompt(). See below.

Each search group or exclude would include a tag icon for modifying the label.

Screen Shot 2023-07-16 at 11 37 03 AM