Skip to content

fix(homepage): use a single Home nav with page:homepage - #5039

Open
lokanandaprabhu wants to merge 3 commits into
redhat-developer:mainfrom
lokanandaprabhu:fix/homepage-single-home-nav
Open

lokanandaprabhu wants to merge 3 commits into
redhat-developer:mainfrom
lokanandaprabhu:fix/homepage-single-home-nav

Conversation

@lokanandaprabhu

Copy link
Copy Markdown
Member

Summary

  • Disable community page:home in the homepage example app so NFS shows only RH page:homepage in the sidebar.
  • Drop homepageHomeModule from the example app and stop taking page:home in the sidebar (avoids two Home nav items when both plugins are present).

Test plan

  • yarn start in workspaces/homepage shows a single Home sidebar item
  • Home navigates to / and loads the RH homepage
  • Visit tracking still works with api:home/visits / visit-listener enabled

Made with Cursor

Disable community page:home in the example app so NFS does not show two Home sidebar items when both plugins are present.

Co-authored-by: Cursor <cursoragent@cursor.com>
@rhdh-gh-app

rhdh-gh-app Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Changed Packages

Package Name Package Path Changeset Bump Current Version
app workspaces/homepage/packages/app none v0.0.0

Drop the unused React import that broke tsc:full, disable the classic
JSX-scope eslint rule in Sidebar, and remove the app-only changeset that
incorrectly targeted the published homepage package.

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

codecov Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 63.66%. Comparing base (bd06342) to head (e46b2d9).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5039   +/-   ##
=======================================
  Coverage   63.66%   63.66%           
=======================================
  Files        2708     2708           
  Lines      106621   106621           
  Branches    30060    30055    -5     
=======================================
  Hits        67882    67882           
  Misses      36911    36911           
  Partials     1828     1828           
Flag Coverage Δ *Carryforward flag
adoption-insights 84.77% <ø> (ø) Carriedforward from 7443ac3
ai-integrations 87.10% <ø> (ø) Carriedforward from 7443ac3
app-defaults 68.90% <ø> (ø) Carriedforward from 7443ac3
augment 46.67% <ø> (ø) Carriedforward from 7443ac3
boost 92.39% <ø> (ø) Carriedforward from 7443ac3
bulk-import 73.12% <ø> (ø) Carriedforward from 7443ac3
cost-management 13.56% <ø> (ø) Carriedforward from 7443ac3
dcm 74.29% <ø> (ø) Carriedforward from 7443ac3
e2e-adoption-insights 60.00% <ø> (ø) Carriedforward from 7443ac3
e2e-extensions 62.31% <ø> (ø) Carriedforward from 7443ac3
e2e-global-header 52.40% <ø> (ø) Carriedforward from 7443ac3
e2e-homepage 61.11% <ø> (ø) Carriedforward from 7443ac3
e2e-intelligent-assistant 45.51% <ø> (ø) Carriedforward from 7443ac3
e2e-orchestrator 49.49% <ø> (ø) Carriedforward from 7443ac3
e2e-orchestrator-plugin 49.48% <ø> (ø) Carriedforward from 7443ac3
e2e-quickstart 54.83% <ø> (ø) Carriedforward from 7443ac3
e2e-scorecard 49.77% <ø> (ø) Carriedforward from 7443ac3
e2e-theme 16.36% <ø> (ø) Carriedforward from 7443ac3
extensions 58.30% <ø> (ø) Carriedforward from 7443ac3
global-floating-action-button 71.18% <ø> (ø) Carriedforward from 7443ac3
global-header 69.10% <ø> (ø) Carriedforward from 7443ac3
homepage 55.05% <ø> (ø)
install-dynamic-plugins 73.52% <ø> (ø) Carriedforward from 7443ac3
intelligent-assistant 78.53% <ø> (ø) Carriedforward from 7443ac3
konflux 91.98% <ø> (ø) Carriedforward from 7443ac3
lightspeed 69.02% <ø> (ø) Carriedforward from 7443ac3
mcp-integrations 84.46% <ø> (ø) Carriedforward from 7443ac3
orchestrator 77.69% <ø> (ø) Carriedforward from 7443ac3
quickstart 65.83% <ø> (ø) Carriedforward from 7443ac3
sandbox 79.56% <ø> (ø) Carriedforward from 7443ac3
scorecard 88.98% <ø> (ø) Carriedforward from 7443ac3
theme 87.70% <ø> (ø) Carriedforward from 7443ac3
translations 7.91% <ø> (ø) Carriedforward from 7443ac3
x2a 78.48% <ø> (ø) Carriedforward from 7443ac3

*This pull request uses carry forward flags. Click here to find out more.


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bd06342...e46b2d9. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Drop the one-off eslint-disable. With page:home: false in app-config,
nav.take('page:home') is a no-op and the sidebar still shows a single Home.

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

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant