kestra-io / kestra

:zap: Workflow Automation Platform. Orchestrate & Schedule code in any language, run anywhere, 500+ plugins. Alternative to Zapier, Rundeck, Camunda, Airflow...
https://kestra.io
Apache License 2.0
10.79k stars 934 forks source link

Add saved search filters shared across the instance or custom Execution dashboards #3311

Open yuri1969 opened 7 months ago

yuri1969 commented 7 months ago

Feature description

As a continuation of #1397 it would be great to implement a some form of shared search filters.

Being able to store personal (local) search filters is great. However, having an instant access to a set of centrally stored common queries would also support efficient collaboration within a team. Additionally, having such ready-to-use filters could make day-to-day operations less error prone.


Typical use cases:


It would help to be able to CRUD the stored queries without restarting the cluster - maybe a similar approach to EE's Custom Blueprints.

anna-geller commented 7 months ago

I think this issue is mostly intended for the Enterprise Edition, can you confirm? Because OSS is a single-player instance so the saved search there is saved for that single user, unless the search will not survive instance restart?

FWIW we have an open issue to start saving Settings in the DB (instead of just locally) but moving saved search filters to Settings wouldn't address the use case for those filters to be shared across the team.

Do you want those filters to be shared across namespaces or should they be tied to a namespace?

yuri1969 commented 7 months ago

I think this issue is mostly intended for the Enterprise Edition, can you confirm? Because OSS is a single-player instance so the saved search there is saved for that single user, unless the search will not survive instance restart?

Having the search filters saved to a DB (instead of locally) would benefit even the single-user OSS edition - different browsers, browser storage flushes, etc.

But yes, it feels like it would mostly benefit the multi-user EE with a potential to tie the searches to roles and/or namespaces.

FWIW we have an open issue to start saving Settings in the DB (instead of just locally) but moving saved search filters to Settings wouldn't address the use case for those filters to be shared across the team.

Settings represent a single personalized user config. OTOH the Saved searches are intended to be defined and shared among multiple users.

Do you want those filters to be shared across namespaces or should they be tied to a namespace?

Right now, we don't have a real use case for introducing a fine granularity of the Saved searches - per namespace, per user role, etc. However, there might be a potential to effectively filter irrelevant Saved searchers out from a group of users (e.g. support don't need to see test-related filters).

anna-geller commented 7 months ago

https://www.figma.com/file/ew0uXk0NRXJ2NBBJTNe2n1/UI?type=design&node-id=660-5610&mode=design&t=pPFw3QuxFOjDCIoa-0

image