9c8fec06d2
feat: support non-singleton search
2025-03-09 15:33:15 -07:00
1cd8e7f0d5
feat: support non-singleton table of contents
2025-03-09 15:06:36 -07:00
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
59d5a0ed3a
fix(graph): mobile global graph overlay ( #1790 )
2025-02-25 13:35:24 +01:00
91189dfd2f
feat(explorer): collapsible mobile explorer ( #1471 )
...
Co-authored-by: Aaron Pham <Aaronpham0103@gmail.com >
2025-02-03 09:25:42 -05:00
d9e36e60d1
fix(search): Fix super-inconsistent preview widths in search previews ( #1677 )
...
Don't know if this was uncovered by my local setup or just nobody
noticed, but page previews were pretty wonky for me
2024-12-30 09:55:53 -08:00
ff9e60a7fc
fix(search): restore mobile search view ( #1576 )
2024-12-17 13:07:00 -05:00
0c4281eb53
fix: use time HTML element for date strings ( #1622 )
2024-12-03 01:41:55 -05:00
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
9f701e5045
fix(grid): $desktop variable ( #1511 )
2024-10-17 23:50:48 -04:00
3aa11357aa
fix(toc): regression ( #1517 )
2024-10-16 17:44:30 -04:00
c5d97db000
fix(toc): invalid desktop-only styling ( #1502 )
...
* fix(toc): invalid desktop-only styling
should display none instead.
* Update toc.scss
2024-10-12 18:33:07 -04:00
b0c079f24a
fix(layout): restore footer to the proper position ( #1470 )
...
* fix(layout): restore footer to the proper position
* align ToC scrollbar properly on short headers
2024-10-01 08:49:13 -07:00
1416f62a47
fix(layout): backlinks grid triage ( #1447 )
...
* fix: mobile backlinks orientation
* temp: hide broken list gradient
* fix: backlinks overflow
2024-09-29 22:24:15 -04:00
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
7d7e334976
feat: responsive design grid ( #1354 )
...
* Responsive design grid
* Addressed PR feedback
* Bump Quartz version 4.3.1 => 4.4.0
* Moved page-header into center
* Updated docs with new layouts
* Sync updated version number with package-lock
* Table of Content scrollbar auto
* Reset node_modules
* Updated layout images
* Fixed tablet layout
* Finilazed layout images
2024-09-23 13:40:12 -07:00
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
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
c4cd84dcc8
fix: Add a wrapper element to dates in PageList. ( #1345 )
...
* Add a wrapper span to dates in PageList.
This means there is a placeholder when date is not specified, so the values in grid-template-columns always line up correctly.
* Use a <div> instead -- better practice to stick to block elements.
2024-08-24 10:13:55 -07:00
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
27a41abb62
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.
2024-08-08 18:07:47 -07:00
407fad384c
fix: only one h1 on a page ( closes #1269 )
2024-08-05 19:18:48 -07:00
1d94e9c303
css: use fit-content ( closes #1194 )
2024-06-17 22:13:31 -07:00
0f5a9d7b66
feat: separated content meta ( #929 )
...
to allow for CSS styling
2024-03-10 09:57:10 -07:00
96c7076fb5
feat(popover): add support for PDF ( #913 )
...
* feat(popover): add support for PDF
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
* chore: split pdf by ';'
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
* fix: remove unnecessary check
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
---------
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
2024-02-22 22:16:40 -05:00
06e3f8b93d
fix(style): introduce semiBoldWeight and various improvements to reduce CLS
2024-02-17 10:34:51 -08:00
6c8023463d
Add support for image popovers ( #854 )
...
* feat(popover): Add support for images
* fix: run prettier
* feat(popover): use switch logic for content types & adjust styles
* feat(popover): Add content type data tag for popover-inner class
2024-02-14 15:41:13 -05:00
d2fb50b83c
fix(links): show backdrop on links highlighted in headers alias ( #816 )
...
* fix: assign specific classes based on parent node
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
* fix: use custom role for anchor icone
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
* fix: allow color on links 😄
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
* chore: unify search inner container
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
---------
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
2024-02-06 02:06:19 -05:00
52ef6d1b6f
fix(search): set background-color for icon within preview panel ( #815 )
...
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
2024-02-06 01:12:31 -05:00
90725688a7
style(search): increase width on mobile view ( #796 )
...
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
2024-02-04 21:52:24 -08:00
742b883256
fix(search): flex basis and card highlighting
2024-02-02 12:18:02 -08:00
a2c46f442d
fix(search): dont rely on mouse to manipulate focus
2024-02-02 10:44:19 -08:00
18745a9dc6
fix(style): correctly collapse on mobile
2024-02-02 09:36:36 -08:00
44da82467e
fix(style): remove redundant selector
2024-02-02 01:45:15 -08:00
3231ce6e79
fix: search async ordering, scroll offset
2024-02-02 01:36:17 -08:00
a0b927da4a
fix: use display instead of visibility for click handling pasthrough
2024-02-02 01:24:40 -08:00
2b57a68e1f
fix: font weight consistency
2024-02-02 00:53:09 -08:00
ee868b2d79
fix(search): set correct attribute on hover icon ( #787 )
...
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
2024-02-02 00:35:53 -08:00
5a36e5b68d
fix(style): reasonable page width for rich search preview
2024-02-02 00:29:45 -08:00
970a30a139
chore: fmt
2024-02-01 23:57:17 -08:00
9b8e0c9d1a
chore(cleanup): misc refactoring for cleanup, fix some search bugs
2024-02-01 23:55:11 -08:00
45b93a80f4
fix: index setup, styling fixes
2024-02-01 22:22:06 -08:00
e9fb0ecb96
fix: border radius on search preview
2024-02-01 21:19:51 -08:00
c0c0b24138
feat: improve search preview styling and tokenization
2024-02-01 21:19:51 -08:00
295b8fc914
fix(search): increase size on fullPageWidth viewport ( #784 )
...
* fix(search): increase size on fullPageWidth viewport
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
* chore: fix width size to be consistent on multiple views
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
* chore: set layout to 0 if there is no term
remove flashing by setting max-height
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
---------
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
2024-02-01 19:44:33 -05:00
756acc7f97
feat(search): highlight on preview ( #783 )
...
* feat: primitive full-text search on preview
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
* fix: remove invalid regex and unused code path
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
---------
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
2024-02-01 16:48:27 -05:00
e1f12e6cb7
fix(style): search preview consistency
2024-01-31 09:55:23 -08:00
50bb1ffd8a
feat(usability): update functions for search ( #774 )
...
* feat(usability): update functions for search
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
* perf: slightly cleaner variables
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
---------
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
2024-01-31 09:38:42 -08:00
a29fadb046
feat(search): experimental telescope layout ( closes #718 ) ( #722 )
...
* feat(search): telescope-style search
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
* chore(search): cleanup some basis and borders
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
* fix(search): make sure to set overflow-y
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
* feat(search): shows preview on desktop only search
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
* perf: add options to control layout through config
cache memoize results to avoid fetching
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
* chore: use the default configuration
* fix: correct minor type for search
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
* fix: use datasets to query for preview
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
* chore: layout changes
show preview on normal layout, and only show previous layout in list page.
* fix(type): annotate search with types
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
* chore: apply jacky's suggestion
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
* chore: using map API and scss
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
* fix: styling on search container view on phones
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
* Update quartz.layout.ts
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
---------
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com >
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
2024-01-31 01:16:14 -08:00
b22bcd17b4
fix: border-box result-card
2024-01-23 20:20:35 -08:00