Commit Graph

854 Commits

Author SHA1 Message Date
Fredrik Adelöw aaab1e34da Fix linting errors after #13392
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-08-30 13:44:09 +02:00
Patrik Oldsberg 9f1feb5464 plugins: fix tests for react router bump
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: blam <ben@blam.sh>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-08-29 14:10:52 +02:00
Patrik Oldsberg 0f6f890e2a migrate react-router to be a peer dependency
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-08-29 14:10:52 +02:00
Patrik Oldsberg 763fb81e82 refactors to avoid using useParams where possible
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-08-23 18:43:26 +02:00
github-actions[bot] 18ab337f96 Version Packages (next) 2022-08-23 10:29:17 +00:00
blam 1de5594c75 chore: reworking tests for swc
Signed-off-by: blam <ben@blam.sh>
2022-08-23 10:53:05 +02:00
blam 658d6ab0e7 chore: fixing all tests
Signed-off-by: blam <ben@blam.sh>
2022-08-23 10:53:04 +02:00
blam 1826f15069 chore: reworking
Signed-off-by: blam <ben@blam.sh>

Signed-off-by: blam <ben@blam.sh>
2022-08-23 10:53:04 +02:00
Emma Indal 9d02b5e887 Merge pull request #13125 from backstage/camilaibs/fix-techdocs-title-subtitle
[TechDocs] Update title and subtitle when location changes
2022-08-22 16:56:57 +02:00
renovate[bot] bf5e9030eb chore(deps): update dependency msw to ^0.45.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-22 02:27:29 +00:00
Fredrik Adelöw ef9ab322de it just keeps 🧹 -ing
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-08-18 17:21:00 +02:00
Fredrik Adelöw 3f739be9d9 more api cleanup
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-08-18 15:16:19 +02:00
github-actions[bot] a5684d0d53 Version Packages 2022-08-16 12:15:33 +00:00
Camila Belo 829f14a9b0 fix(techdocs): to update title and subtitle when location changes
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-08-12 15:27:25 +02:00
Andre Wanlin f1e97bcc4f Added back reduction in size
Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
2022-08-10 10:13:34 -05:00
github-actions[bot] 8a564ab585 Version Packages (next) 2022-08-09 09:56:01 +00:00
Ben Lambert e98865cc76 Merge pull request #12872 from lunarway/feature/techdocs-scroll
Add navigation scroll to techdocs
2022-08-02 16:11:42 +02:00
github-actions[bot] f762386d48 Version Packages (next) 2022-08-02 08:43:23 +00:00
Crevil e69f405945 Simplify code to be more readable
Signed-off-by: Crevil <bjoern.soerensen@gmail.com>
2022-08-01 17:40:19 +02:00
Crevil 1abe0a2333 Support already expanded navigation
Signed-off-by: Crevil <bjoern.soerensen@gmail.com>
2022-08-01 17:37:33 +02:00
Crevil 8acb22205c Add navigation scroll to techdocs
Currently the active navigation item might be hidden behind nested items or out
of view on load.

This change adds a techdocs transformer that scrolls any active item into view
and expands any nested active items.

Signed-off-by: Crevil <bjoern.soerensen@gmail.com>
2022-07-28 08:01:29 +02:00
Ben Lambert 9aef50ef1a Merge pull request #12679 from lunarway/feature/techdocs-nav-highlight
Add highlight to active techdocs navigation item and parents
2022-07-27 16:53:49 +02:00
Jake Crews 4bdda91def Merge branch 'master' into fix-view-techdocs-link 2022-07-26 07:51:54 -05:00
github-actions[bot] 73cee58fc2 Version Packages (next) 2022-07-26 08:37:39 +00:00
Ben Lambert a6c925fbc0 Merge pull request #12641 from gabrielucido/techdocs-layout-improvement-3
fix(docs-like-code): Patched Techdocs Sidebar layout for medium devices.
2022-07-23 20:59:08 +02:00
gabrielucido 83636e7c5a Added constant to sidebar width.
Signed-off-by: gabrielucido <gabrielucido@gmail.com>
2022-07-19 17:07:01 -04:00
gabrielucido 7a98c73dc8 fix(docs-like-code): Patched Techdocs Sidebar layout for medium devices.
Signed-off-by: gabrielucido <gabrielucido@gmail.com>
2022-07-19 16:43:01 -04:00
bnechyporenko afdf6c7b48 Merge remote-tracking branch 'origin/master' into reconfigure
# Conflicts:
#	packages/app/package.json
2022-07-19 18:15:50 +02:00
github-actions[bot] 7d7da6caec Version Packages 2022-07-19 08:34:21 +00:00
Crevil b86ed4d990 Add navigation item highlight to active item
This change adds high lighting to navigation items in tech docs. It highlights
the whole nav tree with the same color and an underline.

Signed-off-by: Crevil <bjoern.soerensen@gmail.com>
2022-07-17 16:18:27 +02:00
Eric Peterson 8d9ff6de46 Merge pull request #12043 from Bonial-International-GmbH/pjungermann/techdocs/initial-filter
feat: use same initial filter `owned` at TechDocsIndexPage as at CatalogPage
2022-07-15 10:25:56 +02:00
Patrick Jungermann ebf3eb1641 feat: use same initial filter owned at TechDocsIndexPage as at CatalogPage
Aligns filter use of catalog page (and api page) with techdocs page.

Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-07-15 01:31:11 +02:00
Jake Crews a62b31c3e6 fix techdocs contexts test
Signed-off-by: Jake Crews <jake.crews@daveramsey.com>
2022-07-14 10:45:46 -05:00
bnechyporenko 978979e14c Merge remote-tracking branch 'origin/master' into reconfigure
# Conflicts:
#	packages/app/package.json
#	yarn.lock
2022-07-13 10:53:56 +02:00
renovate[bot] 8006d0f9bf chore(deps): update dependency msw to ^0.44.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-13 02:08:31 +00:00
github-actions[bot] 0e967f188b Version Packages (next) 2022-07-12 13:19:14 +00:00
bnechyporenko 5bb73faa54 wip
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
2022-07-08 11:57:49 +02:00
renovate[bot] a70869e775 chore(deps): update dependency msw to ^0.43.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-05 09:54:46 +00:00
github-actions[bot] 6b985dc1c7 Version Packages (next) 2022-07-05 08:23:38 +00:00
Crevil e2d7b76f43 Upgrade git-url-parse to 12.0.0
This change upgrades git-url-parse to 12.0.0. This is a major upgrade but it
changes nothing to our usage.

Motivation for upgrade is transitively upgrading parse-url which is vulnerable
to several CVEs detected by Snyk.

- SNYK-JS-PARSEURL-2935944
- SNYK-JS-PARSEURL-2935947
- SNYK-JS-PARSEURL-2936249

Signed-off-by: Crevil <bjoern.soerensen@gmail.com>
2022-07-03 08:28:42 +02:00
Eric Peterson 9c6e5ae7d2 Merge pull request #11932 from backstage/fix-sticky-header-overlap
[Techdocs] Fix sticky sidebars from overlapping other content in Entity Pages
2022-06-29 15:07:46 +02:00
github-actions[bot] c92deffe39 Version Packages (next) 2022-06-28 09:27:36 +00:00
Raghunandan 823ae416c5 Fix scroll issue within techdocs reader instead of adding special classes to entity page components
Signed-off-by: Raghunandan <soapraj@gmail.com>
2022-06-26 11:04:06 +02:00
Raghunandan b49cc12d95 reorder code + fix comments
Signed-off-by: Raghunandan <soapraj@gmail.com>
2022-06-26 10:34:48 +02:00
Raghunandan 03019695a3 Add special classes to identify entity page headers and tabs. Use that to make sure the sidebars in docs do not scroll beyond them
Signed-off-by: Raghunandan <soapraj@gmail.com>
2022-06-26 10:34:48 +02:00
Camila Belo 6259fcf98a refactor(techdocs): apply review suggestions
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-06-23 13:44:11 +02:00
Emma Indal b2dd93f207 delete headings transformations
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-06-23 13:35:01 +02:00
github-actions[bot] 2231987c10 Version Packages (next) 2022-06-21 09:04:17 +00:00
Raghunandan Balachandran b52a63a037 Merge pull request #11936 from backstage/reorder-techdocs-page-tab-title
[Techdocs] Reorder tab title
2022-06-17 11:34:55 +02:00
github-actions[bot] 2e2a82c9d7 Version Packages 2022-06-14 09:12:05 +00:00