-
Notifications
You must be signed in to change notification settings - Fork 142
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
Composable PageHeader ☂️ #4632
Comments
Alan/Security —
From Laura/AppConnect —
Carbon recommends 2-3 words maximum but it’s not enforced. “Zones” could make sense or help for Alan — pass the breadcrumbs in as a node, but there would probably run into issues with scrolling.
Dotcom has also dealt with line length and text length — set a max-width of 640 to help avoid long string of text, but Laura brings up the title needs to be present so understanding that balance. |
Note to add around the simple page header- we would need it to act a bit like a page header / toolbar combined (see below). Looking in the product gallery, data stage seems to have the reduced header + buttons, with a toolbar below. As we don't have as many actions, it would be good to house breadcrumbs, actions + status in the page header itself. AI Ops also has an example that seems to include dropdowns too in the "page header" |
Design work that will need to be broken out into issues (feel free to add): Breadcrumb
Type styles
Slots
HeightConsistency in height of header
|
@oliviaflory I’m glad you put height into a separate issue too because this the “simple header” section ends up being the spot where we load up so much when screen sizes are small.
|
Adding to simple header: the ability to add text/link inplace of buttons in Actions zone |
Enabling key actions while scrolling 12/11/24(Some ways devs implement this is to have two instances of an element: one in the page and another in a separate container for scroll. The below may not apply depending on how product devs are meant to implement the scroll container). We discussed an idea to give teams flexibility between the default view of the PageHeader and the scrolling view. Ideally, only key actions that the user would need as they scrolled the page would appear in the scroll version of the header. Product teams may need a way to determine which select actions should appear instead of all actions in the default header. Wondering if we could allow adopters to label or identify an element in the header that signals that this element should appear in the scrolling header. Could be a prop, label, or something else to identify in the product code.
|
Page header v2
Brief description
Page header is one of the key component that Carbon for IBM Products delivers, however we have heard that it can be restrictive and does not meet the needs of all our adopters.
We want to make a page header v2 that is more composable and addresses any design and development issues.
Existing resources
Links to other materials
Design Maintainer(s)
Checklist of requirements/features
Common elements
Functionality
Tasks
Before starting work on this epic, please review and complete the following.
Tasks
The text was updated successfully, but these errors were encountered: