-
Notifications
You must be signed in to change notification settings - Fork 667
Add group selection to developer topology view #2802
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
Add group selection to developer topology view #2802
Conversation
1bc913e to
281dda2
Compare
| * Datacontroller get the buildConfigs based on apps.kubernetes.io/instance label which is not applied to apps created using browser catalog | ||
| */ | ||
|
|
||
| function metadataUIDCheck(items: any): ResourceProps[] { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: can you add a type here?
| const { nodes, lowestPoint, containerPath } = this.state; | ||
|
|
||
| if (nodes.length === 0) { | ||
| return null; | ||
| } | ||
|
|
||
| const pathClasses = classNames('odc-default-group', { 'is-highlight': dropTarget }); | ||
| const handleClick = (e) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: can you add event type here?
|
@jeff-phillips-18 for this story are we only going to show the name of the application group in the sidebar? Also the title in the design doc has a resource badge in front of the name and the title color is also different. This is how it looks right now Also, there is a blue border around the group. Are we going to add that ? |
|
I am updating the styles per the design doc now. I had a few other questions on some of the styling as well. I don't believe we have the application badge yet but I will confirm. |
281dda2 to
24afe2c
Compare
|
Added styling and application badge. |
fbcdaa4 to
3041616
Compare
|
@jeff-phillips-18 Code looks good to me. Also I tried it locally, works fine. /lgtm |
|
@jeff-phillips-18 noticed one thing that the color of the title is still black and not blue as presented in the design doc. Are we going to keep it as black? |
|
@divyanshiGupta It is blue in the doc because eventually it should be a link (when applications are actual objects with a list page and such). That doesn't exist yet so it should be black until it becomes a link. |
Yes, agreed. |
|
@jeff-phillips-18 questions on badge. Is there a reason we are using APP rather than A? And how did you pick the color? It probably should be a unique badge color. |
|
The default for badges is the first 4 characters of the kind. I can update but I chose to start with the default. The color is unique, I chose one close to what was in the mocks that was a PF3 pallet color (since all the badges are PF3 pallet colors). |
|
ok, that's great about the unique color, thanks @jeff-phillips-18 ! |
|
I'd suggest just utilizing "A" for Application unless others object @jeff-phillips-18 |
3041616 to
397611f
Compare
|
Updated to use |
|
/retest |
397611f to
f209694
Compare
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: christianvogt, divyanshiGupta, jeff-phillips-18 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/hold |
|
/hold cancel |



Implements https://jira.coreos.com/browse/ODC-1796