Commit Graph

772 Commits

Author SHA1 Message Date
Camila Belo 427ecd4e7c refactor(techdocs): use html sanitizer transformer
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-05-23 14:09:07 +02:00
Camila Belo 0a5e6ffcf6 refactor(techdocs): export html sanitizer transformer
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-05-23 14:09:07 +02:00
Camila Belo 6cd30abd04 test(techdocs): cover html sanitizer hook
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-05-23 14:09:07 +02:00
Camila Belo beba2615d3 refactor(techdocs): create html sanitizer transformer
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-05-23 10:53:06 +02:00
Camila Belo b2b19f170e refactor(techdocs): export html sanitizer hooks
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-05-23 10:53:06 +02:00
Camila Belo 4a70a448af refactor(techdocs): extract iframes sanitizer hook
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-05-23 10:53:06 +02:00
Camila Belo d4a00ed167 refactor(techdocs): extract links sanitizer hook
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-05-23 10:53:06 +02:00
Camila Belo 443accb4bb fix(techdocs): use object routes on entity docs pages
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-05-20 09:17:04 +02:00
Camila Belo 95a5352746 fix(techdocs): prevent content re-renders
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-05-18 14:16:32 +02:00
Camila Belo 459471a623 fix(techdocs): sidebars position update
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-05-18 11:14:28 +02:00
Camila Belo d57d3ca32a fix(techdocs): dedupe addons locations
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-05-18 11:14:28 +02:00
Camila Belo 449d6527e4 refactor(techdocs): change entity docs path to be more specific
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-05-17 12:49:49 +02:00
github-actions[bot] 64a03bd946 Version Packages 2022-05-17 09:26:29 +00:00
Camila Belo a34c5c9603 fix(entity-docs): add path to sub-routes
Co-authored-by: Anders Näsman <andersn@spotify.com>
Co-authored-by: Otto Sichert <git@ottosichert.de>
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-05-17 10:22:30 +02:00
Eric Peterson 14f135ef77 Rearrange TechDocsReaderProvider exports.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-05-11 17:49:28 +02:00
Eric Peterson 66521125b3 Remove unnecessary, secret exports.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-05-11 13:34:24 +02:00
github-actions[bot] 23e587eadc Version Packages (next) 2022-05-10 13:44:38 +00:00
Ben Lambert c86bbc5ab1 Revert "fix(deps): update dependency event-source-polyfill to v1.0.26"
Signed-off-by: blam <ben@blam.sh>
2022-05-10 14:50:31 +02:00
github-actions[bot] c02ce52da1 Version Packages (next) 2022-05-10 08:00:04 +00:00
Eric Peterson 510b424f56 Merge pull request #11334 from backstage/camilal/text-size-addon
[TechDocs] Create Text Size Addon
2022-05-10 09:28:58 +02:00
Eric Peterson c3a09b56a7 Merge pull request #11054 from kim5566/techdoc/btoa-encoding 2022-05-10 00:30:16 +02:00
Fredrik Adelöw 16dcf2a807 Merge pull request #10981 from kuangp/feat/search/highlight
feat(search): highlight search result terms
2022-05-09 18:27:07 +02:00
Phil Kuang 3a74e203a8 feat(search): highlight search result terms
Signed-off-by: Phil Kuang <pkuang@factset.com>
2022-05-09 11:13:34 -04:00
Camila Belo 10b8e973ef feat(techdocs): add settings menu list
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-05-06 08:52:54 +02:00
Renovate Bot 1af133f779 fix(deps): update dependency event-source-polyfill to v1.0.26
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-03 13:24:22 +00:00
github-actions[bot] 55da880bf9 Version Packages (next) 2022-05-03 09:38:51 +00:00
Anders Näsman 3a790faa02 fix to make test-utils work without h1 in dom
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Co-authored-by: Eric Peterson <iamEAP@users.noreply.github.com>
Signed-off-by: Anders Näsman <andersn@spotify.com>
2022-04-27 13:10:42 +02:00
Anders Näsman a68de3c984 move TechDocsStorage api from @backstage/plugin-techdocs to @backstage/plugin-techdocs-react
Signed-off-by: Anders Näsman <andersn@spotify.com>
2022-04-27 13:10:42 +02:00
Anders Näsman 54f06e9c00 addons test-utils
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Co-authored-by: Eric Peterson <iamEAP@users.noreply.github.com>
Signed-off-by: Anders Näsman <andersn@spotify.com>
2022-04-27 13:10:34 +02:00
github-actions[bot] 1bff70d602 Version Packages (next) 2022-04-26 12:22:43 +00:00
Eric Peterson f3dc243432 Account for case when builder is external, entity exists, but docs do not.
Co-authored-by: Jeremy Guarini <jguarini@paloaltonetworks.com>
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-04-25 09:54:50 +02:00
Eric Peterson bed0d64ce9 Restore 404 behavior.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-04-25 09:36:11 +02:00
kim5566 b63b3108a5 fix: btoa encoding
Signed-off-by: kim5566 <28945404+kim5566@users.noreply.github.com>
2022-04-25 06:23:44 +10:00
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