docs: address copilot review feedback

Fix links in viewing-catalog.md and filter-catalog.md to point to
the new frontend system catalog-customization.md instead of the old
guide. Fix the Kubernetes entity content extension ID to use the
correct `entity-content:kubernetes/kubernetes` format. Wrap raw
extension definitions in `createFrontendModule` in search and
scaffolder docs. Correct TechDocs addon installation instructions
to explicitly install addon modules rather than claiming
auto-discovery.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
This commit is contained in:
Patrik Oldsberg
2026-03-30 12:42:11 +02:00
parent c9132c223c
commit 561f555fb1
7 changed files with 62 additions and 17 deletions
@@ -117,14 +117,24 @@ export const ValidateKebabCaseFieldExtension = FormFieldBlueprint.make({
export { ValidateKebabCaseFieldExtension } from './extensions';
```
Once the extension is created, install it in your app by passing it to `createApp`:
Once the extension is created, install it in your app by wrapping it in a frontend module and passing it to `createApp`:
```tsx title="packages/app/src/scaffolder/scaffolderModule.ts"
import { createFrontendModule } from '@backstage/frontend-plugin-api';
import { ValidateKebabCaseFieldExtension } from './ValidateKebabCase';
export const scaffolderCustomizations = createFrontendModule({
pluginId: 'scaffolder',
extensions: [ValidateKebabCaseFieldExtension],
});
```
```tsx title="packages/app/src/App.tsx"
import { createApp } from '@backstage/frontend-defaults';
import { ValidateKebabCaseFieldExtension } from './scaffolder/ValidateKebabCase';
import { scaffolderCustomizations } from './scaffolder/scaffolderModule';
const app = createApp({
features: [ValidateKebabCaseFieldExtension],
features: [scaffolderCustomizations],
});
export default app.createRoot();