Commit Graph

739 Commits

Author SHA1 Message Date
Patrik Oldsberg 754409bef5 techdocs: replace usage of FlatRoutes
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-04-21 13:55:54 +02:00
Patrik Oldsberg a307a14be0 search-react,techdocs: remove core-app-api dependency
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-04-21 13:46:30 +02:00
github-actions[bot] 3f7acfb96e Version Packages 2022-04-19 14:28:08 +00:00
Eric Peterson 3ba256c389 Add changesets.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-04-17 19:22:05 +02:00
Eric Peterson ee60ad9ea4 Do not require double-nesting of custom TechDocs readers.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-04-15 16:41:28 +02:00
Eric Peterson 82124f1837 Fix subheader positioning
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-04-15 16:39:17 +02:00
Patrik Oldsberg 1a21f8e017 Merge pull request #10840 from backstage/rugvip/pin
techdocs: restore event-source-polyfill pinning
2022-04-14 16:12:48 +02:00
Patrik Oldsberg ee7b46e1c3 techdocs: restore event-source-polyfill pinning
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-04-14 13:06:13 +02:00
dependabot[bot] 7c7919777e build(deps-dev): bump @testing-library/react-hooks from 7.0.2 to 8.0.0
Bumps [@testing-library/react-hooks](https://github.com/testing-library/react-hooks-testing-library) from 7.0.2 to 8.0.0.
- [Release notes](https://github.com/testing-library/react-hooks-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-hooks-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-hooks-testing-library/compare/v7.0.2...v8.0.0)

---
updated-dependencies:
- dependency-name: "@testing-library/react-hooks"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-13 04:10:59 +00:00
github-actions[bot] 2e1cce5528 Version Packages (next) 2022-04-12 15:19:00 +00:00
Eric Peterson 39a6eda01d Review feedback 2: electric boogaloo
Co-authored-by: Otto Sichert <git@ottosichert.de>
Co-authored-by: Anders Näsman <realandersn@users.noreply.github.com>
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-04-12 15:37:29 +02:00
Eric Peterson 3fde9ea637 Merge branch 'master' into techdocs/addon-integration
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-04-12 11:36:59 +02:00
Otto Sichert 9c576e803b Make entity metadata exports private in TechDocs
Co-authored-by: Anders Näsman <realandersn@users.noreply.github.com>
Co-authored-by: Eric Peterson <iamEAP@users.noreply.github.com>
Signed-off-by: Otto Sichert <git@ottosichert.de>
2022-04-12 11:06:41 +02:00
Otto Sichert a424baae87 Move TechDocs Subheader props to reduce API report
Co-authored-by: Anders Näsman <realandersn@users.noreply.github.com>
Co-authored-by: Eric Peterson <iamEAP@users.noreply.github.com>
Signed-off-by: Otto Sichert <git@ottosichert.de>
2022-04-12 10:29:27 +02:00
Otto Sichert 883ab7228a Moved shared TechDocs utilities from plugin-techdocs to plugin-techdocs-react
Co-authored-by: Eric Peterson <iamEAP@users.noreply.github.com>
Co-authored-by: Anders Näsman <realandersn@users.noreply.github.com>
Signed-off-by: Otto Sichert <git@ottosichert.de>
2022-04-11 17:06:32 +02:00
Otto Sichert b05870bcb7 Move @backstage/techdocs-addons to @backstage/plugin-techdocs-react
Co-authored-by: Eric Peterson <iamEAP@users.noreply.github.com>
Co-authored-by: Anders Näsman <realandersn@users.noreply.github.com>
Signed-off-by: Otto Sichert <git@ottosichert.de>
2022-04-11 16:13:07 +02:00
Otto Sichert 4e489d10db Move GiveFeedbackAddon out of initial branch merge
Co-authored-by: Eric Peterson <iamEAP@users.noreply.github.com>
Co-authored-by: Anders Näsman <realandersn@users.noreply.github.com>
Signed-off-by: Otto Sichert <git@ottosichert.de>
2022-04-11 15:40:30 +02:00
Eric Peterson 65c0c3e628 Add subheader back to app reader.
Co-authored-by: Anders Näsman <andersn@spotify.com>
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-04-11 12:04:59 +02:00
Emma Indal 301b4606e3 import from new search-react package
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-04-11 11:42:57 +02:00
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
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 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 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
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
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
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
Ben Lambert 38d6a4745c Merge pull request #10558 from backstage/blam/node16types
chore: @node/types -> 16.x
2022-04-06 15:47:21 +02:00
dependabot[bot] 24254fd433 build(deps): bump @testing-library/user-event from 13.5.0 to 14.0.0
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 13.5.0 to 14.0.0.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v13.5.0...v14.0.0)

---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-04-05 10:19:52 +02:00
github-actions[bot] 39e446d0ff Version Packages (next) 2022-04-05 07:35:01 +00:00
blam f4fd7f5400 chore: fixing the version numbers
Signed-off-by: blam <ben@blam.sh>
2022-04-04 16:01:28 +02:00
blam 2538bf72e3 chore: @node/types -> 16.x
Signed-off-by: blam <ben@blam.sh>
2022-04-04 16:01:06 +02:00
Fredrik Adelöw 9975ff9852 pin event-source-polyfill to 1.0.25
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-04-04 13:16:20 +02:00
Ben Lambert bff981c780 Merge pull request #10345 from RoadieHQ/fix-techdocs-query-selectors
Fix broken querySelectors on techdocs
2022-04-01 10:41:11 +02:00
github-actions[bot] e6f3fb8575 Version Packages (next) 2022-03-29 08:42:22 +00:00
Camila Belo 179b5070fc fix(techdocs): apply review suggestion
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-03-28 16:12:47 +02:00
Camila Belo e8d84d2ee6 fix(techdocs): use sidebar config
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-03-28 13:45:00 +02:00
Camila Belo 49f646a9c9 fix(techdocs): drawer toggle margins
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-03-28 10:52:32 +02:00
Camila Belo bf4d052897 fix(techdocs): code block margins
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-03-28 10:52:32 +02:00