Jason Wasem
ee6f988c35
refactor(search): simplify null check and use join for text concatenation
...
根据代码审查建议优化代码:
- 移除多余的 `elements &&` 检查,因为 Array.isArray() 本身可处理 null/undefined
- 使用 `join(" ")` 替代 `toString()` 以确保文本元素用空格分隔,更适合全文搜索
- 移除显式类型声明,让 TypeScript 自动推断
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 10:01:13 +08:00
Jason Wasem
ecb972c71c
fix(search): add null check for canvas elements in fulltext search
...
添加对 Canvas 笔记 elements 字段的空值检查,防止当 elements 为 null 或非数组时搜索功能报错。
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 00:42:12 +08:00
Elian Doran
b9c39d757b
style(next): match attachment code border radius with context menu
2025-12-17 17:42:03 +02:00
Elian Doran
6aa14d17d7
chore(deps): update dependency openai to v6.14.0 ( #8086 )
Checks / main (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
Dev / Test development (push) Waiting to run
Dev / Build Docker image (push) Blocked by required conditions
Dev / Check Docker build (Dockerfile) (push) Blocked by required conditions
Dev / Check Docker build (Dockerfile.alpine) (push) Blocked by required conditions
/ Check Docker build (Dockerfile) (push) Waiting to run
/ Check Docker build (Dockerfile.alpine) (push) Waiting to run
/ Build Docker images (Dockerfile, ubuntu-24.04-arm, linux/arm64) (push) Blocked by required conditions
/ Build Docker images (Dockerfile.alpine, ubuntu-latest, linux/amd64) (push) Blocked by required conditions
/ Build Docker images (Dockerfile.legacy, ubuntu-24.04-arm, linux/arm/v7) (push) Blocked by required conditions
/ Build Docker images (Dockerfile.legacy, ubuntu-24.04-arm, linux/arm/v8) (push) Blocked by required conditions
/ Merge manifest lists (push) Blocked by required conditions
playwright / E2E tests on linux-arm64 (push) Waiting to run
playwright / E2E tests on linux-x64 (push) Waiting to run
Deploy website / Build & deploy website (push) Has been cancelled
2025-12-17 11:26:29 +02:00
Elian Doran
e1da74d4d1
fix(deps): update dependency mind-elixir to v5.3.8 ( #8085 )
2025-12-17 11:26:15 +02:00
Elian Doran
e450e0299f
chore(deps): update vitest monorepo to v4.0.16 ( #8083 )
2025-12-17 11:25:03 +02:00
renovate[bot]
304fd37ce2
chore(deps): update dependency openai to v6.14.0
Checks / main (push) Has been cancelled
2025-12-17 00:03:10 +00:00
renovate[bot]
51ef473964
fix(deps): update dependency mind-elixir to v5.3.8
2025-12-17 00:02:27 +00:00
renovate[bot]
dcec780846
chore(deps): update vitest monorepo to v4.0.16
2025-12-17 00:01:03 +00:00
Adorian Doran
03602addc5
Merge branch 'main' into feat/tweak/note-title-and-icon-widgets
2025-12-17 01:59:07 +02:00
Adorian Doran
fc9f47a801
style/note title & icon: fix an issue pointed by gemini-code-assist
2025-12-17 01:58:20 +02:00
Adorian Doran
3b6a823556
style/note title & icon: tweak icon size
2025-12-17 01:48:35 +02:00
Adorian Doran
b8ceb10e68
style/note title & icon: update the colors for the dark color scheme
2025-12-17 01:39:14 +02:00
Adorian Doran
ddca68eafa
style/note title & icon: add support for both dark and light color schemes
2025-12-17 01:33:23 +02:00
Adorian Doran
468d4a4369
style/inline title: fix (again) icon hover color
2025-12-17 01:15:35 +02:00
Adorian Doran
c31f35dbd7
style/inline title: handle empty icons when the icon selection is disabled
2025-12-17 01:11:23 +02:00
Elian Doran
b5129402be
chore(deps): update dependency vite to v7.3.0 ( #8071 )
2025-12-17 01:05:15 +02:00
Adorian Doran
84f7ae9f05
style/inline title: fix icon hover color
2025-12-17 01:03:01 +02:00
Elian Doran
c4df640ea4
chore(deps): update pnpm to v10.26.0 ( #8072 )
2025-12-17 01:01:04 +02:00
Elian Doran
fe5e1eb066
chore(deps): update dependency openai to v6.13.0 ( #8070 )
2025-12-17 01:00:32 +02:00
Elian Doran
6abc5a777f
fix(deps): update dependency i18next to v25.7.3 ( #8069 )
2025-12-17 01:00:14 +02:00
Adorian Doran
08730dd821
style/inline title: add an intro animation for the note type selector
2025-12-17 01:00:07 +02:00
Elian Doran
f389fc3414
chore(deps): update dependency @redocly/cli to v2.12.7 ( #8067 )
2025-12-17 00:59:27 +02:00
Adorian Doran
286d2e8e5b
style/inline title: tweak the layout of the note type selector
2025-12-17 00:52:47 +02:00
Adorian Doran
5446d8a932
style/inline title: improve the note icon focus indicator
2025-12-17 00:33:33 +02:00
Adorian Doran
07dcdf3078
style/inline title: replace the hover effect of the note icon
2025-12-17 00:16:45 +02:00
Adorian Doran
143b1827e6
style/inline title: tweak appearance
2025-12-17 00:09:15 +02:00
Adorian Doran
6f494e3e38
style/inline title: use a better layout
2025-12-16 23:33:57 +02:00
Adorian Doran
cad86d4b21
style/note title & icon: tweak appearance
2025-12-16 22:54:55 +02:00
Adorian Doran
5ffae303c4
style/forms/buttons: add a generic class for focusable buttons
2025-12-16 22:54:12 +02:00
Adorian Doran
35218aca71
style/note title & icon: add a circular background for the note icon
2025-12-16 22:34:42 +02:00
Adorian Doran
9542c9776a
style/note title & icon: use CSS variables to adjust size, improve the layout on different sizes
2025-12-16 20:30:58 +02:00
noobhjy
70374b622e
Translated using Weblate (Chinese (Simplified Han script))
...
Currently translated at 100.0% (1700 of 1700 strings)
Translation: Trilium Notes/Client
Translate-URL: https://hosted.weblate.org/projects/trilium/client/zh_Hans/
2025-12-16 17:02:40 +01:00
green
7fcc0ae290
Translated using Weblate (Japanese)
...
Currently translated at 99.8% (1697 of 1700 strings)
Translation: Trilium Notes/Client
Translate-URL: https://hosted.weblate.org/projects/trilium/client/ja/
2025-12-16 17:02:40 +01:00
Luk On
1de4db1a08
Translated using Weblate (Polish)
...
Currently translated at 100.0% (1700 of 1700 strings)
Translation: Trilium Notes/Client
Translate-URL: https://hosted.weblate.org/projects/trilium/client/pl/
2025-12-16 17:02:40 +01:00
Hosted Weblate
74ac58d3a6
Update translation files
...
Updated by "Cleanup translation files" add-on in Weblate.
Translation: Trilium Notes/Client
Translate-URL: https://hosted.weblate.org/projects/trilium/client/
2025-12-16 17:02:40 +01:00
Luk On
993f56976e
Translated using Weblate (Polish)
...
Currently translated at 99.9% (1698 of 1699 strings)
Translation: Trilium Notes/Client
Translate-URL: https://hosted.weblate.org/projects/trilium/client/pl/
2025-12-16 17:02:40 +01:00
Giovi
94859f2303
Translated using Weblate (Italian)
...
Currently translated at 100.0% (1699 of 1699 strings)
Translation: Trilium Notes/Client
Translate-URL: https://hosted.weblate.org/projects/trilium/client/it/
2025-12-16 17:02:40 +01:00
Elian Doran
db116981b8
fix(note_info): MIME type entry shown even when empty
Checks / main (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
Dev / Test development (push) Waiting to run
Dev / Build Docker image (push) Blocked by required conditions
Dev / Check Docker build (Dockerfile) (push) Blocked by required conditions
Dev / Check Docker build (Dockerfile.alpine) (push) Blocked by required conditions
/ Check Docker build (Dockerfile) (push) Waiting to run
/ Check Docker build (Dockerfile.alpine) (push) Waiting to run
/ Build Docker images (Dockerfile, ubuntu-24.04-arm, linux/arm64) (push) Blocked by required conditions
/ Build Docker images (Dockerfile.alpine, ubuntu-latest, linux/amd64) (push) Blocked by required conditions
/ Build Docker images (Dockerfile.legacy, ubuntu-24.04-arm, linux/arm/v7) (push) Blocked by required conditions
/ Build Docker images (Dockerfile.legacy, ubuntu-24.04-arm, linux/arm/v8) (push) Blocked by required conditions
/ Merge manifest lists (push) Blocked by required conditions
playwright / E2E tests on linux-arm64 (push) Waiting to run
playwright / E2E tests on linux-x64 (push) Waiting to run
2025-12-16 17:53:05 +02:00
Elian Doran
2e563b0a1f
feat(note_info): display user-friendly note type name & icon
2025-12-16 17:53:05 +02:00
Elian Doran
7222b233f0
feat(note_info): separate note type from mime type
2025-12-16 17:53:05 +02:00
Adorian Doran
bea15c46e5
style/new layout: fix the title actions container wasting vertical space when empty
2025-12-16 17:49:17 +02:00
Elian Doran
120b5c678d
chore(client): fix typecheck
2025-12-16 17:27:29 +02:00
Elian Doran
8c008e2e3a
chore(breadcrumb): address requested changes
2025-12-16 17:17:58 +02:00
Elian Doran
7e07280eb3
feat(breadcrumb): relocate copy note path to empty area
2025-12-16 16:14:08 +02:00
Elian Doran
d28c3f0851
feat(breadcrumb): hide archived notes if needed
2025-12-16 16:08:41 +02:00
Elian Doran
0390fd3174
fix(breadcrumb): hiding archived notes doesn't update tree
2025-12-16 16:03:09 +02:00
Elian Doran
193c9d8fa6
feat(breadcrumb): option to hide archived notes
2025-12-16 16:00:23 +02:00
Elian Doran
3a4cff6529
feat(breadcrumb): allow creating notes from separator menu
2025-12-16 15:35:14 +02:00
Elian Doran
5449d033bf
feat(breadcrumb): indicate archived in separator menu
2025-12-16 15:05:33 +02:00