Commit graph

51 commits

Author SHA1 Message Date
y1450
81af8c459b
fix: remove console log (#159) 2022-07-13 15:02:11 -07:00
Jacky Zhao
ffe22689eb feat: use floating-ui for better popover positioning 2022-07-13 15:01:50 -07:00
Geoffrey Garrett
f54df35767
Copy to clipboard feature for code block (#152)
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2022-07-03 11:42:35 -07:00
Aiden Bai 白宇彤
015ed4cfa2
Fix width: auto for SPA routing (#156) 2022-07-02 19:40:18 -07:00
Geoffrey Garrett
d3e20b8b94
Added optional rendering of code block titles (#148) 2022-07-01 11:03:52 -07:00
Aiden Bai
67a7ba37e8
Bump million to 1.11.3 2022-06-28 21:43:28 -07:00
DhammaCharts
69c74ca6b5 minor adjustment 2022-06-06 16:48:16 +01:00
DhammaCharts
84c75d0546
Merge branch 'hugo' into hugo 2022-06-06 12:56:47 +01:00
DhammaCharts
a275123be2 better font behaviour 2022-06-02 08:35:28 +01:00
DhammaCharts
c88f31c364 change to object destructuring for drawGraph() arguments 2022-06-02 08:16:02 +01:00
DhammaCharts
ac0dd50c04 uncomment window.Million 2022-06-01 21:30:40 +01:00
DhammaCharts
5a1fbc9374 Improve graph display, options and ability to have a global graph on the home page, local graphs on subpage. 2022-06-01 13:49:27 +01:00
Aiden Bai
a1293f820a
Prerender latex 2022-05-29 20:40:44 -07:00
Aiden Bai
159deabfe1
Bump to 1.9.6 2022-05-27 16:14:17 -07:00
Aiden Bai
683cb53cbd
Bump million to 1.9.5 2022-05-27 13:19:19 -07:00
Aiden Bai
e0fd9570d7
Bump million to 1.9.4 2022-05-27 09:49:28 -07:00
Aiden Bai
bc32bbeaed
Bump milliomn to 1.9.3 2022-05-27 09:02:01 -07:00
Aiden Bai
efb6c7845f
Add prefetch to graph 2022-05-27 08:40:00 -07:00
Aiden Bai
bd316d8249
Bump million to 1.9.2 2022-05-27 08:39:44 -07:00
Jacky Zhao
ed9a8efd1f fix inline link highlighting, safer latex render 2022-05-05 21:11:23 -04:00
Jacky Zhao
b21b27d1d3 fix: clean wikilinks and render latex in popover 2022-05-05 20:30:55 -04:00
Jacky Zhao
364aee36fc fix: merge conf 2022-05-05 01:03:09 -04:00
Jacky Zhao
cea0f3eb74 feat: contextual backlinks (closes #106) 2022-05-05 00:58:50 -04:00
Aiden Bai
2b5c03c972
Remove redundant URL construction 2022-05-03 10:55:45 -07:00
Aiden Bai
aaed5dc1f1
Support /path root sites 2022-05-03 10:54:39 -07:00
Aiden Bai
1a5d158fce
Support active node with other data at end of url 2022-05-03 10:38:41 -07:00
Aiden Bai
d38f9bec70
Rename API and generalize router API 2022-05-03 10:16:09 -07:00
Aiden Bai
771ebd8031
Merge 2022-05-03 10:07:38 -07:00
Aiden Bai
e646cdb0be
Use explicit regex for trailing slash trim 2022-05-03 09:27:25 -07:00
Aiden Bai
3c660dd9b5
Remove unnecessary 'url' param in drawGraph 2022-05-03 09:20:01 -07:00
Aiden Bai
4cca3c1f2d
Peg router version 2022-05-03 09:04:15 -07:00
Aiden Bai
9d3bbd6076
Fix active node on graph 2022-05-03 08:53:18 -07:00
Aiden Bai
77485b754d
Fix popover 2022-05-03 08:47:42 -07:00
Jacky Zhao
6e6dd4cb0b fix: trim trailing slash when calculating popover 2022-05-03 10:57:20 -04:00
Jacky Zhao
24d08d580d cfg: make SPA optional 2022-05-03 10:43:22 -04:00
Jacky Zhao
fc89ff2680 fix: broken semi and graph min-height 2022-05-02 13:00:41 -04:00
Jacky Zhao
e9a33c04b5 fmt: remove semis for good 2022-05-02 12:56:44 -04:00
Jacky Zhao
9ba0a4b34f fmt: remove semis :) 2022-05-02 12:14:51 -04:00
Aiden Bai
5c602ab16f
Add clarification comments 2022-05-02 09:04:36 -07:00
Aiden Bai
bcb166c21c
Add router 2022-05-01 22:06:33 -07:00
Jacky Zhao
87b5a7a251 feat: show graph titles on zoom (fixes #92) 2022-04-28 15:49:16 -07:00
Jacky Zhao
3c7ece5405 fix: append trailing slash, fixes #111 2022-04-28 10:48:31 -07:00
Jacky Zhao
f9c7cdf928 fix: check for src before attempting to add popover 2022-04-05 20:44:39 -07:00
Jacky Zhao
e6e04c03c4 fix latex misrendering 2022-04-02 20:34:55 -07:00
Jacky Zhao
c117e38899 feat: wikilinks implementation 2022-04-02 20:06:31 -07:00
Jacky Zhao
4fd983277e fix: cjk support + demo page 2022-04-02 17:38:39 -07:00
Jacky Zhao
1ddd15afc6 fix: non-unicode character in popover and search #67, #68 2022-04-02 12:59:38 -07:00
Jacky Zhao
94e987dab5 feat: better titles for empty pages #61 2022-03-15 00:37:56 -07:00
Claudio Yanes
978d5ca1ae Format JS 2022-03-07 18:25:02 +00:00
Claudio Yanes
7e0f2e4449 Fix fetchData
The fetchData function suffer from a race condition. If the function is
called before the promise finishes, it will result in another pair of
HTTP request. This does not only make the function useless but
Actually, it makes it harmful as the data might be redownloaded twice.

Now fetchData is not a function but rather the promise by itself.
Previous callers are expected to await the variable instead, this
should be not concern as awaiting a promise multiple time in
JavaScript is completely safe.
2022-03-04 02:25:30 +00:00