Commit Graph

447 Commits

Author SHA1 Message Date
Fredrik Adelöw 538ca90790 catalog-client: clean up api exports
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-11 16:10:58 +01:00
blam 1026f12334 chore: fixing a totally different way and arguably a more simpler way.
Signed-off-by: blam <ben@blam.sh>
2022-02-08 14:36:20 +01:00
snehaljos 41402f98a8 Fixed bug in UI | Fix for issue #9157
Signed-off-by: snehaljos <joyalsnehal3421@gmail.com>
2022-02-07 19:21:00 +05:30
Ben Lambert 653e98bbe5 Merge pull request #9359 from RoadieHQ/loading-progress-on-task-page
adds progress bar to the task page..
2022-02-07 14:33:14 +01:00
Brian Fletcher 8563695598 move the progress bar inside the log viewer
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-02-04 15:08:46 +00:00
Brian Fletcher 9f19529e48 adds progress bar to the task page..
.. if the task is still loading

Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-02-04 12:03:02 +00:00
Brian Fletcher 6b07ea436c Merge branch 'master' of github.com:backstage/backstage into holding 2022-02-03 14:07:15 +00:00
Ben Lambert c209fe277e Merge pull request #9168 from backstage/blam/scaffodler-secrets-frontend 2022-02-03 10:23:05 +01:00
Brian Fletcher 17182f82ae remove undefined option for optional param
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-02-02 15:50:11 +00:00
Brian Fletcher d0a3bdb263 also export task page props and document
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-02-01 23:00:21 +00:00
Brian Fletcher 5f32f20a34 fixes the comonent types
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-02-01 22:44:44 +00:00
Brian Fletcher 410ce6ed2a Allow providing a TaskPageComponent
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-02-01 14:36:09 +00:00
Joon Park ba59832aed Integrate catalog-import with permissions
Signed-off-by: Joon Park <joonp@spotify.com>
2022-02-01 12:34:25 +00:00
blam ac23003f62 chore: encode some values too
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
blam 37a3fc75c0 chore: more code review fixes
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
blam c345946703 chore: added a test to check the secrets context is being updated with the secrets returned from the scmAuthApi
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
blam b61c340676 chore: generated API reports
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
blam 7d740b86c9 chore: added a todo for test
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
blam 2ae059d35a feat: testing the RepoUrlPicker component with SecretsContexts
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
blam 3e96fa47d0 chore: need to convert these to empty strings as they are controlled input values and material ui throws some errors in the frontend unless we have them
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
blam 5521945cc7 feat: added some more behaviour to the HostPicker as noticed that when no hosts are supplied it breaks currently
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
blam 6708dbfffe feat: added grabbing the token from the form with a debounce to not happen on every key press
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
blam 288ad92b64 feat: reworking the secret types for the context.
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
blam 6d9f426eab feat: added a SecretsContext for storing the secrets in the frontend and being able to add secrets to the context using a hooks
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
Brian Fletcher 319f4b79a2 allow providing holding text for scaffolder loading
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-01-31 15:54:58 +00:00
Bret Hubbard ba1d635ebb software-templates: configure links in markdown to open in new tab
Signed-off-by: Bret Hubbard <hubbard.bret@gmail.com>
2022-01-24 14:53:26 -07:00
Fredrik Adelöw 6bf7826258 add and use MockFetchApi
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-20 10:25:20 +01:00
Fredrik Adelöw aecfe4f403 same for the scaffolder
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-20 10:23:39 +01:00
blam 7e76e7dc12 chore: adjusting the types a little bit and regenerating api-docs
Signed-off-by: blam <ben@blam.sh>
2022-01-20 09:02:46 +01:00
blam 783c435e46 api-docs: regenerate reports for scaffolder and changes
Signed-off-by: blam <ben@blam.sh>
2022-01-19 18:38:10 +01:00
blam 8100abfde2 feat: adding the option to pass secrets from the frontend from the ScaffolderApiClient
Signed-off-by: blam <ben@blam.sh>
2022-01-19 16:43:12 +01:00
Patrik Oldsberg a57bee1a02 Merge pull request #8982 from backstage/rugvip/tsbump
Upgrade TypeScript to 4.5 and decouple versioning
2022-01-18 14:01:32 +01:00
Ben Lambert 65752caad7 Merge pull request #8576 from backstage/blam/refactor-repo-url
chore: Refactoring the `RepoUrlPicker`
2022-01-18 10:41:44 +01:00
Patrik Oldsberg 0988dc5238 switch out react-use imports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-18 10:11:29 +01:00
blam c56c70cf7b chore: fixing up code review comments for the RepoUrlPicker
Signed-off-by: blam <ben@blam.sh>
2022-01-18 08:16:51 +01:00
blam 33e2553ccc chore: added tests for the rest of the broken out components. Now I think we're ready to go...
Signed-off-by: blam <ben@blam.sh>
2022-01-14 06:50:47 +01:00
Patrik Oldsberg 51fbedc445 plugins: migrate usage of deprecated IdentityApi methods
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-13 19:51:30 +01:00
blam 1b026578f0 chore: export some missing bits for the api-report.md
Signed-off-by: blam <ben@blam.sh>
2022-01-13 17:41:14 +01:00
blam 7fb125ac07 chore: simplify the contract between the different provider pickers
Signed-off-by: blam <ben@blam.sh>
2022-01-13 17:37:03 +01:00
blam 142d65b1d7 chore: reworking tests and fixing up some of the types for the repo pickers
Signed-off-by: blam <ben@blam.sh>
2022-01-13 14:43:42 +01:00
blam 5688027163 chore: fix tests for GithubRepoPicker
Signed-off-by: blam <ben@blam.sh>
2022-01-12 14:12:22 +01:00
blam fbef4663f7 chore: starting to add some tests for the GithubRepoUrlPicker
Signed-off-by: blam <ben@blam.sh>
2022-01-12 13:30:57 +01:00
blam abdfe612c0 chore: updating the api-report
Signed-off-by: blam <ben@blam.sh>
2022-01-12 13:30:57 +01:00
blam be5fc422f7 chore: reworking some more stuff in the code review, better naming
Signed-off-by: blam <ben@blam.sh>
2022-01-12 13:30:57 +01:00
blam 9f4c552157 chore: some code review comments
Signed-off-by: blam <ben@blam.sh>
2022-01-12 13:30:57 +01:00
blam 66be3c5fd4 chore: added tests for util files
Signed-off-by: blam <ben@blam.sh>
2022-01-12 13:30:57 +01:00
blam 381184c438 chore: change the import to of react-use things to use explicit import
Signed-off-by: blam <ben@blam.sh>
2022-01-12 13:30:57 +01:00
blam dd17fa9e31 chore: updating the api-report with the new type
Signed-off-by: blam <ben@blam.sh>
2022-01-12 13:30:57 +01:00
blam 269f4dd307 chore: added some tests for the hosts dropdown
Signed-off-by: blam <ben@blam.sh>
2022-01-12 13:30:57 +01:00
blam a9412268a9 chore: think i've finished the refactor of this bloody component now
Signed-off-by: blam <ben@blam.sh>
2022-01-12 13:30:57 +01:00