Commit graph

102 commits

Author SHA1 Message Date
4555ec275f
Fix sync inconsistencies across devices
Changed APIs to upload assets, reworked saving logic so that files are synced across devices when changed locally.
2025-04-05 19:30:31 +02:00
e165c69664
Open editor in dialog on mobile
SiYuan Mobile doesn't have tabs, so the editor has to be opened in a dialog.
In the future, consider including a setting to open editor in dialog on desktop as well.
2025-04-05 00:22:38 +02:00
e9a9961b61
Auto-refresh images on edit
Only for Markdown images, not drawing blocks, since those will eventually be deprecated.
2025-04-03 15:51:33 +02:00
5e51589ffa
Internal file paths are now Markdown image paths
In the last commit, file paths were implemented to be the full path for the API, however that is not necessary.
Before this change: /data/assets/filename.svg
After: assets/filename.svg
The new method is what SiYuan uses for Markdown images, like ![Drawing](assets/filename.svg)
2025-04-03 00:12:36 +02:00
a2503d5def
Move from file IDs to file paths (with retrocompatibility) 2025-04-02 20:15:48 +02:00
8d1438de33
Offer to edit images
Any SVG image in assets/ can now be edited with js-draw. It won't reload automatically (yet)
2025-04-01 23:03:22 +02:00
eaca7fc192
Initial Upload
Some checks failed
Create Release on Tag Push / build (push) Has been cancelled
2025-03-31 19:14:17 +02:00
frostime
591cf2e95e 🔧 ci: 更新 vite 打包脚本 2024-10-16 14:43:56 +08:00
frostime
da4c4ced8f feat: 更新 Form 组件 2024-08-09 21:49:29 +08:00
frostime
1ac9cf8ff5 feat(api): getFileBlob 2024-08-01 13:34:25 +08:00
frostime
4c004d73b5 🎨 misc 2024-07-19 15:51:59 +08:00
frostime
b739c5ad54 ️ perf: 优化各个组件 2024-07-19 15:40:50 +08:00
frostime
6361001b8a 🚚 mv:将libs目录下的组件移至components子目录
为了更好地组织项目结构,将libs目录下的组件文件移动到新的libs/components子目录中。
同时,更新了setting-example.svelte组件中SettingPanel的导入路径,以反映新的文件位置。
2024-07-19 15:17:49 +08:00
frostime
ba57ba3f23 feat: add const.ts 2024-06-08 20:51:13 +08:00
frostime
6d75a46a56 🔨 refactor: 重构基于 svelte 的设置面板功能 2024-06-08 18:30:53 +08:00
frostime
9c7572b820 🐛 getFile API 2024-06-04 15:04:07 +08:00
frostime
67d6024a04 feat: add kits about dialogs 2024-06-01 16:29:07 +08:00
frostime
03ab34f552 禁用思源内部的 enter confirm 特性 2024-05-01 17:45:05 +08:00
frostime
9f54e7046c misc 2024-04-30 22:15:50 +08:00
frostime
3d565424ae 🎨 feat: Add "custom setting-items" example 2024-04-30 16:48:10 +08:00
frostime
29c494a3f4 feat(setting-utils): getter and setting 2024-04-30 16:32:26 +08:00
frostime
59daefa941 ⬆️ update siyuan: add direction parameter 2024-04-30 16:15:58 +08:00
frostime
7159755c70 🔨 调整 setting 的 interface 定义 2024-04-30 16:00:03 +08:00
frostime
0df9ec29ea feat(setting-utils): 增加自定义元素功能 2024-04-29 17:43:02 +08:00
frostime
57cc62f7b5 🎨 refactor: setting-utils args 2024-04-28 17:50:52 +08:00
frostime
56be185458 misc(setting-utils) 2024-04-28 17:48:49 +08:00
frostime
8daa01aedb 🐛 fix: 模板提供的 button 的 click 事件不生效; close #31 2024-04-27 16:55:46 +08:00
浔阳陌客
7a46168ed2 修改take()的获取值方法 2024-04-25 21:16:28 +08:00
浔阳陌客
587d5f2112 修复刷新页面后,数据已加载,但没有显示到设置页面的问题 2024-04-24 14:46:41 +08:00
浔阳陌客
8f27804c83 完善修改 2024-04-24 14:23:51 +08:00
小小飞同学
0645799101
Merge branch 'siyuan-note:main' into main 2024-04-24 12:19:10 +08:00
浔阳陌客
786cc5e933 修改getElement()方法和方法说明 2024-04-24 12:17:56 +08:00
frostime
4286a49a0b ⬆️ update svelte deps 2024-04-19 18:52:39 +08:00
浔阳陌客
0e372e9068 修改textinput和textarea的回调函数 2024-04-06 14:48:25 +08:00
浔阳陌客
f06c82085e 为经典设置窗口添加实时读取和实时保存的能力 2024-04-06 13:24:00 +08:00
浔阳陌客
44d61785cf 添加setAndSave方法作为设置参数并保存 2024-04-06 01:44:54 +08:00
浔阳陌客
f9ea1bec3f 为表单提供禁用和启用的方法 2024-04-05 21:16:33 +08:00
浔阳陌客
c58c836b7c 为checkout添加切换状态时添加回调函数 2024-04-05 16:37:25 +08:00
frostime
ec00075b4e remove save at onunload 2024-04-04 17:50:01 +08:00
frostime
e48a9abbc9 🚀 update 2024-03-03 17:37:02 +08:00
frostime
c33a63aa8f 🐛 fix: 2.12.4 block icon incompatible 2024-01-24 12:55:11 +08:00
frostime
953d15c661 feat: Update setting utils 2024-01-15 20:45:34 +08:00
Seven Chord
e6a7277f8a 使用public目录替代复制静态资源的配置 2024-01-14 14:52:04 +08:00
frostime
6f8ae4dcd3 Merge branch 'zxkmm-add_hint_type_to_settingUtil_and_fix_official_setting_calling' into dev 2024-01-13 22:39:49 +08:00
zxkmm
f84497f6da add hint type to settingUtil 2024-01-13 22:10:54 +08:00
frostime
1735ec4bce 🚀 update to v0.3.2 2024-01-13 21:40:22 +08:00
frostime
74d62ac1aa feat: add foldBlock api 2023-12-28 22:42:58 +08:00
frostime
a2a615aae2 ⬆️ update with siyuan petal 2023-12-28 22:37:37 +08:00
frostime
c179519f95 feat: Add input number element in setting-utils 2023-12-28 18:11:21 +08:00
zxkmm
2a08298060 fix wrong type def in lib to match header 2023-12-28 17:09:08 +08:00