Skip to content

fix: make home icon navigate to site root on theme, scales, and tools pages#277

Merged
GarthDB merged 2 commits into
mainfrom
fix/home-icon-navigate-to-root
Feb 21, 2026
Merged

fix: make home icon navigate to site root on theme, scales, and tools pages#277
GarthDB merged 2 commits into
mainfrom
fix/home-icon-navigate-to-root

Conversation

@GarthDB

@GarthDB GarthDB commented Feb 21, 2026

Copy link
Copy Markdown
Member

On theme.html, scales.html, and tools.html, the home icon previously called openAppTab(event, 'home') and only changed the in-page content. It now navigates to the site root (e.g. https://leonardocolor.io/) via an <a href="/"> link.

Changes:

  • docs/ui/src/views/header_theme.html – home tab → link to /
  • docs/ui/src/views/header_scales.html – home tab → link to /
  • docs/ui/src/views/header_tools.html – home tab → link to /

Made with Cursor

… pages

Replace in-page tab switch with actual navigation to / so the home icon
links go to leonardocolor.io/ instead of changing content in-place.

Co-authored-by: Cursor <cursoragent@cursor.com>
@changeset-bot

changeset-bot Bot commented Feb 21, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 09e3516

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions

github-actions Bot commented Feb 21, 2026

Copy link
Copy Markdown
Contributor

Run report for 09e3516f

Total time: 27.7s | Comparison time: 25.5s | Estimated loss: 2.2s (8.1% slower)

Action Time Status Info
⬛️ SetupProto(0.52.3) 0ms Skipped
🟩 SyncWorkspace 7.3ms Passed
🟩 SyncProject(contrast-colors) 0.4ms Passed
🟩 SyncProject(ui) 0.4ms Passed
⬛️ SetupToolchain(node:24.0.0) 1.3s Skipped
🟩 InstallWorkspaceDeps(node:24.0.0) 0.3ms Passed
🟩 RunTask(ui:lint) 2s Passed
🟩 RunTask(ui:buildSite) 26.4s Passed
Touched files
docs/ui/src/index.js
docs/ui/src/scales.html
docs/ui/src/scales.js
docs/ui/src/theme.html
docs/ui/src/theme.js
docs/ui/src/tools.html
docs/ui/src/tools.js
docs/ui/src/views/header.html
docs/ui/src/views/header_scales.html
docs/ui/src/views/header_theme.html
docs/ui/src/views/header_tools.html
docs/ui/src/views/home_main.html
docs/ui/src/views/home_sidenav.html
docs/ui/src/views/tab_home.html

- Remove tab_home partial from theme, scales, and tools pages (unreachable
  after home icon now navigates to index.html)
- Remove welcome.click() calls and openSideNavItem imports from theme.js,
  scales.js, tools.js
- Remove target="_blank" from homepage navigation cards so theme/scales/tools
  open in the same tab
- Normalize home icon href to index.html for consistency with other links
- Delete orphaned files: index.js, header.html, tab_home.html, home_sidenav.html

Co-authored-by: Cursor <cursoragent@cursor.com>
@GarthDB GarthDB merged commit 72e503c into main Feb 21, 2026
3 checks passed
@GarthDB GarthDB deleted the fix/home-icon-navigate-to-root branch February 21, 2026 01:11
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.

1 participant