SigNoz / signoz

SigNoz is an open-source observability platform native to OpenTelemetry with logs, traces and metrics in a single application. An open-source alternative to DataDog, NewRelic, etc. 🔥 🖥. 👉 Open source Application Performance Monitoring (APM) & Observability tool
https://signoz.io
Other
19.24k stars 1.27k forks source link

Do not reset the selected values for a variable when it's parent variable changes #5322

Open srikanthccv opened 4 months ago

srikanthccv commented 4 months ago

Imagine you are looking at a service metrics dashboard for an env staging and you want to see the same for different env prod, now if you change the deployment_environment variable to prod all the dependent variable selection gets reset to ALL. This can be an annoying experience because I have to make the same selection as earlier.

Should we not reset all the times or should we not reset only when the newly fetched values have the previous selection as a subset? i.e only reset the service_name if the result of service_name for new env returns a set that has no common values in current selected value?

srikanthccv commented 4 months ago
  1. Ability to type the custom value. The value should be applied on the enter key or move the mouse out
    • For single select only one value
    • For multi-select, more than one value
  2. Push the selected values to the top
  3. Do not close the dropdown for multi-select after the first selection
  4. Separate ALL from the rest of the options.
  5. One should be able to select multiple at the same on the first load. Right now ALL is enabled by default and one can’t go about selecting more than one. This means being able to de-select everything and select one or more items.
  6. Do not reset the filter to default when the response already contains the selected values i.e. keep the existing values chosen if they are also present in the response.
  7. Be able to clear the selection
  8. Easy to edit mode when the number of selected values is high
  9. The sequence of the queries is not going to go away
ankitnayan commented 4 months ago

pick this up along with p0 flows of dashboard variables

SagarRajput-7 commented 3 months ago

@YounixM , I am assigning this to you as discussed in standup. Let me know if change is required.

YounixM commented 1 month ago

@SagarRajput-7 : Assigned it to you as you are working on the EPIC.