Commit graph

1739 commits

Author SHA1 Message Date
Yangshun Tay
33a341e8c0 v2.0.0-alpha.10 2019-04-23 22:03:49 -07:00
Yangshun Tay
c50463fed4 v2.0.0-alpha.9 2019-04-23 22:02:29 -07:00
Yangshun Tay
f8c2f472c8 v2.0.0-alpha.8 2019-04-23 21:49:43 -07:00
Radosław Miernik
93894e7bdc feat(v2): headings anchors (#1385)
* feat(v2): headings anchors

* misc: make hash link appear on hover

* misc: convert to rem
2019-04-23 21:41:51 -07:00
Yangshun Tay
82ded54b1a misc: fixes 2019-04-23 21:23:18 -07:00
Yangshun Tay
16fe5196cb fix: use class names for tutorial images 2019-04-23 11:36:51 -07:00
Endilie Yacop Sucipto
10908009e3
feat(v2): 🔥 🔥 better loading UX ️ (#1383)
* feat(v2): render old screen while loading

* replace and remove stuff

* spacing

* add spinner back, just as a fallback

* nits

* Turn off loading spinner on top right

* address review
2019-04-24 01:08:50 +07:00
Yangshun Tay
23e56f61f5
feat: add tutorial (#1381)
* feat: add tutorial

* feat: complete tutorial

* Fix link
2019-04-23 09:44:37 -07:00
endiliey
2d24e478a5 fix(v2): fix prism not working 2019-04-24 00:23:01 +08:00
endiliey
311c88cd76 chore(v2): change algolia API key & fix css 2019-04-23 23:16:48 +08:00
Endilie Yacop Sucipto
60c24ef1f9
chore(v2): make site algolia compliant (#1384) 2019-04-23 20:36:41 +07:00
Endilie Yacop Sucipto
745f32b010
feat(v2): support rightToc, emoji, slug for docs (#1382)
* add remark-slug and remark-emoji

* implement right TOC remark plugin

* use rehype-slug ecosystem instead of remark for perf

* first rough implementation for right toc

* nits

* remove unwanted changes

* fix left border styling

* remove depths

* inline snapshot
2019-04-23 15:22:11 +07:00
Radosław Miernik
37897ffc96 fix(v2): prefetch only existing chunks (#1380) 2019-04-22 12:09:46 -07:00
Yangshun Tay
21793a833d
feat: docusaurus-init without example directories (#1378)
* feat: do not copy into examples folder

* Update documentation

* feat: use Undraw illustrations for initialized landing page (#1379)
2019-04-21 22:28:35 -07:00
Yangshun Tay
1a44d99db1 misc(v2): add dummy table of contents to docs page 2019-04-21 13:46:07 -07:00
Endilie Yacop Sucipto
90a1fbc535
fix(v2): flat function & window.docusaurus rename (#1377)
* fix(v2): flat function & window.docusaurus rename

* test nits

* nits space

* test fix
2019-04-21 16:54:14 +07:00
Yangshun Tay
2191fd662c fix(v2): keep up with infima updates 2019-04-20 18:22:04 -07:00
Endilie Yacop Sucipto
9aa66ddac6
chore(v2): temporary hack to persist infima CSS (#1376) 2019-04-21 00:51:25 +07:00
Endilie Yacop Sucipto
b99ede440b
feat(v2): prefetch links on viewport with intersection observer (#1375)
* feat(v2): prefetch links on viewport with intersection observer

* nits

* remove console log

* better useEffect

* disconnect IO when unmount

* comment
2019-04-21 00:28:13 +07:00
Endilie Yacop Sucipto
2a13c7773f feat(v2): enable exact for addRoute API (#1374) 2019-04-20 08:09:21 -07:00
Endilie Yacop Sucipto
1d7538ff4a
feat(v2): prefetching/ preloading API (#1373)
* add prefetch helper function

* prefetchChunks pseudocode in Link

* chunkmap extractor & routeChunkNames

* wip

* wip prefetch

* rough implementation

* prefetch feedback page on home page

* dedupe prefetch&preload

* refactor/ remove unused

* double check client-manifest and chunk-map

* make sure build folder exist

* address review
2019-04-20 16:16:34 +07:00
Yangshun Tay
d00799f633 refactor(v2): use BEM for classes 2019-04-20 00:42:24 -07:00
Alan Cha
1fc4c9b810 docs: consistent badge style (#1371) 2019-04-18 12:50:27 -07:00
Endilie Yacop Sucipto
b4daac96c8
fix(v2): fix hot reload sometimes not working due to altered modules (#1370) 2019-04-18 19:04:53 +08:00
endiliey
1ce4195f14 v2.0.0-alpha.7 2019-04-16 22:38:11 +08:00
Yangshun Tay
96cb4672d5 feat(v2): implement ComponentCreator (#1366)
* v2(feat): convert blog to view-driven content queries

* feat(v2): port blog to use ContentRenderer

* misc(v2): fix test and change ContentRenderer url

* avoid chunkName collision

* avoid chunkname collision more

* fix(v2): fix content-renderer ssr problem (#1367)

* wip

* avoid chunk names collision

* ContentRenderer is a wrapper for Loadable

* convert docs and pages

* nits and rename

* rename routeModules -> modules

* remove lodash from component creator

* resolve chunk not being picked up correctly

* add comment for explanation

* small refactoring
2019-04-16 22:18:29 +08:00
Yangshun Tay
0ac2441d23 chore: v1.8.1 2019-04-15 11:33:21 -07:00
murray-b
94a0da33c3 feat: random color scheme in siteConfig (#1365) 2019-04-15 09:04:38 -07:00
Endilie Yacop Sucipto
57df1f8e32 chore(v2): remove react-hot-loader (#1364) 2019-04-13 12:55:53 -07:00
endiliey
1d133e7169 fix(v2): fix deploy script 2019-04-14 01:22:57 +08:00
endiliey
d097f73285 v2.0.0-alpha.6 2019-04-14 01:07:24 +08:00
endiliey
261ab9254d fix(v2): only import prism css on browser 2019-04-14 01:02:34 +08:00
Endilie Yacop Sucipto
f37300a69b
feat(v2): webpack multicompile client & server (#1363)
* feat(v2): multi-compile server & client

* simplify stuff

* dep

* fix sitemap callback deprecation warning
2019-04-13 23:11:35 +07:00
Endilie Yacop Sucipto
ecb4f91669
feat(v2): don't output server.bundle.js to disk (#1361) 2019-04-13 16:23:33 +07:00
Yangshun Tay
fbfb26e17c fix(v2): avatar class names 2019-04-12 23:00:36 -07:00
Endilie Yacop Sucipto
f0dc68d01a
feat(v2): code-split metadata out of routes (#1359)
* move assets-manifest to generatedFilesDir

* rename generateChunkName -> genChunkName

* implement docuHash and genComponentName

* feat(v2): code-split routes and metadata

* don't code split component code out

* simplify metadata path

* nits

* fix test

* address review
2019-04-13 12:37:05 +07:00
pkowaluk
866f66241b docs: change parameter type for separateCss from string to array (#1358) 2019-04-12 00:56:06 -07:00
Yangshun Tay
b4bfa084f1 v2.0.0-alpha.5 2019-04-10 13:26:45 -07:00
Yangshun Tay
2fe7d4c3b8 v2.0.0-alpha.4 2019-04-10 13:19:10 -07:00
Yangshun Tay
3ce215eb20 v2.0.0-alpha.3 2019-04-10 13:17:26 -07:00
Yangshun Tay
d80e0e5d83 v2.0.0-alpha.2 2019-04-10 13:05:24 -07:00
endiliey
a4fc63fbff v2.0.0-alpha.1 2019-04-11 00:56:40 +08:00
Endilie Yacop Sucipto
a967816616
fix(v2): fix js-loader not transpiling own library (#1356) 2019-04-10 23:41:49 +07:00
endiliey
2a37bbf84a v2.0.0-alpha.0 2019-04-10 22:35:17 +08:00
endiliey
3f09957045 chore: fix scoped packages publish error 2019-04-10 22:21:35 +08:00
endiliey
84ace67234 chore: fix conflicting yarn 'version' 2019-04-10 22:01:37 +08:00
Endilie Yacop Sucipto
f95ac033fd
feat(v2): separate runtimechunk (#1355)
* feat(v2): separate runtimechunk

* nits
2019-04-10 19:50:37 +07:00
Endilie Yacop Sucipto
415d2b33d1
fix(v2): wrong head meta and title (#1354) 2019-04-10 17:08:58 +07:00
Endilie Yacop Sucipto
5872e2dd91
fix(v2): windows compatibility (#1353) 2019-04-10 15:30:30 +07:00
Endilie Yacop Sucipto
15bc33df50
chore(v2): rename/ restructure folder (#1351)
* chore(v2): restructure folder

* typo

* fix test
2019-04-10 14:20:15 +07:00