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
John Philip
febf7d6041
Merge pull request #25225 from CptnFizzbin/tech-docs-search-by-title
...
fix: Allow for searching TechDocs by Title
2024-07-15 15:07:45 -04:00
Bond Yan
8fc26223c2
setting useNavigate in a ref
...
Signed-off-by: Bond Yan <bondy@spotify.com >
2024-07-11 11:20:17 -04:00
Stephen A. Wilson
1ba55321bf
Fix linting errors
...
Signed-off-by: Stephen A. Wilson <code@stephenawilson.ca >
2024-07-03 20:17:30 -04:00
Stephen
d8b6080c91
Merge branch 'master' into tech-docs-search-by-title
...
Signed-off-by: Stephen <code@stephenawilson.ca >
2024-07-03 19:59:38 -04:00
Fredrik Adelöw
9e525886d0
Merge pull request #25416 from backstage/freben/docs
...
improve default docs sorting
2024-07-02 19:16:54 +02:00
Alex Lorenzi
8a4c24e036
Rollback the changes in #25332
...
Add MutationObserver in useShadowRootElements to we can trigger update when the elements under the shadow root change
Signed-off-by: Alex Lorenzi <alorenzi@spotify.com >
Signed-off-by: Jackson Chen <jacksonc@spotify.com >
2024-06-27 15:36:44 -04:00
Fredrik Adelöw
6fa652c88d
improve default docs sorting
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2024-06-26 17:16:21 +02:00
Fredrik Adelöw
60caa9216d
techdocs: fix double scroll bug
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2024-06-26 12:05:44 +02:00
Stephen A. Wilson
fc34d29bd5
Merge branch 'refs/heads/master' into tech-docs-search-by-title
2024-06-22 15:48:34 -04:00
Alex Lorenzi
dd780ece4f
Switch to using a version number instead of hashing the content
...
Signed-off-by: Alex Lorenzi <alorenzi@spotify.com >
Signed-off-by: Sydney Achinger <sydneynicoleachinger@spotify.com >
2024-06-20 15:16:16 -04:00
Sydney Achinger
94778dd4ee
Add setShadowRootVersionHash to force shadowRoot to update in provider when version changes.
...
Signed-off-by: Sydney Achinger <sydneynicoleachinger@spotify.com >
2024-06-20 15:16:16 -04:00
Stephen A. Wilson
e9551a7598
revert changes to match prior work in CatalogTable
...
Signed-off-by: Stephen A. Wilson <code@stephenawilson.ca >
2024-06-13 13:05:09 -04:00
Stephen A. Wilson
605b6916cf
Allow for searching TechDocs by Title
...
Signed-off-by: Stephen A. Wilson <code@stephenawilson.ca >
2024-06-13 11:08:03 -04:00
Patrik Oldsberg
42f18658bd
Merge pull request #24861 from alexef/new-events-implementation
...
fix: move from event-source-polyfill to fetch-event-source
2024-06-03 15:00:29 +02:00
Fredrik Adelöw
9cdc651a41
fix some particularly noisy test log warning sources
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2024-05-30 14:52:48 +02:00
Alex Eftimie
9d54ebfb3f
Fix unittests
...
Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com >
2024-05-30 08:19:02 +02:00
Alex Eftimie
b7db436113
update pr comments
...
Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com >
2024-05-28 18:49:35 +02:00
Alex Eftimie
a15948009f
address PR comments
...
Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com >
2024-05-27 16:09:26 +02:00
Alex Eftimie
db76476e62
Cleanup and fix build
...
Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com >
2024-05-22 15:01:09 +02:00
Alex Eftimie
f1c280b3a2
Update unit tests
...
Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com >
2024-05-22 15:01:09 +02:00
Alex Eftimie
159399107f
Try to switch away from polyfill
...
Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com >
2024-05-22 15:01:09 +02:00
Sydney Achinger
bf54214344
Merge pull request #24475 from benjidotsh/feat/owner-picker-mode
...
add property ownerPickerMode to TechDocsIndexPage and DefaultApiExplorerPage
2024-05-16 18:11:31 -04:00
Kalle Ericson
654af4ab0b
fix: add missing css variables
...
Signed-off-by: Kalle Ericson <7943407+kalleericson@users.noreply.github.com >
2024-05-16 15:49:55 +02:00
Fredrik Adelöw
e74c615bd6
remove last remnants of react-text-truncate from test mocks
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2024-05-15 13:04:54 +02:00
Sydney Achinger
ea1e845f1d
Merge pull request #24334 from RoadieHQ/improve-techdocs-search-bar
...
Improve techdocs search bar
2024-05-14 11:51:24 -04:00
Sydney Achinger
b91372881c
Merge pull request #24672 from stanislav-c/fix-copy-to-clipboard-position
...
fix: correct position of the copy to clipboard button
2024-05-14 11:27:29 -04:00
Vincenzo Scamporlino
8a18e9ef38
techdocs: make builder optional
...
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com >
2024-05-07 14:29:57 +02:00
Stanislav C
e40bd9a440
fix: correct position of the copy to clipboard button
...
Signed-off-by: Stanislav C <150145013+stanislav-c@users.noreply.github.com >
2024-05-07 14:20:23 +02:00