Commit Graph

224 Commits

Author SHA1 Message Date
Jacky Zhao
8d6029b7b8 feat: 404 page emitter 2023-09-06 21:02:21 -07:00
Ben Schlegel
7e42be8e46
feat(search): add arrow key navigation (#442)
* feat(search): add arrow navigation

* chore: format

* refactor: simplify arrow navigation

* chore: remove comment

* feat: rework arrow navigation to work without state

* feat: make pressing enter work with arrow navigation

* fix: remove unused css class

* chore: correct comment

* refactor(search): use optional chaining
2023-09-03 09:32:46 -07:00
Ben Schlegel
8c354f6261
fix: clipboard button visible in search (#445) 2023-09-03 09:06:05 -07:00
Jacky Zhao
505673acd7 feat: pluralize things in lists 2023-09-02 18:07:26 -07:00
Ben Schlegel
23f43045c4
fix(search): matches getting highlighted in title (#440) 2023-09-01 14:12:32 -07:00
Ben Schlegel
90dac31216
feat: Implement search for tags (#436)
* Quartz sync: Aug 29, 2023, 10:17 PM

* style: add basic style to tags in search

* feat: add SearchType + tags to search preview

* feat: support multiple matches

* style(search): add style to matching tags

* feat(search): add content to preview for tag search

* fix: only display tags on tag search

* feat: support basic + tag search

* refactor: extract common `fillDocument`, format

* feat: add hotkey to search for tags

* chore: remove logs

* fix: dont render empty `<ul>` if tags not present

* fix(search-tag): make case insensitive

* refactor: clean `hideSearch` and `showSearch`

* feat: trim content similar to `description.ts`

* fix(search-tag): hotkey for windows

* perf: re-use main index for tag search
2023-09-01 10:09:58 -07:00
Ben Schlegel
c35cd422c6
fix: correct graph labels for index.md nodes (#431) 2023-08-28 10:00:49 -07:00
Ben Schlegel
c91e62c376
Fix search bar after navigate (#424) 2023-08-26 17:19:45 -07:00
Jacky Zhao
c8412a5b0a format 2023-08-24 10:03:14 -07:00
Jacky Zhao
9ea2af92fc format 2023-08-24 10:03:14 -07:00
Jacky Zhao
fc4b8f3d3f fix: ensure recentnotes uses proper date 2023-08-24 09:38:00 -07:00
Jacky Zhao
a066a247e5 fix: ensure recentnotes uses proper date 2023-08-24 09:38:00 -07:00
Jacky Zhao
6cd0612d40 fix: add better warning when defaultDateType is not set due to upgrade 2023-08-24 09:17:43 -07:00
Jacky Zhao
d618948f8c fix: add better warning when defaultDateType is not set due to upgrade 2023-08-24 09:17:43 -07:00
Jacky Zhao
c36a9f3fb7 feat: add defaultDateType config 2023-08-24 08:56:40 -07:00
Jacky Zhao
10996f341d feat: add defaultDateType config 2023-08-24 08:56:40 -07:00
Jacky Zhao
2e0e518f5d format 2023-08-23 15:16:04 -07:00
Jacky Zhao
d5c5d1895f format 2023-08-23 15:16:04 -07:00
Zane Helton
632c27b7ec
docs: update hosting.md with Vercel hosting instructions (#406)
* Update hosting.md with Vercel hosting instructions

* Update docs/hosting.md

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>

* Update docs/hosting.md

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>

* Run npm run format

---------

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2023-08-23 15:14:23 -07:00
Zane Helton
6b6275c8f7 docs: update hosting.md with Vercel hosting instructions (#406)
* Update hosting.md with Vercel hosting instructions

* Update docs/hosting.md

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>

* Update docs/hosting.md

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>

* Run npm run format

---------

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2023-08-23 15:14:23 -07:00
Jacky Zhao
bfb416b35a fix: text wrap in popover 2023-08-23 13:10:23 -07:00
Jacky Zhao
c707c0dc73 fix: text wrap in popover 2023-08-23 13:10:23 -07:00
Jacky Zhao
36548d5986 fix: toc for cyrillic and other non-latin alphabets (closes #396) 2023-08-22 22:41:50 -07:00
Jacky Zhao
67e5f13ba4 fix: toc for cyrillic and other non-latin alphabets (closes #396) 2023-08-22 22:41:50 -07:00
Jacky Zhao
8b63ff882a fix: tag support for non-latin alphabets (fixes #398) 2023-08-22 22:14:16 -07:00
Jacky Zhao
a205549bb8 fix: tag support for non-latin alphabets (fixes #398) 2023-08-22 22:14:16 -07:00
Jacky Zhao
b991cf2ee8 fix: spa hijacks back button (closes #400) 2023-08-22 21:30:31 -07:00
Jacky Zhao
50544cff01 fix: spa hijacks back button (closes #400) 2023-08-22 21:30:31 -07:00
Jacky Zhao
8c943f47d6 format, update default sidepanel width 2023-08-21 09:00:13 -07:00
Jacky Zhao
dc94ae8324 format, update default sidepanel width 2023-08-21 09:00:13 -07:00
2774e976d2
fix: opts being overriden in graph option (#384) 2023-08-21 08:45:47 -07:00
61befbe5c1 fix: opts being overriden in graph option (#384) 2023-08-21 08:45:47 -07:00
Jacky Zhao
777ff51c7a format 2023-08-20 20:48:35 -07:00
Jacky Zhao
cf19654049 format 2023-08-20 20:48:35 -07:00
Jacky Zhao
4e42d52e16 fix: ctrl + k breaking after page nav 2023-08-20 20:47:07 -07:00
Jacky Zhao
16987a029d fix: ctrl + k breaking after page nav 2023-08-20 20:47:07 -07:00
Jacky Zhao
952d6cb3dd fix: nav event with spa off, anchor nav refresh page 2023-08-20 18:08:44 -07:00
Jacky Zhao
a1f26ba52e fix: nav event with spa off, anchor nav refresh page 2023-08-20 18:08:44 -07:00
Jacky Zhao
173ec240d2 fix: jump to anchor on deployed site triggering spa refresh 2023-08-20 17:50:56 -07:00
Jacky Zhao
76185aaeb1 fix: jump to anchor on deployed site triggering spa refresh 2023-08-20 17:50:56 -07:00
Jacky Zhao
7b7064ad2b fix: ensure code exists inside pre before adding clipboard 2023-08-20 15:38:37 -07:00
Jacky Zhao
63a81aa371 fix: ensure code exists inside pre before adding clipboard 2023-08-20 15:38:37 -07:00
Jacky Zhao
ca17af4ae2 fix: dont show index page for folder in its own listing 2023-08-20 15:02:24 -07:00
Jacky Zhao
981f1d2b73 fix: dont show index page for folder in its own listing 2023-08-20 15:02:24 -07:00
Jacky Zhao
e65ea48fae fix: add async-mutex to builds on large vaults 2023-08-20 14:27:44 -07:00
Jacky Zhao
982a129ede fix: add async-mutex to builds on large vaults 2023-08-20 14:27:44 -07:00
Jacky Zhao
b99d4cd8ce recent notes css fixes 2023-08-20 14:05:37 -07:00
Jacky Zhao
61bae4d93f recent notes css fixes 2023-08-20 14:05:37 -07:00
Jacky Zhao
236130ac22 css fixes, add recent notes, more robust quartz update 2023-08-20 12:46:37 -07:00
Jacky Zhao
0f1a768174 css fixes, add recent notes, more robust quartz update 2023-08-20 12:46:37 -07:00
Jacky Zhao
9d77edaf94 fix description not being used in folder and tag listings 2023-08-20 01:08:18 -07:00
Jacky Zhao
efe847f362 fix description not being used in folder and tag listings 2023-08-20 01:08:18 -07:00
Jacky Zhao
78f4cdbe10 avoid 404 on icon for spa navigations with anchors 2023-08-19 16:40:02 -07:00
Jacky Zhao
c02170f534 avoid 404 on icon for spa navigations with anchors 2023-08-19 16:40:02 -07:00
Jacky Zhao
dd47be1bc6 improve path resolution stability 2023-08-19 16:28:44 -07:00
Jacky Zhao
c990edfac3 improve path resolution stability 2023-08-19 16:28:44 -07:00
Jacky Zhao
c874e7e937 base path refactor to better support subpath hosting 2023-08-19 15:52:25 -07:00
Jacky Zhao
fd174f45a5 base path refactor to better support subpath hosting 2023-08-19 15:52:25 -07:00
Jacky Zhao
07a327e05a fix back button in spa not working between two pages that both have hash fragments 2023-08-17 01:34:50 -07:00
Jacky Zhao
e7fde5f937 fix back button in spa not working between two pages that both have hash fragments 2023-08-17 01:34:50 -07:00
Jacky Zhao
58d9dc0528 format 2023-08-17 00:55:52 -07:00
Jacky Zhao
509e8d499c format 2023-08-17 00:55:52 -07:00
Jacky Zhao
0c199975f2 various path fixes for links to extensions, fix relative paths in links 2023-08-17 00:55:28 -07:00
Jacky Zhao
9d58a8f238 various path fixes for links to extensions, fix relative paths in links 2023-08-17 00:55:28 -07:00
Jacky Zhao
2dc0ae279c fix import paths 2023-08-16 22:09:11 -07:00
Jacky Zhao
eae04eac00 fix import paths 2023-08-16 22:09:11 -07:00
Jacky Zhao
2f6747b166 fix relative path resolution in router and link crawling 2023-08-16 22:04:15 -07:00
Jacky Zhao
f0eaeb1772 fix relative path resolution in router and link crawling 2023-08-16 22:04:15 -07:00
Jacky Zhao
c89f8b1a9a fix nested callout folding 2023-08-12 21:16:43 -07:00
Jacky Zhao
619be0e153 fix nested callout folding 2023-08-12 21:16:43 -07:00
Jacky Zhao
7bffc2183e include home page in search 2023-08-12 00:24:30 -07:00
Jacky Zhao
831a47ad61 include home page in search 2023-08-12 00:24:30 -07:00
Jacky Zhao
827dd91847 format, make search async 2023-08-12 00:03:11 -07:00
Jacky Zhao
7e97757776 format, make search async 2023-08-12 00:03:11 -07:00
Jacky Zhao
ed62ece491 fix broken tag listing links to tags 2023-08-11 23:27:59 -07:00
Jacky Zhao
79dff01407 fix broken tag listing links to tags 2023-08-11 23:27:59 -07:00
Jacky Zhao
736c3981c4 fix emit filepaths, tag emit being overriden by content 2023-08-11 23:25:44 -07:00
Jacky Zhao
0ce30d451d fix emit filepaths, tag emit being overriden by content 2023-08-11 23:25:44 -07:00
Jacky Zhao
e4950e06a1 fix getFileExtension missing numeric extensions (e.g. mp4) 2023-08-08 21:31:36 -07:00
Jacky Zhao
d159375804 fix getFileExtension missing numeric extensions (e.g. mp4) 2023-08-08 21:31:36 -07:00
Jacky Zhao
e21f0f9bb9 change reading time to content meta 2023-08-08 21:28:09 -07:00
Jacky Zhao
adc8d142ed change reading time to content meta 2023-08-08 21:28:09 -07:00
Jacky Zhao
ee9ed4f287 fix head.tsx 2023-08-08 20:36:24 -07:00
Jacky Zhao
e0d145a0f5 fix head.tsx 2023-08-08 20:36:24 -07:00
Jacky Zhao
d02af6a8ae architecture, fix vendor prefixing 2023-08-07 17:34:38 -07:00
Jacky Zhao
68050264f0 architecture, fix vendor prefixing 2023-08-07 17:34:38 -07:00
Jacky Zhao
cd9dc6ecb5 fix css transforms for mobile 2023-08-06 22:07:08 -07:00
Jacky Zhao
b34d1bc18f fix css transforms for mobile 2023-08-06 22:07:08 -07:00
Jacky Zhao
1c1a569023 fix formatting 2023-07-25 21:11:06 -07:00
Jacky Zhao
f4561121d0 fix formatting 2023-07-25 21:11:06 -07:00
Jacky Zhao
cee2883c08 nested tag support and tag index page 2023-07-25 21:10:37 -07:00
Jacky Zhao
28a853cca4 nested tag support and tag index page 2023-07-25 21:10:37 -07:00
Jacky Zhao
351b4ab13b styling fixes for stacking order and overflow 2023-07-23 21:41:09 -07:00
Jacky Zhao
bc58342a4a styling fixes for stacking order and overflow 2023-07-23 21:41:09 -07:00
Jacky Zhao
7c2bb4ee4c bundleinfo flag, minify scripts 2023-07-23 17:58:35 -07:00
Jacky Zhao
c3a9956ee2 bundleinfo flag, minify scripts 2023-07-23 17:58:35 -07:00
Jacky Zhao
5599eb590e feat: process tags in content 2023-07-23 14:02:57 -07:00
Jacky Zhao
9590dc76a4 feat: process tags in content 2023-07-23 14:02:57 -07:00
Jacky Zhao
fd7c33c537 style fixes for search bar and title on mobile 2023-07-23 11:19:15 -07:00
Jacky Zhao
36c479231d style fixes for search bar and title on mobile 2023-07-23 11:19:15 -07:00