Commit Graph

69202 Commits

Author SHA1 Message Date
Vincenzo Scamporlino f987bfda6d catalog-import: changeset
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2025-11-17 13:10:52 +01:00
Johan Persson a67670d240 refactor(ui): migrate to component-owned definitions
Eliminates the central componentDefinitions registry in favor of component-owned
definition files. Each of the 33 components now exports its own definition object.

Changes:
- Created definition.ts for all 33 components (Accordion, Avatar, Box, Button, etc.)
- Updated useStyles hook to accept definition objects instead of string lookups
- Removed central componentDefinitions file and related type utilities
- Updated docs-ui to import and use component definitions directly
- Added @backstage/ui/definitions subpath export to avoid importing component code
  in docs-ui, preventing Next.js SSR issues

Breaking changes:
- componentDefinitions object removed
- ComponentDefinitionName type removed
- ComponentClassNames<T> type removed
- useStyles now accepts ComponentDefinition object instead of string (internal)

Migration:
Component definitions are primarily for documenting the CSS class API for theming.
If using definitions programmatically, migrate to either:
- Use Backstage UI components directly as building blocks, or
- Duplicate component CSS in your own stylesheets

Signed-off-by: Johan Persson <johanopersson@gmail.com>
2025-11-17 11:40:04 +01:00
Johan Persson f3ae275cfd chore(docs-ui): sync changelogs for @backstage/ui v0.1.0-v0.8.2
Syncs component changelogs from @backstage/ui package using the
automated changelog sync script. Adds missing version changelogs
(v0.1.0, v0.2.1, v0.3.2, v0.7.0-v0.8.2) and updates changelog.ts
to import all versions in descending order.

Affected components for each changelog entry were manually inferred
using AI to categorize changes by component.

Signed-off-by: Johan Persson <johanopersson@gmail.com>
2025-11-17 11:37:39 +01:00
Johan Persson 67f5310557 feat(docs-ui): add automated changelog sync from @backstage/ui
Adds automated synchronization of component changelogs from
@backstage/ui package to the documentation site, eliminating
manual changelog maintenance.

The sync script parses CHANGELOG.md using remark/unified, extracts
component-specific entries via "Affected components:" tags, and
generates per-version TypeScript files with preserved markdown
formatting. Includes GitHub API integration to automatically fetch
PR numbers for changelog entries.

Key features:
- Version comparison to sync only new releases
- Per-version file structure (changelogs/v0.2.0.ts, etc.)
- Markdown preservation via AST position slicing
- Component name mapping (PascalCase → kebab-case)
- Duplicate detection for idempotent syncing
- GitHub authentication via gh CLI or GITHUB_TOKEN
- Dry-run mode with preview

Usage:
```bash
yarn sync:changelog              # Sync new entries
yarn sync:changelog:dry-run      # Preview changes
```

Technical changes:
- Added scripts/sync-changelog.mjs (991 lines)
- Refactored changelog.ts to import per-version files
- Extracted types to separate types.ts file
- Added dependencies: @octokit/rest, unified (remark-parse via @mdx-js/mdx)
- Added documentation in README.md

Signed-off-by: Johan Persson <johanopersson@gmail.com>
2025-11-17 11:37:39 +01:00
Patrik Oldsberg a1c58124a7 sync API reports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-11-17 10:35:43 +01:00
Patrik Oldsberg 7d87b4f6ad frontend-plugin-api: add OverridableExtensionDefinition
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-11-17 10:35:43 +01:00
Fredrik Adelöw e5e79ce4e9 Merge pull request #31777 from backstage/frebe/pre-exit
exit prerelease
2025-11-17 10:15:10 +01:00
Ayush More a907203f7e style: format docs with prettier
Signed-off-by: Ayush More <ayushmore42595@gmail.com>
2025-11-17 06:03:42 +00:00
Fredrik Adelöw 8ccf04d330 exit prerelease
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2025-11-16 21:37:06 +01:00
aramissennyeydd 78827da225 add comment
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2025-11-16 11:24:35 -05:00
aramissennyeydd b8717e25f9 disable invalid rule
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2025-11-16 11:24:12 -05:00
Stephen Glass 904d136368 fix(catalog-react): fixed initially selected all filter not appearing as selected
Signed-off-by: Stephen Glass <stephen@stephen.glass>
2025-11-15 22:37:29 -05:00
Antonio Ereiz 5118ba8b4a Merge branch 'master' into 'code-snippet-wrap-long-lines'
Signed-off-by: Antonio Ereiz <51959110+SonilPro@users.noreply.github.com>
2025-11-15 22:19:44 +01:00
dependabot[bot] 559ceb0726 chore(deps): bump js-yaml from 4.1.0 to 4.1.1 in /docs-ui
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.1.0 to 4.1.1.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.1.0...4.1.1)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 4.1.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-15 10:53:21 +00:00
ElaineDeMattosSilvaB e7db2904fd fix: add changeset
Signed-off-by: ElaineDeMattosSilvaB <elaine.de-mattos-silva-bezerra@deutschebahn.com>
2025-11-15 08:01:40 +01:00
ElaineDeMattosSilvaB 3acce8c969 fix(cli): add react-dom to peer and dev dependencies in frontend plugin template
Signed-off-by: ElaineDeMattosSilvaB <elaine.de-mattos-silva-bezerra@deutschebahn.com>
2025-11-15 07:56:41 +01:00
ElaineDeMattosSilvaB 8e04d757d9 fix(tests): add test case for scopes starting with @
Signed-off-by: ElaineDeMattosSilvaB <elaine.de-mattos-silva-bezerra@deutschebahn.com>
2025-11-15 07:20:46 +01:00
ElaineDeMattosSilvaB 279279c058 fix: add changeset
Signed-off-by: ElaineDeMattosSilvaB <elaine.de-mattos-silva-bezerra@deutschebahn.com>
2025-11-15 07:05:45 +01:00
ElaineDeMattosSilvaB 35074cae19 fix(cli): prevent double @ prefix when using --scope flag
Signed-off-by: ElaineDeMattosSilvaB <elaine.de-mattos-silva-bezerra@deutschebahn.com>
2025-11-15 06:56:43 +01:00
coltMcKissick 00fa8dee66 fix: set lowercase when passing to handle fetch, update unit test
Signed-off-by: coltMcKissick <colt.mckissick@gmail.com>
2025-11-14 15:01:34 -05:00
Felipe Passini 88bf79dc7a Add plugin Conviso Platform
Add plugin Conviso Platform

Signed-off-by: Felipe Passini <felipepassine@gmail.com>
2025-11-14 14:50:43 -03:00
Kurt King bfa0caf62c Update Procore entry in ADOPTERS.md
Signed-off-by: Kurt King <kurtaking@gmail.com>
2025-11-14 09:34:32 -07:00
Kurt King 774696ea89 Update author information in announcements.yaml
Signed-off-by: Kurt King <kurtaking@gmail.com>
2025-11-14 09:31:41 -07:00
Stephen Glass a87c0a5ab6 fix(catalog): fix responsiveness for catalog entity in nfs
Signed-off-by: Stephen Glass <stephen@stephen.glass>
2025-11-14 08:46:23 -05:00
Stephen Glass 72b7f04178 fix(catalog): use flex instead of grid in warning area to be consistent
Signed-off-by: Stephen Glass <stephen@stephen.glass>
2025-11-14 08:43:15 -05:00
Stephen Glass aff04d30f7 fix(catalog): add margin for entity warning conent area in nfs catalog page
Signed-off-by: Stephen Glass <stephen@stephen.glass>
2025-11-14 08:43:15 -05:00
gaelgoth 5dedb14dd5 Revert changes to use the default theme behavior
Signed-off-by: gaelgoth <gothuey.gael@gmail.com>
2025-11-14 14:22:56 +01:00
gaelgoth a5176deb0f Merge remote-tracking branch 'upstream/master' into add-themeid-context 2025-11-14 11:25:19 +01:00
gaelgoth a32c216b0a Update Apps and reports
Signed-off-by: gaelgoth <gothuey.gael@gmail.com>
2025-11-14 10:49:48 +01:00
Fredrik Adelöw ec1a979e27 Merge pull request #31758 from stephenglass/fix/react-key-warnings 2025-11-14 07:58:29 +01:00
Stephen Glass b500bcc39f fix(catalog): fix unstable keys
Signed-off-by: Stephen Glass <stephen@stephen.glass>
2025-11-13 21:48:33 -05:00
Andrew Shoell 01be0c2e08 docs: made the changeset past tense
Signed-off-by: Andrew Shoell <mrlunchbox777@gmail.com>
2025-11-13 21:33:34 -05:00
Paul Schultz 8a018baded feat: add cursor testing rules
Signed-off-by: Paul Schultz <pschultz@pobox.com>
2025-11-13 20:41:22 -05:00
coltMcKissick 6d39141b50 chore: add changeset
Signed-off-by: coltMcKissick <colt.mckissick@gmail.com>
2025-11-13 16:47:48 -05:00
coltMcKissick 0f345fdb68 test: added unit test to verify input populated drop down
Signed-off-by: coltMcKissick <colt.mckissick@gmail.com>
2025-11-13 16:32:54 -05:00
Andrew Shoell e15fdae80f fix: making the github urls case insensitive
Signed-off-by: Andrew Shoell <mrlunchbox777@gmail.com>
2025-11-13 15:40:56 -05:00
Vincenzo Scamporlino 99b27a27a3 catalog-import: authorize catalog.entity.create permission in page extension
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2025-11-13 20:30:49 +01:00
coltMcKissick 50582c1783 fix: update owner picker to use lower case before filtering dropdown
Signed-off-by: coltMcKissick <colt.mckissick@gmail.com>
2025-11-13 11:53:15 -05:00
ivangonzalezacuna e9589d9600 Replace package aws-sdk/signature-v4 with smithy
This package is not modified since 2 years now, and the
replacement is also mentioned in the documentation: https://www.npmjs.com/package/@aws-sdk/signature-v4?activeTab=readme

This PR is simply replacing the packages in the code, this is
a drop-in replacement and there's no need to apply any other changes.

This has been already done in one of the open-source plugins we own,
as well as in our Backstage instance, and all worked just like before.

Signed-off-by: ivangonzalezacuna <ivangonzalezacuna@gmail.com>
2025-11-13 15:22:25 +01:00
Fredrik Adelöw ef757315f4 Merge pull request #31746 from backstage/freben/docsq
🧹 Fix all current docs quality script warnings
2025-11-13 14:26:29 +01:00
Rogerio Angeliski 42ea7c2707 Merge branch 'master' into add-default-enviroment 2025-11-13 09:00:13 -03:00
Rogerio Angeliski 849c0bcda4 chore: apply revision
Signed-off-by: Rogerio Angeliski <angeliski@hotmail.com>
2025-11-13 08:54:27 -03:00
Fredrik Adelöw 35f3bbb4be Fix all current docs quality script warnings
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2025-11-13 12:04:59 +01:00
Patrik Oldsberg dafd1a0e8f Merge pull request #31739 from backstage/rugvip/verify-type-docs
scripts/verify-links: add support for verifying links to new API reference
2025-11-12 16:01:26 -05:00
Patrik Oldsberg 4e4d4cfee7 scripts/verify-links: add support for verifying links to new API reference
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-11-12 15:29:31 -05:00
Ayush More f8957240e7 Remove CNCF logo from what-is-backstage.md
Removed the CNCF logo image from the Backstage overview document.

Signed-off-by: Ayush More <ayushmore42595@gmail.com>
2025-11-12 22:30:34 +05:30
vidhanshah 3f4f0059a4 Merge pull request #7 from backstage/master
Fetching commits from main
2025-11-12 21:15:28 +05:30
Vidhan Shah 87da464220 PR comments
Signed-off-by: Vidhan Shah <vidhans958@gmail.com>
2025-11-12 21:13:34 +05:30
enyineer 84a0dff66f Refactor naming of proxy bootstrapping function
Signed-off-by: enyineer <nico.enking@gmail.com>
2025-11-12 15:02:04 +01:00
gaelgoth db14da4f9b Add themeName prop
Signed-off-by: gaelgoth <gothuey.gael@gmail.com>
2025-11-12 14:58:57 +01:00