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 all components from PF4 @patternfly/react-catalog-view-extension to replace pf 3 react-extensions in console #3309
Add all components from PF4 @patternfly/react-catalog-view-extension to replace pf 3 react-extensions in console #3309
Conversation
/hold |
@rhamilto fyi |
/cc @rhamilto |
2bb01cb
to
7a00885
Compare
/test e2e-gcp-console |
/retest |
Same error. Investigating. |
It's a known flake :( |
/retest |
FilterSidePanelCategoryItem, | ||
VerticalTabs, | ||
VerticalTabsTab, | ||
} from '@patternfly/react-catalog-view-extension'; | ||
import { FormControl } from 'patternfly-react'; |
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.
While you're in here, mind migrating<FormControl>
to a plain HTML element so we can eliminate this patternfly-react dependency?
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.
I can give this a go. @jeff-phillips-18 raised an issue about how the catalog tiles may be better off with more programmatic description heights given how much the content can vary, so there may be some more changes here anyway as I work on that. (I'm looking at what we can do on the extension side first there.)
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.
Thanks, @rebeccaalpert. It should be as simple as:
<input
className="pf-c-form-control co-catalog-page__input"
type="text"
ref={(ref) => (this.filterByKeywordInput = ref)}
placeholder="Filter by keyword..."
value={activeFilters.keyword.value}
onChange={(e) => this.onKeywordChange(e.target.value)}
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.
I have a PR up in Joe's branch for the input; should be in soonish.
/hold cancel |
/retest |
/retest |
15 similar comments
/retest |
/retest |
/retest |
/retest |
/retest |
/retest |
/retest |
/retest |
/retest |
/retest |
/retest |
/retest |
/retest |
/retest |
/retest |
afdbfc9
to
aa4179d
Compare
@spadgett could you approve this pr please? |
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.
lgtm, please squash
@@ -275,3 +275,7 @@ $co-affinity-row-margin: 15px; | |||
.key-operator-value__row { | |||
padding-bottom: 15px; | |||
} | |||
|
|||
.co-catalog-tile { |
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: alpha
…, and FilterSidePanel to console using new pf4 extensions
ca79a35
to
bcc8bb4
Compare
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.
/approve
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jcaianirh, spadgett The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Replace pf3 dependency with PF4 PropertiesSidePanel, VerticalTabs, CatalogItemHeader, CatalogTile, and FilterSidePanel to console using new pf4 extensions. All components from pf3 react extensions are now included in this pr.
VerticalTabs:
PropertiesSidePanel:
FilterSidePanel
cc: @bmignano @spadgett