Jiangnan Li
68ffddc829
feat(giscus): expose language option for Comments component ( #2012 )
...
* add language support for Comment
* docs: let users know they can customize their language preference
2025-06-08 11:23:01 +02:00
anthops
36a3bd9686
fix(graph): provide proper workaround for pixijs webgpu issue #1899 ( #1949 )
2025-04-30 09:49:41 -07:00
Stephen Tse
b59b9e7c53
fix(explorer): Prevent html from being scrollable when mobile explorer is open ( #1895 )
...
* Fixed html page being scrollable when mobile explorer is open
* Prettier code
* Addressed comment
2025-04-26 11:13:56 -07:00
Stephen Tse
bee2fa0fe0
fix(callout): Grid-based callout collapsible animation ( #1944 )
...
* Fixed broken nested callout maxHeight calculation
* Implemented grid-based callout collapsible
2025-04-26 11:05:51 -07:00
anthops
09a8f5fa81
fix: prefer webgl for devices with webgpu and no float32-blendable feature flag #1899 ( #1933 )
...
Co-authored-by: Tony <32993852+0xREDACTED@users.noreply.github.com >
2025-04-23 09:32:52 -07:00
Jacky Zhao
d25c680f9b
fix(popover): properly clear popover on racing fetch
2025-04-21 23:55:38 -07:00
Jacky Zhao
d91beaa3bf
feat: reader mode
2025-04-17 19:45:17 -07:00
Jacky Zhao
95680d9fa8
fix(popover): clear popovers more aggressively, use href as id
2025-04-11 08:18:28 -07:00
Jacky Zhao
dd334896f1
fix(search): properly show mobile layout
2025-04-10 17:43:35 -07:00
Jacky Zhao
e0cdac272c
fix(popover): popover id calculation + scroll consistency
2025-04-10 16:46:30 -07:00
Jacky Zhao
6d2d7b47cc
fix: add proper popover hint to tag content page
2025-04-10 16:28:36 -07:00
Emile Bangma
a852d37b13
fix(popover): round coords remove blurred popovers ( #1911 )
2025-04-07 00:23:49 +02:00
Jacky Zhao
7016ff3262
chore(css): style tweaks for overflow
2025-04-05 11:38:50 -07:00
1 gal Rosemary
0cf5bd4a9e
fix(css): styles issues with popover, overflow, and scroll overflow ( #1907 )
...
* fix(style): fix toc overflow & scrolling overflow
* fix(style): fix explorer scrolling overflow
* fix(style): fix backlinks overflow & scrolling overflow
* fix(style): resolve popover overflow issue causing incomplete display
* chore: rename function to enhance readability
* fix(popover): make the backlink's id unique & use translate() instead of translateY()
2025-04-05 10:39:28 -07:00
Emile Bangma
46d3284ee7
fix(popover): automatically position anchored links properly ( #1897 )
...
* fix(popover): automatically position heading links at heading
* Impement linking of blockreferences
* Popover fixes
* id mapping
* Remove excess regexes
* Updated blockref
* Remove linker element
* Restore the docs to their former glory
* Move the hash out of the loop
* Redundant
* Redundant
* Restore docs
* Remove log
* Let it const
2025-04-05 10:31:17 -07:00
Jacky Zhao
ab126a4abf
fix(search): make closest sidebar z-index adjustment optional ( closes #1905 )
2025-04-04 10:17:57 -07:00
Stephen Tse
c6ed51768b
fix(toc): Fixed headers in second ToC element not highlight-able
2025-03-30 17:35:20 -07:00
Jacky Zhao
bf8b577f63
perf: incremental rebuild (--fastRebuild v2 but default) ( #1841 )
...
* checkpoint
* incremental all the things
* properly splice changes array
* smol doc update
* update docs
* make fancy logger dumb in ci
2025-03-16 14:17:31 -07:00
Jacky Zhao
2ceca50e42
fix(explorer): fix incorrect recursive case for folder rendering
2025-03-14 10:05:26 -07:00
Jacky Zhao
4ab54baea3
fix(graph): avoid keeping stroke in gfx
2025-03-13 12:29:30 -07:00
Jacky Zhao
c6a61812c9
fix(explorer): properly respect folderDefaultState ( closes #1827 )
2025-03-12 22:31:44 -07:00
Jacky Zhao
fd4871125b
fix(explorer): dont invert mobile css, properly toggle .collapsed
2025-03-12 10:15:54 -07:00
Emile Bangma
4eda00331c
fix(explorer): mobile explorer toggle ( #1823 )
2025-03-12 14:15:16 +01:00
Jacky Zhao
346a011d36
fix(mermaid): themechange detector + expand simplification
2025-03-11 11:45:45 -07:00
Jacky Zhao
d94ccf245a
fix: load mermaid as normal now that inline is safely below bundle size
2025-03-10 16:42:08 -07:00
Jacky Zhao
ec33a3b7c0
fix: mermaid script load order
2025-03-10 16:20:08 -07:00
Jacky Zhao
4439f91d55
feat: support non-singleton explorer
2025-03-10 15:13:22 -07:00
Jacky Zhao
ffcf9a8198
feat: support non-singleton darkmode
2025-03-10 11:44:47 -07:00
Jacky Zhao
994b906041
fix(graph): make graph non-singleton, proper cleanup, fix radial
2025-03-10 11:39:08 -07:00
Jacky Zhao
25efe7d6b8
fix(popovers): clear id to avoid anchor jumps within popover
2025-03-10 00:08:06 -07:00
Jacky Zhao
0eac10e179
fix(explorer): dont rely on data to get slug, compute it in trie
2025-03-09 23:36:10 -07:00
Jacky Zhao
94199fd392
feat: support non-singleton search
2025-03-09 15:33:15 -07:00
Jacky Zhao
d2bdc98749
feat: support non-singleton table of contents
2025-03-09 15:06:36 -07:00
Jacky Zhao
f35321c408
perf(explorer): client side explorer ( #1810 )
...
* start work on client side explorer
* fix tests
* fmt
* generic test flag
* add prenav hook
* add highlight class
* make flex more consistent, remove transition
* open folders that are prefixes of current path
* make mobile look nice
* more style fixes
2025-03-09 14:58:26 -07:00
Aaron Pham
31b554c96f
fix(graph): set container as renderGroup to avoid redrawing multiple times ( #1736 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
2025-03-05 17:33:16 -08:00
Emile Bangma
c32b374c79
feat(explorer): collapsible mobile explorer ( #1471 )
...
Co-authored-by: Aaron Pham <Aaronpham0103@gmail.com >
2025-02-03 09:25:42 -05:00
Aaron Pham
4d55359b9c
feat(graph): enable radial mode ( #1738 )
2025-02-01 16:22:29 -05:00
Aaron Pham
83ce7ec0a7
perf: reduce bundle size ( closes #1607 ) ( #1689 )
2025-01-01 12:24:32 -08:00
Anton Bulakh
c66ba5cbff
fix(spa): Fix relative alias redirects ( #1688 )
2024-12-30 18:21:07 -08:00
Anton Bulakh
57a65323c7
fix(spa): handle HTML redirects for aliases ( #1680 )
2024-12-27 07:18:22 -07:00
Jacky Zhao
c1f20fce6a
feat(spa): add loading bar ( #1684 )
2024-12-26 22:18:17 -07:00
Francisco Gama T. R.
cee4622911
fix(darkmode): check for null ( #1531 )
2024-12-03 01:56:59 -05:00
Aaron Pham
a418bc1814
feat(mermaid): improvement navigation ( #1575 )
...
* feat(mermaid): custom stuff
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
* chore: use mermaid and update clipboard content
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
* fix: explicitly use center div
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
---------
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
2024-11-10 18:13:12 -05:00
Stephen Tse
1078883dcc
fix: reset z-index instead of inherited unset ( #1528 )
...
Co-authored-by: Aaron Pham <contact@aarnphm.xyz >
2024-11-04 20:22:36 -05:00
Emile Bangma
0d2c460638
feat(comments): support custom giscus themes ( #1526 )
...
Co-authored-by: Aaron Pham <Aaronpham0103@gmail.com >
Co-authored-by: Aaron Pham <contact@aarnphm.xyz >
2024-10-17 18:30:16 -04:00
Emile Bangma
bcd95fae43
fix(layout): grid triage and regression ( #1440 )
...
* fix(table of contents): multiple scrollbars (https://github.com/jackyzha0/quartz/issues/1388 )
* fix(center): Main content mininum width (https://github.com/jackyzha0/quartz/issues/1439 )
* fix(code block): Horizontal overflow fix (https://github.com/jackyzha0/quartz/issues/1438 , https://github.com/jackyzha0/quartz/issues/1353 )
* WIP fix for ul/ol .overflow
* Fix: restore former scrollbar behavior for overflow lists (https://github.com/jackyzha0/quartz/issues/1437 )
* Fix: code block overflow-x
* fix: Table of Content overflow (https://github.com/jackyzha0/quartz/issues/1437 )
* Address feedback
* Move max-height toggle from js to css
2024-09-25 17:20:58 -04:00
MarcRez33
255e19d728
fix: Reload graph after a theme change ( closes #1380 ) ( #1383 )
...
* FIX: Reload graph after a theme change
* FIX: Reload graph after a theme change - comment updated
* FIX: Reload graph after a theme change - comment updated
* FIX: Reload graph after a theme change
* fix: Reload graph after a theme change
2024-08-31 12:25:30 -07:00
Aaron Pham
4d5bd0d72f
perf(graph): canvas implementation ( #1328 )
...
* perf(graph): initial canvas layout
include nodes and links drawn
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
* fix(graph): update persistent for nodeGfx
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
* chore(graph): add canvas element to avoid rerendering glitch
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
* fix(spa): only render graph once in global
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
* fix(graph): change svg as button
render global graph on toggle
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
* fix(graph): fix anchor position and zIndex behaviour
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
* chore(graph): increase linkDistance
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
* refactor
* fmt
* pkg
---------
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
2024-08-25 00:33:14 -07:00
Andrew
e4e70b31cb
a11y(darkmode): use a button for the theme toggle ( #1335 )
...
* Use a `<button>` for theme toggle
* docs: Adds back Xinyang's cs garden to showcase (#1323 )
adding back my garden which was deleted from the cleanup showcase
* feat(toc,explorer): add accessibility for toggle (#1327 )
* Restore focus highlight on explorer toggle button.
Remove `unset: all` declaration causing `outline`
property to be unset. This allows the default
browser focus highlight to be shown.
* Fix semantics of expandable sections (explorer, toc).
This adds the appropriate aria attributes for the [disclosure pattern](https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/examples/disclosure-image-description/#javascriptandcsssourcecode ) and uses `visibility: hidden` to remove the hidden elements from the focus order without disrupting the animations. Further work is needed on the tree view nodes.
* Run prettier for SCSS files.
* feat: custom global latex macros (closes #1325 )
* chore: ts fixes
* docs: recommend at least node 20 in gh
* fix: unmemoize explorer on rebuild (closes #1077 )
* fix: pass buildId to worker
* Fix theme button DOM hierarchy and styles
* Restore functionality of theme button
* `aria-label` on theme svgs so their accessible labels are included in button content
---------
Co-authored-by: Xinyang Yu <47915643+xy-241@users.noreply.github.com >
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
2024-08-24 13:33:30 -07:00
Andrew
587668f226
feat(search): keyboard-accessible search button ( #1331 )
...
* Use a `<button>` for search
* Fix search button styles to match preexisting styling
* Remove additional native button properties.
* Invoke search button on click or keyboard.
* Reorganize search button DOM hierarchy
* Restore focus to the search button when exiting the search overlay
* Run prettier on Search.tsx
2024-08-09 18:46:50 -07:00