-
Notifications
You must be signed in to change notification settings - Fork 51
chore: fix branding defaults; bump to 1.6 as default image version; improve docs for consistency with RH style guide (RHIDP-7883, RHIDP-7906) #53
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
Conversation
The white-on-grey logotype problem may be related to / fixed by redhat-developer/rhdh-plugins#981 Using the 1.6.1 community build at quay.io/rhdh-community/rhdh:1.6.1-b7bf4c77, the branding for the light theme looks fine: |
@sourcery-ai review |
Reviewer's GuideThis PR bumps the default RHDH image to version 1.6, enriches the application configuration with comprehensive branding defaults (logos, title, theme colors), and refactors the local testing documentation for consistency with the Red Hat style guide, including expanded image customization guidance and streamlined architecture support notes. Class diagram for updated branding configuration in app-configclassDiagram
class AppConfig {
+string title
+string baseUrl
+Branding branding
}
class Branding {
+string fullLogo
+string iconLogo
+string fullLogoWidth
+Theme theme
}
class Theme {
+ThemeMode light
+ThemeMode dark
}
class ThemeMode {
+string primaryColor
+string headerColor1
+string headerColor2
+string navigationIndicatorColor
}
AppConfig --> Branding
Branding --> Theme
Theme --> ThemeMode
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
Hey @nickboldt - I've reviewed your changes - here's some feedback:
- Make sure to add the new branding placeholders (FULL_LOGO_WIDTH, PRIMARY_LIGHT_COLOR, etc.) to your default.env or .env.example so the example configs don’t break at runtime.
- The huge base64 blobs make the YAML hard to review—consider moving those inline logos into separate asset files or a shared include to reduce noise in the config examples.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Make sure to add the new branding placeholders (FULL_LOGO_WIDTH, PRIMARY_LIGHT_COLOR, etc.) to your default.env or .env.example so the example configs don’t break at runtime.
- The huge base64 blobs make the YAML hard to review—consider moving those inline logos into separate asset files or a shared include to reduce noise in the config examples.
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
…mprove docs for consistency with RH style guide (RHIDP-7883) Signed-off-by: Nick Boldt <[email protected]> add theme colours Signed-off-by: Nick Boldt <[email protected]> refactor text to clarify commercially supported official images vs. CI builds vs. community builds Signed-off-by: Nick Boldt <[email protected]>
f28d962
to
6d290ab
Compare
Co-authored-by: logonoff <[email protected]>
Co-authored-by: logonoff <[email protected]>
Co-authored-by: logonoff <[email protected]>
Co-authored-by: logonoff <[email protected]>
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.
🥳
If we're sure we can make the switch to using RHDH community builds without incurring any user disruption or incompatibility, I am happy to endorse these changes. Thanks @nickboldt (and the whole team here) for taking the time to improve the RHDH Local experience for everyone and for the additional transparency for users around RHDH image choices. I think that's super useful and very educational. |
…sing same sources for community & commercial Signed-off-by: RHDH Build (rhdh-bot) <[email protected]>
Followup work to ensure we keep getting fresh
See https://issues.redhat.com/browse/RHIDP-7906 / https://issues.redhat.com/browse/RHIDP-7829 |
@sourcery-ai review |
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.
Hey @nickboldt - I've reviewed your changes - here's some feedback:
- The huge inline base64 blobs for logos in your
app-config
examples make the YAML very hard to read and maintain—consider externalizing those images to files (or URLs) and referencing them to keep your configs DRY and cleaner. - You’re bumping the default image version in two places (
compose.yaml
andinstall-dynamic-plugins
)—it might be worth consolidating that into a singleRHDH_IMAGE
default or variable so future version updates only need one change. - The README’s “Changing the container image” section now covers several different use cases (community, nightly CI, official), which can be a bit overwhelming—consider grouping those under a tabbed or collapsible format to simplify navigation.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- The huge inline base64 blobs for logos in your `app-config` examples make the YAML very hard to read and maintain—consider externalizing those images to files (or URLs) and referencing them to keep your configs DRY and cleaner.
- You’re bumping the default image version in two places (`compose.yaml` and `install-dynamic-plugins`)—it might be worth consolidating that into a single `RHDH_IMAGE` default or variable so future version updates only need one change.
- The README’s “Changing the container image” section now covers several different use cases (community, nightly CI, official), which can be a bit overwhelming—consider grouping those under a tabbed or collapsible format to simplify navigation.
## Individual Comments
### Comment 1
<location> `README.md:209` </location>
<code_context>
+
+#### Using image digests
+
+If you prefer to use digests to floating tags, [browse for the tag you want to use](https://catalog.redhat.com/software/containers/rhdh/rhdh-hub-rhel9/645bd4c15c00598369c31aba/history), and click though to find the digest of the image you want to use. For example, from the [Get this image](https://catalog.redhat.com/software/containers/rhdh/rhdh-hub-rhel9/645bd4c15c00598369c31aba?image=68360c12177ad86df31947d8&architecture=amd64&container-tabs=gti) tab for 1.6.1 provides this image:
+
+```sh
</code_context>
<issue_to_address>
Typo: 'click though' should be 'click through'.
Update the text to use the correct phrase.
</issue_to_address>
<suggested_fix>
<<<<<<< SEARCH
If you prefer to use digests to floating tags, [browse for the tag you want to use](https://catalog.redhat.com/software/containers/rhdh/rhdh-hub-rhel9/645bd4c15c00598369c31aba/history), and click though to find the digest of the image you want to use. For example, from the [Get this image](https://catalog.redhat.com/software/containers/rhdh/rhdh-hub-rhel9/645bd4c15c00598369c31aba?image=68360c12177ad86df31947d8&architecture=amd64&container-tabs=gti) tab for 1.6.1 provides this image:
=======
If you prefer to use digests to floating tags, [browse for the tag you want to use](https://catalog.redhat.com/software/containers/rhdh/rhdh-hub-rhel9/645bd4c15c00598369c31aba/history), and click through to find the digest of the image you want to use. For example, from the [Get this image](https://catalog.redhat.com/software/containers/rhdh/rhdh-hub-rhel9/645bd4c15c00598369c31aba?image=68360c12177ad86df31947d8&architecture=amd64&container-tabs=gti) tab for 1.6.1 provides this image:
>>>>>>> REPLACE
</suggested_fix>
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
/lgtm from a non-technical product management perspective. I didn't test it myself though - just reading through the changes. |
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Merged after 2 people agreed it was an improvement over the current status, despite them not being code owners ;) |
What does this PR do?
chore: fix branding defaults; bump to 1.6 as default image version; improve docs for consistency with RH style guide (RHIDP-7883)
Signed-off-by: Nick Boldt [email protected]
Screenshot/screencast of this PR
Using

quay.io/rhdh/rhdh-hub-rhel9:1.6
:Using
quay.io/rhdh-community/rhdh:next
What issues does this PR fix or reference?
RHIDP-7883
RHIDP-7906
How to test this PR?
PR Checklist
As the author of this Pull Request I made sure that:
Reviewers
Reviewers, please comment how you tested the PR when approving it.
Summary by Sourcery
Fix branding defaults, bump default image version to 1.6, and update documentation for style consistency and clearer image configuration instructions
Bug Fixes:
Enhancements:
Documentation: