New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use One node per resource as default option #891
base: main
Are you sure you want to change the base?
Conversation
- This commit changes the default option of "Show paths to the focal node" to "One node per resource" Signed-off-by: Sanskar Bajpai sanskarbajpai2907@gmail.com
It was stated in the ticket that we cannot just change the default, instead we can add a config option to control what default to use. |
Oops, I misread it, Thanks a lot for pointing it out. I'll issue a commit adding that feature. |
|
If you're suggesting to remove descriptions from the drop down than I would be against it, it would make usability worse. |
I was actually asking about the UI to keep a graph density option as default? like the UI of the config to achieve that. Do we keep a dropdown to do that, or a redundant set as default checkbox after every density option? or something else? |
Sorry, I don't follow. We don't want to change the default, only to allow it to be configurable. |
Yes which basically means that the user should choose what the default option should be, right? @yurishkuro |
not the end user of the UI, but the operator of Jaeger installation: https://www.jaegertracing.io/docs/1.31/frontend-ui/#configuration |
Got it, Thanks a lot for clarifying! |
@yurishkuro I need to add a "setDefaultOption" for the UI config https://github.com/jaegertracing/jaeger-ui/blob/main/packages/jaeger-ui/src/types/config.tsx#L41-L66 ? |
yes
|
I am having trouble writing the tests, can you help me? @yurishkuro |
Sorry, I'm not a UI dev. Don't we have existing tests to model after? |
Let me have a proper look, will get back to u soon |
Which problem is this PR solving?
Short description of the changes
2022-02-24.00-45-08.mp4