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

Feature: Add Category and allowCollapse to Saved Queries #815

Closed
Korving-F opened this issue Aug 27, 2024 · 2 comments
Closed

Feature: Add Category and allowCollapse to Saved Queries #815

Korving-F opened this issue Aug 27, 2024 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@Korving-F
Copy link

Feature Description

I would like to organize, expand and condense custom queries from within the GUI.

Currently custom queries are stored 'flat' which can be hard to navigate.

Are you intending to implement this feature?

No

Current Behavior

The current /api/v2/saved-queries-endpoint supports uploading of queries with a name, query and it seems since #730 also a description but not a category as far as I can tell.

The OOTB queries already try to achive something similar by using categories:

export const CommonSearches: CommonSearchType[] = [

Desired Behavior

The saved_queries model and GUI need to be updated with new fields and 'collapse'-logic.

Use Case

  • Needed to make management of queries easier within the GUI.

Additional Information

{
  "name": "Some Test Seach",
  "category": "Category 1",
  "queryList": [
    {
      "final": true,
      "query": "MATCH (.....",
      "allowCollapse": true
    }
  ]
}

Old datamodel allowed for collapsible categories of queries.

image

Pre-shipped queries already seem to come with some category.

@Korving-F Korving-F added enhancement New feature or request triage This issue requires triaging labels Aug 27, 2024
@StephenHinck
Copy link
Collaborator

Closing as a duplicate of #725

@StephenHinck StephenHinck added duplicate This issue or pull request already exists and removed enhancement New feature or request triage This issue requires triaging labels Aug 27, 2024
@Korving-F
Copy link
Author

I tried to search but hadn't seen that one. Thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants