Commit graph

11 commits

Author SHA1 Message Date
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
Jacky Zhao
5234fae080 fix backlinks not using baseurl 2022-02-28 08:24:29 -08:00
Jacky Zhao
fcd5d2807d feat: dynamically fetch indices 2022-02-15 19:39:14 -05:00
Jacky Zhao
094ab9d064 dedupe backlinks 2021-12-27 13:15:10 -05:00
Jacky Zhao
56d2382c28 fix relative link styling, change graph and backlinks to refer to name rather than path 2021-12-23 14:05:27 -08:00
Blake Allen
9292de6333 remove unnecessary regex, use encodeuri for label instead of replace 2021-10-26 16:58:08 -07:00
Blake Allen
e1366ecb61 fix accidental code 2021-10-22 18:56:26 -07:00
Blake Allen
fc00ad5bff fix for notes with spaces not linking properly 2021-10-22 14:04:09 -07:00
jackyzha0
9b427faa93 backlinks fix 2021-08-12 09:29:35 -04:00
jackyzha0
6896cb007b proper backlink and graph display in footer 2021-07-18 13:02:53 -04:00
jackyzha0
c01138a81c add base structure 2021-07-18 09:35:42 -04:00