Commit Graph

410 Commits

Author SHA1 Message Date
Raghunandan Balachandran f9457c0dd4 Merge pull request #6455 from SDA-SE/feat/techdocs-no-crash-not-found
[TechDocs] Handle error responses in getTechDocsMetadata and `getEntityMetadata` such that `<TechDocsPageHeader>` doesn't throw errors.
2021-07-19 10:05:16 +02:00
github-actions[bot] 8d1c3d0d5a Version Packages 2021-07-15 09:19:25 +00:00
Dominik Henneke 9ed3d401c8 Refactor <TechDocsPageHeader/> to not use AsyncState as inputs
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-07-15 10:20:12 +02:00
Dominik Henneke e35b13afa9 Handle error responses in getTechDocsMetadata and getEntityMetadata such that <TechDocsPageHeader> doesn't throw errors.
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-07-15 10:20:11 +02:00
Eric Peterson 855c9d8341 Merge pull request #6454 from kuangp/fix/techdocs
fix(techdocs): fetch entity relations field to determine owned docs
2021-07-15 09:22:29 +02:00
Patrik Oldsberg d9ce823b00 packages: regenerate all API reports with warnings
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-07-15 02:05:46 +02:00
Eric Peterson ef4a4cdefd Merge pull request #6341 from SDA-SE/feat/techdocs-build-logs 2021-07-14 23:30:15 +02:00
Eric Peterson 7703516ad8 Merge pull request #6355 from adrianke77/techdocs-sidebars-not-adjusting-position
TechDocs: Sidebars not adjusting positions
2021-07-14 17:43:31 +02:00
Phil Kuang 537c37b0f1 fix(techdocs): fetch entity relations field to determine owned docs
Signed-off-by: Phil Kuang <pkuang@factset.com>
2021-07-13 11:23:57 -04:00
Dominik Henneke 2d58075d46 Display the correct error message
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-07-13 16:49:33 +02:00
Dominik Henneke 246b1797e5 Merge remote-tracking branch 'upstream/master' into feat/techdocs-build-logs
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-07-13 16:49:33 +02:00
Patrik Oldsberg 602b5b59bb packages: regenerate all API reports with prettier
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-07-12 19:54:11 +02:00
Patrik Oldsberg 8ae3cffb85 recreate all api-reports with latest version of api-extractor
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-07-12 19:46:43 +02:00
Dominik Henneke fbb6d421e9 Merge remote-tracking branch 'upstream/master' into feat/techdocs-build-logs 2021-07-09 14:35:01 +02:00
Dominik Henneke 4255617c2e Show the error alert on the not found page in case there are sync errors
This allows access to the build logs in the initial build view

Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-07-09 14:33:54 +02:00
github-actions[bot] de67704be9 Version Packages 2021-07-08 11:37:02 +00:00
Eric Peterson b5ee8b0a53 Add styles for scrollbars in long code blocks. #5467
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Co-authored-by: Raghunandan Balachandran <raghunandan@spotify.com>
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-07-08 12:14:52 +02:00
Adrian Ke 2a4a3b32dd techdocs: sidebars not adjusting positions
Signed-off-by: Adrian Ke <adrian.ke@grabtaxi.com>
2021-07-06 16:53:07 +08:00
Dominik Henneke 136a919748 Show a "Refresh" button to if the content is stale
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-07-05 15:07:08 +02:00
Dominik Henneke 3af126cddf Provide a Drawer component to follow a running build
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-07-05 14:20:41 +02:00
Dominik Henneke f1200f44c8 Rewrite the /sync/:namespace/:kind/:name to return an event-stream
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-07-05 14:20:41 +02:00
github-actions[bot] 6e937b9fa6 Version Packages 2021-07-01 09:06:13 +00:00
Fredrik Adelöw 2993f0ea45 Merge pull request #6261 from GoWind/techdocs-fetch-with-credentials
Techdocs: Include cookies when requesting SVGs
2021-06-30 23:41:55 +02:00
Gowind 103b1b6ea6 Add unit test to ensure credentials are sent for SVGs
Signed-off-by: Gowind <petrovgovind@gmail.com>
2021-06-30 22:51:16 +02:00
Phil Kuang a444c7431a feat(techdocs): filter fetched entity kinds and fields
Signed-off-by: Phil Kuang <pkuang@factset.com>
2021-06-30 15:15:28 -04:00
Gowind 99a2873c76 Techdocs: Include cookies when requesting SVGs
Signed-off-by: Gowind <petrovgovind@gmail.com>
2021-06-29 15:18:01 +02:00
github-actions[bot] 5a64fe7ea5 Version Packages 2021-06-24 09:58:38 +00:00
dependabot[bot] d3b6c6c12a chore(deps): bump msw from 0.21.2 to 0.29.0
Bumps [msw](https://github.com/mswjs/msw) from 0.21.2 to 0.29.0.
- [Release notes](https://github.com/mswjs/msw/releases)
- [Changelog](https://github.com/mswjs/msw/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mswjs/msw/compare/v0.21.2...v0.29.0)

---
updated-dependencies:
- dependency-name: msw
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-23 04:45:44 +00:00
Patrik Oldsberg 9258c54f87 Merge branch 'master' into rugvip/mod 2021-06-22 10:07:18 +02:00
Yousif Al-Raheem aefd54da6e fix overlapping sidebar with tabs in techdocs (#6121)
Signed-off-by: Yousif Al-Raheem <yousifalraheem@gmail.com>
2021-06-21 12:40:48 +02:00
Patrik Oldsberg fea7878f01 packages,plugins: update api reports for core migration
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-19 20:26:19 +02:00
Patrik Oldsberg 89e3ef223f plugins: run yarn diff --yes to fix dependencies for new core packages
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-19 15:33:11 +02:00
Patrik Oldsberg d453c05dc3 apply core-imports codemod to all packages and plugins
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-19 15:33:08 +02:00
Fredrik Adelöw a88073c29a Update copyright headers
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-18 20:26:42 +02:00
blam 90bd5ab9e7 chore: updating the api-docs as some PR's were merged after the api-docs PR merge that were not rebuilt
Signed-off-by: blam <ben@blam.sh>
2021-06-18 10:08:26 +02:00
Patrik Oldsberg 820de63018 Merge pull request #6076 from backstage/rugvip/allreports
scripts/api-extractor: create and check API reports for all(most) plugins
2021-06-17 15:46:11 +02:00
Otto Sichert 693b4ed59c Merge pull request #5975 from SDA-SE/feat/techdocs-states
[TechDocs] Refactor the implicit logic from `<Reader />` into an explicit state machine
2021-06-17 15:23:01 +02:00
Patrik Oldsberg d8d7226fce plugins: generate api reports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-17 13:30:06 +02:00
Dominik Henneke ba984f675a Add a BUILD_READY_RELOAD type that replaces the old contentIsStale logic
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-06-17 10:23:41 +02:00
Dominik Henneke 2b9d30b153 Fix minor issues from the review comments
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-06-17 10:23:41 +02:00
Dominik Henneke 1dfec7a2ae Refactor the implicit logic from <Reader /> into an explicit state machine
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-06-17 10:23:41 +02:00
github-actions[bot] 36e5a82e9b Version Packages 2021-06-17 08:08:44 +00:00
Eric Peterson 33f820eb07 Merge pull request #6006 from backstage/iameap/bug-techdocs-ext-svg
[TechDocs] Fix external image rendering
2021-06-17 09:52:18 +02:00
Eric Peterson 0606f9b416 Clean up tests.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-17 09:30:36 +02:00
Patrik Oldsberg 560e0dd0b2 Merge pull request #5968 from ougfh/fix-doc-navigation-links-for-non-dir-urls
Do not add / for html pages in rewriteDocLinks
2021-06-15 18:23:40 +02:00
Dominik Henneke 938aee2fbd Fix the link to the documentation page when no owned documents are displayed
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-06-14 17:33:55 +02:00
Emma Indal 667656c8b5 [TechDocs] TechDocs custom homepage with user owned filter support (#5994)
* add emptystate to docs card grid

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

* adjust filterpredicate to accept a string, adjust custom home page based on owned documents filter

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

* update the techdocs home page to use the new ownedByUser filter

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

* fix tests

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

* use useOwnUser hook from catalog react plugin and delete duplicate one

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

* add changeset

Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2021-06-11 16:52:46 +02:00
Eric Peterson 86fc1c3930 Carve out exception for external SVGs
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-06-11 10:35:01 +02:00
github-actions[bot] 4a93128245 Version Packages 2021-06-10 12:18:06 +00:00
Anastasia Rodionova 2e1fbe203b Do not add / for html pages in rewriteDocLinks
Signed-off-by: Anastasia Rodionova <argali96@gmail.com>
2021-06-09 10:28:47 +02:00