-
Notifications
You must be signed in to change notification settings - Fork 667
HorizontalNavTab Extension #3917
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
HorizontalNavTab Extension #3917
Conversation
24f2128 to
370b466
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.
@alecmerdler This is effectively about extending the common HorizontalNav component which is used on many places. If I read the code correctly, this covers more than just resource details pages.
I'd suggest to give this extension a more accurate name. For example, HorizontalNavTab as extension type name and HorizontalNav/Tab as type property value.
In general, the type value should reflect the context of the extension. For example, Dashboards/Tab means a tab on dashboards page, and Dashboards/Overview/Inventory/Item means new item in inventory which is part of overview on dashboards page.
370b466 to
2f94c23
Compare
97afe54 to
3164920
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.
NOTE: It appears that the @console/demo-plugin is broken (circular dependency issue). But I've tested this plugin using the planned feature addition of #3874.
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 for the heads-up, I will try to look into it.
Regardless, thanks @alecmerdler for keeping the demo plugin in mind when adding new extension type.
3164920 to
84c43df
Compare
|
@vojtechszocs @christianvogt @spadgett Rebased and using the new |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
5 similar comments
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
16 similar comments
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
Description
Implements the
DetailViewTabextension type, which allows adding a new tab to an existing resource's detail view.Screenshots
Podsdetail view with demo plugin:Needed for https://issues.redhat.com/browse/PROJQUAY-119
Blocked by #3383