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

feat(global-header): initial PR for global header plugin #203

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

ciiay
Copy link
Contributor

@ciiay ciiay commented Dec 16, 2024

Hey, I just made a Pull Request!

Initial PR for RHIDP-5251

✔️ Checklist

  • A changeset describing the change and affected packages. (more info)
  • Added or Updated documentation
  • Tests for new functionality and regression tests for bug fixes
  • Screenshots attached (for UI changes)

Screen recordings

plugins/global-header test
rhidp_5251.mp4
dev env test
rhidp_5251_dev.mp4

@rhdh-gh-app
Copy link

rhdh-gh-app bot commented Dec 16, 2024

Changed Packages

Package Name Package Path Changeset Bump Current Version
app workspaces/global-header/packages/app none v0.0.0
backend workspaces/global-header/packages/backend none v0.0.0
@red-hat-developer-hub/backstage-plugin-global-header workspaces/global-header/plugins/global-header none v0.0.0

Copy link
Member

@christoph-jerolimov christoph-jerolimov left a comment

Choose a reason for hiding this comment

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

Thanks, a great initial PR. 👍

Some small comments below and I think it's worthful if you can also address here:

  1. Add a line to .github/CODEOWNERs :)
  2. Please add a backstage app. I think its in general a good way to test plugins, but it's esp. useful for this plugin.
  3. Address my comments below and (optional if you really want do that in a follow-up PR, but I think there no reason to rush ;)) split the GlobalHeader file a bit and remove the examples components.

<AppBar
position="sticky"
component="nav"
sx={{ backgroundColor: '#212427' }}

Choose a reason for hiding this comment

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

Fine for now, but can we have a story for reevaluating all the colors and the theme/customization support for the header.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right, we will make this configurable too. Also, do you think it's possible to use colors from our theme? Mui theme.palatte only have a few fields available, and most of our default colors from theme plugin aren't.
https://mui.com/material-ui/customization/palette/#customization

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Let me address theme issues in a different story as it could be more complex.

@ciiay ciiay force-pushed the rhidp-5251-create-global-header-plugin branch from 65fbdaa to 81e7ead Compare December 18, 2024 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants