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

"Back" button and/or query history for korrel8r panel. #28

Open alanconway opened 3 months ago

alanconway commented 3 months ago

If someone mistypes a query or gets to an uninteresting correlation graph, they will want a way to return return to previous interesting queries. A drop down history of queries could be useful for advanced users, but many users will be unaware of the query syntax so for them a "back" button might be better.

PeterYurkovich commented 3 months ago

Some things to consider for a history:

alanconway commented 2 months ago

Queries are in the language of their domain (LogQL, PromQL, k8s REST etc.) There is no "universal" korre8lr query language, the philosophy is to tackle the reality of diverse systems and query languages, rather than waiting for an ideal uniform world (that's a job for projects like OTEL, GraphQL and the like) Details of query probably only useful to an advanced user, a basic user will be using queries generated automatically by the console, and may never even look at the query (e.g. see console logging page which hides the LogQL query unless requested) Basic user just wants to "get back to where I was before". There may be something we can do to humanize the queries, by relating them to console resources using icons or summarizing them somehow - I haven't thought it through.

alanconway commented 2 months ago

Possible resolution - some of the query and search widgets automatically maintain a history of past values, that might be all we need.