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
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
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
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
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
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
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
Eric Peterson
348c46896f
Disallow object tags
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2021-05-28 17:46:08 +02:00
Eric Peterson
1b24ae1c7f
Account for displaying SVGs in the frontend.
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2021-05-28 17:45:16 +02:00
Eric Peterson
54d3fdb338
Allow bundled files to be downloaded by respecting a[download]
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2021-05-26 17:07:45 +02:00
Eric Peterson
fd381447a5
Fixes WSOD when loading docs with un-parseable URLs that were auto-transformed to links by mkdocs
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2021-05-24 17:51:53 +02:00
Crevil
4ea9df9d33
Set techdocs admonition font size to 1rem
...
Currently admonitions in TechDocs are rendered with font size 0.64rem which is much smaller than the rest of the text. This makes admontions hard to read and further "undo"s the attention they are here to provide.
This change adds a style overide, like we do with tables that sets the size to 1rem for bot collapsable and expanded admonitions.
Some trailing whitespace in the CSS styles is removed as well.
Signed-off-by: Crevil <bjoern.soerensen@gmail.com >
2021-05-21 21:52:27 +02:00
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
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
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
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
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
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
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
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