Skip to content
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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

PawBud
Copy link

@PawBud PawBud commented Feb 23, 2022

Which problem is this PR solving?

Short description of the changes

  • the default option for graph density has been replaced with One node per resource
2022-02-24.00-45-08.mp4

- 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
@yurishkuro
Copy link
Member

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.

@PawBud
Copy link
Author

PawBud commented Feb 23, 2022

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.

@PawBud PawBud marked this pull request as draft February 24, 2022 08:59
@PawBud
Copy link
Author

PawBud commented Feb 24, 2022

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.

Screen Shot 2022-02-24 at 5 39 14 PM
Felt like a dropdown would be much more minimalistic, thoughts @yurishkuro?

@yurishkuro
Copy link
Member

If you're suggesting to remove descriptions from the drop down than I would be against it, it would make usability worse.

@PawBud
Copy link
Author

PawBud commented Feb 24, 2022

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.
@yurishkuro

Do we keep a dropdown to do that, or a redundant set as default checkbox after every density option? or something else?

@yurishkuro
Copy link
Member

Sorry, I don't follow. We don't want to change the default, only to allow it to be configurable.

@PawBud
Copy link
Author

PawBud commented Feb 24, 2022

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

@yurishkuro
Copy link
Member

not the end user of the UI, but the operator of Jaeger installation: https://www.jaegertracing.io/docs/1.31/frontend-ui/#configuration

@PawBud
Copy link
Author

PawBud commented Feb 25, 2022

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!

@PawBud
Copy link
Author

PawBud commented Mar 2, 2022

@yurishkuro
Copy link
Member

yes

  deepDependencies?: {
    menuEnabled?: boolean;
    defaultDisplayMode: ...
  };

@PawBud
Copy link
Author

PawBud commented Apr 28, 2022

yes

  deepDependencies?: {
    menuEnabled?: boolean;
    defaultDisplayMode: ...
  };

I am having trouble writing the tests, can you help me? @yurishkuro

@yurishkuro
Copy link
Member

Sorry, I'm not a UI dev. Don't we have existing tests to model after?

@PawBud
Copy link
Author

PawBud commented Apr 28, 2022

Let me have a proper look, will get back to u soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] change the default layout selection for deep dependency graph view (view=ddg)
2 participants