Commit Graph

17537 Commits

Author SHA1 Message Date
Carl-Erik Bergström ad285f36e7 Update plugins/org/src/components/Cards/OwnershipCard/useGetEntities.ts
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Carl-Erik Bergström <calle.bergstrom@live.se>
2023-08-22 10:36:57 +02:00
Carl-Erik Bergström 22ce4f86b5 Update plugins/org/src/components/Cards/OwnershipCard/useGetEntities.ts
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Carl-Erik Bergström <calle.bergstrom@live.se>
2023-08-22 10:29:48 +02:00
Carl-Erik Bergström 8c1ca06e1f chore: remove unnecessary destructuring
Signed-off-by: Carl-Erik Bergström <cbergstrom@spotify.com>
2023-08-22 10:07:23 +02:00
Carl-Erik Bergström 18f40d62e6 chore: clarify entity aggregation type
Signed-off-by: Carl-Erik Bergström <cbergstrom@spotify.com>
2023-08-21 17:09:24 +02:00
Carl-Erik Bergström 4bd4a134a0 refactor(org): batch fetch child group entities
Signed-off-by: Carl-Erik Bergström <cbergstrom@spotify.com>

chore: add types to OwnershipCard

Signed-off-by: Carl-Erik Bergström <cbergstrom@spotify.com>
2023-08-21 10:23:05 +02:00
Carl-Erik Bergström 5a1ae618c0 chore(org): clarify hook test assertion
Signed-off-by: Carl-Erik Bergström <cbergstrom@spotify.com>
2023-08-18 09:08:40 +02:00
Carl-Erik Bergström b9827143b0 chore(org): update api-report
Signed-off-by: Carl-Erik Bergström <cbergstrom@spotify.com>
2023-08-18 09:08:40 +02:00
Carl-Erik Bergström 2b01aa144e chore(org): improve precision of OwnershipCard link tests
Signed-off-by: Carl-Erik Bergström <cbergstrom@spotify.com>
2023-08-18 09:08:40 +02:00
Carl-Erik Bergström cfa3982bc4 add tests for useGetEntities hook
Signed-off-by: Carl-Erik Bergström <cbergstrom@spotify.com>
2023-08-18 09:08:40 +02:00
Carl-Erik Bergström e49c742907 refactor(org): recursively fetch child group entities
Signed-off-by: Carl-Erik Bergström <cbergstrom@spotify.com>
2023-08-18 09:08:40 +02:00
Carl-Erik Bergström 43a2137bb8 fix(org): improve relationship entity toggle
Signed-off-by: Carl-Erik Bergström <cbergstrom@spotify.com>
2023-08-18 09:08:36 +02:00
Patrik Oldsberg fb57a4694f scaffolder-backend: fixed alpha module plugin and module ID
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-08-17 17:44:43 +02:00
Ben Lambert 3b5eb94a4f Merge pull request #19416 from adamdmharvey/adamdmharvey/entity-feedback
chore(entity-feedback): Improve backend logging if posts fail
2023-08-17 15:10:02 +02:00
Brian Fletcher 044b4f2fb1 deduplicate search results from azure
Signed-off-by: Brian Fletcher <brian@roadie.io>
2023-08-17 11:29:59 +01:00
Adam Harvey 6093d001cf chore: Clarify identity requirement
Signed-off-by: Adam Harvey <aharvey00@gmail.com>
2023-08-16 12:32:38 -04:00
Adam Harvey 4e0e9b2a48 chore: Clarify identify requirement
Signed-off-by: Adam Harvey <aharvey00@gmail.com>
2023-08-16 12:29:51 -04:00
Adam Harvey 42bde12f04 chore: Add backend logging if posts fail
Signed-off-by: Adam Harvey <aharvey00@gmail.com>
2023-08-16 12:21:24 -04:00
Fredrik Adelöw 39173a12f2 Merge pull request #19352 from backstage/renovate/pluralize-0.x
chore(deps): update dependency @types/pluralize to ^0.0.30
2023-08-16 10:42:15 +02:00
Fredrik Adelöw 6a2b28bc15 Merge pull request #18383 from mattray/opencost
New OpenCost plugin
2023-08-16 10:34:56 +02:00
Fredrik Adelöw 5f06e9f1da fix api-report
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-08-16 09:49:03 +02:00
Patrik Oldsberg aea5216aeb Merge pull request #19280 from backstage/rugvip/auth-migration
auth-backend: migrate to new backend system + new authenticators pattern
2023-08-16 09:47:52 +02:00
Neal Ormsbee ef6eeff534 Change opencost plugin to use @date-io/luxon instead of @date-io/date-fns
Signed-off-by: Neal Ormsbee <neal.ormsbee@gmail.com>
2023-08-16 09:24:20 +02:00
Matt Ray ff83a7f394 Test was provided by the generated scaffolding, unused.
Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:24:20 +02:00
Matt Ray 223972a153 Rename .js files to .jsx since they're actually JSX
This makes `yarn backstage-cli repo build` happier

Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:24:20 +02:00
Matt Ray dcd3a280d5 yarn tsc cleanups
OpenCostPage.tsx TS6133: 'ContentHeader' is declared but its value is never read.
OpenCostReport.tsx TS6133: 'forEach' is declared but its value is never read.
                   TS7006: added @ts-ignore
util.js TS2322: Type 'string | null' is not assignable to type 'string'.

Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:24:20 +02:00
Matt Ray 6961967fb4 Updates based off of @freben's code review
* Reduced changeset to `minor`
* Fixed indentation and quoting in README
* yarn.lock update for rebased versions
* ran `prettier` against all .js and .ts files and fixed errors

Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:24:17 +02:00
Matt Ray b9f668fde6 Added config file support and updated images
Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:23:58 +02:00
Matt Ray 08925803ce Disabling eslint tests because don't want to change the working code
Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:23:58 +02:00
Matt Ray 6699181127 Disable eslinting for now plus auto-formatting changes
// eslint-disable-next-line @typescript-eslint/no-use-before-define
// eslint-disable-next-line react-hooks/exhaustive-deps

Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:23:58 +02:00
Matt Ray 83a103e2f6 Disable eslint issue with "error React Hook useEffect has a missing dependency: 'fetchData'. Either include it or remove the dependency array react-hooks/exhaustive-deps"
Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:23:58 +02:00
Matt Ray 3e19e82a1d Turn off eslint "error 'agg' is already declared in the upper scope on line 28 column 10 @typescript-eslint/no-shadow"
Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:23:58 +02:00
Matt Ray e4fc8df2ca Disable eslint "warning <p> is forbidden, use MUI <Typography> instead react/forbid-elements"
Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:23:58 +02:00
Matt Ray cd7d4e4f27 Fix for "86:5 error Arrow function expected no return value consistent-return"
Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:23:58 +02:00
Matt Ray 44ac248dd8 Fix for "79:34 error 'currency' is already declared in the upper scope on line 41 column 20 @typescript-eslint/no-shadow"
Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:23:58 +02:00
Matt Ray 09ab43fcef Fixes for eslint "guard-for-in"
Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:23:58 +02:00
Matt Ray 4d0d3e3207 eslint --fix automatic fixes and corrections to make eslint happier
Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:23:57 +02:00
Matt Ray 5511693aa0 Updated copyright headers to make Backstage check happy
Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:23:57 +02:00
Matt Ray 79aad75ce7 Updates from Backstage linting
Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:23:57 +02:00
Matt Ray 568875edec Document installation and configuration
Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:23:57 +02:00
Matt Ray 59dc379e35 Working OpenCost Backstage plugin.
Needs cleanup to make the git commit hooks happy

Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:23:57 +02:00
Matt Ray 6b3ea5fbf5 Renamed to OpenCost*
Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:23:57 +02:00
Matt Ray 462b644d24 Initial OpenCost plugin with light changes from yarn new --select plugin
Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:23:57 +02:00
Fredrik Adelöw 93434fa453 Merge pull request #19379 from tperehinets/scaffolder-action-examples
Added description for publish:github and publish:gitlab scaffolder actions.
2023-08-16 09:20:30 +02:00
github-actions[bot] aaf5cb2ca1 Version Packages 2023-08-15 17:12:48 +00:00
Patrik Oldsberg 749d3c8c36 changesets: fix invalid package name
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-08-15 18:59:04 +02:00
Patrik Oldsberg 738e4df65d catalog-backend-module-incremental-ingestion: fix module test
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-08-15 17:47:12 +02:00
Vincenzo Scamporlino f66d490332 backend-test-utils: remove services from startTestBackend
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2023-08-15 17:47:12 +02:00
Vincenzo Scamporlino d1546d5c5b catalog-backend-module-incremental-ingestion: adapt to new createBackend api
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2023-08-15 17:47:12 +02:00
Patrik Oldsberg 916886098a Merge pull request #19372 from backstage/rugvip/noptions
backend-plugin-api: remove plugin and module options
2023-08-15 17:40:41 +02:00
Patrik Oldsberg 2931c399f6 Update plugins/search-backend-module-techdocs/config.d.ts
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-08-15 16:42:14 +02:00