Skip to content
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

Prototype page header requirements #6685

Open
6 tasks
Tracked by #4632
elycheea opened this issue Jan 10, 2025 · 0 comments
Open
6 tasks
Tracked by #4632

Prototype page header requirements #6685

elycheea opened this issue Jan 10, 2025 · 0 comments
Assignees
Labels
component: PageHeader needs: prototype Prototype suggested solutions or approaches recommended role: dev
Milestone

Comments

@elycheea
Copy link
Contributor

elycheea commented Jan 10, 2025

Background

As the page header spec is being finalized, there are a few details we’d like to prototype to better answer some of the behaviors, alignment, or interactions.

Tasks

  • Explore alignment of “contextual actions” and “page actions” if users do include elements larger (or smaller) than the 40px expectation.

    Image
    Image
    (e.g. large icons / icon buttons, dropdowns instead of the tags in contextual or smaller variants of buttons in page actions)

  • Test different responsive behaviors for the page header title and page header contextual actions based on the content priority, e.g. these scenarios:

    • The page header contextual actions remain inline and wrap with the title up to 2 lines1
    • The page header contextual actions wrap at smaller breakpoints2
  • Explore example or utility code for collapsing actions/buttons into a single menu button

  • Explore utility or handling of page header collapsed state (can be on scroll or precollapsed in current experience) — this includes whether we move the collapsed button (previous task) or provide a separate slot for consumers to handle the primary action moving in the collapsed state

Resources

Figma: specs draft

Footnotes

  1. In this scenario, the contextual actions would be considered comparable priority to the title — in an extreme scenario where the content exceeds 2 lines, would the title truncate to make space for the icon? (The examples show the potential actions, but would apply for either 1 or 2 lines of titles)

    Example 1: Image Example 2: Image

  2. In this scenario, the title is given priority for the allocated 640px and the contextual actions should wrap. Image

@github-project-automation github-project-automation bot moved this to Needs triage 🧐 in Carbon for IBM Products Jan 10, 2025
@elycheea elycheea added component: PageHeader needs: prototype Prototype suggested solutions or approaches recommended role: dev and removed status: needs triage 🕵️‍♀️ labels Jan 10, 2025
@elycheea elycheea moved this from Needs triage 🧐 to Needs refinement 🤓 in Carbon for IBM Products Jan 10, 2025
@elycheea elycheea added this to the 2025 Q1 milestone Jan 10, 2025
@matthewgallo matthewgallo moved this from Needs refinement 🤓 to Backlog 🌋 in Carbon for IBM Products Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: PageHeader needs: prototype Prototype suggested solutions or approaches recommended role: dev
Projects
Status: Backlog 🌋
Development

No branches or pull requests

2 participants