Commit Graph

648 Commits

Author SHA1 Message Date
Patrik Oldsberg ec21927c0d Merge pull request #20673 from backstage/rugvip/import
dev-utils,techdocs: use dynamic import instead of require for conditional react-dom
2023-10-19 11:27:51 +02:00
Patrik Oldsberg 67cc85bb14 dev-utils,techdocs: use dynamic import instead of require for conditional react-dom
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-19 10:53:42 +02:00
Camila Belo 22b3b859a2 feat(techdocs): export nav item and routes
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2023-10-18 18:50:22 +02:00
Patrik Oldsberg 7e045eb0c3 remove act wrapping of userEvent
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-18 09:37:04 +02:00
Patrik Oldsberg 0696ef1a34 replace usages of await act(async () => {}) with waitFor
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-18 09:37:04 +02:00
Patrik Oldsberg 38cda52746 dev-utils,techdocs: add conditional support for React 18
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-18 09:37:03 +02:00
Patrik Oldsberg 80a79cc1e7 plugins: rtl 13 fixes for tests
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-18 09:37:03 +02:00
Patrik Oldsberg 0935b0d60f rtl 13 fixes for tests with type issues
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-18 09:37:03 +02:00
Patrik Oldsberg d60fbcb553 remove usages of @testing-library/react-hooks
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-18 09:37:03 +02:00
Patrik Oldsberg 10d75752dd techdocs: migrate alpha exports to new routing API
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-17 11:58:19 +02:00
Patrik Oldsberg 98c85c6077 Merge pull request #20596 from backstage/rugvip/react-18-compat
dev-utils,techdocs: add conditional support for React 18
2023-10-13 16:40:17 +02:00
Patrik Oldsberg 9468a67b92 dev-utils,techdocs: add conditional support for React 18
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-13 16:06:21 +02:00
Patrik Oldsberg 0296f272b4 type fixes for React 18
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-13 11:24:00 +02:00
Philipp Hugenroth 27740caa2d Add changeset & add to app-next
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2023-10-11 13:21:28 +02:00
Philipp Hugenroth 790fe3c4c1 Initial setup for alpha TechDocs FE DI
Co-authored-by: Johan Haals <johan@haals.se>
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2023-10-11 13:21:28 +02:00
Fredrik Adelöw 3e1746ca66 Merge pull request #20117 from knottAutodesk/knottAutodesk/TechDocs_Default_Pagination
Only show pagination controls when necessary
2023-10-06 06:15:33 +02:00
Camila Belo 2718c8d4cb feat(techdocs): migrate search result item extension
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2023-09-29 23:13:34 +02:00
Camila Belo d58c324777 chore(techdocs): configure alpha subpath
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2023-09-29 23:08:50 +02:00
Sydney Achinger 998d5a704e Merge pull request #19873 from drodil/techdocs_kind_column
chore: add kind column by default to TechDocsTable
2023-09-27 15:31:43 -04:00
Larry Knott 3605370af6 Only show pagination controls when necessary
Signed-off-by: Larry Knott <larry.knott@autodesk.com>
2023-09-25 16:33:29 -06:00
Fredrik Adelöw ab6474579f use renderInTestApp
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-09-14 22:14:14 +02:00
Heikki Hellgren df449a7a31 chore: add kind column by default to TechDocsTable
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2023-09-14 13:45:25 +03:00
jrwpatterson 60e43818f4 fix(techdocs) prettier
Signed-off-by: jrwpatterson <jrwpatterson@gmail.com>
2023-08-28 09:30:38 +10:00
jrwpatterson 0299919d86 feat(Techdocs) fix the annotations
Signed-off-by: jrwpatterson <jrwpatterson@gmail.com>
2023-08-28 08:00:23 +10:00
jrwpatterson 56e5baf7f0 Merge branch 'master' of https://github.com/backstage/backstage into feat/reference-external-docs 2023-08-23 08:33:33 +10:00
Dmitry Gusev b4a65815e3 Fix techdocs footer link width
Signed-off-by: Dmitry Gusev <gusevda90@gmail.com>
2023-08-15 18:34:24 +03:00
jrwpatterson b516f70b83 Changes the chosen annotation to
Signed-off-by: jrwpatterson <jrwpatterson@gmail.com>
2023-08-11 08:03:21 +10:00
jrwpatterson b88968fada feat(techdocs) allow referencing other entities for techdocs
Signed-off-by: jrwpatterson <jrwpatterson@gmail.com>
2023-08-09 08:04:19 +10:00
Vincenzo Scamporlino 4d2f271845 techdocs: mock facets endpoint
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2023-06-12 13:37:29 +02:00
Maapteh c0806fe2b2 only able to run e2e fixture documentation
Signed-off-by: Maapteh <maarten@oudenniel.nl>
2023-05-30 17:49:42 +02:00
Maapteh 4213276115 only able to run e2e fixture documentation
Signed-off-by: Maapteh <maarten@oudenniel.nl>
2023-05-30 17:44:05 +02:00
Maapteh 4e15516aaf only able to run e2e fixture documentation
Signed-off-by: Maapteh <maarten@oudenniel.nl>
2023-05-30 17:38:10 +02:00
Maapteh 7493e04275 can not run techdocs maybe this is it..
Signed-off-by: Maapteh <maarten@oudenniel.nl>
2023-05-30 17:33:12 +02:00
Oleg S 74b216ee4e set PropsWithChildren as explicit type on components
Signed-off-by: Oleg S <97077423+RobotSail@users.noreply.github.com>
2023-05-24 12:47:27 +02:00
Camila Belo ba261f9dcd fix(search): input base styles
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2023-05-19 11:03:49 -05:00
Adam Harvey a606cae041 chore: Remove deprecations and use shared react imports
Signed-off-by: Adam Harvey <adaharve@cisco.com>
2023-05-02 19:39:47 -04:00
Adam Harvey 2b663945cb fix: Minor product capitalization
Signed-off-by: Adam Harvey <adaharve@cisco.com>
2023-05-02 19:39:03 -04:00
Laura Ceconi 863beb4949 fix: allow trailing slash in techdocs navigation
Signed-off-by: Laura Ceconi <laura.cec@hotmail.com>
2023-04-24 10:08:07 +02:00
Aramis Sennyey c2fbe4b145 Fix test cases.
Signed-off-by: Aramis Sennyey <sennyeya@amazon.com>
2023-04-06 19:10:21 +02:00
Patrik Oldsberg 9a193b7f71 Merge pull request #16682 from sennyeya/fix-techdocs-linking
bug(techdocs): Internal techdocs anchor elements do not navigate correctly when Backstage is on a subpath
2023-04-05 11:28:23 +02:00
Raghunandan 25d61793f2 Use link color from palette
Signed-off-by: Raghunandan <soapraj@gmail.com>
2023-03-27 18:11:25 +02:00
Aramis Sennyey d31664d154 Remove from public interface and make techdocs specific.
Signed-off-by: Aramis Sennyey <sennyeya@amazon.com>
2023-03-24 12:35:15 -04:00
Morgan Bentell 38e0eeb41a color tweaks to handle changes in mkdocs-material v9
Signed-off-by: Morgan Bentell <mbentell@spotify.com>
2023-03-22 18:41:41 +01:00
Morgan Bentell f11f42b8e1 Merge pull request #16659 from agentbellnorm/techdocs/remove-warnings
[TechDocs] remove warnings
2023-03-20 14:43:11 +01:00
Morgan Bentell 103f5e2793 Merge branch 'master' into techdocs/remove-warnings
Signed-off-by: Morgan Bentell <morgan.bentell@gmail.com>
2023-03-16 16:18:32 +01:00
Sudeep Sinha b2e182cdfa Fix font size and color in search result item
Signed-off-by: Sudeep Sinha <ssinha@squarespace.com>
2023-03-08 14:08:47 -05:00
Fredrik Adelöw d06fc3f3e3 Merge pull request #16614 from backstage/freben/unpack-props
🧹 unpack props inside component bodies
2023-03-02 10:50:51 +01:00
Aramis Sennyey 2e49348062 Fixing techdocs linking issue during dom link overwrites.
Signed-off-by: Aramis Sennyey <sennyeya@amazon.com>
2023-03-01 18:21:31 -05:00
Morgan Bentell e73da4a0a9 use div insted of span because it's not allowed
Signed-off-by: Morgan Bentell <mbentell@spotify.com>
2023-03-01 15:45:23 +01:00
Morgan Bentell f41478fd02 wrap settingsaddons in span to remove warning from mui Menu component
Signed-off-by: Morgan Bentell <mbentell@spotify.com>
2023-03-01 09:34:53 +01:00