Commit Graph

31 Commits

Author SHA1 Message Date
e57213bdf3 fix all lint issues in utils file 2024-01-07 10:22:37 -06:00
25889669f2 make router nav to correct directory 2023-12-31 11:56:14 -06:00
a1826fdcba convert all new class usages to use this. 2023-12-26 23:36:36 -06:00
cf93ff3231 export instantiation of util class 2023-12-25 22:42:33 -06:00
08f828b955 create util class 2023-12-25 22:39:48 -06:00
84c657cffa make transformer methods static 2023-12-25 21:40:06 -06:00
f56e07b94e convert transformer to a class
NOTE - all of these methods can be static i believe. no need to use this and instantiate new instances every time.. i dont think atm anyway
2023-12-25 20:48:51 -06:00
ba483eb27d comment out unneeded code from lib files 2023-12-25 19:27:32 -06:00
f8298e7930 fix file path characters bug 2023-12-23 23:02:08 -06:00
c31428d8e4 fix a few utils bugs
- unified import no longer default import
- make index file a variable but also be my actual entry file for my notes
- create some variables to make reading easier
- cleanup the file/directory replacement characters (what like "++++" which is ridiculous)
- lots of formatting changes
2023-12-23 20:16:56 -06:00
Tuan Cao
233e5ba4ed Remove troublesome FrontMatter pluggin (temporarily)
Cached graph-data, which result in hugely improved build performance and probably browsing experience as well
2022-04-29 15:35:10 +07:00
Tuan Cao
1a11bdb2b0 Fix issues: some document cannot be map from slug 2022-04-29 10:38:42 +07:00
Tuan Cao
47d0eb25ba Fixed issue where file name cannot be parsed 2022-04-25 12:57:36 +07:00
Tuan Cao
e331a9c7c9 Filter out non-existent target edge 2022-04-18 16:47:02 +07:00
Tuan Cao
0efef3cebf ... 2022-04-18 16:37:59 +07:00
Tuan Cao
758a8c90b4 - Add title back to Backlink
- Remove duplicated backlink and self-reference.
2022-04-18 12:02:05 +07:00
Tuan Cao
ce8de2da9f - fix bug: missing nodes in global graph
- fix bug: mismatch mapping node in index page (/)
- local graph now include both backlink and forward link
2022-04-18 11:48:36 +07:00
Tuan Cao
bfea43bb3e Refactor: replace reference to 'posts' folder single function call 2022-04-18 08:58:37 +07:00
Tuan Cao
159e64f409 Further bug fix attempt 2022-04-18 08:41:57 +07:00
Tuan Cao
8e4e9d1b32 Return default value to toSlug func 2022-04-18 08:10:19 +07:00
Tuan Cao
0065eed6e9 Remove some noisy logging 2022-04-18 07:58:20 +07:00
Tuan Cao
f606499ae8 Fix bug: Title not shown in Graph view 2022-04-17 21:01:13 +07:00
Tuan Cao
40a947e2ea Improve mapping slug to filepath, to reduce error when build up graph
(WIP 2)
2022-04-17 20:04:58 +07:00
Tuan Cao
99dbccef0a Improve mapping slug to filepath, to reduce error when build up graph
(WIP)
2022-04-16 22:55:20 +07:00
Tuan Cao
5195f9bdcc Add support for Local Nodes
Render Graph in [id] posts
2022-04-15 11:00:45 +07:00
Tuan Cao
b43dfd77b0 Add CytoGraph component to re-present the graph 2022-04-15 09:04:28 +07:00
Tuan Cao
9766844614 - Show short summary in Backlink section
- Extract content from refered markdown file.
2022-04-08 14:44:45 +07:00
Tuan Cao
2bb96504c9 Finished constructing backlink from internal links
TODO: performance improvement, and code reability.
2022-04-07 16:52:41 +07:00
Tuan Cao
b47d1053d8 WIP: Render backlink in MarkDown content component. 2022-04-07 10:44:02 +07:00
Tuan Cao
930d7bf48d Refactor to prepare to convert to react component 2022-04-05 11:47:41 +07:00
Tuan Cao
bae2cc6be7 Rename post to utils 2022-03-24 11:55:12 +07:00