251 Commits

Author SHA1 Message Date
Daniel e59acd47e0 🎨 Improve text https://github.com/siyuan-note/siyuan/issues/17720
Signed-off-by: Daniel <845765@qq.com>
2026-07-02 17:18:03 +08:00
Daniel 4e8486b50d 🎨 Support setting notification switch https://github.com/siyuan-note/siyuan/issues/11109
Signed-off-by: Daniel <845765@qq.com>
2026-07-02 13:16:08 +08:00
Daniel 82eeb755fe 🎨 Support setting notification switch https://github.com/siyuan-note/siyuan/issues/11109
Signed-off-by: Daniel <845765@qq.com>
2026-07-02 09:17:01 +08:00
Daniel 3b2d4b2b20 🎨 Supports launching in Safe Mode on Desktop https://github.com/siyuan-note/siyuan/issues/17948
Signed-off-by: Daniel <845765@qq.com>
2026-06-26 23:58:37 +08:00
Daniel 5dca6d22d1 🎨 Supports launching in Safe Mode on Desktop https://github.com/siyuan-note/siyuan/issues/17948
Signed-off-by: Daniel <845765@qq.com>
2026-06-26 23:49:31 +08:00
Daniel a7d8956fc4 Supports configuring secrets and variables https://github.com/siyuan-note/siyuan/issues/17933 2026-06-25 11:08:33 +08:00
Daniel f69f072247 Supports configuring secrets and variables https://github.com/siyuan-note/siyuan/issues/17933 2026-06-25 10:08:19 +08:00
Daniel 922c2fcf0d Supports configuring secrets and variables https://github.com/siyuan-note/siyuan/issues/17933 2026-06-25 09:15:53 +08:00
Daniel c06d08a724 🎨 Improve comments
Signed-off-by: Daniel <845765@qq.com>
2026-06-23 17:05:57 +08:00
Jeffrey Chen 1fa30d4803 New settings UI (#17675)
* New settings UI

* AI 配置项

* 清理调试代码

* https://github.com/siyuan-note/siyuan/pull/17675#discussion_r3441865530

* https://github.com/siyuan-note/siyuan/pull/17675#discussion_r3441458542

* 还原:修改停靠栏快捷键设置之后不能立即生效 https://github.com/siyuan-note/siyuan/pull/17675#discussion_r3446054676

* 改进条件编译 1

* 改进条件编译 2

* 改进条件编译 1.1

* 改进条件编译 2.1
2026-06-21 08:45:59 +08:00
Daniel 38b556b445 🎨 Improve comments
Signed-off-by: Daniel <845765@qq.com>
2026-06-19 23:47:00 +08:00
Jeffrey Chen 43b191af75 🎨 Improve AI configuration normalization (#17883) 2026-06-19 07:41:43 +08:00
Daniel dbf076ce98 New settings UI https://github.com/siyuan-note/siyuan/issues/17601
Signed-off-by: Daniel <845765@qq.com>
2026-06-16 11:21:45 +08:00
Daniel fafb01129c AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-15 22:40:11 +08:00
Jeffrey Chen ca0ce7ff2d ♻️ Adjust the AI configuration structure (#17858) 2026-06-15 08:39:01 +08:00
Daniel f0e961537b AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-14 21:40:44 +08:00
Daniel 70c6af57d1 New settings UI https://github.com/siyuan-note/siyuan/issues/17601
Signed-off-by: Daniel <845765@qq.com>
2026-06-14 19:46:20 +08:00
Daniel 44f3ec9def New settings UI https://github.com/siyuan-note/siyuan/issues/17601
Signed-off-by: Daniel <845765@qq.com>
2026-06-14 18:58:28 +08:00
Daniel e97a72cba5 New settings UI https://github.com/siyuan-note/siyuan/issues/17601
Signed-off-by: Daniel <845765@qq.com>
2026-06-14 18:49:14 +08:00
Daniel 06f4c86ea5 AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-14 17:16:47 +08:00
Daniel e15ca7854d AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-14 16:43:03 +08:00
Daniel 5aa7a30756 AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-14 16:35:48 +08:00
Daniel 69a8fba803 ♻️ Change the lang value to comply with RFC 5646 https://github.com/siyuan-note/siyuan/issues/17855
Signed-off-by: Daniel <845765@qq.com>
2026-06-14 14:03:02 +08:00
Daniel 8ef2669978 New settings UI https://github.com/siyuan-note/siyuan/issues/17601
Signed-off-by: Daniel <845765@qq.com>
2026-06-14 09:06:54 +08:00
Daniel 307f5b1a60 AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-13 22:19:51 +08:00
Daniel f32f48c720 New settings UI https://github.com/siyuan-note/siyuan/issues/17601
Signed-off-by: Daniel <845765@qq.com>
2026-06-13 21:57:40 +08:00
Daniel 1acb2488a6 New settings UI https://github.com/siyuan-note/siyuan/issues/17601
Signed-off-by: Daniel <845765@qq.com>
2026-06-13 21:23:22 +08:00
Daniel 7b79fc3089 AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-13 20:22:45 +08:00
Daniel ea892bca7e New settings UI https://github.com/siyuan-note/siyuan/issues/17601
Signed-off-by: Daniel <845765@qq.com>
2026-06-13 14:34:04 +08:00
Daniel 9d89fdc67e New settings UI https://github.com/siyuan-note/siyuan/issues/17601
Signed-off-by: Daniel <845765@qq.com>
2026-06-13 12:26:49 +08:00
Daniel 59dc786120 New settings UI https://github.com/siyuan-note/siyuan/issues/17601
Signed-off-by: Daniel <845765@qq.com>
2026-06-13 12:09:59 +08:00
游夏 36f4e3720e 🎨 Add Simplified/Traditional Chinese sensitivity option (#17846)
*  搜索支持区分繁简选项 Add Simplified/Traditional Chinese sensitivity option for search

新增搜索配置 hanSensitive(区分繁简,默认开启 = 现状行为,命名与语义
向 caseSensitive 对齐)。关闭后简体与繁体可互相检索。

- FTS 层:关闭区分繁简时,blocks_fts / blocks_fts_case_insensitive 建表
  追加 han_insensitive 分词器参数(依赖 88250/go-sqlite3 配套补丁),
  繁体在分词时按单字折叠为简体,token 偏移仍指向原文;
- 切换选项复用区分大小写现有的 FullReindex 流程;
- 高亮:EncloseHighlighting 在关闭区分繁简时将关键字逐字符展开为
  繁简等价字符类(如 诗经 -> [诗詩][经經]),与分词器使用同一份
  OpenCC TSCharacters 映射数据;
- 兼容:旧版本 conf.json 缺 hanSensitive 字段时按既往行为置为开启;
  setSearch 请求未携带该字段(现行前端/第三方调用)时保持当前值,
  避免被零值意外翻转并触发重建索引;
- 遵照配置界面重写计划(#17601),本次不改动设置界面与 i18n,仅添加
  配置数据结构字段与前端类型定义(config.d.ts)。

范围说明:本次仅覆盖块全文搜索(关键字/查询语法)的命中与高亮;
历史/资源文件搜索、数据库属性过滤、虚拟引用、查找替换的替换动作
不在本次范围内(替换保持字节精确以避免误改原文)。

Fixes #13304

* 🐛 add missing util.SearchHanSensitive referenced by highlighting and sql.SetHanSensitive

Copilot 评审指出 util.SearchHanSensitive 未定义导致无法编译:补上该全局
变量(默认 true,与既往行为一致,由 sql.SetHanSensitive 维护),并修正
conf/search.go 的 gofmt 对齐。已在本地以 dev 当前 go.mod(已合并的
88250/go-sqlite3 分词器)完成 go build -tags fts5 与 kernel/search 单测验证。
2026-06-12 15:59:50 +08:00
Daniel e0208e875e AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-07 18:10:02 +08:00
Daniel 404a98a5ef Semantic search using AI embeddings https://github.com/siyuan-note/siyuan/issues/17788
Signed-off-by: Daniel <845765@qq.com>
2026-06-06 23:26:19 +08:00
Daniel d180f0a9ce AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-06 21:46:42 +08:00
Daniel 8335aa7145 AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-05 16:20:42 +08:00
Daniel 8f3473a7f0 AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-04 17:48:04 +08:00
Daniel 5747fe42f4 AI Agent panel https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-03 22:57:15 +08:00
Daniel 08aaaedb13 Semantic search using AI embeddings https://github.com/siyuan-note/siyuan/issues/17788
Signed-off-by: Daniel <845765@qq.com>
2026-05-30 21:04:01 +08:00
Daniel e60093379c Shorthands on mobile https://github.com/siyuan-note/siyuan/issues/14414#issuecomment-4470321595
Signed-off-by: Daniel <845765@qq.com>
2026-05-17 21:11:51 +08:00
Daniel 38be2cd887 Shorthands on mobile https://github.com/siyuan-note/siyuan/issues/14414
Signed-off-by: Daniel <845765@qq.com>
2026-05-09 18:33:19 +08:00
Daniel d82036d6e9 🎨 https://github.com/siyuan-note/siyuan/issues/10749#issuecomment-4348873683
Signed-off-by: Daniel <845765@qq.com>
2026-04-30 10:07:05 +08:00
Daniel addaa3bdac 🎨 Automatically adjust editor font weight based on font file https://github.com/siyuan-note/siyuan/issues/10313
Signed-off-by: Daniel <845765@qq.com>
2026-04-30 01:47:56 +08:00
Daniel fbab86b421 🎨 Show default icon label (Default) for built-in icon in settings
Signed-off-by: Daniel <845765@qq.com>
2026-04-29 12:06:32 +08:00
Daniel b3ae783cbd 🎨 New default appearance icon https://github.com/siyuan-note/siyuan/issues/7976
Signed-off-by: Daniel <845765@qq.com>
2026-04-27 12:57:06 +08:00
Jeffrey Chen 5c674d7249 ♻️ Replace interface{} with any (#17415) 2026-04-05 16:48:32 +08:00
Jiacheng 5b84279673 🎨 Support auto-convert pasted URL to clickable link format (#17338)
* feat: auto-convert pasted URL to clickable link format (#17337)

Agent-Logs-Url: https://github.com/bytemain/siyuan/sessions/cdea999d-27c0-4260-a0b4-519e011e6667

Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>

* fix: use angle bracket URL syntax for markdown link safety

Agent-Logs-Url: https://github.com/bytemain/siyuan/sessions/cdea999d-27c0-4260-a0b4-519e011e6667

Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>

* feat: add pasteURLAutoConvert editor setting to control URL auto-linking

Agent-Logs-Url: https://github.com/bytemain/siyuan/sessions/1b722c05-e69f-4964-89bb-7f928d5adeb3

Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>

* refactor: reuse setInlineMark for paste URL auto-convert, matching Ctrl+K link handler pattern

Agent-Logs-Url: https://github.com/bytemain/siyuan/sessions/332d1b44-cebe-45b2-833e-72d7e3253a3d

Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>

* refactor: extract shared resolveLinkDest and genLinkText utility functions

Agent-Logs-Url: https://github.com/bytemain/siyuan/sessions/316f674d-3ce9-4b40-8711-08edb8af1aec

Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>

* Disable automatic URL conversion on paste

* feat: add stripScheme option to genLinkText - keep scheme for paste, strip for Ctrl+K

Agent-Logs-Url: https://github.com/bytemain/siyuan/sessions/960eaf33-f873-4709-8e63-8d9b473de4ee

Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>

* Improve link handling in paste function

Refactor link handling in paste function to update range after setting inline mark.

* Fix return statement in paste.ts

* style: fix json tag alignment in Editor struct

* Update app/src/mobile/settings/editor.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix(Link): handle URI decoding more safely in genLinkText

Add try-catch block to prevent URI decoding errors and make decoding optional

* feat(editor): add auto URL to link conversion on paste

Implement automatic conversion of pasted URLs to clickable links when the pasteURLAutoConvert setting is enabled. This improves user experience by eliminating the manual step of creating links for pasted URLs. The functionality is extracted into a separate function for better code organization and reuse.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-29 22:40:42 +08:00
Jeffrey Chen 2739def842 🎨 Support configuring the floating window hover trigger delay (#17123)
* 🎨 Support configuring the floating window hover trigger delay

* 🎨 Support configuring the floating window hover trigger delay
2026-03-02 23:13:02 +08:00
Daniel 4660d50324 🎨 Supports configuring "Do not split screen when certain tabs are open" https://github.com/siyuan-note/siyuan/issues/16833
Signed-off-by: Daniel <845765@qq.com>
2026-02-16 11:47:20 +08:00
Daniel 4257986729 🎨 Improve comment
Signed-off-by: Daniel <845765@qq.com>
2026-02-11 20:29:46 +08:00