-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Catalog): Using labels causes unintended navigation
Context: Currently, we're using the `numLabels` property of the `LabelGroup` component to show just a few `Labels`. When the user clicks on the `n more` label, a navigation is performed and the UI is reloaded, causing the VSCode extension to fail. This happens because `LabelGroup` is a child of the `Form` component, causing to execute the default Form behavior when selecting a `Label` Changes: The fix is to move the Label bar outside of the `Form` component. fix: #1073 fix: #1074
- Loading branch information
Showing
4 changed files
with
76 additions
and
60 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.catalog-list { | ||
overflow: auto; | ||
padding: var(--pf-v5-global--spacer--sm); | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
.filter-bar { | ||
padding: 0 2px; | ||
display: flex; | ||
flex-flow: row; | ||
justify-content: space-between; | ||
margin-bottom: var(--pf-v5-global--spacer--sm); | ||
|
||
&__search { | ||
flex: 1; | ||
} | ||
} | ||
|
||
.category-bar { | ||
display: flex; | ||
flex-flow: row; | ||
} |
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