Commit Graph

163 Commits

Author SHA1 Message Date
Jacky Zhao
af9ddadc4d
fix(css): import base from custom instead of the other way around (#536) 2023-10-14 13:45:56 -07:00
Jacky Zhao
3268d45a20 css: make article relative 2023-10-05 13:48:52 -07:00
Jacky Zhao
afa163f2fe
style: styling for codeblocks without langs (#527) 2023-10-05 13:30:06 -07:00
Jacky Zhao
ea5742c328 fix: mermaid copy source position 2023-09-24 10:31:54 -07:00
Jacky Zhao
16d33fb771
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
91f9ae2d71
feat: implement file explorer component (closes #201) (#452)
* feat: add basic explorer structure„

* feat: integrate new component/plugin

* feat: add basic explorer structure

* feat: add sort to FileNodes

* style: improve style for explorer

* refactor: remove unused explorer plugin

* refactor: clean explorer structure, fix base (toc)

* refactor: clean css, respect displayClass

* style: add styling to chevron

* refactor: clean up debug statements

* refactor: remove unused import

* fix: clicking folder icon sometimes turns invisible

* refactor: clean css

* feat(explorer): add config for title

* feat: add config for folder click behavior

* fix: `no-pointer` not being set for all elements

new approach, have one `no-pointer` class, that removes pointer events and one `clickable` class on the svg and button (everything that can normally be clicked). then, find all children with `clickable` and toggle `no-pointer`

* fix: bug where nested folders got incorrect height

this fixes the bug where nested folders weren't calculating their total height correctly. done by adding class to main container of all children and calculating total

* feat: introduce `folderDefaultState` config

* feat: store depth for explorer nodes

* feat: implement option for collapsed state + bug fixes

folderBehavior: "link" still has bad styling, but major bugs with pointers fixed (not clean yet, but working)

* fix: default folder icon rotation

* fix: hitbox problem with folder links, fix style

* fix: redirect url for nested folders

* fix: inconsistent behavior with 'collapseFolders' opt

* chore: add comments to `ExplorerNode`

* feat: save explorer state to local storage (not clean)

* feat: rework `getFolders()`, fix localstorage read + write

* feat: set folder state from localStorage

needs serious refactoring but functional (except folder icon orientation)

* fix: folder icon orientation after local storage

* feat: add config for `useSavedState`

* refactor: clean `explorer.inline.ts`

remove unused functions, comments, unused code, add types to EventHandler

* refactor: clean explorer

merge `isSvg` paths, remove console logs

* refactor: add documentation, remove unused funcs

* feat: rework folder collapse logic

use grids instead of jank scuffed solution with calculating total heights

* refactor: remove depth arg from insert

* feat: restore collapse functionality to clicks

allow folder icon + folder label to collapse folders again

* refactor: remove `pointer-event` jank

* feat: improve svg viewbox + remove unused props

* feat: use css selector to toggle icon

rework folder icon to work purely with css instead of JS manipulation

* refactor: remove unused cfg

* feat: move TOC to right sidebar

* refactor: clean css

* style: fix overflow + overflow margin

* fix: use `resolveRelative` to resolve file paths

* fix: `defaultFolderState` config option

* refactor: rename import, rename `folderLi` + ul

* fix: use `QuartzPluginData` type

* docs: add explorer documentation
2023-09-15 09:39:16 -07:00
Jacky Zhao
cce389c81d
feat: note transclusion (#475)
* basic transclude

* feat: note transclusion
2023-09-13 11:28:53 -07:00
Jacky Zhao
74c3ebb7bd style: fix mulitline callout styling 2023-08-26 10:48:34 -07:00
3ccf081a45 Merge remote-tracking branch 'upstream/v4' into v4 2023-08-25 09:07:19 +09:00
Jacky Zhao
953ef29f4e format, ensure ci runs on prs 2023-08-24 12:31:15 -07:00
Jacky Zhao
e4e048bbe6 format, ensure ci runs on prs 2023-08-24 12:31:15 -07:00
Ben Schlegel
94ce0883e7
style: integrate tertiary color to text-select (#413) 2023-08-24 12:28:06 -07:00
Ben Schlegel
7596d80c2b style: integrate tertiary color to text-select (#413) 2023-08-24 12:28:06 -07:00
e64a999319 Merge branch 'v4' of github.com:jackyzha0/quartz into v4 2023-08-22 17:28:49 +09: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
b06b792576 Merge remote-tracking branch 'upstream/v4' into v4 2023-08-21 12:27:12 +09: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
cfb7d1232e docs: update notes for tag and folder listings 2023-08-20 00:52:49 -07:00
Jacky Zhao
b1dddab1c8 docs: update notes for tag and folder listings 2023-08-20 00:52:49 -07:00
Jacky Zhao
eb4d3dc5b4 css: fix scrollbars on windows 2023-08-19 21:55:09 -07:00
Jacky Zhao
c57f98b1cc css: fix scrollbars on windows 2023-08-19 21:55:09 -07:00
Jacky Zhao
d6e73f221c fix relative path resolution logic, add more path tests 2023-08-12 21:16:43 -07:00
Jacky Zhao
eb3981d514 fix relative path resolution logic, add more path tests 2023-08-12 21:16:43 -07:00
Jacky Zhao
6d9ffd6da5 404 page styling on local 2023-08-12 21:16:43 -07:00
Jacky Zhao
118712fddb 404 page styling on local 2023-08-12 21:16:43 -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
c55d54f068 enable rich text in callout title 2023-08-12 10:16:55 -07:00
Jacky Zhao
736871ad78 enable rich text in callout title 2023-08-12 10:16:55 -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
09d4eb0684 fix notes 2023-08-07 23:57:24 -07:00
Jacky Zhao
8926e207e1 fix notes 2023-08-07 23:57:24 -07:00
Jacky Zhao
533d68e642 most of creating components, increase legibility of bold in article and callouts 2023-08-07 23:56:50 -07:00
Jacky Zhao
61a9aa9143 most of creating components, increase legibility of bold in article and callouts 2023-08-07 23:56:50 -07:00
Jacky Zhao
527ce6546e various css fixes, fix new image loading bug when previewing, path docs 2023-08-07 21:41:18 -07:00
Jacky Zhao
0a800fc694 various css fixes, fix new image loading bug when previewing, path docs 2023-08-07 21:41:18 -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
d8d9dd22c9 fix shortest path for non-md files, mobile fix 2023-08-06 20:52:17 -07:00
Jacky Zhao
60e1e4d525 fix shortest path for non-md files, mobile fix 2023-08-06 20:52:17 -07:00
Jacky Zhao
3adc73a703 docs upgrade, ci changes 2023-08-06 19:52:30 -07:00
Jacky Zhao
be285b399c docs upgrade, ci changes 2023-08-06 19:52:30 -07:00
Jacky Zhao
028bcec62c mobile fixes, fix bug when linking to anchor on home, docs 2023-08-06 17:09:29 -07:00
Jacky Zhao
df383598aa mobile fixes, fix bug when linking to anchor on home, docs 2023-08-06 17:09:29 -07:00
Jacky Zhao
9e76b257d4 fix mermaid initialization 2023-08-04 22:35:21 -07:00
Jacky Zhao
6a7ee31c7c fix mermaid initialization 2023-08-04 22:35:21 -07:00
Adam Brangenberg
cbae88fc4e
Removing redundant properties (#356) 2023-07-30 21:08:32 -07:00
Adam Brangenberg
a2fbfff422 Removing redundant properties (#356) 2023-07-30 21:08:32 -07:00
Jacky Zhao
45f9087f03 fix checkbox/tasklist styling 2023-07-25 22:27:59 -07:00
Jacky Zhao
93c4d4358d fix checkbox/tasklist styling 2023-07-25 22:27:59 -07:00
Jacky Zhao
c0278a8c65 font loading options, optimize css 2023-07-24 21:54:47 -07:00
Jacky Zhao
f2324819a8 font loading options, optimize css 2023-07-24 21:54:47 -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
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
Jacky Zhao
76fdb3b4d8 fix styles 2023-07-23 11:04:20 -07:00
Jacky Zhao
19dc628ca8 fix styles 2023-07-23 11:04:20 -07:00
Jacky Zhao
27a5f7ef8e various typography and styling fixes 2023-07-23 11:02:45 -07:00
Jacky Zhao
f92e010c06 various typography and styling fixes 2023-07-23 11:02:45 -07:00
Jacky Zhao
7db2eda76c run prettier 2023-07-22 17:27:41 -07:00
Jacky Zhao
adec32227f run prettier 2023-07-22 17:27:41 -07:00
Jacky Zhao
76c092dcf2 add custom.scss 2023-07-19 21:59:48 -07:00
Jacky Zhao
decfb1307b add custom.scss 2023-07-19 21:59:48 -07:00
Jacky Zhao
410fc9c8d3 quartz update and quartz sync 2023-07-19 21:59:39 -07:00
Jacky Zhao
0cd80b5423 quartz update and quartz sync 2023-07-19 21:59:39 -07:00
Jacky Zhao
08f8e3b4a4 docs + various polish 2023-07-09 19:32:24 -07:00
Jacky Zhao
7c7e1f8dd5 docs + various polish 2023-07-09 19:32:24 -07:00
Jacky Zhao
b90590b9f4 polish 2023-07-08 14:36:02 -07:00
Jacky Zhao
061ac027f5 polish 2023-07-08 14:36:02 -07:00
Jacky Zhao
b3480bdc49 fix styling for bullet points 2023-07-06 19:18:18 -07:00
Jacky Zhao
bc6ae598b6 fix styling for bullet points 2023-07-06 19:18:18 -07:00
Jacky Zhao
92ca787092 fix default callout state 2023-07-04 18:26:11 -07:00
Jacky Zhao
4dec5c0839 fix default callout state 2023-07-04 18:26:11 -07:00
Jacky Zhao
2a17431460 fix popover zindex 2023-07-04 17:14:15 -07:00
Jacky Zhao
c9845652df fix popover zindex 2023-07-04 17:14:15 -07:00
Jacky Zhao
38cff2d670 more visual polish, adjust colours and spacing 2023-07-04 16:48:36 -07:00
Jacky Zhao
8a895538d9 more visual polish, adjust colours and spacing 2023-07-04 16:48:36 -07:00
Jacky Zhao
ab9da02c60 fix indexing causing main thread freeze, various polish 2023-07-04 10:08:32 -07:00
Jacky Zhao
79aff12b3f fix indexing causing main thread freeze, various polish 2023-07-04 10:08:32 -07:00
Jacky Zhao
e0ebee5aa9 various polish 2023-07-02 13:08:29 -07:00
Jacky Zhao
83c5fa64ea various polish 2023-07-02 13:08:29 -07:00
Jacky Zhao
ba9f243728 tag and folder pages 2023-07-01 00:03:01 -07:00
Jacky Zhao
e0a64bbb63 tag and folder pages 2023-07-01 00:03:01 -07:00
Jacky Zhao
fd5c8d17d3 basic search implementation 2023-06-19 20:37:45 -07:00
Jacky Zhao
cdb9fd576e basic search implementation 2023-06-19 20:37:45 -07:00
Jacky Zhao
c4cf0dcb02 local and global graph 2023-06-18 10:47:07 -07:00
Jacky Zhao
a622d97e19 local and global graph 2023-06-18 10:47:07 -07:00
Jacky Zhao
cb89cce183 basic left,right layout 2023-06-17 14:36:06 -07:00
Jacky Zhao
de72a413ba basic left,right layout 2023-06-17 14:36:06 -07:00
Jacky Zhao
b587782450 collapsible callout 2023-06-17 13:08:06 -07:00
Jacky Zhao
ad8ac0b479 collapsible callout 2023-06-17 13:08:06 -07:00
Jacky Zhao
1cb4dadf13 codeblock copy 2023-06-06 21:19:00 -07:00
Jacky Zhao
1e263cd07a codeblock copy 2023-06-06 21:19:00 -07:00
Jacky Zhao
0813f127a3 fix darkmode script load 2023-06-06 20:58:26 -07:00
Jacky Zhao
8191d5e1ef fix darkmode script load 2023-06-06 20:58:26 -07:00
Jacky Zhao
4d3579ca98 darkmode scripts 2023-06-06 19:48:37 -07:00