Kamil Sijko
db9fb58bca
🐛 fix: race condition in search query execution
...
When a user opens the search modal and starts typing immediately, executeQuery() is triggered. Since buildIndex() is asynchronous, the fuse variable might still be undefined when .search() is called. Added safety checks for fuse initialization.
2026-05-05 11:50:28 +02:00
Nuno C.
d8416ee104
Revert " ✨ Feat: logo alt and remove logo JS"
2026-03-11 14:16:49 +00:00
Nuno C.
20c6de4eb8
Merge pull request #2815 from ZhenShuo2021/email
...
✨ Feat: Email obfuscation
2026-03-11 00:49:20 +00:00
ZhenShuo Leo
c74017c987
fix: auto detect mailto prefix
2026-02-26 13:35:29 +08:00
ZhenShuo Leo
55f2f22849
feat: email obfuscation ( #2711 )
2026-02-25 23:13:16 +08:00
ZhenShuo Leo
02a7397119
refactor: use css for logo switcher
2026-02-25 22:41:25 +08:00
Nuno C.
e753c191c3
Merge pull request #2775 from ZhenShuo2021/firebase
...
✨ Feat: improve Firebase
2026-02-11 21:51:05 +00:00
ZhenShuo Leo
99d329c7b0
feat: reduce firebase blocking time
...
- use esm format
- defer loading with type="module"
- upgrade from v8.10.0 to v9.23.0
- allow homepage/taxonomy/term log
2026-02-10 06:52:05 +08:00
ZhenShuo Leo
0e9a151ce5
refactor: gather firebase templates
2026-02-07 21:48:53 +08:00
Eric Gusmao
39209dbab3
Remove jQuery dependency and update theme version to 2.97.0
2026-01-26 20:36:32 -03:00
ZhenShuo Leo
dbb7d3f7f2
feat(tabs): support group
2026-01-04 19:29:38 +08:00
ZhenShuo Leo
8ab8807398
feat: better mobile menu
2025-12-27 17:32:00 +08:00
ZhenShuo Leo
81f2423d71
Merge branch 'dev' into feature/callout-tailwind
2025-12-23 01:21:40 +08:00
Nuno C.
4bab2b4e7e
Merge pull request #2644 from NSStudent/hotfix/copy-safari-issue
...
Fix: Copy fallback for safari
2025-12-22 17:17:41 +00:00
Nuno C.
b6c00249c6
Merge pull request #2656 from ZhenShuo2021/feat/codeblock-title
...
✨ Feat: support title in code block
2025-12-22 17:11:53 +00:00
rxchi1d
775d5b1bbf
feat: add admonitions
2025-12-22 09:53:58 +08:00
ZhenShuo Leo
0e3bad2be7
feat(codeblock): add title support
2025-12-18 02:38:31 +08:00
NSStudent
8ba07f0d59
fix copy fallback for safari
...
Signed-off-by: NSStudent <omarmn83@gmail.com >
2025-12-08 21:12:14 +01:00
ZhenShuo Leo
eda9fc9bc3
feat(tabs): better usage
2025-12-01 21:14:15 +08:00
ZhenShuo Leo
20044af981
feat: add tabs
2025-12-01 20:24:26 +08:00
ZhenShuo Leo
925065a5bd
feat(mermaid): support dark mode
2025-10-11 15:24:21 +08:00
ZhenShuo Leo
b777d4e59e
fix(scroll-to-top): resolve overlap with buy me a coffee button
2025-09-23 17:57:58 +08:00
Nuno C.
c14887e992
Merge pull request #2456 from ZhenShuo2021/fix/a11y
...
🐛 Fix(a11y): multiple a11y issues
2025-09-15 23:04:54 +01:00
Nuno C.
e6cd7a9948
Merge pull request #2426 from ZhenShuo2021/fix/code-copy
...
🐛 Fix(code.js): filter line number on code copy
2025-09-15 23:03:55 +01:00
ZhenShuo Leo
0840169724
chore(code.js): add linenos comments
2025-08-21 06:00:26 +08:00
ZhenShuo Leo
9d0aecf41f
refactor(code.js): simplify code
...
uses optional chaining
inlines short functions
2025-08-21 05:40:30 +08:00
ZhenShuo Leo
65637ec3f0
fix(code.js): filter line number on code copy
2025-08-16 20:58:06 +08:00
ZhenShuo Leo
4b9062f4c1
style(blur): rename data-target-id to data-blur-id
2025-08-05 18:36:25 +08:00
ZhenShuo Leo
e78105429f
fix(a11y): add underline links on article card
2025-08-05 18:36:24 +08:00
ZhenShuo Leo
344f7de0da
fix(a11y): prevent disableImages FOUC
2025-08-05 18:23:16 +08:00
ZhenShuo Leo
ade00547b3
fix(a11y): disableImages not working when layoutBackgroundBlur is false
2025-08-05 18:23:16 +08:00
ZhenShuo Leo
10ffbca4c0
refactor(a11y): simply code
2025-08-05 17:39:59 +08:00
ZhenShuo Leo
6a4123f59f
fix(fetch-repo): prevent DOM updates with invalid remote data
2025-08-03 17:09:24 +08:00
Nuno C.
cd1982264e
Merge pull request #2379 from ZhenShuo2021/fix/forgejo-cors
...
🐛 Fix: forgejo CORS
2025-08-03 01:44:31 +01:00
Nuno C.
a3dd43e992
Merge pull request #2378 from ZhenShuo2021/feat/huggingface-card
...
✨ Feat: add huggingface shortcode
2025-08-03 01:44:17 +01:00
ZhenShuo Leo
3ee9ed824f
feat: add huggingface shortcode ( #2376 )
2025-07-29 04:52:21 +08:00
ZhenShuo Leo
c3f6f901a5
fix: forgejo CORS
2025-07-29 04:46:55 +08:00
ZhenShuo Leo
7f4e4dab40
fix(a11y): prevent zen mode toggle requiring double-click
...
Add state comparison in applyZenMode to only toggle when
current state differs from desired state
2025-07-23 04:25:22 +08:00
ZhenShuo Leo
352130c6a8
feat: add zen mode toggle into a11y panel
2025-07-23 04:00:56 +08:00
ZhenShuo Leo
b9bb959a48
fix(a11y): preserve user CSS font-size when a11y panel not configured
...
- Add "default" option to font size selector to respect user's original CSS
- Clear localStorage font setting when "default" is selected
- This prevent overriding user's custom font-size declarations on first load
2025-07-23 03:57:47 +08:00
ZhenShuo Leo
4351bb10fb
refactor: remove onclick in a11y
2025-07-22 01:47:20 +08:00
ZhenShuo Leo
26637ee585
refactor: decoupling a11y and blur
2025-07-22 00:43:14 +08:00
ZhenShuo Leo
9f07989148
fix: a11y id confict between desktop and mobile
2025-07-22 00:09:57 +08:00
ZhenShuo Leo
5b376cc116
feat: add a11y panel
2025-07-21 23:58:48 +08:00
ZhenShuo Leo
dc778836f1
feat: hide image in a11y mode
2025-07-21 17:18:18 +08:00
ZhenShuo Leo
edbace7be0
feat: support a11y disable blur
2025-07-21 17:18:18 +08:00
Nuno C.
037c741ded
Merge pull request #2262 from ZhenShuo2021/refactor/repo-card
...
♻️ Refactor(repo-card): reduce coupling and indention
2025-07-10 11:37:27 +01:00
Nuno C.
8d940881a4
Merge pull request #2278 from servedsmart/refactor-background-blur
...
♻️ Refactor: Use IIFE for background-blur and simplify code
2025-07-09 15:45:55 +01:00
Nuno C.
0f83712a3d
Merge pull request #2253 from servedsmart/move-some-inline-event-handlers-out-of-line
...
♻️ Refactor: Move 2 inline event handlers out of line
2025-07-09 15:42:33 +01:00
Served Smart
a34947a630
♻️ Refactor: Move 2 inline event handlers out of line
...
If MDN explicitly warns user not to use them, we probably shouldn't.
MDN also states: "Note that inline event handlers are blocked as well[...]You should replace them with addEventListener calls[...]" regarding CSP.
2025-06-27 19:23:55 +02:00