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
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
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
Camila Belo
52708317f9
fix(techdocs): inner content width
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2022-03-28 10:52:32 +02:00
Camila Belo
e56bcbfb0c
fix(techdocs): footer link width
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2022-03-28 10:52:32 +02:00
Camila Belo
216c262bf2
fix(techdocs): mobile sidebar width
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2022-03-28 10:52:32 +02:00
Patrik Oldsberg
e2cfd53847
techdocs: update client test to work with jsdom environment
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-25 11:28:16 +01:00
Nicolas Arnold
f0fb9153b7
Fix broken querySelectors on techdocs
...
This change fixes the broken pattern for selecting DOM elements to scroll to.
Previously it had error messages like so:
```
Uncaught DOMException: Failed to execute 'querySelector' on 'Element': '#fn:someidtag' is not a valid selector.
```
This did not bode well with the techdocs integration with footnotes.
The query has now changed to include something that is expected by the DOM queries.
Signed-off-by: Nicolas Arnold <nic@roadie.io >
2022-03-22 09:05:35 +00:00
Camila Belo
3b7f1ef418
test: cover anchor starting with number
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2022-03-18 16:34:30 +01:00
Camila Belo
f90ffdc84e
fix: permalink scroll for enumerated anchors
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2022-03-18 15:08:36 +01:00
Patrik Oldsberg
c689d7a94c
catalog: group, rename, and move filter components to catalog-react
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-16 15:10:41 +01:00
Fredrik Adelöw
6565f2c50b
Merge pull request #10147 from rex4539/typos
...
Fix typos
2022-03-15 11:01:46 +01:00
Emma Indal
b44692890b
tests fixups
...
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
2022-03-14 22:39:18 +01:00
Emma Indal
7cb5788e9c
clean up deprecations of techdocs plugin
...
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
2022-03-14 22:39:17 +01:00
Eric Peterson
90f145fbce
Merge pull request #9944 from realandersn/andersn/fix-techdocs-sidebar-scroll
...
[Techdocs] fix sidebar scroll
2022-03-14 14:40:44 +01:00
Dimitris Apostolou
aedd4daa66
Fix typos
...
Signed-off-by: Dimitris Apostolou <dimitris.apostolou@icloud.com >
2022-03-13 14:12:05 +02:00
Johan Haals
d3e9ec43b7
catalog-model: Remove target from EntityRelation type.
...
Signed-off-by: Johan Haals <johan.haals@gmail.com >
2022-03-10 16:15:12 +01:00
Patrik Oldsberg
275e7ba746
Merge pull request #10001 from backstage/rugvip/nouser
...
catalog-react: removed useOwnUser
2022-03-05 09:14:34 +01:00
Patrik Oldsberg
7a1dbe6ce9
techdocs: remove custom ownership handling
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-04 16:23:14 +01:00
Patrik Oldsberg
fc6290a76d
catalog-react: removed useOwnUser
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-04 16:03:51 +01:00
Patrik Oldsberg
7af635f2af
Merge branch 'master' into jhaals/dep-favoriteEntityTooltip
2022-03-03 14:23:35 +01:00
Fredrik Adelöw
899f196af5
update to use getEntityByRef
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-03-03 13:27:25 +01:00
Anders Näsman
d84e78c667
add scroll styling
...
Signed-off-by: Anders Näsman <andersn@spotify.com >
2022-03-03 11:52:55 +01:00
Anders Näsman
7b2e356341
fix sidebar scrolling
...
Signed-off-by: Anders Näsman <andersn@spotify.com >
2022-03-03 11:52:55 +01:00
Fredrik Adelöw
36aa63022b
deprecate EntityName, introduce CompoundEntityRef
...
deprecate getEntityName, introduce getCompoundEntityRef
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-03-02 21:54:45 +01:00
blam
c8222292bf
chore: renamed formatEntityRefTitle to humanizeEnityRef
...
Signed-off-by: blam <ben@blam.sh >
2022-03-02 17:08:25 +01:00
Johan Haals
f590d1681b
core-plugin-api: Deprecate favoriteEntityTooltip and favoriteEntityIcon
...
Signed-off-by: Johan Haals <johan.haals@gmail.com >
2022-03-02 15:48:17 +01:00
Patrik Oldsberg
303063a655
catalog-react: added MockStarredEntitiesApi + usage
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-02-28 17:33:28 +01:00
Patrik Oldsberg
c077b432b8
catalog-react: moved DefaultStarredEntitiesApi implementation to catalog plugin
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-02-28 13:52:46 +01:00
Camila Belo
78dab02156
feat(plugin-techdocs): add copy to clipboard feedback
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2022-02-28 09:54:04 +01:00
Emma Indal
b67a5a6af9
Merge pull request #9730 from backstage/emmaindal/techdocs-api-report
2022-02-25 17:23:04 +01:00
Emma Indal
2f96848ee9
update tests for TechDocsIndexPage
...
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
2022-02-25 14:52:29 +01:00
Emma Indal
69a5d47ff8
export TechDocsReaderPage as routable extension, do not export DefaultTechDocsHome as routable extension
...
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
2022-02-25 14:24:51 +01:00
Emma Indal
8049538eb1
TechDocsIndexPage to fall back to DefaultTechDocsHome as LegacyTechDocsHome is deprecated
...
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
2022-02-25 14:23:49 +01:00
Emma Indal
d0c90c4f64
replace all TechDocsPage -> TechDocsReaderPage and TechDocsPageHeader -> TechDocsReaderPageHeader except in docs
...
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
2022-02-25 14:21:11 +01:00
Emma Indal
231d0dc8df
update changeset
...
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
2022-02-25 12:09:26 +01:00
Eric Peterson
0c7c7aae2b
Merge pull request #9789 from backstage/fix-plugin-techdocs-footer
...
[TechDocs]: Adjust footer copyright
2022-02-25 11:44:01 +01:00
Camila Belo
5b0f9a75fa
fix(plugin-techdocs): remove both old and new footer copyright
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2022-02-25 10:58:28 +01:00
Emma Indal
2bd91261a6
unpack props inside fn
...
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
2022-02-25 10:38:47 +01:00
Emma Indal
ce2dcca3d1
do not plublicly export factories directly, but through tables
...
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
2022-02-25 10:38:47 +01:00
Emma Indal
e1a3d0df92
fixups
...
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
2022-02-25 10:38:46 +01:00
Emma Indal
da29cb2998
Update LegacyTechDocsPage.tsx
...
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
2022-02-25 10:38:46 +01:00
Emma Indal
98e974a994
export/import fixups
...
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
2022-02-25 10:38:46 +01:00
Emma Indal
071c1c1de0
api report clean ups
...
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
2022-02-25 10:38:46 +01:00
Emma Indal
88a1205329
export search components
...
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
2022-02-25 10:38:46 +01:00
Emma Indal
0eb8b4ef49
rename index file
...
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
2022-02-25 10:38:45 +01:00
Emma Indal
2fb1d5e622
TechDocs reader page header to follow new naming pattern
...
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
2022-02-25 10:38:45 +01:00