74233 Commits

Author SHA1 Message Date
Johan Persson 61e4e033f8 Update API report after batch migration
Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-02-27 17:18:03 +01:00
Johan Persson 59474d15b7 Migrate PasswordField component from useStyles to useDefinition
Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-02-27 17:18:03 +01:00
Johan Persson a4842b4ae0 Migrate ToggleButtonGroup component from useStyles to useDefinition
Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-02-27 17:18:03 +01:00
Johan Persson c239966fc7 Migrate ToggleButton component from useStyles to useDefinition
Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-02-27 17:18:03 +01:00
Johan Persson 6d5f7002b6 Migrate FullPage component from useStyles to useDefinition
Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-02-27 17:18:03 +01:00
Johan Persson 055d96e455 Update API report after batch migration
Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-02-27 17:18:03 +01:00
Johan Persson 2503843d6e Migrate Popover component from useStyles to useDefinition
Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-02-27 17:18:03 +01:00
Johan Persson ab489e4e5e Migrate VisuallyHidden component from useStyles to useDefinition
Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-02-27 17:18:03 +01:00
Johan Persson 351dd1e6ab Migrate Tooltip component from useStyles to useDefinition
Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-02-27 17:18:03 +01:00
Johan Persson cbefa44272 Migrate Switch component from useStyles to useDefinition
Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-02-27 17:18:03 +01:00
Johan Persson 98788bf358 Cleanup migration issues.
Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-02-27 17:18:03 +01:00
Johan Persson 041d065141 Update API report and changeset for batch migration
Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-02-27 17:18:03 +01:00
Johan Persson c84cee9e32 Migrate Skeleton component from useStyles to useDefinition
Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-02-27 17:18:03 +01:00
Johan Persson 096dfdf86e Migrate Link component from useStyles to useDefinition
Fix pre-existing variant default from 'body' to 'body-medium' to match
actual CSS selectors. Add missing 'info' color to docs-ui props definition.

Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-02-27 17:18:03 +01:00
Johan Persson fcfafb4515 Migrate FieldLabel component from useStyles to useDefinition
Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-02-27 17:18:03 +01:00
Johan Persson fe5513c604 Migrate FieldError component from useStyles to useDefinition
Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-02-27 17:18:03 +01:00
Johan Persson 456a3666bc Migrate Container component from useStyles to useDefinition
Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-02-27 17:18:03 +01:00
Johan Persson 9df65dae02 Fix Avatar types to follow OwnProps pattern
Make AvatarOwnProps the source of truth with inline type definitions,
and have AvatarProps extend it. This follows the established pattern
used by Button, Checkbox, and Alert components. Export AvatarOwnProps
from the package entry point.

Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-02-27 17:18:03 +01:00
Johan Persson c286160632 Migrate Checkbox component from useStyles to useDefinition
Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-02-27 17:18:03 +01:00
Johan Persson e363e8265d Migrate Avatar component from useStyles to useDefinition
Replace ComponentDefinition with defineComponent pattern, move CSS
module import and prop defaults into the definition, and switch the
component to useDefinition hook.

Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-02-27 17:18:03 +01:00
Bond Yan 2e20bf20d7 changeset typo
Signed-off-by: Bond Yan <bondy@spotify.com>
2026-02-27 11:15:27 -05:00
milliehartnt123 1caca7b0c3 Update redirect from '/docs' back to what-is-backstage
Undo change to redirect to new landing page. That will be in a separate PR.

Signed-off-by: milliehartnt123 <108491788+milliehartnt123@users.noreply.github.com>
2026-02-27 10:56:53 -05:00
aramissennyeydd 06366a7fa4 fix prettier
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2026-02-27 10:07:15 -05:00
Patrik Oldsberg 03f7e74fe1 Merge pull request #33036 from backstage/rugvip/cli-execute-loader
cli: add lazy loader pattern for command execution
2026-02-27 15:36:12 +01:00
Patrik Oldsberg 992e37b93f repo-tools: Use randomUUID for temp files and document sequential execution
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-02-27 14:56:22 +01:00
Johan Persson 9027b10643 fix(ui): fix scroll overflow in Menu and Select popovers
When viewport height constrains the popover, content now scrolls
instead of overflowing.

- Menu: add flex column layout and overflow hidden to .bui-MenuInner
- Select: add overflow auto and min-height 0 to .bui-SelectList

Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-02-27 14:35:30 +01:00
Patrik Oldsberg acb2714ca8 Merge pull request #33025 from backstage/rugvip/move-transform-tests
cli: move transform tests into the build module
2026-02-27 14:08:22 +01:00
Patrik Oldsberg 03f5009aae Merge pull request #33020 from kurtaking/kurtaking/metrics-alpha-docs
docs: metrics service alpha
2026-02-27 13:18:53 +01:00
Patrik Oldsberg c3e8286bf6 Merge pull request #32562 from Believe-SA/package-workspaces
chore: replace legacy package.json workspaces.packages by workspaces
2026-02-27 12:58:53 +01:00
Patrik Oldsberg 9810310781 Update changeset messages per review feedback
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-02-27 12:56:54 +01:00
dependabot[bot] b4774337ad build(deps): bump minimatch from 10.2.1 to 10.2.4
Bumps [minimatch](https://github.com/isaacs/minimatch) from 10.2.1 to 10.2.4.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v10.2.1...v10.2.4)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 10.2.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-27 11:37:18 +00:00
Johan Persson 33324d45ac docs(ui): clarify module-scoped singleton in useBreakpoint
Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-02-27 12:32:31 +01:00
Johan Persson f10b3b8d7d refactor(ui): simplify useBreakpoint singleton store
Initialize listeners as an eager Set to eliminate the undefined union
type and non-null assertions. Add comment explaining the change listener
algorithm.

Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-02-27 12:32:31 +01:00
Johan Persson cd3cb0f35a chore: add changeset for useBreakpoint performance improvement
Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-02-27 12:32:31 +01:00
Johan Persson b39c2d3893 perf(ui): rewrite useBreakpoint with singleton useSyncExternalStore
Replace per-instance useState + matchMedia pattern with a module-level
singleton that shares 6 matchMedia listeners across all callers.
Reduces listener count from 18×N to a fixed 6.

Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-02-27 12:32:31 +01:00
Johan Persson 154492c05f chore(ui): add use-sync-external-store dependency
Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-02-27 12:32:31 +01:00
Gabriel Dugny 3187a7a441 Merge remote-tracking branch 'origin/master' into package-workspaces 2026-02-27 12:05:03 +01:00
Gabriel Dugny 37a309e7e2 Update .changeset/slow-items-pull.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Gabriel Dugny <gabriel@dugny.me>
2026-02-27 12:04:16 +01:00
Patrik Oldsberg aac8cd4cc2 repo-tools: Strip ANSI codes and set NO_COLOR for CLI report extraction
Cleye outputs ANSI bold escape sequences around section headers
(e.g. Usage:, Flags:) unconditionally, which prevented the help
page parser from recognizing them. Strip ANSI SGR sequences from
captured output and set NO_COLOR=1 in the child environment.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-02-27 10:45:56 +01:00
Patrik Oldsberg f2a8299d7a repo-tools: Log all command outputs for debugging
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-02-27 10:33:15 +01:00
Patrik Oldsberg 3a1054f51d repo-tools: Log stdout content when help markers missing
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-02-27 10:21:09 +01:00
Patrik Oldsberg b7c9a8df12 repo-tools: Add module-level debug log to verify util.ts is loaded
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-02-27 10:11:23 +01:00
Patrik Oldsberg f586daee1f repo-tools: Add debug logging for empty stdout in createBinRunner
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-02-27 09:59:15 +01:00
Patrik Oldsberg 2481126013 Remove setBlocking calls and simplify file-redirect approach
Remove fragile process.stdout._handle.setBlocking calls from CLI test
commands. Revert the preload workaround in repo-tools since the root
cause is removed.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-02-27 08:48:19 +01:00
Patrik Oldsberg 5e01ab714a repo-tools: Add _handle stub preload for file-backed stdout
Add a --require preload that stubs process.stdout._handle when stdout is
a SyncWriteStream (file-backed). Some CLI code accesses _handle.setBlocking
directly and would crash without the stub.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-02-27 08:46:44 +01:00
Patrik Oldsberg d9dde597c9 repo-tools: Redirect child stdout to file for CLI reports
Use a temp file instead of a pipe for child process stdout in
createBinRunner. Node.js uses a SyncWriteStream for regular files, so
all writes complete synchronously before process.exit() can discard them.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-02-27 01:21:53 +01:00
Patrik Oldsberg a2653cd112 Update repo-tools changeset to cover spawnSync change
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-02-27 00:08:23 +01:00
Patrik Oldsberg b4fea2bc29 repo-tools: Use spawnSync for CLI report extraction
Use spawnSync instead of spawn for child processes in createBinRunner.
This avoids stdout data loss when child processes call process.exit()
before Node.js flushes its internal stream buffer to the pipe.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-02-27 00:08:22 +01:00
Patrik Oldsberg fab449cf9e cli: lint fix
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-02-27 00:08:18 +01:00
Patrik Oldsberg bf97fecaf7 Merge pull request #33019 from backstage/rugvip/nfs-entity-page-group-aliases-and-ordering
catalog: add group aliases and configurable content ordering to entity page
2026-02-26 23:34:17 +01:00