Commit Graph

129 Commits

Author SHA1 Message Date
Patrik Oldsberg 8d2089a432 scaffolder: include backstage identity token in requests 2021-02-10 17:19:15 +01:00
Debajyoti Halder bf0dc0bcf8 Merge branch 'master' of https://github.com/spotify/backstage into lintMod 2021-02-02 23:08:18 +05:30
Debajyoti Halder 39e7f4a81e Merge branch 'master' of https://github.com/spotify/backstage into lintMod 2021-02-02 17:02:33 +05:30
Debajyoti Halder 7717c46517 Fix variable names of conflicting types 2021-02-02 16:42:37 +05:30
Patrik Oldsberg 5c300a25a7 scaffolder: port to new composability API 2021-02-01 23:54:51 +01:00
Oliver Sand c677643afa Rename from @backstage/plugin-catalog-common-react to @backstage/plugin-catalog-react 2021-01-29 10:54:09 +01:00
Oliver Sand 019fe39a08 Createa @backstage/plugin-catalog-common-react package 2021-01-29 10:54:09 +01:00
Debajyoti Halder 6106345e6d Update project with latest eslint rules 2021-01-29 11:55:12 +05:30
blam a729aaa854 Merge branch 'master' of github.com:backstage/backstage into blam/move-scaffolder-to-integrations
* 'master' of github.com:backstage/backstage: (75 commits)
  backend-common: Move definition of etag property inside constructor
  docs: Fix url links in well known annotations
  bitbucket casing
  integration: take over the config
  More review comments
  Address some final review coments about cross-fetch and type-casting
  chore(deps): bump sucrase from 3.16.0 to 3.17.0
  chore(deps-dev): bump @types/webpack from 4.41.22 to 4.41.26
  core-api: remove deprecated registerRoute and deprecate addRoute
  Update README
  Support GHE
  app,create-app: switch to using FlatRoutes
  Make breaking 'minor' change'
  Add codefences to changeset
  Add changeset
  Remove InfoCard :height100" variant
  scripts/check-if-release: fix diff and tweak to handle new and removed packages
  Update with review comments
  docs: Run prettier on techdocs ci/cd tutorial
  remove adr status header
  ...
2021-01-20 16:22:58 +01:00
blam 13231e101b chore: fixing some PR comments 2021-01-20 12:47:17 +01:00
Fredrik Adelöw cc4df5eff4 chore: fullcreen -> fullscreen 2021-01-19 13:48:10 +01:00
Johan Haals 02e0db404e Make azure validation message more helpful
Co-authored-by: blam<ben@blam.sh>
2021-01-18 16:39:03 +01:00
Johan Haals 8ef84c67a3 Update storePath error and description
Co-authored-by: blam<ben@blam.sh>
2021-01-15 16:07:29 +01:00
Johan Haals 548dbf154e Fix prepare, e2e tested with GitHub 2021-01-15 14:34:21 +01:00
blam 2249b22e3e chore: added a validate function for storepath 2021-01-14 18:51:03 +01:00
blam d5fa852aa2 chore: more work to including the integrations config everywhere 2021-01-11 15:52:14 +01:00
blam 4925d4e768 chore: tidy up some smaller parts of the modal to align with the ADR 2021-01-05 16:50:54 +01:00
blam 595698414e chore: fixing code review comments. settled for a simpler button instead in an actions wrapper 2021-01-05 16:34:09 +01:00
blam 541a7aa2c8 Merge branch 'master' of github.com:backstage/backstage into feat/scaff-logs
* 'master' of github.com:backstage/backstage: (1292 commits)
  chore: Fixing prettier formatting
  Create six-experts-destroy.md
  Add config schema for Bitbucket scaffolder
  bug: use the legacy version of graphiql on master right now until we port to app routes
  Revert "build(deps): bump jose from 1.27.1 to 3.2.0"
  docs: show how to assign annotations to primitive array item types in config schema
  changesets: add cli build extension fix
  cli: use same extension for chunks as for the main built file
  Create swift-ears-fetch.md
  [ImgBot] Optimize images
  Add missing IncludeSecret type
  Update .changeset/friendly-numbers-accept.md
  Use bitbucket as location identifier instead of bitbucket/api
  Add documentation for config $include
  Use msw for mocking external Bitbucket apis
  Remove the dependency from the catalog plugin to techdocs
  Added changeset for config $include
  Add deprecation notice to $data
  Config: Add $include which replaces $data and can include any value
  chore: bump to the latest and hope that it works 🤞
  ...
2021-01-05 16:21:56 +01:00
Himanshu Mishra 2d0a45d094 fix(scaffolder): Instead of state setter, pass a callback as prop 2020-12-29 15:39:01 +01:00
Himanshu Mishra 8e083f41f3 fix(scaffolder): Allow user to retry creating a new software without refreshing the page
This is more of a bug fix than a new feature. The commit fixes 2 problems mainly.

1. When user clicks the close button on the JobStatusModal, it does not set the `modalOpen` state of its parent component. Thus, even after closing, JobStatusModal still persists in DOM, and modalOpen is still set to true. That is why, retrying by clicking on "Submit" again does not open the modal.

2. The useJobPolling hook does not consider starting the timer again when Job changes. Even if jobId changes, the logic to set `shouldBeRunningInterval` still uses a previous value of `currentJob` since it was never reset since the timer stopped. Using a effect hook and having jobId as a dependency to reset currentJob is the way to fix this.
2020-12-29 00:24:27 +01:00
Marek Calus c0061218db Merge remote-tracking branch 'upstream/master' into mcalus3/add-catalog-import-plugin 2020-11-26 08:16:28 +01:00
blam 9cdf4413db chore(scaffolder): trying to fix the linting and tsc issues 2020-11-22 03:20:42 +01:00
blam b877f46fde chore(lint): fixing linting for hooks 2020-11-22 03:07:23 +01:00
blam f12a7cd906 chore(scaffolder): a little housekeeping and better error handling for the scaffolder frontend. 2020-11-22 02:52:00 +01:00
Marek Calus 5d4873e142 Merge remote-tracking branch 'upstream/master' into mcalus3/add-catalog-import-plugin 2020-11-20 18:16:01 +01:00
blam 11598f6324 chore: fixing up the test timeout 2020-11-20 14:37:09 +01:00
blam a7eca5e52e >Merge branch 'master' of github.com:backstage/backstage into ndudnik/fix-component-creation-modal
* 'master' of github.com:backstage/backstage: (888 commits)
  Feat: update Firebase logo
  register-component: Remove link to catalog item on validation popup (#3359)
  changeset
  fix icon configuration
  Update Governance
  Feat: Add Buildkite plugin, update plugin logotypes
  chore: fixing issue with resolutions for new versions of backstage
  Version Packages
  Add changeset
  Use the new catalogInfoUrl in TemplatePage
  Generate catatalog-info.yaml URL in the publishers
  Start using the extracted types
  Extract types
  fix(search): return EmptyState/Progress bar/Alert depending on result of api call (#3350)
  fix: runned prettier
  Replace broken icon for the api-docs plugin
  Feat: update Lighthouse plugin to use new MarkdownComponent (#3328)
  docs: Correct URL of techdocs-container
  fix: conditional getuid and getgid for Windows environment
  create-app: add app-backend plugin to template
  ...
2020-11-20 11:39:26 +01:00
Marek Calus 1b4a35f36e Merge branch 'master' into mcalus3/add-catalog-import-plugin 2020-11-19 15:03:56 +01:00
Mattias Frinnström a13a090de9 Use the new catalogInfoUrl in TemplatePage 2020-11-19 14:53:16 +01:00
Fredrik Adelöw 717e43de14 catalog-client: change entities interface, add fields support (#3296) 2020-11-18 19:58:36 +01:00
Marek Calus be2d7b3376 Change ragister-component to catalog-import 2020-11-12 09:08:49 +01:00
Patrik Oldsberg 64b0d9d7e0 Merge pull request #2881 from Marvin9/chore/use-catalog-api
chore: use catalog API to fetch entity in scaffolder-backend
2020-11-05 11:17:34 +01:00
Marvin9 7ce1d4950a chore: update UI 2020-11-02 22:13:07 +05:30
Marek Calus 2361177d4e Merge remote-tracking branch 'upstream/master' into mcalus3/add-catalog-import-plugin 2020-11-01 22:24:42 +01:00
Marek Calus d1e06392a1 Cleanup catalog-import plugin 2020-11-01 17:53:56 +01:00
Mayursinh Sarvaiya 1ae2a687f0 chore: better position for job stage loader (#3170) 2020-10-30 07:36:55 +01:00
Marvin9 cc59b3ff0c feat: scaffolder full screen logs 2020-10-30 10:42:05 +05:30
Marek Calus 29a3a074c6 Add import component button to the create page 2020-10-29 10:10:04 +01:00
Patrik Oldsberg 8b9c8196f1 catalog,register-component: always register locations using a 'url' type 2020-10-28 14:39:46 +01:00
Fredrik Adelöw 0b956f21b4 fix(catalog): change route pattern to entities (#3133) 2020-10-28 10:02:38 +01:00
Marvin9 83c2f107f9 fix: conflicts 2020-10-27 09:47:26 +05:30
blam 06f410cc93 Merge branch 'master' of github.com:spotify/backstage into migrate-to-msw
* 'master' of github.com:spotify/backstage: (34 commits)
  TechDocs Backend: Replace hardcoded github api by configuration value (#3004)
  fix: accordion details design for job stage failure  (#3014)
  fix: responsive of page example in storybook (#3005)
  fix: update the ItemCard component and it's story (#3007)
  rename stories folder to Chip (#3009)
  feat: Display the plugins InfoCards on EntityPage Overwiev suitable full height (#2826)
  fix(cost-insights): More exports to help custom alerting
  chore(scaffolder): bump rjsf
  remove unused CSS (#2999)
  feat: update github pull requests package version
  fix(github-actions): fix crash when viewing ongoing workflows
  fix(cli): removePlugin forgotten await
  catalog-backend: relations db review comments and more tests
  Feat/add aws lambda plugin (#2985)
  chore(deps): bump object-path from 0.11.4 to 0.11.5 (#2983)
  add changeset
  fix CodeSnippet test case warnings
  fix CopyTextButton test case warnings
  fix the warning by wrapping in act
  fix(catalog): fix link to techdocs
  ...
2020-10-21 11:27:18 +02:00
Abhishek Jakhar c5ef12926b fix: accordion details design for job stage failure (#3014)
* fix the design of accordion details on job stage failure

* add changeset
2020-10-21 11:02:33 +02:00
blam 101978963d Merge branch 'master' of github.com:spotify/backstage into migrate-to-msw
* 'master' of github.com:spotify/backstage: (139 commits)
  Cleanup
  Update PinButton.test.tsx
  feat: update github insights plugin version (#2973)
  Ignore IntelliJ *.iml files (#2971)
  chore(deps): bump rollup-plugin-dts from 1.4.11 to 1.4.13
  fix the plugin card on plugins page
  align 'Add to Marketplace' button on plugins page
  fix the PluginGrid on mobiles sizes
  use getBy query instead of queryBy when asserting for elements present in document (#2951)
  Update PinButton.tsx
  Add test case for Progress component (#2953)
  fix the styling of footer copy on mobile
  add changeset
  handle the case where no entities are available to show
  core-api: work around issue with ApiRef export const declarations
  core-api: move utility api system implementation into apis/system
  Update docs regarding npm config ignore-scripts flag
  Another try
  Fix Core Features configuration id (#2948)
  Fix test?
  ...
2020-10-19 23:57:40 +02:00
Patrik Oldsberg 5ff5b1325d Merge pull request #2739 from Marvin9/feat/flexible-theme-for-page
feat: theme customization for pages
2020-10-16 12:47:05 +02:00
Marvin9 8f0608a5ed chore: refactor 2020-10-15 09:16:39 +05:30
Marvin9 91e425fdab feat: Pass entity unique id to POST body of /v1/jobs instead of entire entity 2020-10-13 19:16:22 +05:30
blam e44cb85b22 Merge branch 'master' of github.com:spotify/backstage into migrate-to-msw
* 'master' of github.com:spotify/backstage: (66 commits)
  chore: fix lerna linting
  v0.1.1-alpha.25
  Add Code Insights plugin to sample app and marketplace (#2833)
  Improve main CI build status badge in README (#2866)
  Update roadmap: Design System 🚢 (#2858)
  github/codecov: switch to informational mode
  github/workflows: use the tip of master as the base for comparing PR code coverage
  make saml provider path from globalConfig (#2855)
  fix(catalog-backend): limit search value lengths
  Update project Copyright (#2852)
  fix(catalog-backend): actually use modified entity output (default namespace was broken)
  remove unnecessary center keyword
  Move card header bg to up contrast, fix #2558
  Update name of env authentication env vars
  Fix feedback from dtuite
  Remove chart testing workflow for now
  Only lint charts on Pull Requests
  Move the k8s deployment docs to its own helm deployment page
  Remove line in initdb script that creates backend db
  Use app-config.development.yaml to provide configuration instead of local
  ...
2020-10-13 03:56:13 +02:00
nikek 68497758fc remove unnecessary center keyword 2020-10-12 11:02:16 +02:00