Jiangnan Li
cdd0be2aa8
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
adf442036b
fix(graph): provide proper workaround for pixijs webgpu issue #1899 ( #1949 )
2025-04-30 09:49:41 -07:00
Stephen Tse
2acdec323f
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
4bd714b7be
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
7d49dff074
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
6dd772bf00
fix(popover): properly clear popover on racing fetch
2025-04-21 23:55:38 -07:00
Jacky Zhao
b34d521293
feat: reader mode
2025-04-17 19:45:17 -07:00
Jacky Zhao
bfd72347cf
fix(popover): clear popovers more aggressively, use href as id
2025-04-11 08:18:28 -07:00
Jacky Zhao
091cc1b05e
fix(search): properly show mobile layout
2025-04-10 17:43:35 -07:00
Jacky Zhao
e9b60c7285
fix(popover): popover id calculation + scroll consistency
2025-04-10 16:46:30 -07:00
Jacky Zhao
b1a920e5c0
fix: add proper popover hint to tag content page
2025-04-10 16:28:36 -07:00
Emile Bangma
9db66d500e
fix(popover): round coords remove blurred popovers ( #1911 )
2025-04-07 00:23:49 +02:00
Jacky Zhao
ee8c1dc968
chore(css): style tweaks for overflow
2025-04-05 11:38:50 -07:00
1 gal Rosemary
bb24cd13c7
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
d61fb266c7
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
3ae89a1d16
fix(search): make closest sidebar z-index adjustment optional ( closes #1905 )
2025-04-04 10:17:57 -07:00
Stephen Tse
2119025513
fix(toc): Fixed headers in second ToC element not highlight-able
2025-03-30 17:35:20 -07:00
Jacky Zhao
a737207981
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
da1b6b37fe
fix(explorer): fix incorrect recursive case for folder rendering
2025-03-14 10:05:26 -07:00
Jacky Zhao
1efe2e20a4
fix(graph): avoid keeping stroke in gfx
2025-03-13 12:29:30 -07:00
Jacky Zhao
c005fe4408
fix(explorer): properly respect folderDefaultState ( closes #1827 )
2025-03-12 22:31:44 -07:00
Jacky Zhao
e3c50caf13
fix(explorer): dont invert mobile css, properly toggle .collapsed
2025-03-12 10:15:54 -07:00
Emile Bangma
ca08ec1ae7
fix(explorer): mobile explorer toggle ( #1823 )
2025-03-12 14:15:16 +01:00
Jacky Zhao
87b803790c
fix(mermaid): themechange detector + expand simplification
2025-03-11 11:45:45 -07:00
Jacky Zhao
b00198b888
fix: load mermaid as normal now that inline is safely below bundle size
2025-03-10 16:42:08 -07:00
Jacky Zhao
9e3e711646
fix: mermaid script load order
2025-03-10 16:20:08 -07:00
Jacky Zhao
a8001e9554
feat: support non-singleton explorer
2025-03-10 15:13:22 -07:00
Jacky Zhao
dcaf806190
feat: support non-singleton darkmode
2025-03-10 11:44:47 -07:00
Jacky Zhao
23df17233d
fix(graph): make graph non-singleton, proper cleanup, fix radial
2025-03-10 11:39:08 -07:00
Jacky Zhao
8d33608808
fix(popovers): clear id to avoid anchor jumps within popover
2025-03-10 00:08:06 -07:00
Jacky Zhao
d618a4e3f3
fix(explorer): dont rely on data to get slug, compute it in trie
2025-03-09 23:36:10 -07:00
Jacky Zhao
9c8fec06d2
feat: support non-singleton search
2025-03-09 15:33:15 -07:00
Jacky Zhao
1cd8e7f0d5
feat: support non-singleton table of contents
2025-03-09 15:06:36 -07:00
Jacky Zhao
5480269d38
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
5a39719898
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
91189dfd2f
feat(explorer): collapsible mobile explorer ( #1471 )
...
Co-authored-by: Aaron Pham <Aaronpham0103@gmail.com>
2025-02-03 09:25:42 -05:00
Aaron Pham
fbc45548f7
feat(graph): enable radial mode ( #1738 )
2025-02-01 16:22:29 -05:00
Aaron Pham
2e6a675edd
perf: reduce bundle size ( closes #1607 ) ( #1689 )
2025-01-01 12:24:32 -08:00
Anton Bulakh
a934397961
fix(spa): Fix relative alias redirects ( #1688 )
2024-12-30 18:21:07 -08:00
Anton Bulakh
99011cb1b0
fix(spa): handle HTML redirects for aliases ( #1680 )
2024-12-27 07:18:22 -07:00
Jacky Zhao
c91cf97f99
feat(spa): add loading bar ( #1684 )
2024-12-26 22:18:17 -07:00
Francisco Gama T. R.
5a5ef670fe
fix(darkmode): check for null ( #1531 )
2024-12-03 01:56:59 -05:00
Aaron Pham
1ab9c91df1
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
74f8c13598
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
67e1beea70
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
a7a0dcad22
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
01fc26d2c0
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
bca74623a3
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
4c9e860150
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
3b5ed813f5
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