Repository navigation
Conversation
The About heading read "Welcome to the Wazuh" and the description started with "Dashboard provides...". The default applicationTitle is now "Wazuh dashboard" and the description no longer repeats the title. The version and the revision are shown as a single "App build" item, <version>-<stage>-<revision>. The new applicationRevision branding setting overrides the stage and revision part; when it or applicationVersion is defined the parts are concatenated with no separator. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: Antonio David Gutiérrez <antonio.gutierrez@wazuh.com>
The legacy config schema rejected empty strings for these branding settings, although an empty value is valid in the About build composition. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: Antonio David Gutiérrez <antonio.gutierrez@wazuh.com>
When applicationVersion or applicationRevision is defined, the built-in values are no longer used; an undefined setting contributes an empty string. An empty build renders a placeholder. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: Antonio David Gutiérrez <antonio.gutierrez@wazuh.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The About page heading read "Welcome to the Wazuh" followed by a description starting with "Dashboard provides…", and the page only showed the app version, so a user could not tell which build they run.
Closes #1698
Proposed Changes
opensearchDashboards.branding.applicationTitletoWazuh dashboard, so the heading reads "Welcome to the Wazuh dashboard". A custom branding title still replaces it.<version>-<stage>-<revision>(e.g.5.0.0-rc3-11), and centered it vertically with the Cluster UUID.opensearchDashboards.branding.applicationRevisionsetting. When it orapplicationVersionis defined (empty strings are valid), the build is only<applicationVersion><applicationRevision>concatenated with no separator: the built-in values are not used and an undefined setting contributes an empty string. An empty build is shown as-.Results and Evidence
Artifacts Affected
src/corebranding config and rendering,src/plugins/about).Configuration Changes
opensearchDashboards.branding.applicationRevision(documented inconfig/opensearch_dashboards.yml).opensearchDashboards.branding.applicationTitlechanges fromWazuhtoWazuh dashboard.Documentation Updates
CHANGELOG.mdentries (Added, Fixed).Tests Introduced
format_build.test.ts: default and overridden compositions, empty strings included.app_info.test.tsx,general_info.test.tsx: the build item, the heading and the description.rendering_service.test.ts:applicationRevisionis injected; updated the default title expectations and snapshots.Review Checklist
How to Test
<version>-<stage>-<revision>.opensearchDashboards.branding.applicationRevision: "-custom"and restart: the build reads-custom.opensearchDashboards.branding.applicationVersion: "5.0.0": the build reads5.0.0-custom."": the build shows-.no-changelog)🤖 Generated with Claude Code