Commit Graph

25321 Commits

Author SHA1 Message Date
Eric Peterson 6a96ba0eaa Using version-bridge for the TechDocs Reader Page context.
Co-authored-by: Anders Näsman <andersn@spotify.com>
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-04-11 11:05:33 +02:00
Eric Peterson aaf51bd492 Clean up changesets and addon package API surface.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-04-11 10:43:48 +02:00
Emma Indal d26e1b0146 [TechDocs Addons] Give Feedback Addon (#10733)
* give feedback addon implementation

Co-authored-by: Camila Belo <camilaibs@gmail.com>
Co-authored-by: Anders Näsman <andersn@spotify.com>
Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* export replaceUrlType from @backstage/integration-reacte

Co-authored-by: Camila Belo <camilaibs@gmail.com>
Co-authored-by: Anders Näsman <andersn@spotify.com>
Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* export give feedback addon

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add hooks used for give feedback addon

Co-authored-by: Camila Belo <camilaibs@gmail.com>
Co-authored-by: Anders Näsman <andersn@spotify.com>
Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* replaceUrlType -> replaceGitLabUrlType

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* clarify template + template builder types

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* feedback fixups

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

Co-authored-by: Camila Belo <camilaibs@gmail.com>
Co-authored-by: Anders Näsman <andersn@spotify.com>
2022-04-11 08:55:54 +02:00
Emma Indal 88fd7d1e55 rebase fixups
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-04-09 14:28:45 +02:00
Emma Indal b4ed5c1226 remove duplicated dependency
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-04-09 13:47:28 +02:00
Emma Indal e315a3b154 add TechDocsReaderPage tests
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-04-09 13:47:02 +02:00
Eric Peterson f04b458bbc Resolve or clarify simpler todos in techdocs-addons
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-04-09 13:47:02 +02:00
Camila Belo 68f49e4ac6 fix(techdocs): scroll flickering when navigating
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-04-09 13:47:02 +02:00
Emma Indal a122923bd0 api-reports and prettier
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Co-authored-by: Eric Peterson <ericpeterson@spotify.com>
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-04-09 13:47:02 +02:00
Emma Indal 377309a98b use app theme api for techdocs cli embedded app
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Co-authored-by: Eric Peterson <ericpeterson@spotify.com>
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-04-09 13:47:02 +02:00
Emma Indal c969da2fcd fix techdocs-cli embedded app
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Co-authored-by: Eric Peterson <ericpeterson@spotify.com>
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-04-09 13:47:02 +02:00
Camila Belo 914cfdb0b7 fix(techdocs): update api reports
Co-authored-by: Emma Indal <emma.indahl@gmail.com>
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-04-09 13:47:02 +02:00
Camila Belo 2605805cb5 fix(techdocs): embed cli app reader
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-04-09 13:47:02 +02:00
Camila Belo 3fdc1b4f71 fix(techdocs): add backwards compatibility
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-04-09 13:47:02 +02:00
Camila Belo 6412209815 fix(techdocs): fix page re-renders
Co-authored-by: Emma Indal <emma.indahl@gmail.com>
Co-authored-by: Eric Peterson <iamEAP@users.noreply.github.com>
Co-authored-by: Otto Sichert <git@ottosichert.de>
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-04-09 13:47:02 +02:00
Camila Belo 5ad229a24b fix(techdocs): entity page links
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-04-09 13:47:00 +02:00
Camila Belo e0dc1e8ccd tests(techdocs): fix broken tests
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-04-09 13:46:47 +02:00
Camila Belo 236089c6cd feat(techdocs): delete addons plugin
Co-authored-by: Emma Indal <emma.indahl@gmail.com>
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-04-09 13:46:47 +02:00
Camila Belo 24581a2fd3 feat(techdocs): compose app addons
Co-authored-by: Emma Indal <emma.indahl@gmail.com>
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-04-09 13:46:44 +02:00
Camila Belo fbc5c68d91 feat(techdocs): merge reader components
Co-authored-by: Emma Indal <emma.indahl@gmail.com>
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-04-09 13:46:10 +02:00
Camila Belo 948d6425de feat(techdocs): create addons package
Co-authored-by: Emma Indal <emma.indahl@gmail.com>
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-04-09 13:46:10 +02:00
Eric Peterson ace749b785 Allow addons (except header location) to be used in Entity Reader
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-04-09 13:46:10 +02:00
Anders Näsman 413024e182 add test-utils
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Co-authored-by: Emma Indal <emma.indahl@gmail.com>
Signed-off-by: Anders Näsman <andersn@spotify.com>
2022-04-09 13:46:10 +02:00
Emma Indal 3efd08388a add changeset
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-04-09 13:46:10 +02:00
Emma Indal 5c86f3e2b7 downgrade test utils package
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-04-09 13:46:10 +02:00
Emma Indal 4f9de91af5 update tests based on implementation changes
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-04-09 13:46:10 +02:00
Eric Peterson 10a7736ced Testbed to help iterate on addons + correct dependency graph
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-04-09 13:46:08 +02:00
Emma Indal 0b67af3485 Write tests for hooks
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
Co-authored-by: Camila Belo <camilaibs@gmail.com>
2022-04-09 13:44:50 +02:00
Emma Indal 42cc7e5991 Split hooks into separate file
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
Co-authored-by: Camila Belo <camilaibs@gmail.com>
2022-04-09 13:44:50 +02:00
Emma Indal f0a3055d17 add tests for useEntityMetadata, useTechDocsMetadata, useTechDocsReaderPage
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-04-09 13:44:50 +02:00
Eric Peterson e328e3d31b Make utility hook responses async, allowing addons to handle errors independently.
Co-authored-by: Emma Indal <emma.indahl@gmail.com>
Co-authored-by: Anders Näsman <andersn@spotify.com>

Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-04-09 13:44:50 +02:00
Eric Peterson d8db6db3d7 Review feedback.
Co-authored-by: Emma Indal <emma.indahl@gmail.com>
Co-authored-by: Anders Näsman <andersn@spotify.com>

Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-04-09 13:44:50 +02:00
Eric Peterson ff1cc8bced Expose an alternative, add-on-aware read component and hooks.
Co-authored-by: Emma Indal <emma.indahl@gmail.com>
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Co-authored-by: Otto Sichert <git@ottosichert.de>
Co-authored-by: Anders Näsman <andersn@spotify.com>

Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-04-09 13:44:47 +02:00
Eric Peterson 30d2ca2669 Allow addons to be created and registered.
Co-authored-by: Emma Indal <emma.indahl@gmail.com>
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Co-authored-by: Otto Sichert <git@ottosichert.de>

Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-04-09 13:43:46 +02:00
Eric Peterson 19c0db60aa Initial package to encapsulate the TechDocs addon framework.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-04-09 13:43:46 +02:00
Eric Peterson 89a2aba980 Merge pull request #10725 from backstage/search/task-scheduler-cleanups 2022-04-09 11:14:39 +02:00
Patrik Oldsberg d417eab702 Merge pull request #10700 from backstage/rugvip/ignore-errors
config-loader,backend-common: do not fail backend startup on config schema errors
2022-04-08 23:24:42 +02:00
Fredrik Adelöw 2888d41a0b Merge pull request #10717 from RoadieHQ/add-grpc-api-definition-widget
add dedicated grpc api widget
2022-04-08 21:11:17 +02:00
Fredrik Adelöw f1895929b8 Merge pull request #10675 from backstage/unregister-location-implicit-delete
Update behavior when unregistering locations from `UnregisterEntityDialog`
2022-04-08 20:59:45 +02:00
Eric Peterson 5960b78a4c Document task scheduler / DB. And improve throughout.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-04-08 18:13:45 +02:00
Eric Peterson 1d8d3c408a Use human-readable durations throughout.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-04-08 18:13:05 +02:00
Patrik Oldsberg 213819c77f Merge pull request #10714 from backstage/rugvip/bumpfixes
scripts/prepare-release: fix patch bump process to work with prereleases
2022-04-08 17:54:18 +02:00
Kiss Miklos eb85cd5fac use explicit type for props
Signed-off-by: Kiss Miklos <miklos@roadie.io>
2022-04-08 16:09:59 +02:00
Johan Haals e82483f20b Merge pull request #10721 from anicke/gerrit-doc-fix
Added url schemas to Gerrit location doc examples
2022-04-08 15:48:36 +02:00
Johan Haals 993d220af1 Merge pull request #10710 from backstage/dependabot/npm_and_yarn/puppeteer-13.5.2
build(deps-dev): bump puppeteer from 13.3.2 to 13.5.2
2022-04-08 15:46:57 +02:00
Fredrik Adelöw 9b8fa1972e Merge pull request #10548 from julioz/gocd-analytics
Add DORA metrics insights to GoCD builds page
2022-04-08 15:36:32 +02:00
Niklas Aronsson 3f8aae6ffa Added url schemas to Gerrit location doc examples
Also added the Gerrit location docs to the microsite.

Signed-off-by: Niklas Aronsson <niklasar@axis.com>
2022-04-08 15:07:22 +02:00
Johan Haals ee0bf1ace7 Merge pull request #10718 from awanlin/topic/correct-aws-catalog-backend-readme
Corrected AWS Catalog Backend README
2022-04-08 14:53:33 +02:00
Johan Haals 679d9f1820 Merge pull request #10704 from backstage/dependabot/npm_and_yarn/types/dockerode-3.3.8
build(deps): bump @types/dockerode from 3.3.7 to 3.3.8
2022-04-08 14:13:37 +02:00
Andre Wanlin cc5962d04b Improved changeset
Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
2022-04-08 07:13:00 -05:00