Commit Graph

103 Commits

Author SHA1 Message Date
Bilawal Hameed c639909e78 fix: add yarn export to techdocs plugin 2020-07-08 16:39:46 +02:00
Patrik Oldsberg 6fdcc9f59a v0.1.1-alpha.13 2020-07-07 13:16:30 +02:00
Sebastian Qvarfordt 9fa773d571 Hack to fix typescript error in dependency. PR sent, and this fixes it temporarily. 2020-07-07 11:14:20 +02:00
Emma Indal f86715ae3d fix(techdocs): move from post transformers to pre transformers 2020-07-06 19:52:05 +02:00
Emma Indal 18e9dac360 fix(techdocs): adjust test to use post and pre transformers 2020-07-06 19:52:05 +02:00
Emma Indal 7f00b29ea2 feat(techdocs): sanitizeDOM transformer 2020-07-06 19:52:04 +02:00
Emma Indal 07d6e90341 feat(techdocs): add sanitizer package 2020-07-06 19:52:04 +02:00
Bilawal Hameed 9a3b6d50fe fix: cast as HTMLElement 2020-07-06 14:29:28 +02:00
Bilawal Hameed 180a08a5ec chore: use onLoading and onLoaded 2020-07-06 14:24:23 +02:00
Bilawal Hameed 1040383d36 chore: added stylesheet test-util + split out shadow-dom test util 2020-07-06 14:08:38 +02:00
Bilawal Hameed 04067f24f0 chore: add onCssReady tests 2020-07-06 14:08:38 +02:00
Bilawal Hameed 4eca08efd1 chore: rename callbacks to onLoading and onLoaded 2020-07-06 14:08:36 +02:00
Bilawal Hameed b44d4a4467 fix: only run onLoading if external stylesheets exist 2020-07-06 14:08:05 +02:00
Bilawal Hameed 0c1e1bf346 feat(techdocs): added onCssReady transformer 2020-07-06 14:08:04 +02:00
Bilawal Hameed 9e4c092d6b chore: ref to shadowDomRef 2020-07-03 16:26:54 +02:00
Bilawal Hameed 07e5d2ce8a chore: revert data-testid back to shadow-dom 2020-07-03 16:25:09 +02:00
Bilawal Hameed a662bc1639 fix: remove re-creating new shadow-dom on page change 2020-07-03 16:18:34 +02:00
Bilawal Hameed 52f4d37b8e fix(techdocs): cleaned up useEffect in Reader 2020-07-03 16:05:25 +02:00
Bilawal Hameed 95ebc8eba9 fix: moved useEnforcingTrailingSlash upper in the hook chain 2020-07-03 16:05:25 +02:00
Bilawal Hameed 96c24c687b chore(techdocs): updated tests 2020-07-03 16:05:25 +02:00
Bilawal Hameed 468ca0f9b3 fix(techdocs): fixed race condition between page loads 2020-07-03 16:05:25 +02:00
Emma Indal ddd73efa92 Merge pull request #1508 from spotify/emmaindal/techdocs-base-components
techdocs: base components + basic docs not found page
2020-07-03 12:12:12 +02:00
Emma Indal 8945b51114 fix(useFetch): use AsyncState type 2020-07-03 12:06:14 +02:00
Emma Indal eaf1d0a09d fix(techdocs-404): throw error 2020-07-03 11:55:20 +02:00
Emma Indal 3229b16ce8 fix(techdocs-home): move docs sites mock data to array 2020-07-03 11:55:19 +02:00
Emma Indal 3e3dff511b fix(test): change to lowercase
Co-authored-by: Bilawal Hameed <bil@spotify.com>
2020-07-03 11:55:19 +02:00
Emma Indal 6f3a8ee90a fix(test): remove async
Co-authored-by: Bilawal Hameed <bil@spotify.com>
2020-07-03 11:55:19 +02:00
Emma Indal cabd540abb refactor(techdocs): basic techdocs not found, split out components from reader 2020-07-03 11:55:19 +02:00
Emma Indal ea58f885e2 fix(tests): fix fixures (#1505)
Co-authored-by: Emma Indal <emmai@spotify.com>
2020-07-03 11:17:15 +02:00
Fredrik Adelöw 7389f326d9 chore: add import/newline-after-import lint rule 2020-07-02 11:25:04 +02:00
Emma Indal 4cb4dd72bc Merge pull request #1496 from spotify/mob/techdocs-anchor-scrolling
Scroll to anchor link
2020-07-01 12:01:37 +02:00
Emma Indal 5e7eeda1d0 fix(transformers): add slash at end of path if missing 2020-07-01 11:53:56 +02:00
Emma Indal b2ff69e2d3 fix(transformer): add trailing slash to test output 2020-07-01 10:01:57 +02:00
Christina Marie Rahaim 38734afa4c bumping react-router and react-router-dom 2020-07-01 09:18:16 +02:00
Sebastian Qvarfordt 45a981ca04 Rewrite urlParser to urlFormater 2020-06-30 15:39:35 +02:00
Sebastian Qvarfordt 6f9270e765 Updated export from 2020-06-30 14:11:57 +02:00
Sebastian Qvarfordt ef1c5813bf Change type name 2020-06-30 14:04:33 +02:00
Sebastian Qvarfordt 71aa8d9d18 Scroll to anchor link 2020-06-30 14:00:28 +02:00
Sebastian Qvarfordt 6f5db82ef0 Removed argument to rewriteDocLinks 2020-06-30 13:26:52 +02:00
Sebastian Qvarfordt 0ed5a1cd77 Removed unused JSDOM dependency 2020-06-30 13:22:10 +02:00
Sebastian Qvarfordt 3c8f32e45b Updated test descriptions 2020-06-30 13:19:18 +02:00
Sebastian Qvarfordt 60cb8b0879 Added rewriteDocLinks test 2020-06-30 13:16:57 +02:00
Sebastian Qvarfordt f2f9e56b54 Added tests for transformers 2020-06-30 12:10:52 +02:00
Sebastian Qvarfordt 7dced3ace1 Remove unused argument to removeMkdocsHeader 2020-06-30 10:23:04 +02:00
Sebastian Qvarfordt 92f85997dc Rename modifyCssTransformer to modifyCss 2020-06-30 10:20:21 +02:00
Sebastian Qvarfordt df209cf139 Merge branch 'master' of github.com:spotify/backstage into mob/techdocs-landing-page 2020-06-29 16:53:42 +02:00
Sebastian Qvarfordt 74d949be98 Changes to material theme css 2020-06-29 16:34:06 +02:00
Emma Indal fc7b0a0aa5 fix(techdocs): move card component into techdocs plugin from backstage core 2020-06-29 15:23:09 +02:00
Sebastian Qvarfordt 695b1971ad Fixed lint issue 2020-06-29 12:17:07 +02:00
Emma Indal 5066a79143 fix(docs): update readmeg 2020-06-29 11:04:27 +02:00