feat(app-defaults): add empty state overrides for catalog pages - #4449
feat(app-defaults): add empty state overrides for catalog pages#4449christoph-jerolimov wants to merge 2 commits into
Conversation
…, API docs, TechDocs, and catalog graph pages Override the page extensions of the catalog, scaffolder (templates sub-page), API docs, TechDocs, and catalog graph plugins with an EmptyCatalogGate that checks whether matching entities exist before rendering the original page. When no entities are found, a translatable empty state with a background illustration, an action link, and a support button is shown instead. A FrontendFeatureLoader default export registers all overrides alongside the existing appDefaultsModule so that a single package import loads everything. Translations are provided for en (default), de, es, fr, it, and ja. Ref: RHIDP-14871 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Christoph Jerolimov <jerolimov+git@redhat.com>
Missing ChangesetsThe following package(s) are changed by this PR but do not have a changeset:
See CONTRIBUTING.md for more information about how to add changesets. Changed Packages
|
|
PR Summary by QodoAdd empty-state overrides for catalog-related pages via app-defaults loader
AI Description
Diagram
High-Level Assessment
Files changed (30)
|
Code Review by Qodo
1. App missing core features
|
Add @remixicon/react and use RiExternalLinkLine as iconEnd on the SupportButton's ButtonLink to indicate it opens in a new tab. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Christoph Jerolimov <jerolimov+git@redhat.com>
|



Summary
EmptyCatalogGatethat checks whether matching entities exist before rendering the original pageFrontendFeatureLoaderdefault export registers all overrides alongside the existingappDefaultsModuleso a single package import loads everythingTest plan
/catalogwhen no entities are registered/catalogwhen entities exist/create,/api-docs,/docs,/catalog-graphshow empty states appropriatelyRef: RHIDP-14871
🤖 Generated with Claude Code