19202 Commits

Author SHA1 Message Date
Fredrik Adelöw bd179b0d3b feat(catalog): route facets requests to POST when query is present
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2026-02-26 16:21:24 +01:00
Fredrik Adelöw 7a29905ba0 feat(catalog): add query predicate to GetEntityFacetsRequest
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2026-02-26 16:19:43 +01:00
Fredrik Adelöw e0fc8ddaec feat(catalog): add POST /entity-facets endpoint with predicate support
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2026-02-26 16:16:50 +01:00
aramissennyeydd 1c3b90bbd1 fix: remove already closed proxies
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2026-02-26 10:15:01 -05:00
Patrik Oldsberg 264159ef21 Move transform tests into the build module
Move the transform tests from packages/cli/src/tests/transforms/ into
packages/cli/src/modules/build/tests/transforms/ so that the build
module is self-contained and can eventually become its own package.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-02-26 13:27:30 +01:00
Charles de Dreuille 969540f73d Merge pull request #33002 from backstage/cdedreuille/ui-neutral-bg-simplification
feat(ui): neutral bg system overhaul — single incremental value + overlay reset
2026-02-26 11:56:42 +00:00
Patrik Oldsberg e8c31266c2 Merge pull request #33013 from backstage/rugvip/cli-final-lib-cleanup
cli: eliminate src/lib/ directory and last cross-module import
2026-02-26 10:10:54 +01:00
Ben Lambert 62f0a53d65 Fix error forwarding in actions registry to preserve original status codes (#33021)
Signed-off-by: benjdlambert <ben@blam.sh>
2026-02-26 08:59:58 +00:00
Patrik Oldsberg deb4476146 Address review feedback
- Rename 'alpha' to 'title' for content order enum value
- Inline EntityContentGroupDefinition type into EntityContentGroupDefinitions
- Rename defaultContentOrder prop to contentOrder
- Apply content ordering to ungrouped tabs as well
- Fix no-nested-ternary lint error

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-02-26 00:32:23 +01:00
Patrik Oldsberg 4d588942d5 Add group aliases and configurable content ordering to entity page
Add two new configuration features for entity page groups:

- Group alias IDs: groups can declare aliases so that content targeting
  an aliased group ID is included in the aliasing group
- Configurable content ordering: a new contentOrder option (alpha/natural)
  controls how content items within each group are sorted, with support
  for both a page-level default and per-group overrides. The new default
  is alpha (alphabetical by title).

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-02-26 00:15:17 +01:00
Patrik Oldsberg beab3cc456 cli: eliminate src/lib/ directory and last cross-module import
Split version.ts into two locations:
- Template version provider moved to modules/new/lib/version.ts
- CLI version info moved to wiring/version.ts

Remove publishPreflightCheck from repo fix command (still runs during
package prepack). Fix build module self-references to use shorter
within-module paths.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-02-25 23:36:30 +01:00
Patrik Oldsberg b2fda888ea Merge pull request #32996 from backstage/rugvip/fix-mui-styles-shared-dep-key
module-federation-common: fix trailing slash in MUI styles shared dependency key
2026-02-25 21:34:28 +01:00
Patrik Oldsberg 0cb56465dd fix(module-federation): remove trailing slash from @mui/material/styles shared dependency key
The shared dependency key `@mui/material/styles/` (with trailing slash) caused
module resolution failures because MUI's package.json exports map only defines
`./styles`, not `./styles/`. This resulted in errors like:

  Package subpath './styles/' is not defined by "exports" in
  @mui/material/package.json

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-02-25 21:04:28 +01:00
Charles de Dreuille 1afa036222 Cleanup
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-25 19:46:17 +00:00
Patrik Oldsberg 09eb6b5187 Address further review feedback
- Rename hasYarnPlugin -> hasBackstageYarnPlugin for clarity
- Change SuccessCache.create to accept an options object

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-02-25 20:17:47 +01:00
Patrik Oldsberg 968570bbb5 Address review feedback
- Remove cli changeset, piggy-back on existing ones
- Rename getHasYarnPlugin -> hasYarnPlugin(workspaceDir?)
- Make SuccessCache constructor private, add static create()
- Consolidate duplicate @backstage/cli-node imports

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-02-25 20:17:47 +01:00
Patrik Oldsberg 3c811bf8a9 cli-node, cli: move yarnPlugin and SuccessCache to cli-node
Move `getHasYarnPlugin` and `SuccessCache` from `@backstage/cli` internal
modules to `@backstage/cli-node` as public exports, making them available
for reuse by other CLI tooling.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-02-25 20:17:22 +01:00
Patrik Oldsberg dd6408d682 Merge pull request #33005 from backstage/rugvip/entity-content-group-defaults
techdocs, api-docs: add default entity content groups
2026-02-25 20:15:33 +01:00
Patrik Oldsberg a611d22986 Merge pull request #33007 from backstage/rugvip/cli-split-loadCliConfig
cli: split loadCliConfig into separate build and config implementations
2026-02-25 19:52:50 +01:00
samarthsinh2660 8b1a847da9 fix(core-components): fix Table layout when filters and title are used together
The TableToolbar component was using the same CSS class for both the
root container and the nested filter controls container, causing
layout conflicts when both filters and title props were present.

Changes:
- Added dedicated filterControls CSS class for the filter icon/text
- Added flex-wrap: wrap to root container for better responsiveness
- Fixed nested Box using the same class issue

Fixes #32120

Signed-off-by: samarthsinh2660 <rajuvala80@gmail.com>
2026-02-25 22:41:49 +05:30
Charles de Dreuille 53268fa772 Add BgReset
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-25 16:55:08 +00:00
ElaineDeMattosSilvaB a252e4d412 chore: add test
Signed-off-by: ElaineDeMattosSilvaB <elaine.mattos@gmail.com>
2026-02-25 17:52:22 +01:00
Patrik Oldsberg 4868ff07b6 Fix typeDistProject import path in pack.ts
The file was moved from maintenance to build on master, so the
cross-module import is no longer needed.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-02-25 17:31:30 +01:00
ElaineDeMattosSilvaB 661038ce80 chore: add api report
Signed-off-by: ElaineDeMattosSilvaB <elaine.mattos@gmail.com>
2026-02-25 17:21:02 +01:00
ElaineDeMattosSilvaB 9f05964277 feat: add the description also to the NFS
Signed-off-by: ElaineDeMattosSilvaB <elaine.mattos@gmail.com>
2026-02-25 17:13:23 +01:00
Patrik Oldsberg bd2c923d8e Throw error for removed migrate package-exports command
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-02-25 17:11:07 +01:00
Patrik Oldsberg c85ac86117 cli: split loadCliConfig into separate build and config implementations
Split the shared loadCliConfig function into two separate implementations
to remove the cross-module dependency from build to config.

The build module's version keeps the watch/streaming capability needed by
the dev server, while the config module's version is simplified to
one-shot loading since no config commands need watching.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-02-25 16:11:57 +01:00
ElaineDeMattosSilvaB 65a3890a54 Merge branch 'master' into feat/add-description-plugin-feature-flags 2026-02-25 16:08:29 +01:00
Charles de Dreuille 3b21e963f7 Merge branch 'master' into cdedreuille/ui-neutral-bg-simplification 2026-02-25 14:56:31 +00:00
Patrik Oldsberg b36a60dc45 Address review feedback
Add separate breaking changeset for the removal of `migrate package-exports`,
and fix a pre-existing bug where the restore assignments in
`createScriptOptionsParser` were swapped.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-02-25 15:43:26 +01:00
Patrik Oldsberg 2fcba39dea Internalize CLI lib utilities into consuming modules
Move typeDistProject.ts into the build module, duplicate optionsParser.ts
into build and lint modules, inline configOption in the build module,
and simplify the deprecated migrate package-exports command to remove
cross-module dependencies.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-02-25 15:43:26 +01:00
Patrik Oldsberg 30e08dfbcc Add default entity content groups for techdocs and api-docs plugins
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-02-25 15:37:10 +01:00
Patrik Oldsberg c7d2bf99ee Merge pull request #33001 from backstage/rugvip/cli-lockfile-consolidation
cli-node: consolidate Lockfile and versioning utilities
2026-02-25 14:51:59 +01:00
Fredrik Adelöw 687094dc6f Merge pull request #32874 from backstage/benjdlambert/fix-predicate-review-feedback
`feat(catalog)`: support entity predicate filtering
2026-02-25 14:51:38 +01:00
Patrik Oldsberg a92ae1eb42 Merge pull request #32987 from backstage/rugvip/cli-common-path-cleanup
cli-common: clean up path utils follow-up
2026-02-25 14:27:29 +01:00
Patrik Oldsberg 5033936401 Keep versioning utilities internal to CLI migrate module
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-02-25 14:09:25 +01:00
Charles de Dreuille a27dc7795d feat(ui): simplify neutral bg prop to single auto-incrementing 'neutral' value
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-25 12:57:34 +00:00
Patrik Oldsberg c2b4ecc73b Merge pull request #32998 from backstage/rugvip/cli-lazy-errors-to-wiring
cli: move lazy.ts and errors.ts to wiring/
2026-02-25 13:57:17 +01:00
Patrik Oldsberg 61cb976207 Consolidate Lockfile classes: move toString() and versioning utils to cli-node
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-02-25 11:59:30 +01:00
Patrik Oldsberg 86c424fa8e chore(cli): move lazy.ts and errors.ts to wiring/
These are CLI framework infrastructure files that belong alongside
createCliPlugin and CliInitializer rather than in the general lib/
directory.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-02-25 11:43:38 +01:00
Charles de Dreuille 51fc8a0fd4 Merge pull request #32984 from backstage/cdedreuille/ui-guidelines-cards-with-table
feat(ui): add Guidelines section with Cards + Table page layout story
2026-02-25 10:33:21 +00:00
Patrik Oldsberg 3c605eb319 Merge pull request #32995 from backstage/rugvip/move-clean-pack-to-build
cli: move clean and pack commands to build module
2026-02-25 11:32:18 +01:00
Charles de Dreuille e1c87b33ca Improve modes
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-02-25 10:15:28 +00:00
Patrik Oldsberg 825c81dcde cli: move clean and pack commands to build module
Move the `package clean`, `package prepack`, `package postpack`, and
`repo clean` commands from the internal maintenance module to the build
module, along with the publishing preflight check utility.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-02-25 10:36:36 +01:00
Johan Persson b42fcdca2e feat(ui): replace --bui-bg-popover with layered bg approach
Remove the --bui-bg-popover token and adopt a two-layer background
pattern across overlay components: outer shell uses --bui-bg-app,
inner content uses Box bg="neutral-1".

Components updated: Popover, Tooltip, Menu, Dialog.

Each component gets a local border-radius CSS variable, a Box
content wrapper with neutral-1 background, and updated arrow
fills where applicable.

Story "is open" variants for each component now use a dot-grid
background pattern to detect background transparency issues in
Chromatic snapshots.

Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-02-25 09:52:31 +01:00
Gabriel Dugny 8ea65069f1 Merge branch 'master' into package-workspaces
Signed-off-by: Gabriel Dugny <gabriel.dugny@believe.com>

# Conflicts:
#	packages/cli-node/src/pacman/yarn/Yarn.test.ts
#	packages/cli-node/src/pacman/yarn/Yarn.ts
2026-02-25 09:11:36 +01:00
Patrik Oldsberg e44b6a9079 cli-common: Remove unused findOwnDir and validate findOwnRootDir
Addresses review feedback from PR #32939:
- Remove the `findOwnDir` function which is no longer needed
- Add validation to `findOwnRootDir` to verify the resolved path
  actually contains a monorepo root with a `package.json` that has
  a `workspaces` field

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-02-24 21:56:35 +01:00
github-actions[bot] 4bd6a3a1af Version Packages (next) 2026-02-24 19:24:06 +00:00
Charles de Dreuille 798fea1218 feat(ui): add Guidelines section with Cards + Table page layout story
- Add `packages/ui/src/guidelines/CardsWithTable.stories.tsx` as the
  first guideline story, showing three data-driven metric cards in a
  3-column grid above a paginated table of catalog services.
- Update Storybook `storySort` order so the new `Guidelines` group
  appears at the top of the `Backstage UI` section.
- Wrap story content in a `Box bg="neutral-1"` when the Spotify theme
  is active, preserving `layout: centered` centering and always
  applying `borderRadius`.
- Import `Box` from the UI package into the Storybook preview.
- Remove `transition` from `Container` CSS to avoid animation on resize.
- Set `padding-inline: 0` on `.bui-Container` inside the Spotify theme
  so containers render flush within the themed wrapper.

Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-24 18:57:56 +00:00
Johan Persson 890935951b fix(ui): CSS accessibility fixes for Menu, Select, and RadioGroup (#32983)
* fix(ui): add focus-visible outlines to Menu and Select

Replace the default browser focus-visible outline with a
consistent ring style using the data-focus-visible attribute
on Menu items and Select options.

Signed-off-by: Johan Persson <johanopersson@gmail.com>

* fix(ui): add cursor styles to RadioGroup items

Add pointer cursor to radio items and not-allowed cursor
for readonly state.

Signed-off-by: Johan Persson <johanopersson@gmail.com>

---------

Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-02-24 17:28:32 +01:00