openshift / troubleshooting-panel-console-plugin

Console Plugin to add a troubleshooting side panel to display Korrel8r data
Apache License 2.0
0 stars 7 forks source link

Advanced korrle8r search in panel #40

Closed alanconway closed 4 months ago

alanconway commented 4 months ago

Korrel8r provides 2 types of search: neighbourhood (with depth parameter) and goal (with goal class(es)) Make these accessible in panel, but hidden by default since they reqiure more understanding of korrel8r. The "Focus" button remains the main way to change the panel graph display.

Proposed UI:

Initially

[Focus] _advanced_

[Focus] is the primary button, advanced is a secondary button or just a link. Click on "advanced" and the panel changes to:

[Focus] _hide advanced_

Korrel8r Start Query: [  search text  ] [Run]
o Show Neighbourhod of depth [ number entry ]
o Find paths to goal class [ class name entry, with completion? ]

The search text is a text box or search widget (see patternfly), the [Run] button runs the query - not needed if the search widget has a built-in "run" action.

The 'o' denotes an alternate choice

If the search widget can keep a history of pased queries that would also solve #28