Skip to content

fix: UXC - proper product title & navigation on logo click#4490

Merged
mrCherry97 merged 6 commits intokyma-project:mainfrom
chriskari:logo-uxc
Jan 9, 2026
Merged

fix: UXC - proper product title & navigation on logo click#4490
mrCherry97 merged 6 commits intokyma-project:mainfrom
chriskari:logo-uxc

Conversation

@chriskari
Copy link
Contributor

@chriskari chriskari commented Jan 7, 2026

Description

Changes proposed in this pull request:

  • changed product title to Kyma Dashboard
  • Logo click now navigates to cluster overview (except when on clusters list)
  • ...

Related issue(s)
#4309

Definition of done

  • The PR's title starts with one of the following prefixes:
    • feat: A new feature
    • fix: A bug fix
    • docs: Documentation only changes
    • refactor: A code change that neither fixes a bug nor adds a feature
    • test: Adding tests
    • revert: Revert commit
    • chore: Maintainance changes to the build process or auxiliary tools, libraries, workflows, etc.
  • Related issues are linked. To link internal trackers, use the issue IDs like backlog#4567
  • Explain clearly why you created the PR and what changes it introduces
  • All necessary steps are delivered, for example, tests, documentation, merging

@chriskari chriskari linked an issue Jan 7, 2026 that may be closed by this pull request
3 tasks
Copy link
Contributor

@mrCherry97 mrCherry97 left a comment

Choose a reason for hiding this comment

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

Visual spec is not fulfilled, Product Identifier should be blue, and also | divider and dashes are missing https://wiki.one.int.sap/wiki/spaces/visualcore/pages/2697898394/ShellBar+Horizon
The order should be SAP Logo – Product Identifier – divider line | – additional context (here: cluster switcher)

Comment on lines +110 to +116
navigateSafely(() => {
if (cluster?.name && window.location.pathname !== '/clusters') {
navigate(`/cluster/${encodeURIComponent(cluster.name)}/overview`);
} else {
navigate('/clusters');
}
});
Copy link
Contributor

Choose a reason for hiding this comment

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

Also, idk if this if is useful, because we have only just 1 view which could navigate to the /clusters and it's a /clusters path, so basically it's making nothing.

Copy link
Contributor Author

@chriskari chriskari Jan 8, 2026

Choose a reason for hiding this comment

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

the problem is that when you navigate to the ClustersList, cluster?.name still holds the value of the previous cluster stored in state. Which means without this if statement the user would navigate back to the overview of the previous cluster upon clicking the logo, which is unintuitive and misleading

mrCherry97
mrCherry97 previously approved these changes Jan 9, 2026
@mrCherry97 mrCherry97 enabled auto-merge (squash) January 9, 2026 13:45
@mrCherry97 mrCherry97 merged commit eb6ddc3 into kyma-project:main Jan 9, 2026
22 checks passed
@chriskari chriskari deleted the logo-uxc branch February 11, 2026 10:21
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.

UXC-016 Shellbar - SAP Logo

3 participants