Commit Graph

12162 Commits

Author SHA1 Message Date
Camila Belo eb4f52723b refactor: rename extension error boundary fallback prop
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2023-12-05 11:48:31 +01:00
Camila Belo 6e046cb507 Merge pull request #21652 from backstage/camilaibs/app-components-followups
[DI] App components migration follow-up refactors
2023-12-05 11:28:50 +01:00
Fredrik Adelöw 0937c30469 Merge pull request #21687 from backstage/philipph/mui5-dark-paper
Fix MuiPaper background color in v5 default dark mode
2023-12-05 11:19:52 +01:00
Fredrik Adelöw cf5cc4c8a0 core-compat-api: recursive collectLecacyRoutes
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-12-05 11:04:32 +01:00
Patrik Oldsberg c8d0f96fd8 Merge pull request #21569 from backstage/rugvip/frontend-translations
frontend-plugin-api: re-export translation API and add createTranslationExtension
2023-12-05 10:39:33 +01:00
Patrik Oldsberg 4cd3981f01 Merge pull request #21592 from backstage/rugvip/compat-wrapper
core-compat-api: introduce compatWrapper
2023-12-05 10:34:18 +01:00
Mitchell Hentges 6bad140c57 Merge pull request #21691 from backstage/mhentges/transform-func-path
Add "path" to `TransformFunc` context
2023-12-04 13:45:04 +01:00
Fredrik Adelöw a8b6e2ed5a Merge pull request #21719 from backstage/catalog-client-double-encoding
fix(catalog-client): stop double encoding query params
2023-12-04 12:32:05 +01:00
Kurt King 24eec9f5d5 refactor: put links after members and ownership
Signed-off-by: Kurt King <kurtaking@gmail.com>
2023-12-03 12:23:56 -07:00
Kurt King a96c2d47f8 feat: display links card for groups by default
Signed-off-by: Kurt King <kurtaking@gmail.com>
2023-12-02 21:08:48 -07:00
Aramis Sennyey 634f62065f use URLSearchParams instead of string comps
Signed-off-by: Aramis Sennyey <aramiss@spotify.com>
2023-12-02 14:48:59 -05:00
Aramis Sennyey bd882e443e quick syntax thing
Signed-off-by: Aramis Sennyey <aramiss@spotify.com>
2023-12-02 14:29:21 -05:00
Aramis Sennyey b24742ad9f add more checks in the tests for both URL encoding and decoding
Signed-off-by: Aramis Sennyey <aramiss@spotify.com>
2023-12-02 14:27:52 -05:00
Aramis Sennyey e7c59fcbae Fix URI encoding for other parameters as well and adjust tests.
Signed-off-by: Aramis Sennyey <aramiss@spotify.com>
2023-12-02 14:21:17 -05:00
Aramis Sennyey f3e44b73e0 make the test case a little smaller
Signed-off-by: Aramis Sennyey <aramiss@spotify.com>
2023-12-02 14:00:31 -05:00
Aramis Sennyey 621afaab10 add a new test for url unsafe values
Signed-off-by: Aramis Sennyey <aramiss@spotify.com>
2023-12-02 13:56:58 -05:00
Aramis Sennyey 3a9fbdbcd6 fix: update the catalog client to prevent double encoding of filter query params
Signed-off-by: Aramis Sennyey <aramiss@spotify.com>
2023-12-02 13:56:58 -05:00
Camila Belo dde40de392 refactor: apply review suggestions
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2023-12-02 11:41:03 +01:00
Fredrik Adelöw 1d26067dd3 Merge pull request #21694 from backstage/fix-bugs-in-init
fix: don't use commas for jest test files
2023-12-02 07:08:17 +01:00
Taras Mankovski f909e9de40 Includes templates in @backstage/repo-tools package and use them in the CLI
Signed-off-by: Taras Mankovski <taras@frontside.com>
2023-12-01 14:38:57 -05:00
Aramis Sennyey f49e2372d0 fix: don't use commas for jest test files
Signed-off-by: Aramis Sennyey <aramiss@spotify.com>
2023-12-01 14:01:52 -05:00
Mitchell Hentges 24f5a8567d Add "path" to TransformFunc context
We have a use case where the transform we're applying to a value _depends_ on where
that value sits in the object tree.

`filterPath` seemed better to expose that `visibilityPath` because:
* JQ-style paths with `.` as separate are more common, and are supported by
  `lodash`'s `get()` function.
* For array items, `visibilityPath` doesn't include the array index

Signed-off-by: Mitchell Hentges <mhentges@spotify.com>
2023-12-01 16:18:29 +01:00
Philipp Hugenroth e91c19d006 Fix MuiPaper background color in v5 default dark mode
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2023-12-01 14:52:39 +01:00
Camila Belo de595c955c refactor: use progress component on extention error boundary
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2023-12-01 14:01:55 +01:00
Camila Belo e5b00a94e6 refactor: use unknown on component ref type
Co-authored-by: Philipp Hugenroth <philipph@spotify.com>
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2023-12-01 14:01:55 +01:00
Camila Belo 951decd2ef refactor: use new plugin type in error boundaries
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2023-12-01 14:01:55 +01:00
Camila Belo 08699d8873 refactor: remove legacy component compat helper
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2023-12-01 14:01:54 +01:00
Camila Belo 8b69319f29 refactor: do not use get T in component refs
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2023-12-01 14:01:54 +01:00
renovate[bot] bc67498b10 fix(deps): update dependency archiver to v6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-01 01:22:22 +00:00
Fredrik Adelöw 80cef89f2a Merge pull request #21585 from backstage/renovate/rollup-plugin-json-6.x
fix(deps): update dependency @rollup/plugin-json to v6
2023-11-30 21:46:51 +01:00
Fredrik Adelöw 9be0f8bb40 Merge pull request #21589 from backstage/renovate/stoplight-types-14.x
fix(deps): update dependency @stoplight/types to v14
2023-11-30 21:46:24 +01:00
Fredrik Adelöw 241b4d7617 Merge pull request #21624 from backstage/renovate/vite-plugin-node-polyfills-0.x
chore(deps): update dependency vite-plugin-node-polyfills to ^0.17.0
2023-11-30 21:45:21 +01:00
renovate[bot] c07cee52f3 fix(deps): update dependency @rollup/plugin-json to v6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-29 18:57:44 +00:00
Fredrik Adelöw 1b1cc61fcf Merge pull request #21580 from backstage/renovate/rollup-plugin-commonjs-25.x
fix(deps): update dependency @rollup/plugin-commonjs to v25
2023-11-29 19:46:49 +01:00
Fredrik Adelöw 50f19adf0d Merge pull request #21586 from backstage/renovate/rollup-plugin-node-resolve-15.x
fix(deps): update dependency @rollup/plugin-node-resolve to v15
2023-11-29 19:46:29 +01:00
Patrik Oldsberg efb7f7afa8 Merge pull request #21625 from davidfestal/fix-backend-plugin-manager-flaky-test
Attempt to fix a flaky test in the `backend-plugin-manager`
2023-11-29 12:19:49 +01:00
David Festal 40a9c59843 Attempt to fix a flaky test
in the `backend-plugin-manager`

Signed-off-by: David Festal <dfestal@redhat.com>
2023-11-29 12:07:11 +01:00
renovate[bot] a3edc180b9 chore(deps): update dependency vite-plugin-node-polyfills to ^0.17.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-29 10:25:25 +00:00
Patrik Oldsberg 2faf047072 Merge pull request #21604 from backstage/rugvip/kebab
switch all backend module IDs to use kebab-case
2023-11-29 10:54:41 +01:00
Patrik Oldsberg ea06590029 frontend-app-api: remove AppContext
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-11-29 10:43:59 +01:00
Patrik Oldsberg 822644285a core-compat-api: add initial compatWrapper
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-11-29 10:43:59 +01:00
Patrik Oldsberg d90d57e282 Merge pull request #21568 from backstage/rugvip/wrapping
frontend-plugin-api: wrap resolved extension inputs in an object
2023-11-29 09:56:21 +01:00
Patrik Oldsberg 73246ec065 frontend-plugin-api: re-export translation APIs
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-11-28 19:23:08 +01:00
Patrik Oldsberg aeb80085cc frontend-plugin-api: add createTranslationExtension
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-11-28 19:23:07 +01:00
Patrik Oldsberg 8f5d6c1fbf frontend-plugin-api: wrap resolved extension inputs in an object
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Co-authored-by: Vincenzo Scamporlino <vincenzos@spotify.com>
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Philipp Hugenroth <philipph@spotify.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-11-28 19:17:48 +01:00
Patrik Oldsberg 4285d5824f Merge pull request #21612 from davidfestal/use-default-exports-for-new-backend
`BackendPluginManager` use default exports
2023-11-28 19:13:40 +01:00
David Festal 6a18c333f3 BackendPluginManager use default exports
for dynamic plugins on the new backend system.

This allows making a plugin dynamic without any source code change
(which was previously required to add a dedicated entrypoint).

Signed-off-by: David Festal <dfestal@redhat.com>
2023-11-28 18:40:40 +01:00
Patrik Oldsberg 4fb69fdaf6 frontend-plugin-api: update ExtensionBoundary test + switch to extensionId
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-11-28 17:14:45 +01:00
Patrik Oldsberg a68ee8561f frontend-plugin-api: update createComponentExtension for new naming pattern
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-11-28 17:14:45 +01:00
Patrik Oldsberg 1b241c3901 frontend-plugin-api: use api ref ID as namespace + allow namespace override for plugins
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-11-28 16:24:51 +01:00