Skip to content

feat(app-defaults): Add theme to app-defaults plugin - #5666

Open
debsmita1 wants to merge 5 commits into
redhat-developer:mainfrom
debsmita1:add-theme-to-appdefaults
Open

debsmita1 wants to merge 5 commits into
redhat-developer:mainfrom
debsmita1:add-theme-to-appdefaults

Conversation

@debsmita1

@debsmita1 debsmita1 commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Hey, I just made a Pull Request!

Resolves:
https://redhat.atlassian.net/browse/RHIDP-17732
Part of: https://redhat.atlassian.net/browse/RHIDP-17735

Solution description:
TODO

GIF:
TODO

✔️ Checklist

  • A changeset describing the change and affected packages. (more info)
  • Added or Updated documentation
  • Tests for new functionality and regression tests for bug fixes
  • Screenshots attached (for UI changes)

debsmita1 and others added 4 commits November 25, 2026 16:53
Fold the RHDH theme into the app-defaults plugin (src/theme) with stable
file names so the feature loader ships ThemeBlueprint themes, fonts, and
BUI tokens by default. Legacy OFS helpers remain available via ./theme-legacy.

Co-authored-by: Cursor <cursoragent@cursor.com>
Park bcc-test, bui-test, mui4-test, mui5-test, and qe-theme in a dedicated
test-plugins workspace ahead of removing the standalone theme workspace.
Move custom-theme Playwright coverage under workspaces/app-defaults/e2e-tests
and adapt Settings navigation for the global-header masthead.

Co-authored-by: Cursor <cursoragent@cursor.com>
Drop workspaces/theme now that the RHDH theme lives inside the app-defaults
plugin (src/theme). Archive the discontinued @red-hat-developer-hub/backstage-plugin-theme
package and update CODEOWNERS, labels, codecov, catalog, and renovate paths
accordingly.

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

Copy link
Copy Markdown
Contributor

This pull request adds a new top-level directory under workspaces/. Please follow Submitting a Pull Request for a New Workspace in CONTRIBUTING.md.

@rhdh-gh-app

rhdh-gh-app Bot commented Nov 25, 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 workspaces/app-defaults/packages/app none v0.0.0
@red-hat-developer-hub/backstage-plugin-app-defaults workspaces/app-defaults/plugins/app-defaults minor v1.13.1
@red-hat-developer-hub/backstage-plugin-bcc-test workspaces/test-plugins/plugins/bcc-test patch v0.6.0
@red-hat-developer-hub/backstage-plugin-bui-test workspaces/test-plugins/plugins/bui-test patch v0.6.0
@red-hat-developer-hub/backstage-plugin-mui4-test workspaces/test-plugins/plugins/mui4-test patch v0.6.0
@red-hat-developer-hub/backstage-plugin-mui5-test workspaces/test-plugins/plugins/mui5-test patch v0.6.0
@red-hat-developer-hub/backstage-plugin-qe-theme workspaces/test-plugins/plugins/qe-theme patch v0.13.0

@codecov

codecov Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 66.12%. Comparing base (be80b36) to head (978f7a9).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5666      +/-   ##
==========================================
+ Coverage   66.01%   66.12%   +0.11%     
==========================================
  Files        2808     2839      +31     
  Lines      113174   113726     +552     
  Branches    31692    31895     +203     
==========================================
+ Hits        74709    75202     +493     
- Misses      36648    36707      +59     
  Partials     1817     1817              
Flag Coverage Δ *Carryforward flag
adoption-insights 88.86% <ø> (ø) Carriedforward from be80b36
ai-integrations 90.89% <ø> (ø) Carriedforward from be80b36
app-defaults 80.93% <100.00%> (+3.65%) ⬆️
augment 46.67% <ø> (ø) Carriedforward from be80b36
boost 93.94% <ø> (ø) Carriedforward from be80b36
bulk-import 73.13% <ø> (ø) Carriedforward from be80b36
cost-management 13.56% <ø> (ø) Carriedforward from be80b36
dcm 74.35% <ø> (ø) Carriedforward from be80b36
e2e-adoption-insights 60.16% <ø> (ø) Carriedforward from be80b36
e2e-extensions 62.87% <ø> (ø) Carriedforward from be80b36
e2e-global-header 52.43% <ø> (ø) Carriedforward from be80b36
e2e-homepage 61.25% <ø> (ø) Carriedforward from be80b36
e2e-intelligent-assistant 46.10% <ø> (ø) Carriedforward from be80b36
e2e-orchestrator 49.80% <ø> (ø) Carriedforward from be80b36
e2e-orchestrator-plugin 49.79% <ø> (ø) Carriedforward from be80b36
e2e-quickstart 54.83% <ø> (ø) Carriedforward from be80b36
e2e-scorecard 49.88% <ø> (ø) Carriedforward from be80b36
e2e-theme 16.43% <ø> (ø) Carriedforward from be80b36
extensions 60.42% <ø> (ø) Carriedforward from be80b36
global-floating-action-button 71.18% <ø> (ø) Carriedforward from be80b36
global-header 69.15% <ø> (ø) Carriedforward from be80b36
homepage 86.65% <ø> (ø) Carriedforward from be80b36
install-dynamic-plugins 86.58% <ø> (ø) Carriedforward from be80b36
intelligent-assistant 79.92% <ø> (ø) Carriedforward from be80b36
konflux 91.98% <ø> (ø) Carriedforward from be80b36
lightspeed 69.02% <ø> (ø) Carriedforward from be80b36
mcp-integrations 84.46% <ø> (ø) Carriedforward from be80b36
orchestrator 77.13% <ø> (ø) Carriedforward from be80b36
quickstart 65.83% <ø> (ø) Carriedforward from be80b36
sandbox 79.56% <ø> (ø) Carriedforward from be80b36
scorecard 92.32% <ø> (ø) Carriedforward from be80b36
test-plugins 0.00% <ø> (?)
theme 89.01% <ø> (ø) Carriedforward from be80b36
translations 7.91% <ø> (ø) Carriedforward from be80b36
x2a 81.73% <ø> (ø) Carriedforward from be80b36

*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 be80b36...978f7a9. 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.

@debsmita1
debsmita1 force-pushed the add-theme-to-appdefaults branch from 9af8885 to 422b169 Compare November 25, 2026 11:46
@debsmita1 debsmita1 changed the title [WIP] feat(app-defaults): Add theme to app-defaults plugin feat(app-defaults): Add theme to app-defaults plugin Nov 25, 2026
@debsmita1
debsmita1 force-pushed the add-theme-to-appdefaults branch from 422b169 to a8a85c0 Compare November 25, 2026 13:06
@debsmita1 debsmita1 changed the title feat(app-defaults): Add theme to app-defaults plugin [WIP] feat(app-defaults): Add theme to app-defaults plugin Nov 25, 2026
@debsmita1
debsmita1 force-pushed the add-theme-to-appdefaults branch 2 times, most recently from c86f1e2 to 1957699 Compare November 25, 2026 14:41
const UPSTREAM_AXE_DISABLE_RULES = [
'aria-valid-attr-value',
'nested-interactive',
'label-content-name-mismatch',

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Remove this once this #5545 is merged

@debsmita1 debsmita1 changed the title [WIP] feat(app-defaults): Add theme to app-defaults plugin feat(app-defaults): Add theme to app-defaults plugin Nov 25, 2026
@debsmita1
debsmita1 force-pushed the add-theme-to-appdefaults branch from 1957699 to 16d35fd Compare November 25, 2026 14:49
@debsmita1

Copy link
Copy Markdown
Member Author

/fs-review

@fullsend-ai-review

fullsend-ai-review Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 2:55 PM UTC · Completed 3:25 PM UTC

Commit: 16d35fd · View workflow run →

Runtime: claude · Model: claude-opus-4-6 · Effort: high · Cost: $13.13

Drop the independent plugins/theme compatibility package. Theme remains
under plugins/app-defaults/src/theme; app.branding config is unchanged and
the feature loader registers the theme without a separate customer import.

Co-authored-by: Cursor <cursoragent@cursor.com>
@debsmita1
debsmita1 force-pushed the add-theme-to-appdefaults branch from 16d35fd to 978f7a9 Compare November 25, 2026 15:01
@sonarqubecloud

Copy link
Copy Markdown

@fullsend-ai-review fullsend-ai-review Bot added the risk/elevated PR risk: elevated label Nov 25, 2026
@fullsend-ai-review

Copy link
Copy Markdown

Risk Assessment: elevated (3/5)

Details

An extremely large structural migration (193 renames, 275 files, 26K lines, 14 dependency files, 7 protected paths) with a high 90-day regression count (21 fix commits) in the affected workspaces justifies an elevated composite score of 3, despite no security-sensitive changes or CI modifications.

@fullsend-ai-review

Copy link
Copy Markdown

Review

Reason: stale-head

The review agent reviewed commit 16d35fd9c7b0b4ae6add9736b3f600de8c02b12a but the PR HEAD is now 978f7a9898aab62e44370a8c62bbe43e633fa698. This review was discarded to avoid approving unreviewed code.

@fullsend-ai-review

Copy link
Copy Markdown

/fs-review

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