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

frontend: SectionHeader: Fix prop alignment #2606

Merged
merged 1 commit into from
Dec 6, 2024
Merged

Conversation

skoeva
Copy link
Contributor

@skoeva skoeva commented Nov 22, 2024

This change addresses a regression introduced by #2572 since the SectionHeader components were aligned in a column, causing title side actions to appear under the title. Now, subtitles should appear under the title, and title side actions should appear next to the title.

Fixes: #2605

Testing

Subtitles

  • Open Headlamp with an enabled plugin of the format @org-name/plugin-name (i.e. @kinvolk/dynamic-clusters
  • Click to view the plugin details and ensure the org name appears under the plugin name

image

Title side actions

  • Open a cluster and navigate to the namespaces page
  • Ensure that the Create Namespace button appears next to the title

image

@skoeva skoeva added the frontend Issues related to the frontend label Nov 22, 2024
@skoeva skoeva requested a review from a team November 22, 2024 23:17
@skoeva skoeva self-assigned this Nov 22, 2024
@skoeva skoeva linked an issue Nov 22, 2024 that may be closed by this pull request
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Nov 22, 2024
This change addresses a regression introduced by #2572 since the
SectionHeader components were aligned in a column, causing title side
actions to appear under the title. Now, subtitles should appear under
the title, and title side actions should appear next to the title.

Fixes: #2605

Signed-off-by: Evangelos Skopelitis <[email protected]>
Copy link
Contributor

@sniok sniok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@joaquimrocha joaquimrocha merged commit 800285a into main Dec 6, 2024
17 of 18 checks passed
@joaquimrocha joaquimrocha deleted the sectionheader-fix branch December 6, 2024 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Issues related to the frontend size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create namespace button appearing under title
3 participants