Commit Graph

1487 Commits

Author SHA1 Message Date
github-actions[bot] d6ce2db9ca Version Packages 2025-10-14 15:29:54 +00:00
Fredrik Adelöw 3ce99627d0 Merge pull request #31246 from backstage/search-abortcontroller
Implement AbortController request cancellation for search.
2025-10-07 23:02:12 +02:00
github-actions[bot] ffb5b44d86 Version Packages (next) 2025-09-30 14:42:12 +00:00
github-actions[bot] c2c60546d2 Version Packages (next) 2025-09-24 12:57:42 +00:00
Sydney Achinger e02473eeb3 Update test
Signed-off-by: Sydney Achinger <sydneynicoleachinger@spotify.com>
2025-09-23 16:18:13 -04:00
github-actions[bot] c73bfa46d4 Version Packages (next) 2025-09-23 15:00:29 +00:00
github-actions[bot] b799a2d07f Version Packages 2025-09-16 13:22:58 +00:00
Paul Schultz 133ac7ad66 fix(repo-tools): resolve knip-reports failure with spaces in workspace paths
Signed-off-by: Paul Schultz <pschultz@pobox.com>
2025-09-15 12:34:26 -05:00
Fredrik Adelöw e6ff786ae4 Merge pull request #30991 from MegaManSec/xss-fix 2025-09-15 17:19:25 +02:00
Joshua Rogers b87e54c355 tests(techdocs): add transformer tests for sanitizing javascript: hrefs
Signed-off-by: Joshua Rogers <MegaManSec@users.noreply.github.com>
2025-09-11 08:44:33 +02:00
Joshua Rogers cb9e2d1155 Revert "techdocs: Disallow javascript URLs"
This reverts commit 067fdcd0a5.

Signed-off-by: Joshua Rogers <MegaManSec@users.noreply.github.com>
2025-09-11 08:26:59 +02:00
Luna Stadler 8d18d23e34 Improve TechDocs page titles (especially for nested pages) (#31054)
* Replace underscores in techdocs titles

Signed-off-by: Luna Stadler <luc@spreadshirt.net>

* Make techdocs titles similar to component titles

The pattern for components is entity name, page/tab and then app title.
This ordering makes it easier to distinguish tabs at a glance.

Signed-off-by: Luna Stadler <luc@spreadshirt.net>

* Abbreviate nested pages in techdocs

A deeply nested page like `/really/very/deeply/nested/page`, will now
become "Really | ... | Nested | Page".

This should preserve some of the context and support docs whith deeply
nested pages.

Signed-off-by: Luna Stadler <luc@spreadshirt.net>

* Add changeset for TechDocs page title improvements

Signed-off-by: Luna Stadler <luc@spreadshirt.net>

* Display the full title based on all parts of the path

Signed-off-by: Luna Stadler <luc@spreadshirt.net>

---------

Signed-off-by: Luna Stadler <luc@spreadshirt.net>
2025-09-10 14:34:58 -04:00
Fredrik Adelöw 933a982c12 Merge pull request #30984 from Frueber/tech-docs/external-tech-docs-redirect/add-handling-tests-and-documentation 2025-09-10 19:24:28 +02:00
Jackson Chen 313cec7bed add changeset
Signed-off-by: Jackson Chen <jacksonc@spotify.com>
2025-09-09 17:47:35 -04:00
Jackson Chen d821c01c5e refactor and fix dompurify tsc errors
Signed-off-by: Jackson Chen <jacksonc@spotify.com>
2025-09-09 17:32:04 -04:00
Fredrik Adelöw 1184c55a2a Merge pull request #30723 from Believe-SA/techdocs-redirect-dompurify 2025-09-09 20:27:05 +02:00
github-actions[bot] 020d484ac4 Version Packages (next) 2025-09-09 15:00:36 +00:00
github-actions[bot] ac48eeb3ba Version Packages (next) 2025-09-02 12:17:03 +00:00
Owen Shartle ff40e2297c Using catalogApiMock from @backstage/plugin-catalog-react/testUtils.
Signed-off-by: Owen Shartle <timeloveinvent+github@gmail.com>
2025-09-01 21:09:50 -04:00
Owen Shartle 8eb950ff64 Adding a try-catch around the usage of the catalog API in the TechDocsReaderPage as it could still attempt to load a standard TechDocs page.
Signed-off-by: Owen Shartle <timeloveinvent+github@gmail.com>
2025-08-25 21:36:57 -04:00
Owen Shartle a0b604cb6a Adding handling which checks if the current entity (the catalog entity being loaded) has an annotation for an external entity's TechDocs. If it does then we will redirect there rather than allowing a 404 (mic drop). This helps keep older URLs routing to the updated locations.
Adding changesets.
Adding test coverage for external TechDocs entitiy redirect.

Signed-off-by: Owen Shartle <timeloveinvent+github@gmail.com>
2025-08-25 15:39:29 -04:00
github-actions[bot] 9c441f9a78 Version Packages (next) 2025-08-25 15:09:39 +00:00
John Philip 53b4426952 revert sidebar css changes
Signed-off-by: John Philip <jphilip@spotify.com>
2025-08-20 11:36:00 -04:00
github-actions[bot] b93a3471c2 Version Packages 2025-08-19 13:01:39 +00:00
Patrik Oldsberg 12b6db78eb frontend-plugin-api: add OverridableFrontendPlugin type
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-08-15 20:29:04 +02:00
John Philip 65c2b6148e fix CSS rules depending on if sidebar is present
Signed-off-by: John Philip <jphilip@spotify.com>
2025-08-08 13:49:59 -04:00
github-actions[bot] 1e8a013c67 Version Packages (next) 2025-08-05 13:45:29 +00:00
Patrik Oldsberg 948de17c19 frontend-plugin-api: avoid forwarding ConfigurableExtensionDataRef
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-08-05 15:12:13 +02:00
Joshua Rogers 067fdcd0a5 techdocs: Disallow javascript URLs
Signed-off-by: Joshua Rogers <MegaManSec@users.noreply.github.com>
2025-08-05 11:18:09 +02:00
Patrik Oldsberg 147482b700 frontend-plugin-api: switch naming recommendation from define to defineParams
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-08-04 17:17:05 +02:00
Patrik Oldsberg e739a01e2d Merge pull request #30721 from backstage/rugvip/nodefault
frontend-plugin-api,catalog-react: remove default* prefix from blueprint params
2025-08-04 17:15:02 +02:00
Patrik Oldsberg 3c3c8825b2 frontend-plugin-api: get rid of AnyExtensionDataRef
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-08-04 16:50:03 +02:00
Patrik Oldsberg e4ddf22854 frontend-plugin-api,catalog-react: remove default* prefix from blueprint params
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-08-04 16:46:55 +02:00
Gabriel Dugny 4ce58318da fix(techdocs): support dompurify 3.2.6
Element.tagName is uppercased, see https://developer.mozilla.org/fr/docs/Web/API/Element/tagName

Signed-off-by: Gabriel Dugny <gabriel.dugny@believe.com>
2025-08-01 14:56:46 +02:00
github-actions[bot] 531a48848c Version Packages (next) 2025-07-29 14:40:44 +00:00
Patrik Oldsberg 45f1b9fdce frontend-plugin-api: type cleanup, docs, and API reports for advanced blueprint types
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-07-28 22:27:13 +02:00
Patrik Oldsberg f2f133ce8d update all usages of ApiBlueprint
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-07-28 22:27:13 +02:00
Andre Wanlin 5645d8c6b1 Merge pull request #30583 from nickhudkins/feat/uri-allowlist
feat(sanitizer): add support for allowlisting additional URI protocols
2025-07-23 10:58:35 -05:00
github-actions[bot] 4704160491 Version Packages (next) 2025-07-22 15:06:26 +00:00
Nick Hudkins cb0541f294 feat(sanitizer): add support for allowlisting additional URI protocols
Signed-off-by: Nick Hudkins <nick@nickhudkins.com>
2025-07-21 13:23:32 -04:00
github-actions[bot] 9a7cae26c9 Version Packages 2025-07-15 14:26:41 +00:00
github-actions[bot] 952cefedd8 Version Packages (next) 2025-07-01 11:50:02 +00:00
github-actions[bot] f1e160615c Version Packages (next) 2025-06-24 12:20:36 +00:00
Chris Suich ad187bde2e just defaultPath
Signed-off-by: Chris Suich <csuich2@gmail.com>
2025-06-18 12:30:34 -04:00
Chris Suich 1debf7fa35 fix(techdocs): handle undefined defaultPath in techdocs initial redirect
When handling the initial redirect for techdocs deep linking an
undefined value for defaultPath was being included in the url
resulting in an error page.

https://github.com/backstage/backstage/issues/30300

Signed-off-by: Chris Suich <csuich2@gmail.com>
2025-06-18 11:57:34 -04:00
github-actions[bot] 58558ef2c1 Version Packages 2025-06-17 12:45:56 +00:00
github-actions[bot] f628f44cab Version Packages (next) 2025-06-10 14:28:09 +00:00
Camila Belo 8ee146cea9 refactor: apply second round of review suggestions
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2025-06-04 11:29:33 +02:00
Camila Belo 3c59ece2e0 refactor: apply review suggestions
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2025-06-04 09:16:17 +02:00
github-actions[bot] d57a6f7828 Version Packages (next) 2025-06-03 13:12:47 +00:00