Skip to content

Add new search dialog #4179

Description

@Richargh

Feature request

The search works pretty well in the map. It does not work well in the node explorer. When I search for something that is one folder or more below what I have expanded, I do not see what the search found. See this search for "model", which is inside analysis but also inside visualization/app/codecharta:

Image

I looked around a bit and saw what IntelliJ or Spotlight do and I think we can improve search fundamentally.

Description

As an auditor, I want a new search dialog that clearly shows the search result.

I think the existing node explorer is not the perfect place for the search result, because the node explorer has the tree structure is not so helpful. I checked what IntelliJ does and I think searching for something should open a new dialog that shows only what is matched. It could look like this:

Image

Depending on if the user clicks on a search result, the new dialog would then show either the old node explorer or select the search result in the node explorer:

Image

What do you think?

Acceptance criteria

  • Searching for something opens a new search dialog that shows what files are matched
    • in the map
    • not in the map, because it has no area metric
    • in flattened files
    • in excluded files
  • Selecting something in the new dialog shows the old node explorer again with the element selected
  • Pressing enter without selecting something shows the old node explorer again but indicates via color inside which folder the search result is

Assumptions & Exclusions

Development notes (optional Task Breakdown)

  • [ ]
  • [ ]
  • [ ]

Open questions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions