-
Notifications
You must be signed in to change notification settings - Fork 593
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add capability to collapse all grouping in topology view
- Loading branch information
1 parent
77856f4
commit 0df4138
Showing
21 changed files
with
311 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
frontend/packages/dev-console/src/components/topology/filters/FilterDropdown.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
@import '../../../../../../public/style/vars'; | ||
|
||
.odc-topology-filter-dropdown { | ||
&__expand-groups-switcher { | ||
display: flex; | ||
align-items: center; | ||
|
||
.pf-c-select__menu-group-title { | ||
flex: 1; | ||
} | ||
|
||
.pf-c-switch { | ||
margin-right: var(--pf-global--spacer--sm); | ||
} | ||
|
||
.pf-m-disabled { | ||
color: var(--pf-c-check__label--disabled--Color); | ||
} | ||
} | ||
|
||
&__group { | ||
&:not(:first-of-type) { | ||
margin-top: var(--pf-global--spacer--sm); | ||
border-top: 1px solid var(--pf-global--BorderColor--300); | ||
} | ||
} | ||
|
||
&__expand-groups-label .pf-c-select__menu-group-title { | ||
padding-top: 0; | ||
padding-bottom: 0; | ||
} | ||
} |
131 changes: 83 additions & 48 deletions
131
frontend/packages/dev-console/src/components/topology/filters/FilterDropdown.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.