Commit Graph

17550 Commits

Author SHA1 Message Date
Brian Fletcher a3dc26fb40 fix tests
Signed-off-by: Brian Fletcher <brian@roadie.io>
2023-08-21 10:22:58 +01:00
Brian Fletcher 94f9650849 Imporve consistency of results from azure provider
The search feature does not produce consistent results across api
pages. This seems to be more likely if the pages are sorted by rank.

This changes the sort order, in order to make the pages a little bit
more consistent as the search index in azure changes.

Signed-off-by: Brian Fletcher <brian@roadie.io>
2023-08-21 10:11:40 +01:00
Fredrik Adelöw b3d14f8112 Merge pull request #19447 from ganhammar/feat/include-auth-token-in-code-coverage-plugin
Include auth token when fetching data in code coverage plugin
2023-08-18 16:09:56 +02:00
Patrik Oldsberg 882a68c844 Merge pull request #19453 from backstage/rugvip/auth-migration
auth-backend: add plugin export for new backend system
2023-08-18 15:43:19 +02:00
Patrik Oldsberg 6eec8c5cfe Merge pull request #19437 from backstage/rugvip/mock
backend-test-utils: add service mock helpers
2023-08-18 15:10:09 +02:00
Patrik Oldsberg 50f6051790 Merge pull request #19442 from backstage/rugvip/linguist-fix
linguist-backend: fix config value being required
2023-08-18 15:08:32 +02:00
Fredrik Adelöw 9dbb50b9fb Merge pull request #19407 from backstage/renovate/react-monorepo
Update react monorepo to v17.0.64
2023-08-18 15:07:38 +02:00
Anton Ganhammar a80f321353 chore: re-ask for the code-coverage url before fetching
Signed-off-by: Anton Ganhammar <ganhammar@gmail.com>
2023-08-18 15:07:14 +02:00
Patrik Oldsberg 7944d43f47 auth-backend: add plugin export for new backend system
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-08-18 15:06:41 +02:00
Fredrik Adelöw c86089f117 Merge pull request #19382 from tperehinets/has-kind-cards
Added title to props for Has<kind>Cards.
2023-08-18 14:27:33 +02:00
Fredrik Adelöw aed63d4df9 Merge pull request #18895 from fevrin/fevrin/fix-backstage-plugin-link
docs: fix a link to the frontend Backstage plugin
2023-08-18 14:05:37 +02:00
Fredrik Adelöw 482bb5c0bb move react to deps where needed
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-08-18 14:00:29 +02:00
Fredrik Adelöw 3f9d2b90bc api-reports
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-08-18 14:00:29 +02:00
Fredrik Adelöw 34f6a8cc28 Merge pull request #19438 from backstage/entity-switch-render-children-entity-not-found
EntitySwitch render children when entity is not found
2023-08-18 10:45:45 +02:00
Anton Ganhammar 850ca8eb10 fix: use fetchapi to automatically handle authentication
Signed-off-by: Anton Ganhammar <ganhammar@gmail.com>
2023-08-18 07:07:39 +02:00
Anton Ganhammar 79efb2be1d feat: include authorization token if set in code-coverage plugin
Signed-off-by: Anton Ganhammar <ganhammar@gmail.com>
2023-08-17 21:31:54 +02:00
Vincenzo Scamporlino 35bba616b7 catalog: EntitySwitch render children when entity is not found
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2023-08-17 19:03:46 +02:00
Patrik Oldsberg b2de501bda linguist-backend: fix config value being required
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-08-17 17:54:26 +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
Patrik Oldsberg 9df5afff8e refactor plugin tests to use mocks from mockServices
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-08-17 14:53:15 +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
tperehinets 0778a40940 Updated more documentation.
Signed-off-by: tperehinets <tetiana.perehinets@gmail.com>
2023-08-16 15:15:33 +03:00
tperehinets 986ff20cc8 Updated documentation
Signed-off-by: tperehinets <tetiana.perehinets@gmail.com>
2023-08-16 14:54:11 +03: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