Skip to content

chore(quickstart): defer NFS UI to async chunks; fix CTA and header blueprints - #4897

Open
lokanandaprabhu wants to merge 4 commits into
redhat-developer:mainfrom
lokanandaprabhu:chore/quickstart-nfs-cta-blueprints
Open

lokanandaprabhu wants to merge 4 commits into
redhat-developer:mainfrom
lokanandaprabhu:chore/quickstart-nfs-cta-blueprints

Conversation

@lokanandaprabhu

@lokanandaprabhu lokanandaprabhu commented Sep 21, 2026

Copy link
Copy Markdown
Member

Summary

Depends on

Relates to

Remount (post CTA + /blueprints, local)

Metric PR table “after” (pre-fix) After fixes
Sync 158 KB / 3 ~163 KB / 2
NFS entry 5 KB ~6.3 KB
Async ~1,318 KB / 15 ~207 KB / 13

Highlight / MarkdownContent / @backstage/ui absent from quickstart async graph after the thin blueprints import.

Test plan

  • yarn start with @red-hat-developer-hub/backstage-plugin-global-header@^3.1.0 from the registry (no --link)
  • Help → Quick start opens drawer; CTAs navigate (internal + external)
  • Invalid icon shows WidgetsOutlined fallback
  • Header help/profile/launcher still work
  • Focused unit tests for CTA / icon / help menu
  • Re-export / confirm async no longer includes highlight.js language chunks

debsmita1 and others added 2 commits September 18, 2026 17:12
Address review feedback on the NFS sync optimization: use MUI Button +
router Link for CTAs, import GlobalHeaderMenuItemBlueprint from
global-header/blueprints to keep markdown/highlight out of the MF async
graph, and replace the copied ShapesOutlinedIcon with MUI WidgetsOutlined.

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

rhdh-gh-app Bot commented Sep 21, 2026

Copy link
Copy Markdown

Important

This PR includes changes that affect public-facing API. Please ensure you are adding/updating documentation for new features or behavior.

Changed Packages

Package Name Package Path Changeset Bump Current Version
app-legacy workspaces/quickstart/packages/app-legacy none v0.0.0
app workspaces/quickstart/packages/app none v0.0.0
@red-hat-developer-hub/backstage-plugin-quickstart workspaces/quickstart/plugins/quickstart minor v2.1.0

Restructure SVG/URL image rendering so CPD no longer matches ScorecardIcon
(4.4% → under the 3% new-code duplication gate).

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

Copy link
Copy Markdown
Member Author

/hold

Use the published package that exports the thin blueprints entry so CI
resolves the import without a local link.

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

Copy link
Copy Markdown

@codecov

codecov Bot commented Sep 22, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 94.59459% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 63.63%. Comparing base (947374a) to head (a137785).
⚠️ Report is 53 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4897      +/-   ##
==========================================
+ Coverage   63.62%   63.63%   +0.01%     
==========================================
  Files        2693     2696       +3     
  Lines      107215   107243      +28     
  Branches    29996    30003       +7     
==========================================
+ Hits        68215    68244      +29     
+ Misses      38494    38492       -2     
- Partials      506      507       +1     
Flag Coverage Δ *Carryforward flag
adoption-insights 84.77% <ø> (ø) Carriedforward from e944a1a
ai-integrations 82.63% <ø> (ø) Carriedforward from e944a1a
app-defaults 63.39% <ø> (ø) Carriedforward from e944a1a
augment 46.67% <ø> (ø) Carriedforward from e944a1a
boost 84.97% <ø> (ø) Carriedforward from e944a1a
bulk-import 73.12% <ø> (ø) Carriedforward from e944a1a
cost-management 13.53% <ø> (ø) Carriedforward from e944a1a
dcm 73.47% <ø> (ø) Carriedforward from e944a1a
e2e-adoption-insights 60.00% <ø> (ø) Carriedforward from e944a1a
e2e-extensions 62.31% <ø> (ø) Carriedforward from e944a1a
e2e-global-header 51.82% <ø> (ø) Carriedforward from e944a1a
e2e-homepage 61.11% <ø> (ø) Carriedforward from e944a1a
e2e-intelligent-assistant 46.01% <ø> (ø) Carriedforward from e944a1a
e2e-orchestrator 49.49% <ø> (ø) Carriedforward from e944a1a
e2e-orchestrator-plugin 49.48% <ø> (ø) Carriedforward from e944a1a
e2e-quickstart 55.03% <ø> (-0.19%) ⬇️ Carriedforward from e944a1a
e2e-scorecard 50.00% <ø> (ø) Carriedforward from e944a1a
e2e-theme 16.36% <ø> (ø) Carriedforward from e944a1a
extensions 58.30% <ø> (ø) Carriedforward from e944a1a
global-floating-action-button 71.18% <ø> (ø) Carriedforward from e944a1a
global-header 67.76% <ø> (ø) Carriedforward from e944a1a
homepage 55.05% <ø> (ø) Carriedforward from e944a1a
install-dynamic-plugins 71.77% <ø> (ø) Carriedforward from e944a1a
intelligent-assistant 78.04% <ø> (ø) Carriedforward from e944a1a
konflux 91.98% <ø> (ø) Carriedforward from e944a1a
lightspeed 69.02% <ø> (ø) Carriedforward from e944a1a
mcp-integrations 84.46% <ø> (ø) Carriedforward from e944a1a
orchestrator 77.69% <ø> (ø) Carriedforward from e944a1a
quickstart 65.70% <94.59%> (+1.96%) ⬆️
sandbox 79.56% <ø> (ø) Carriedforward from e944a1a
scorecard 88.71% <ø> (ø) Carriedforward from e944a1a
theme 87.94% <ø> (ø) Carriedforward from e944a1a
translations 5.12% <ø> (ø) Carriedforward from e944a1a
x2a 78.44% <ø> (ø) Carriedforward from e944a1a

*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 947374a...a137785. 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.

@lokanandaprabhu

Copy link
Copy Markdown
Member Author

/unhold

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.

2 participants