Commit Graph

781 Commits

Author SHA1 Message Date
bfahrenfort
d66a8befc5 Quartz sync: Sep 30, 2023, 11:45 PM 2023-09-30 23:45:41 -05:00
bfahrenfort
ea4a89d7da Quartz sync: Sep 30, 2023, 11:35 PM 2023-09-30 23:35:54 -05:00
bfahrenfort
b16af7414d Quartz sync: Sep 29, 2023, 1:07 PM 2023-09-29 13:07:45 -05:00
bfahrenfort
7d09bac918 Quartz sync: Sep 29, 2023, 1:06 PM 2023-09-29 13:06:56 -05:00
bfahrenfort
de5e130b82 Quartz sync: Sep 28, 2023, 11:46 PM 2023-09-28 23:46:53 -05:00
bfahrenfort
4b45f2d3b5 Quartz sync: Sep 28, 2023, 11:46 PM 2023-09-28 23:46:34 -05:00
bfahrenfort
8e715c1786 Quartz sync: Sep 28, 2023, 11:45 PM 2023-09-28 23:45:24 -05:00
bfahrenfort
475d377e99 Quartz sync: Sep 28, 2023, 11:43 PM 2023-09-28 23:43:53 -05:00
bfahrenfort
598f594dca Quartz sync: Sep 28, 2023, 7:32 PM 2023-09-28 19:32:51 -05:00
bfahrenfort
d5bbb5543a Quartz sync: Sep 25, 2023, 3:05 PM 2023-09-25 15:05:32 -05:00
bfahrenfort
8bb8f96dc9 Quartz sync: Sep 24, 2023, 5:40 PM 2023-09-24 17:40:50 -05:00
bfahrenfort
42b819a2df Quartz sync: Sep 24, 2023, 5:36 PM 2023-09-24 17:36:48 -05:00
bfahrenfort
affe4e90fb Quartz sync: Sep 23, 2023, 3:45 PM 2023-09-23 15:45:15 -05:00
bfahrenfort
1e25073043 Quartz sync: Sep 22, 2023, 1:00 PM 2023-09-22 13:00:24 -05:00
bfahrenfort
d9fbd5bb98 Quartz sync: Sep 22, 2023, 12:59 PM 2023-09-22 12:59:00 -05:00
bfahrenfort
64316b2b5b Quartz sync: Sep 22, 2023, 11:20 AM 2023-09-22 11:20:05 -05:00
bfahrenfort
e61f62d555 Merge branch 'v4' of github-bfahrenfort:jackyzha0/quartz into v4 2023-09-22 10:40:12 -05:00
Ben Schlegel
07ca6005ce docs(showcase): fix pull request redirect link (#500) 2023-09-22 08:20:19 -07:00
bfahrenfort
2f0c81621b Quartz sync: Sep 21, 2023, 9:14 PM 2023-09-21 21:14:21 -05:00
bfahrenfort
6f619f7b4e Quartz sync: Sep 21, 2023, 9:11 PM 2023-09-21 21:11:05 -05:00
Ben Schlegel
03aa199793 fix(explorer): increase consistency, explicitly use font-family (#496)
* fix(explorer): display name for folders without `index` file

* docs(explorer): add section for folder display names

* docs(explorer): fix broken wikilink

* fix(consistency): explicitly set font + label/link fix

Use consistent styling between folders with `folderClickBehavior: "link"` and `"collapse`

* Update quartz/components/styles/explorer.scss

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

* Update quartz/components/styles/explorer.scss

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

---------

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2023-09-21 19:35:11 +02:00
Ben Schlegel
f380d1d500 fix(explorer): display names for folders without frontmatter (#494)
* fix(explorer): display name for folders without `index` file

* docs(explorer): add section for folder display names
2023-09-21 18:54:33 +02:00
Ben Schlegel
3a2763229c docs(explorer): update default config + new example (#493) 2023-09-21 18:53:19 +02:00
Jacky Zhao
1f0c39046e perf: memoize filetree computation (#490)
* perf: memoize filetree computation

* format

* var -> let
2023-09-20 16:09:18 -07:00
Jacky Zhao
dbd242767a feat: display name for folders, expand explorer a little bit (#489)
* feat: display name for folders, expand explorer a little bit

* update docs
2023-09-20 16:08:54 -07:00
Ben Schlegel
9b0f4881a6 feat(explorer): improve accessibility and consistency (+ bug fix) (#488)
* feat(consistency): use `all: unset` on button

* style: improve accessibility and consistency for explorer

* fix: localStorage bug with folder name changes

* chore: bump quartz version
2023-09-20 13:55:29 -07:00
Jacky Zhao
38ce96cc6e Revert "feat: Making Quartz available offline by making it a PWA (#465)"
This reverts commit d3fa6f8598.
2023-09-20 13:52:45 -07:00
Jacky Zhao
b679d4101f Revert "docs: wording changes for offline support"
This reverts commit 09c5d42fa9.
2023-09-20 13:52:29 -07:00
Jacky Zhao
8351ce7bfa docs: document enableToc 2023-09-20 11:58:52 -07:00
Jacky Zhao
09c5d42fa9 docs: wording changes for offline support 2023-09-20 11:40:36 -07:00
Adam Brangenberg
d3fa6f8598 feat: Making Quartz available offline by making it a PWA (#465)
* Adding PWA and chaching for offline aviability

* renamed workbox config to fit Quartz' scheme

* Documenting new configuration

* Added missig umami documentation

* Fixed formatting so the build passes, thank you prettier :)

* specified caching strategies to improve performance

* formatting...

* fixing "404 manifest.json not found" on subdirectories by adding a / to manifestpath

* turning it into a plugin

* Removed Workbox-cli and updated @types/node

* Added Serviceworkercode to offline.ts

* formatting

* Removing workbox from docs

* applied suggestions

* Removed path.join for sw path

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

* Removed path.join for manifest path

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

* Removing path module import

* Added absolute path to manifests start_url and manifest "import" using baseUrl

* Adding protocol to baseurl

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

* Adding protocol to start_url too then

* formatting...

* Adding fallback page

* Documenting offline plugin

* formatting...

* merge suggestion

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

* merge suggestion

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

* merge suggestion

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

* merge suggestion

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

* merge suggestion

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

* merge suggestion

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

* merge suggestion

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

* merge suggestion

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

* merge suggestion

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

* merge suggestion

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

* merge suggestion

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

* merge suggestion

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

* formatting...

* Fixing manifest path, all these nits hiding the actual issues .-.

* Offline fallback page through plugins, most things taken from 404 Plugin

* adding Offline Plugin to config

* formatting...

* Turned offline off as default and removed offline.md

---------

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2023-09-20 11:38:13 -07:00
rwutscher
68537a3903 fix: tag regex no longer includes purely numerical 'tags' (#485)
* fix: tag regex no longer includes purely numerical 'tags'

* fix: formatting

* fix: use guard in findAndReplace() instead of expanding the regex
2023-09-19 12:26:30 -07:00
Jacky Zhao
5bd68a44de fix(nit): make defaultOptions on explorer not a function 2023-09-19 10:22:39 -07:00
David Fischer
a4c783010b feat: support changes in system theme (#484)
* feat: support changes in system theme

* fix: run prettier

* fix: add content/.gitkeep
2023-09-19 09:25:51 -07:00
Ben Schlegel
3c9c7e8546 docs: fix explorer example (#483) 2023-09-18 14:32:00 -07:00
bfahrenfort
d9a2a9245e Quartz sync: Sep 18, 2023, 10:31 AM 2023-09-18 10:31:57 -05:00
bfahrenfort
5e4ef3ce9f Merge branch 'v4' of github-bfahrenfort:jackyzha0/quartz into v4 2023-09-18 10:29:50 -05:00
Ben Schlegel
3eaf8f6cf0 fix: bad visibility for last explorer item (#478)
* fix: bad visibility for last explorer item

* feat(explorer): add pseudo element for observer
2023-09-17 22:04:44 +02:00
Ben Schlegel
5ac1dd0c01 Merge pull request #479 from benschlegel/explorer-config
feat(explorer): add config for custom sort/map/filter functions
2023-09-17 21:36:04 +02:00
Ben Schlegel
bbfa384be3 docs: fix examples 2023-09-17 21:32:23 +02:00
Ben Schlegel
696eeaf4f3 docs: fix intra page links 2023-09-17 21:20:09 +02:00
Christian Gill
64fef0b5ec fix(slug): Handle question mark (#481) 2023-09-17 11:02:00 -07:00
Ben Schlegel
6f010e2997 fix: darkmode scroll bars (#480) 2023-09-17 10:29:20 -07:00
bfahrenfort
de7e313eab Quartz sync: Sep 17, 2023, 12:13 PM 2023-09-17 12:13:35 -05:00
bfahrenfort
e791e663a4 Quartz sync: Sep 17, 2023, 12:07 PM 2023-09-17 12:07:07 -05:00
Ben Schlegel
6b572796f8 docs(explorer): write docs for new features 2023-09-17 16:41:23 +02:00
Ben Schlegel
2ac70939ee fix(explorer): filter function in ExplorerNode 2023-09-17 15:51:08 +02:00
Ben Schlegel
734fa79703 fix: display name for file nodes 2023-09-17 12:41:06 +02:00
Ben Schlegel
051f68e538 feat: black magic
add config for `order` array, which determines the order in which all passed config functions for explorer will get executed in.

functions will now dynamically be called on `fileTree` via array accessor (e.g. fileTree["sort"].call(...)) with corresponding function from options being passed to call)
2023-09-16 21:58:38 +02:00
Ben Schlegel
f46735a060 fix: create deep copy of file passed into tree 2023-09-16 19:45:21 +02:00