Commit Graph

352 Commits

Author SHA1 Message Date
Fredrik Adelöw 3ecc5579eb Merge pull request #5676 from jrusso1020/jrusso/remove-circular-dependencies
Remove circular dependencies
2021-05-17 18:01:04 +02:00
Himanshu Mishra d45c9b04ce Merge pull request #5640 from roflc0pter/fix-sidebar-position
Add height of md-tabs on sidebar position
2021-05-17 13:23:53 +02:00
Himanshu Mishra a2c39ce841 Merge pull request #5632 from SDA-SE/feat/techdocs-hash
TechDocs: Handle URLs with a `#hash` correctly when rewriting link URLs
2021-05-17 12:43:37 +02:00
jrusso1020 65e6c45410 Remove circular dependencies
In reference to issue #5563 this does the initial work to remove
all the circular dependencies that we have encountered while
building backstage using bazel. The next step will be to implement
a method to catch these circular dependencies before they get
merged in

Signed-off-by: jrusso1020 <jrusso@brex.com>
2021-05-15 11:17:05 -06:00
github-actions[bot] df31bdca8f Version Packages 2021-05-12 09:39:51 +00:00
Emre a62cfe0682 add height of md-tabs on sidebar position
Signed-off-by: Emre <m.emre.konar@gmail.com>
2021-05-11 17:58:37 +02:00
dependabot[bot] ee103bc710 chore(deps): bump @testing-library/user-event from 12.8.3 to 13.1.8
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 12.8.3 to 13.1.8.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v12.8.3...v13.1.8)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 14:30:59 +02:00
Oliver Sand 35e0916040 Handle URLs with a #hash correctly when rewriting link URLs
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-05-10 17:45:26 +02:00
dependabot[bot] 0b51bcb008 chore(deps): bump react-use from 15.3.8 to 17.2.4
Bumps [react-use](https://github.com/streamich/react-use) from 15.3.8 to 17.2.4.
- [Release notes](https://github.com/streamich/react-use/releases)
- [Changelog](https://github.com/streamich/react-use/blob/master/CHANGELOG.md)
- [Commits](https://github.com/streamich/react-use/compare/v15.3.8...v17.2.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 09:20:46 +00:00
github-actions[bot] d397eb470f Version Packages 2021-05-06 08:25:18 +00:00
Oliver Sand 2e05277e0d Fix navigation in a page using the table of contents
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-05-04 14:17:29 +02:00
Erik Larsson 4ca6998aad Remove deprecated condition
Signed-off-by: Erik Larsson <erik.larsson@schibsted.com>
2021-05-04 02:34:24 +02:00
Erik Larsson 6381b7ec87 tsc
Signed-off-by: Erik Larsson <erik.larsson@schibsted.com>
2021-04-29 17:15:27 +02:00
Erik Larsson 5f1f40a65c Remove incorreect api factory creation
Signed-off-by: Erik Larsson <erik.larsson@schibsted.com>
2021-04-29 17:15:27 +02:00
Erik Larsson b9abc32f49 Use ScmIntegrationsApi
Signed-off-by: Erik Larsson <erik.larsson@schibsted.com>
2021-04-29 17:15:25 +02:00
Erik Larsson b61b268fd0 Update tests
Signed-off-by: Erik Larsson <erik.larsson@schibsted.com>
2021-04-29 17:14:49 +02:00
Erik Larsson 4075c63675 fix: optional git config for techdocs feedback
Signed-off-by: Erik Larsson <erik.larsson@schibsted.com>
2021-04-29 17:14:49 +02:00
github-actions[bot] 44abfaada6 Version Packages 2021-04-29 13:35:03 +02:00
Eric Peterson 47037a2197 Merge pull request #5477 from SDA-SE/feat/techdocs-flicker2
TechDocs: Rework state management to avoid rendering multiple while navigating between pages
2021-04-26 18:57:42 +02:00
Oliver Sand cb8c848a38 Disable color transitions on links to avoid issues in dark mode
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-04-26 17:17:10 +02:00
Oliver Sand 17915e29b3 Rework state management to avoid rendering multiple while navigating between pages
Closes #5184

Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-04-26 16:59:14 +02:00
Oliver Sand 35e32bbf4c Merge pull request #5425 from SDA-SE/feat/techdocssss-api
TechDocs: Use interface and not implementation in ApiRef<T>
2021-04-26 14:21:58 +02:00
Chongyang Adrian, Ke 15cbe68156 fix techdocs landing page table wrong copied link
Signed-off-by: Chongyang Adrian, Ke <ftt.adrian.ke@grabtaxi.com>
2021-04-26 12:02:44 +08:00
Oliver Sand 92cc589201 Remove duplicate @backstage/test-utils dependency
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-04-23 13:16:21 +02:00
Oliver Sand a3048a3b7f Fix some remaining typing issues
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-04-23 12:48:14 +02:00
Oliver Sand f09f6a166b Use interface and not implementation in ApiRef<T>
Closes #4404

Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-04-23 12:48:13 +02:00
Eric Peterson 74a5b00eb6 Merge pull request #5371 from adrianke77/techdocs-landing-page-customization
Add TechDocs landing page customization and exported components
2021-04-23 11:50:15 +02:00
Eric Peterson 2f9dc47c91 Merge pull request #5428 from SDA-SE/feat/techdocssss-header
TechDocs: Use `EntityRefLink` in header and use relations to reference the owner of the document
2021-04-23 09:52:34 +02:00
Chongyang Adrian, Ke 813a4a04f5 fix DocsTable rendering of EmptyState
Signed-off-by: Chongyang Adrian, Ke <ftt.adrian.ke@grabtaxi.com>
2021-04-23 11:38:09 +08:00
Chongyang Adrian, Ke 7dd94b0750 add CSSProperties type for panelCSS
Signed-off-by: Chongyang Adrian, Ke <ftt.adrian.ke@grabtaxi.com>
2021-04-23 11:20:46 +08:00
Adrian Ke Chongyang 4666ddb275 Update plugins/techdocs/src/home/components/TechDocsHome.tsx
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>

Co-authored-by: Eric Peterson <iamEAP@users.noreply.github.com>
Signed-off-by: Chongyang Adrian, Ke <ftt.adrian.ke@grabtaxi.com>
2021-04-23 11:07:18 +08:00
Adrian Ke Chongyang 64ade20227 Update plugins/techdocs/src/home/components/TechDocsHome.tsx
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>

Co-authored-by: Eric Peterson <iamEAP@users.noreply.github.com>
Signed-off-by: Chongyang Adrian, Ke <ftt.adrian.ke@grabtaxi.com>
2021-04-23 11:07:18 +08:00
Chongyang Adrian, Ke cb321bae90 change naming from widget to panel
Signed-off-by: Chongyang Adrian, Ke <ftt.adrian.ke@grabtaxi.com>
2021-04-23 11:07:18 +08:00
Chongyang Adrian, Ke 39bdaa0046 Add TechDocs landing page customization and exported components
Signed-off-by: Chongyang Adrian, Ke <ftt.adrian.ke@grabtaxi.com>
2021-04-23 11:07:17 +08:00
github-actions[bot] 034998d537 Version Packages 2021-04-22 13:19:35 +00:00
Oliver Sand 23afdba96f Use EntityRefLink in header and use relations to reference the owner of the document
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-04-22 13:26:07 +02:00
Chongyang Adrian, Ke 2b440c0605 add git feedback link: update FAQ and unit testing
Signed-off-by: Chongyang Adrian, Ke <ftt.adrian.ke@grabtaxi.com>
2021-04-20 13:43:29 +08:00
Chongyang Adrian, Ke ac6025f63a techdocs-plugin: add feedback link for Github/Gitlab source repos
Signed-off-by: Chongyang Adrian, Ke <ftt.adrian.ke@grabtaxi.com>
2021-04-20 13:05:04 +08:00
Himanshu Mishra 0f600461b5 Merge pull request #5346 from SDA-SE/feat/techdocs-testid
[TechDocs]Add a test id to the shadow root element of the Reader to access it easily in e2e tests
2021-04-15 21:54:02 +05:30
github-actions[bot] 70be53c939 Version Packages 2021-04-15 15:40:08 +02:00
Dominik Henneke e292e393fb Add a test id to the shadow root element of the Reader to access it easily in e2e tests
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-04-15 13:49:06 +02:00
Jonah Grimes fef852ecd3 Reworked TechDocs page subtitle to reflect the company/organization name (#5317)
* reworked page subtitle to reflect the company/organization name instead of 'Backstage'

Signed-off-by: Jonah Grimes <jgrimes@appriss.com>

* ran prettier to reformat code

Signed-off-by: Jonah Grimes <jgrimes@appriss.com>

* marked changeset as techdocs only

Signed-off-by: Jonah Grimes <jgrimes@appriss.com>
2021-04-14 16:45:20 +02:00
David Tuite 18f7345a6c Add borders to docs tables (#5281) 2021-04-12 20:11:35 +02:00
github-actions[bot] 51b6cf465d Version Packages 2021-04-08 11:32:56 +00:00
github-actions[bot] 8e00ab7e63 Version Packages 2021-03-31 12:21:12 +00:00
Dominik Henneke bebd1c4fed Remove backend dependency in the techdocs plugin (#5168)
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-03-30 09:12:04 +02:00
github-actions[bot] 844da89090 Version Packages 2021-03-25 17:46:13 +00:00
Eric Peterson 6db7ef3f93 Merge pull request #4968 from adrianke77/techdocs-if-outdated-serve-and-start-build
TechDocs: show outdated docs and asnyc build new
2021-03-25 11:15:01 +01:00
Oliver Sand ea9d977e7d Fix icons of admonitions
The fixes one display issue of #3558

Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-03-25 08:45:19 +01:00
Chongyang Adrian, Ke 74e5042386 fix rebase clashes
Signed-off-by: Chongyang Adrian, Ke <ftt.adrian.ke@grabtaxi.com>
2021-03-25 11:00:04 +08:00