Tyler Davis
1ffb9f36e9
Properly capitalize Kind facet in CatalogTable title
...
Signed-off-by: Tyler Davis <tylerd@canva.com >
2024-12-12 21:02:20 +11:00
John Philip
de022802e0
Merge pull request #27694 from hyb175/feature/add-pagination-to-tech-docs-table
...
[Feature] Add Pagination to Tech Docs Table
2024-12-10 14:02:38 -05:00
Yingbai He
0928c8fe55
chore(TechDocs): extract entities to docs mapper to be shared amount DocsTable(s)
...
Signed-off-by: Yingbai He <yingbai.he@mycase.com >
2024-11-26 12:26:21 -08:00
Yingbai He
cd48d9751c
chore(TechDocs): extract defaultColumns into the columns util file
...
Signed-off-by: Yingbai He <yingbai.he@mycase.com >
2024-11-26 12:26:13 -08:00
Yingbai He
52c82714bc
feat(TechDocs): add test for paginated docs tables
...
Signed-off-by: Yingbai He <yingbai.he@mycase.com >
2024-11-26 10:47:33 -08:00
Yingbai He
18f8ff410a
feat(TechDocs): update <TechDocsCustomHome /> to support the new <DocsTable /> component
...
Signed-off-by: Yingbai He <yingbai.he@mycase.com >
2024-11-26 10:47:33 -08:00
Yingbai He
9610583759
feat(TechDocs): use <CursorPaginatedDocsTable /> and <OffsetPaginatedDocsTable /> in Techdocs <EntityListDocsTable />
...
Signed-off-by: Yingbai He <yingbai.he@mycase.com >
2024-11-26 10:47:33 -08:00
Gustaf Räntilä
7d8777dbba
Add Search bar to TechDocs when displayed in the entity tab ( #26706 )
...
* feat: Add Search bar to TechDocs when displayed in the entity tab
Closes #23004
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com >
---------
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com >
2024-11-20 11:06:27 -05:00
Vincenzo Scamporlino
f73b5e4785
techdocs: memoize useReaderState result
...
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com >
2024-11-19 10:11:13 +01:00
Yingbai He
cd258e56cd
feat(TechDocs): add <CursorPaginatedDocsTable /> and <OffsetPaginatedDocsTable /> similar to Catalog Tables
...
Signed-off-by: Yingbai He <yingbai.he@mycase.com >
2024-11-18 00:29:37 -08:00
Yingbai He
1a114e7b5a
feat(TechDocs): allow passing in pagination from <TechDocsIndexPage /> down to the <EntityListProvider />
...
Signed-off-by: Yingbai He <yingbai.he@mycase.com >
2024-11-18 00:29:05 -08:00
Sydney Achinger
e937ae7b1f
Fix unecessary re-rendering of site's index page. ( #27505 )
...
Signed-off-by: Sydney Achinger <sydneynicoleachinger@spotify.com >
2024-11-06 14:38:34 -05:00
Harsha Teja Kanna
4f0cb89c42
Add DomPurify sanitizer custom elements configuration ( #26989 )
...
* Add DomPurify sanitizer custom elements configuration
---------
Signed-off-by: Harsha Teja Kanna <h7kanna@gmail.com >
2024-10-17 13:21:56 -04:00
Thomas Cardonne
4a2f73a302
fix(techdocs): avoid rerender current page when navigating to another ( #26944 )
...
Signed-off-by: Thomas Cardonne <thomas.cardonne@adevinta.com >
2024-10-17 08:04:39 -04:00
Thomas Cardonne
605bdc01cf
fix(techdocs): avoid rerender when clicking on anchor links in same page ( #26938 )
...
Signed-off-by: Thomas Cardonne <thomas.cardonne@adevinta.com >
2024-10-15 15:34:13 -04:00
Fredrik Adelöw
34fcc96004
fixup
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2024-10-11 09:49:38 +02:00
Fredrik Adelöw
3afafea87b
implement discovery too
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2024-10-11 09:49:37 +02:00
Fredrik Adelöw
7d06a43916
implement storage too
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2024-10-11 09:48:52 +02:00
Fredrik Adelöw
b52715bc2e
implement identity too
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2024-10-11 09:48:52 +02:00
Fredrik Adelöw
811ff0cddc
implement analytics too
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2024-10-11 09:48:52 +02:00
Fredrik Adelöw
9cc7dd6cfd
implement the beginnings of mockApis
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2024-10-08 17:58:34 +02:00
Fredrik Adelöw
8424f1df2a
Merge pull request #26953 from backstage/jroebu14-techdocs-customisable-code-bg-colour
...
add customisable techdocs code bg color that defaults to background.paper
2024-10-08 11:07:44 +02:00
Fredrik Adelöw
033c957321
use the catalog mock in more tests
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2024-10-07 17:42:31 +02:00
Fredrik Adelöw
d0ce429b13
stop using the deprecated provider
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2024-10-07 12:40:28 +02:00
Jonathan Roebuck
9b57739ce9
Check for code in palette before accessing background
...
Signed-off-by: Jonathan Roebuck <jroebuck@spotify.com >
2024-10-04 08:18:48 +01:00
Jonathan Roebuck
08eca61e52
add customisable techdocs code bg color that defaults to background.paper
...
Signed-off-by: Jonathan Roebuck <jroebuck@spotify.com >
2024-10-03 16:12:23 +01:00
Thomas Cardonne
e8b4966a18
feat(techdocs): use more of the available space for navigation sidebar ( #26819 )
...
Signed-off-by: Thomas Cardonne <thomas.cardonne@adevinta.com >
2024-10-02 15:30:10 -04:00
Adrian Kosiński
e918061043
feat(techdocs): Add support for mkdocs material palette conditional hashes ( #26821 )
...
Signed-off-by: Adrian Kosinski <adrian.kosinski@allegro.com >
2024-10-01 15:53:24 -04:00
MT Lewis
a77cb4016f
techdocs: make emptyState input optional on entityContent extension
...
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com >
2024-09-20 11:12:05 +01:00
Jackson Chen
c81923f83c
Merge pull request #26678 from backstage/techdocs-fix-blog-nav
...
Fix techdocs nav positioning when using blog plugin
2024-09-16 13:38:21 -04:00
MT Lewis
e6d7a26168
techdocs: consistent casing for extension variable
...
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com >
2024-09-16 12:21:33 +01:00
MT Lewis
7120d77a33
techdocs: hide Router emptyState prop in non-alpha public api
...
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com >
2024-09-16 12:21:32 +01:00
MT Lewis
0e9dbf8d64
techdocs: make empty state output optional
...
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com >
2024-09-16 12:21:32 +01:00
MT Lewis
f66ee9c89f
techdocs: rename entity-content empty state extension
...
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com >
2024-09-16 12:21:32 +01:00
MT Lewis
dc6526f020
techdocs: stop exporting entity content empty state
...
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com >
2024-09-16 12:21:32 +01:00
MT Lewis
c7cb4c02f1
techdocs: add ability to override entity content empty state
...
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com >
2024-09-16 12:21:31 +01:00
Jackson Chen
fe94ad8969
Fix techdocs nav positioning when using blog plugin
...
Signed-off-by: Jackson Chen <jacksonc@spotify.com >
2024-09-13 16:10:03 -04:00
Alex Lorenzi
7dc942ce48
feat: included --md-status variables from mkdocs-material and adjusted styles in sidebar for icons
...
Signed-off-by: Alex Lorenzi <alorenzi@spotify.com >
2024-09-06 10:50:28 -04:00
Carl-Erik Bergström
c891b694c4
feat: add overrideable FavoriteToggle to core-components
...
Signed-off-by: Carl-Erik Bergström <cbergstrom@spotify.com >
2024-09-05 15:28:56 +02:00
Alex Lorenzi
f40a443621
fix: updated the hover effect on the table to a lighter colour and used the theme border radius so they match the rest of the Backstage styling a bit more
...
Signed-off-by: Alex Lorenzi <alorenzi@spotify.com >
2024-09-03 13:10:41 -04:00
Alex Lorenzi
e46dfec74d
Updated useShadowRootElements to use the shadow root first child instead of flipping booleans to help with unneeded updates when the DOM doesn't change
...
Signed-off-by: Alex Lorenzi <alorenzi@spotify.com >
2024-08-22 16:26:36 -04:00
Sydney Achinger
4490d733b5
Redirect: Add documentation. Cleanup ( #26041 )
...
* Add documentation. Cleanup. Add guardrail not to redirect to current url.
---------
Signed-off-by: Sydney Achinger <sydneynicoleachinger@spotify.com >
2024-08-15 14:34:15 -04:00
blam
75e79518ea
chore: some more migrations
...
Signed-off-by: blam <ben@blam.sh >
2024-08-15 16:24:20 +02:00
Patrik Oldsberg
9b356dcaac
frontend-plugin-api: renamed createPlugin to createFrontendPlugin
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2024-08-14 16:01:25 +02:00
Sydney Achinger
27794d1089
Add ability to override theme options for the TechDocsReaderPage. ( #25956 )
...
* Add ability to override theme options for the TechDocsReaderPage.
---------
Signed-off-by: Sydney Achinger <sydneynicoleachinger@spotify.com >
2024-08-09 14:33:47 -04:00
Sydney Achinger
8543e723a5
Add UI element to notify user before redirect occurs. ( #25911 )
...
* Add UI element to notify user before redirect occurs. Allow user to skip to redirect from notification.
---------
Signed-off-by: Sydney Achinger <sydneynicoleachinger@spotify.com >
2024-08-06 20:55:39 -04:00
Sydney Achinger
67e76f2bb9
Transform meta redirect tags ( #25766 )
...
* Add TechDocs support for the mkdocs-redirects plugin.
---------
Signed-off-by: Sydney Achinger <sydneynicoleachinger@spotify.com >
2024-08-03 20:36:13 -04:00
Alex Lorenzi
3d9891d224
Update plugins/techdocs/src/reader/transformers/styles/transformer.test.tsx
...
Signed-off-by: Alex Lorenzi <671432+alexlorenzi@users.noreply.github.com >
2024-07-30 20:01:37 -04:00
Alex Lorenzi
dd0ce5a890
The header size calculation weren't taking into account cases where the value was a CSS variable. This could lead to situation where the outputted property was invalid. This update resolves the CSS property and then tries to calculate again using that value
...
Signed-off-by: Alex Lorenzi <alorenzi@spotify.com >
2024-07-30 14:52:09 -04:00
MT Lewis
69bd940408
techdocs: switch to using constants from techdocs-common for annotations
...
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com >
2024-07-24 20:34:59 +01:00