Commit Graph

798 Commits

Author SHA1 Message Date
Stephen Glass 681ac9d2e6 update test case to support custom error page
Signed-off-by: Stephen Glass <stephen@stephen.glass>
2025-01-29 16:00:12 +01:00
Stephen Glass eb3d91a351 use custom error page
Signed-off-by: Stephen Glass <stephen@stephen.glass>
2025-01-29 16:00:12 +01:00
Patrik Oldsberg 524f0afb30 techdocs: add missing alpha entity content route ref
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-01-22 12:01:48 +01:00
John Philip 47e429861d Merge pull request #27853 from autodesk-forks/nikolarAutodesk/makeTechDocsCustomizable
[plugin-techdocs] Add props to increase flexibility and reusability
2025-01-20 03:25:59 -05:00
Jenil Jain 5b33b7bdcb feat: Small fix
Signed-off-by: Jenil Jain <jenil.jain@harness.io>
2025-01-15 18:39:43 +05:30
Jenil Jain 9562155b8b feat: Techdocs base url should be app.baseUrl
Signed-off-by: Jenil Jain <jenil.jain@harness.io>
2025-01-15 18:39:43 +05:30
Jenil Jain e1ab047fa1 feat: Techdocs base url should be app.baseUrl
Signed-off-by: Jenil Jain <jenil.jain@harness.io>
2025-01-15 18:39:43 +05:30
nikolar 301a40f00f fix tests
Signed-off-by: nikolar <reyna.nikolayev@autodesk.com>
2025-01-14 18:54:16 -08:00
nikolar be04f3c91c use entityPresentationApi for title
Signed-off-by: nikolar <reyna.nikolayev@autodesk.com>
2025-01-14 17:55:56 -08:00
nikolar 85097cf492 clarify test actions
Signed-off-by: nikolar <reyna.nikolayev@autodesk.com>
2025-01-06 12:14:10 -08:00
Yasser Hennawi 3710b3507f fix: pass down withSearch from EntityTechdocsContent component
Signed-off-by: Yasser Hennawi <yahennawi@gmail.com>
2025-01-05 18:48:07 +01:00
nikolar f1a09dd40e 🧹
Signed-off-by: nikolar <reyna.nikolayev@autodesk.com>
2024-12-20 22:29:16 -08:00
nikolar 0fc1936db4 fix custom props
Signed-off-by: nikolar <reyna.nikolayev@autodesk.com>
2024-12-20 17:39:44 -08:00
nikolar ba17e05f6c fix error with suggestion for showHeader and showSupport
Signed-off-by: nikolar <reyna.nikolayev@autodesk.com>
2024-12-18 11:52:23 -08:00
nikolar 4c5df2c59f update review comments
Signed-off-by: nikolar <reyna.nikolayev@autodesk.com>
2024-12-17 17:54:01 -08:00
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
nikolar b75dc530bc Merge branch 'nikolarAutodesk/makeTechDocsCustomizable' of https://github.com/autodesk-forks/backstage into nikolarAutodesk/makeTechDocsCustomizable 2024-12-10 16:42:19 -08:00
Reyna Nikolayev 845b0f17f5 Merge branch 'master' into nikolarAutodesk/makeTechDocsCustomizable
Signed-off-by: Reyna Nikolayev <146387693+nikolarAutodesk@users.noreply.github.com>
2024-12-10 16:40:53 -08:00
nikolar d3dc0ec77d linkDestination can be undefined
Signed-off-by: nikolar <reyna.nikolayev@autodesk.com>
2024-12-10 14:19:43 -08: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
nikolar 0d7097b705 fix api-report warning
Signed-off-by: nikolar <reyna.nikolayev@autodesk.com>
2024-12-03 16:29:04 -08:00
nikolar 351952cb93 renaming
Signed-off-by: nikolar <reyna.nikolayev@autodesk.com>
2024-12-03 15:41:04 -08:00
nikolar 1f40e6bf88 add docs and clean up
Signed-off-by: nikolar <reyna.nikolayev@autodesk.com>
2024-12-02 22:35:58 -08:00
nikolar b6a8c56a81 add testing
Signed-off-by: nikolar <reyna.nikolayev@autodesk.com>
2024-12-02 20:09:30 -08:00
nikolar cffde24a15 add props to customize CustomHome
Signed-off-by: nikolar <reyna.nikolayev@autodesk.com>
2024-11-26 17:15:40 -08: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