Commit Graph

125 Commits

Author SHA1 Message Date
Frank Kong 4cf1f437e5 test(lighthouse): update lighthouse test files
Signed-off-by: Frank Kong <frkong@redhat.com>
2023-06-23 11:56:37 -04:00
Frank Kong cb200dbb80 feat(lighthouse): add more verbose components for "no audits found" case
Signed-off-by: Frank Kong <frkong@redhat.com>
2023-06-22 15:23:41 -04:00
blam 018553e29f chore: remove cross-fetch dep from plugins
Signed-off-by: blam <ben@blam.sh>
2023-06-13 16:25:53 +02:00
Fredrik Adelöw 489a791748 Merge pull request #16286 from JanCVanB/update_yarn_add_cwd_docs
Update docs to always use `yarn add --cwd` for app & backend
2023-02-14 12:15:20 +01:00
Fredrik Adelöw 4bdd6bcb3c Prefer Link over plain anchors
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-02-14 10:21:48 +01:00
Jan Van Bruggen c51efce2a0 Update docs to always use yarn add --cwd for app & backend
Some commands currently error, and others are simply formatted inconsistently.
This format seems to work and be the most popular/common,
so I applied it to all similar occurrences.

Signed-off-by: Jan Van Bruggen <JanVB@verily.com>
2023-02-13 09:40:20 -07:00
Dominik Pfaffenbauer eef62546ce Introduce Lighthouse Backend with Scheduling of Audits
Signed-off-by: Dominik Pfaffenbauer <dominik@pfaffenbauer.at>
2023-01-19 08:59:01 +01:00
Carlos Esteban Lopez 1daac71e74 fix: Apply linter <span> rule
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2023-01-10 16:07:40 -05:00
Fredrik Adelöw 2667123374 Merge pull request #15234 from CSalih/fix-lighthouse-links
Fix lighthouse navigate to a wrong URL
2023-01-05 14:11:57 +01:00
Patrik Oldsberg 0f50c7c754 refactor tests to use renderInTestApp
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-12-31 19:14:29 +01:00
Salih Candir 1c0fcca4b8 refactor: use route ref instead of relative paths
Using `useRouteRef` allows us to make the component testable, with a relative path we cannot use `mountedRoutes` within `wrapInTestApp`

Signed-off-by: Salih Candir <salih@live.at>
2022-12-23 17:24:38 +01:00
Salih Candir 1bb2630563 fix: use right url path
Signed-off-by: Salih Candir <salih.candir@styleflasher.at>
Signed-off-by: Salih Candir <salih@live.at>
2022-12-23 17:24:38 +01:00
Salih Candir ef795700d6 fix: use '../' instead of '../../' for relative paths
With `../../audit/<id>` we navigate from `/<base-url>/audit/<id>` to `/audit/<id>` but this is wrong because the base path is missing. Therefore we use `../audit/<id>` and this will navigate to the right url with respect to the base path.

Signed-off-by: Salih Candir <salih@live.at>
2022-12-23 17:24:37 +01:00
Gabrielle Langer 226099ad03 fix(plugin-lighthouse): incorporate feedback and add unit tests
Signed-off-by: Gabrielle Langer <gabrielle.langer.ext@corp.ovh.com>
2022-12-14 18:10:04 +01:00
Gabrielle Langer e3dfef3f63 fix(plugin-lighthouse): fix form factor field in the audit creation form not working with the latest version of lighthouse-audit-service
Signed-off-by: Gabrielle Langer <gabrielle.langer.ext@corp.ovh.com>
2022-12-14 15:51:31 +01:00
Fredrik Adelöw 3bd6cc7c55 some more progress toward ubiquitous eslint-plugin-testing-library
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-11-23 09:28:37 +01:00
Fredrik Adelöw cb716004ef add some eslint rules for testing-library use in tests
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-11-18 11:29:20 +01:00
Fredrik Adelöw f6be17460d well, let's clean up some more
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-08-18 15:45:15 +02:00
Patrik Oldsberg 2262fe19c9 removed deprecated entity props
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-18 13:54:33 +01:00
Patrik Oldsberg 4ce51ab0f1 use precise imports of react-use
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-12-30 12:53:16 +01:00
Fredrik Adelöw d0523cec56 Merge pull request #8156 from WarlenRodrigues/fixing_link_somponents_usage
Fixed Link components usage. Now, all links use the Backstage's Link c…
2021-12-21 08:10:15 +01:00
WarlenRodrigues 22bf2da934 Fied Link components usage. Now, all links use the Backstage's Link component
Signed-off-by: WarlenRodrigues <warlen.cesarrodrigues@gmail.com>
2021-12-20 19:18:04 +01:00
Colton Padden 345dcea560 release-2021-06-01 packages/core-plugin-api/src/apis/system/ApiRef.ts:27
Signed-off-by: Colton Padden <colton.padden@fastmail.com>
2021-12-17 15:04:34 -05:00
Patrik Oldsberg 8a96019a39 Merge branch 'master' into rugvip/test-port 2021-11-22 17:33:10 +01:00
Patrik Oldsberg 29ef695410 packages,plugins: migrate to using TestApiProvider and Registry
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-11-18 11:28:46 +01:00
blam 06065c6003 chore: fixed better namespacing for the routeRefs
Signed-off-by: blam <ben@blam.sh>
2021-11-17 20:43:14 +01:00
blam 7c55fae208 chore: code review comments and renaming some ids for routeRefs
Signed-off-by: blam <ben@blam.sh>
2021-11-17 20:34:46 +01:00
blam 1332a98a01 chore: fixing deprecation warnings for all the things that are in the monorepo
Signed-off-by: blam <ben@blam.sh>
2021-11-17 20:24:20 +01:00
Johan Haals f1e96dc5b1 chore/cli: Replace msw with setupRequestMockHandlers
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-10-26 10:54:47 +02:00
Eric Peterson 81a41ec249 Apply extension-names codemod to monorepo.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-10-04 19:29:43 +02:00
Oliver Sand 4d96985088 Merge pull request #7196 from SDA-SE/feat/update-material-lab
Upgrade `@material-ui/lab` to `4.0.0-alpha.57`
2021-09-16 12:29:41 +02:00
Patrik Oldsberg d0d78ebc7c Merge pull request #7181 from backstage/rugvip/descriptions
Add package descriptions + separate table for plugins in API reference
2021-09-15 17:25:27 +02:00
Oliver Sand 9f1362dcc1 Upgrade @material-ui/lab to 4.0.0-alpha.57
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-09-15 16:51:23 +02:00
Patrik Oldsberg 8142a8ecb2 packages,plugins: add package documentation
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-14 18:47:53 +02:00
Patrik Oldsberg 18826333a7 removed usages of EntityContext in tests and stories
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-11 15:04:22 +02:00
Fredrik Adelöw 923491eece run prettier formatting
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-08-09 11:54:38 +02:00
Pankaj Patil d56c390e8f Fix All Material UI Warnings
Signed-off-by: Pankaj Patil <pankaj.patil2099@hotmail.com>
2021-08-03 21:49:08 +05:30
Patrik Oldsberg 9258c54f87 Merge branch 'master' into rugvip/mod 2021-06-22 10:07:18 +02:00
Patrik Oldsberg d453c05dc3 apply core-imports codemod to all packages and plugins
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-19 15:33:08 +02:00
Fredrik Adelöw a88073c29a Update copyright headers
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-18 20:26:42 +02:00
Fredrik Adelöw b99ac3f6e1 Minor composability etc docs changes
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-05-02 22:13:05 +02:00
Patrik Oldsberg c614ede9a5 docs: update plugin installation docs
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-22 18:32:54 +02:00
erdoganoksuz b7a061077f prettier
Signed-off-by: erdoganoksuz <erdoganoksuz95@gmail.com>
2021-03-12 15:35:25 +03:00
erdoganoksuz 196d8ec327 prettier
Signed-off-by: erdoganoksuz <erdoganoksuz95@gmail.com>
2021-03-12 15:14:17 +03:00
erdoganoksuz 9ca0e40094 locale added all case conversion
Signed-off-by: erdoganoksuz <erdoganoksuz95@gmail.com>
2021-03-12 15:06:01 +03:00
Fredrik Adelöw 702b837b8b Remove all dot-folder imports everywhere
We aren't supposed to import from '.' or '../..' etc; point to the actual node being imported instead. I did allow e.g. '../../bigfolder' however. Going all the way to the individual file could be done too, but is a matter of taste perhaps.

Also ran Organize Imports on all the touched files :)

No changeset since there are no functional changes at all - only the imports changed

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-03-10 13:43:59 +01:00
Patrik Oldsberg 0e068db972 run prettier
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-03-07 23:37:48 +01:00
Tadashi Nemoto 86b0d852d9 Modify to latest by feedback 2021-03-02 11:10:20 +09:00
Tadashi Nemoto dbea11072f [Lighthouse plugin] Change setup wording of intro card to latest 2021-03-01 19:48:25 +09:00
Oliver Sand f4c2bcf54b Use a more strict type for variant of cards
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-02-17 11:41:53 +01:00