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

Use labels for searchExcludeSets #72

Open
elduende05 opened this issue Jul 8, 2023 · 2 comments
Open

Use labels for searchExcludeSets #72

elduende05 opened this issue Jul 8, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@elduende05
Copy link

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.

@leoetlino leoetlino added the enhancement New feature or request label Jul 8, 2023
@savage13
Copy link
Contributor

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

Steps to recreate :

  • Add a custom search with a label
  • Use the custom search (on the search pane)
    • Search includes label
  • Click the edit button
    • Moves the custom search to search bar
    • This ignores the label
  • Click the hide button
    • Query is used for the label as the label does not exist

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants