Commit Graph

74144 Commits

Author SHA1 Message Date
Charles de Dreuille 657aad6cf0 refactor(ui): rename surface tokens to neutral background tokens
Replace --bui-surface-1..5 with --bui-bg-neutral-1..5 for both light
and dark themes. --bui-bg-neutral-1 replaces the deprecated --bui-bg-app,
and --bui-bg-neutral-2..5 extend the scale. The old bare --bui-bg-neutral-1..4
entries are removed from the deprecated section since their names are now
reused; the hover/pressed/disabled variants remain deprecated.

Updates colors.stories.tsx, the ESLint rule and tests, and all migration
documentation and the PR description accordingly.

Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-05-27 13:11:38 +02:00
Charles de Dreuille c2966d6a84 Update tokens.css
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-05-26 22:06:28 +02:00
Charles de Dreuille 9c3b5ef2bd Update no-deprecated-bui-tokens.js
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-05-26 21:45:34 +02:00
Charles de Dreuille 27891fda91 docs(eslint-plugin): use ### headings for migration sections in no-deprecated-bui-tokens docs
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-05-26 21:45:02 +02:00
Charles de Dreuille 53388ccb5e docs(eslint-plugin): fix migration table in no-deprecated-bui-tokens docs
Group migrations by family (Surfaces, Foreground, Accent, Positive,
Negative, Warning, Announcement) and correct the surface token mappings
to match the full --bui-surface-1 through --bui-surface-5 scale.

Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-05-26 21:43:50 +02:00
Charles de Dreuille 1caf3573fa docs(ui): reformat changeset to follow ui changeset conventions
Replace markdown headings with bold markers and add Affected components
line as required by the .changeset/README.md format guide.

Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-05-26 21:39:34 +02:00
Charles de Dreuille 4d223156a2 docs(ui): add full migration table to changeset
Maps every deprecated token to its semantic replacement, grouped by
family: Surfaces, Foreground, Accent, Positive, Negative, Warning,
and Announcement.

Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-05-26 21:29:47 +02:00
Charles de Dreuille 5d80f77e43 chore: add changesets and fix colors story layout
- Add patch changeset for @backstage/ui (new semantic color token families)
- Add patch changeset for @backstage/eslint-plugin (no-deprecated-bui-tokens rule)
- Remove redundant wrapper div in the Colors story and drop minHeight
  that was preventing scroll in the Storybook canvas

Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-05-26 21:25:52 +02:00
Charles de Dreuille 0370ffcfab Merge branch 'master' into feat/bui-token-redesign 2026-05-26 17:19:20 +02:00
Fredrik Adelöw fe9b5f58ca Merge pull request #34402 from backstage/freben/fix-stale-stitcher-ref
fix: remove stale stitcher reference from catalog test
2026-05-26 16:59:45 +02:00
Fredrik Adelöw d89a955769 fix: remove stale stitcher reference from catalog test
The stitcher parameter was removed from DefaultEntitiesCatalog's
constructor by the stitching refactor, but two tests added by the
query split PR still referenced it.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2026-05-26 16:23:13 +02:00
Fredrik Adelöw 20c6a2674c Merge pull request #34401 from backstage/dybeck/create-k8s-missing-changeset
chore(kubernetes-backend): create missing changeset
2026-05-26 16:02:15 +02:00
Rickard Dybeck c4f935b805 chore(kubernetes-backend): create missing changeset
create missing changeset for #34344

Signed-off-by: Rickard Dybeck <dybeck@spotify.com>
2026-05-26 09:59:18 -04:00
Charles de Dreuille d80062d18e docs(eslint-plugin): add docs page for no-deprecated-bui-tokens rule
Adds the missing documentation page at the URL referenced in the rule
meta, consistent with all other rules in the plugin. Includes incorrect/
correct code examples and a migration table mapping each deprecated token
to its semantic replacement.

Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-05-26 15:49:06 +02:00
Charles de Dreuille ad1936ee31 Update spotify.css
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-05-26 15:46:51 +02:00
Charles de Dreuille ae87db249a test(eslint-plugin): add RuleTester tests for no-deprecated-bui-tokens
Covers plain string literals, template literals, multiple tokens in one
string, non-deprecated --bui-* tokens (valid cases), and JSX inline
style attribute usage.

Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-05-26 15:46:15 +02:00
Charles de Dreuille d38977c7b4 feat(ui): introduce semantic color token families and deprecate legacy tokens
Redesigns the BUI color token system in `@backstage/ui`:

- Adds a gray scale (`--bui-gray-1` through `--bui-gray-11`)
- Adds new foreground tokens with explicit hex values (primary, secondary, disabled, positive, negative, warning, announcement)
- Introduces five new semantic color families — Accent, Announcement, Warning, Negative, Positive — each with bg-base, bg-subdued, border, fg-on-base, and fg-on-subdued variants, for both light and dark themes
- Moves all legacy tokens (`--bui-bg-solid-*`, `--bui-bg-neutral-*`, `--bui-bg-danger/warning/success/info`, `--bui-fg-solid`, `--bui-fg-danger/success/info`, `--bui-border-*`, `--bui-shadow`) into a clearly marked `/* Deprecated tokens */` section in both light and dark themes
- Updates the Spotify theme overrides to use the new accent tokens and mark legacy overrides as deprecated
- Rewrites the `Colors` Storybook story to display all token families as a live, theme-aware reference grid
- Adds a new `@backstage/no-deprecated-bui-tokens` ESLint rule to `@backstage/eslint-plugin` that warns when any deprecated BUI token is referenced in JS/TS string literals; the rule is included in the `recommended` config so it applies to all plugin authors automatically

Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-05-26 15:08:53 +02:00
Fredrik Adelöw e223e89103 Merge pull request #34291 from backstage/freben/split-count-frontend
catalog-react: split entity list and count into parallel requests
2026-05-26 14:48:06 +02:00
Fredrik Adelöw 40e3e0e24d Merge pull request #34214 from backstage/freben/queryentities-total-items
catalog-backend: split queryEntities list + count, add totalItems mode
2026-05-26 14:47:46 +02:00
Fredrik Adelöw af8b07e602 Merge pull request #34339 from backstage/freben/stitch-queue-no-overlap
fix(catalog-backend): prevent overlapping stitches for the same entity
2026-05-26 14:46:59 +02:00
Fredrik Adelöw 877f528cfd Merge pull request #34315 from backstage/freben/search-extended-statistics
Add extended statistics on search(key, value) for query planner accuracy
2026-05-26 14:46:50 +02:00
Fredrik Adelöw f1918e1b64 Merge pull request #34193 from backstage/freben/remove-immediate-stitching
catalog-backend: remove immediate mode stitching
2026-05-26 14:46:15 +02:00
Fredrik Adelöw 0f5286f23c Merge pull request #34393 from backstage/freben/protojs
try to remove protojs pins
2026-05-26 14:46:01 +02:00
Fredrik Adelöw eca61bc02e fix(cli): narrow protobufjs warning suppression to specific message
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2026-05-26 12:04:56 +02:00
Fredrik Adelöw a1971eace8 chore: add changeset for protobufjs warning suppression
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2026-05-26 11:42:53 +02:00
Fredrik Adelöw c069132a86 fix(cli): suppress protobufjs/inquire dynamic require warning in bundler
Since protobufjs 7.5.9, the @protobufjs/inquire utility is no longer
called with dynamic module names (replaced by bundler-safe lookups in
protobufjs/protobuf.js#2254). However, webpack/rspack still statically
analyzes the inquire source and emits a "Critical dependency" warning
for its require(moduleName) pattern. This is a false positive — the
code path is dead in practice.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2026-05-26 11:23:14 +02:00
Ben Lambert df6fc9d2cf Merge pull request #34394 from backstage/benjdlambert/disable-experimental-public-entrypoint
Add config to disable experimental public entry point
2026-05-26 11:12:20 +02:00
benjdlambert 63eba7b8d4 Fix test assertion: use exact status and correct header property
Signed-off-by: benjdlambert <ben@blam.sh>
2026-05-26 10:55:41 +02:00
benjdlambert f2d71d1d48 Add tests for public entry point and rename config to disablePublicEntryPoint
Signed-off-by: benjdlambert <ben@blam.sh>
2026-05-26 10:43:45 +02:00
benjdlambert ca450bec54 Add config to disable experimental public entry point
Signed-off-by: benjdlambert <ben@blam.sh>
2026-05-26 10:33:37 +02:00
Fredrik Adelöw b15f74b62f try to remove protojs pins
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2026-05-26 10:29:17 +02:00
backstage-goalie[bot] acf1945a83 Merge pull request #34386 from backstage/renovate/express-session-1.x-lockfile
chore(deps): update dependency @types/express-session to v1.19.0
2026-05-25 23:06:03 +00:00
backstage-goalie[bot] ace2133ba8 Merge pull request #34385 from backstage/renovate/stoplight-spectral-core-1.x-lockfile
chore(deps): update dependency @stoplight/spectral-core to v1.23.0
2026-05-25 23:05:58 +00:00
renovate[bot] 0b0daddbcf chore(deps): update dependency @types/express-session to v1.19.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-25 22:22:51 +00:00
renovate[bot] 3760bc74cb chore(deps): update dependency @stoplight/spectral-core to v1.23.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-25 22:21:55 +00:00
backstage-goalie[bot] 681d69af77 Merge pull request #34384 from backstage/renovate/slack-web-api-7.x-lockfile
chore(deps): update dependency @slack/web-api to v7.16.0
2026-05-25 22:14:36 +00:00
renovate[bot] c3468bea84 chore(deps): update dependency @slack/web-api to v7.16.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-25 21:24:48 +00:00
backstage-goalie[bot] 962a55101d Merge pull request #34382 from backstage/renovate/playwright-monorepo
chore(deps): update dependency @playwright/test to v1.60.0
2026-05-25 21:18:00 +00:00
backstage-goalie[bot] d0608e41b9 Merge pull request #34381 from backstage/renovate/openapitools-openapi-generator-cli-2.x-lockfile
chore(deps): update dependency @openapitools/openapi-generator-cli to v2.34.0
2026-05-25 21:17:56 +00:00
backstage-goalie[bot] 58492d2ba2 Merge pull request #34380 from backstage/renovate/octokit-monorepo
chore(deps): update dependency @octokit/plugin-retry to v6.1.0
2026-05-25 21:17:51 +00:00
backstage-goalie[bot] 6617d58cc6 Merge pull request #34379 from backstage/renovate/google-cloud-cloud-sql-connector-1.x-lockfile
chore(deps): update dependency @google-cloud/cloud-sql-connector to v1.11.0
2026-05-25 21:17:46 +00:00
Andre Wanlin 850f7c2ce5 Merge pull request #33359 from awanlin/topic/typos-cli
Added `typos` to CI and fixed all findings
2026-05-25 15:23:38 -05:00
renovate[bot] 049513feb2 chore(deps): update dependency @playwright/test to v1.60.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-25 20:06:00 +00:00
renovate[bot] d302760085 chore(deps): update dependency @openapitools/openapi-generator-cli to v2.34.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-25 20:05:16 +00:00
renovate[bot] 2358c8a045 chore(deps): update dependency @octokit/plugin-retry to v6.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-25 19:56:02 +00:00
renovate[bot] 601373e276 chore(deps): update dependency @google-cloud/cloud-sql-connector to v1.11.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-25 19:55:12 +00:00
backstage-goalie[bot] 41fcbefa13 Merge pull request #34377 from backstage/renovate/changesets-cli-2.x-lockfile
chore(deps): update dependency @changesets/cli to v2.31.0
2026-05-25 19:44:27 +00:00
renovate[bot] 6fd7809094 chore(deps): update dependency @changesets/cli to v2.31.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-25 18:41:24 +00:00
backstage-goalie[bot] 10c6e40366 Merge pull request #34375 from backstage/renovate/aws-sdk-js-v3-monorepo
chore(deps): update aws-sdk-js-v3 monorepo
2026-05-25 18:29:02 +00:00
renovate[bot] d5a0f0a8db chore(deps): update aws-sdk-js-v3 monorepo
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-25 17:22:25 +00:00