Open grafakus opened 4 days ago
I think we should do the following... we should consider two states:
https://github.com/user-attachments/assets/c5f19fcc-fdbd-4aac-8fee-be025ad3c47b
I believe in this case we need to teach the user that they need to select something on the timeline. We can do this via two options:
If we anted to get really fancy maybe we could even highlight the border of the line graphs panel until a user has selected something on the pink one and then highlight the border on the blue line graph panel until a user has selected both (we could also change the gif to be pink or blue depending on what they have / have not highlighted)
The whole point of us not automatically showing a flamegraph is so that we can change the time ranges independently from the flamegraph calculation.
If a user changes the time range... Let's say from "last 30 minutes" to "last 7 days" we should not automatically calculate the flamegraph. Instead we should again show the same gif as above that instructs the user to select the time ranges and then only after that should we calculate the flamegraph.
What this solves is:
Feature description
Is your feature request related to a problem? Please describe.
When landing on the "Diff flame graph view", it's not 100% clear which selections have to be made in order to view a diff flame graph, some users might end up in a situation like:
Without understanding that they haven't selected the flame graph ranges on the time series:
Describe the solution you'd like
Alternatives considered
Describe alternatives you've considered
-
Additional context
Slack conversation: https://raintank-corp.slack.com/archives/C03NCLB4GG7/p1729081997377229 (cc @adamquan)