0.7最新版
AI 连接器、附件、地区和语言
Mitra 0.7 可以与你已经在用的 AI 助手配合,让它们直接在你的日历里帮你规划时间。现在你可以给条目附加文件,Mitra 会按你所在地区的习惯书写日期,出行时你的主时区也会一直跟着你。Mitra 有了中文版,你还可以直接在应用里查看更新内容。拖动、缩放和加载都更快了,此外还有许多小改进和修复。
AI 连接器
Claude、Cursor 等 AI 助手现在可以处理你的日历了。用“设置 → AI”中显示的地址连接一个助手,然后把原本要亲手做的事交给它,比如查看你的一周、查找某个条目、规划一次出行或挪动一场会议。它写入的内容会像其他任何更改一样进入你的日历,并从那里同步出去。在需要登录的服务器上,每个助手都有自己的访问令牌,可以限制为只读,也可以随时撤销。
埃菲尔铁塔照片:David McSpadden,Wikimedia Commons,CC BY 2.0。
文档:AI 连接器
地区与语言
选择语言时,可以一并选择你所在的国家或地区。Mitra 会按当地人的习惯显示日期、时间和数字。一周从当地习惯的那一天开始,周末也落在你休息的日子上。做决定之前,可以先预览一切会显示成什么样。另外,即使你的键盘输入的是其他文字(比如波斯文),键盘快捷键现在也照样可用。
文档:设置


主时区
Mitra 现在知道你的主时区,并把它保存在你的账号里。出门在外时,日历会跟随设备所在的时区,主时区则留在旁边的一列。你的时区列表保持不变,所以回到家后,又只会看到一列。你添加的时区和给它们起的名字,在每台设备上都一样。每一列的标题,都是当地人实际使用的时区简称。
时区选择器也重新设计了。名称相同、时间也相同的时区合并成一行,你所在国家的时区排在最前面。房子图标标出你的主时区,图钉图标标出你出行时所在的时区。
NOTE
如果你曾给当前所在的时区起过名字,请再起一次。以前,这些名字只保存在你设置它们的那台设备上;从现在起,名字会跟着你到每一台设备。
文档:时区


附件
现在可以给条目附加文件了,比如一张票、一份议程或一张白板照片。在条目编辑器里用回形针添加,或者把文件拖到打开的条目上。点击文件即可打开。你也可以把文件添加到描述中:图片会显示为图片,其他文件显示为链接。之后如果移除这个文件,Mitra 也会把它从描述中移除。
附件会随日历同步。在 CalDAV 日历中,使用同一日历的其他应用能看到你附加的文件,Mitra 也会显示它们附加的文件。在 Google 日历中,Mitra 会显示附加到日程的 Google 云端硬盘文件,但无法添加或移除,因为 Google 只保留云端硬盘文件。Notion 页面中的图片现在会显示在任务的描述里。
NOTE
Mitra 把你附加的文件保存在它的数据文件夹中,所以备份这个文件夹也就备份了你的文件。你可以用 MITRA_FILE_MAX_SIZE 限制单个文件的大小,用 MITRA_FILE_QUOTA 限制每个人总共能存储多少。
文档:附件


应用内的版本说明
现在不用离开 Mitra 就能知道有哪些更新。“关于”对话框会像网站一样展示每个版本。你可以在这里看到当前版本的说明和图片,以及之后发布的修复。每一个提交也都列在其中,平时收起,需要时再展开。


中文
Mitra 现在支持中文,界面使用简体字。应用本身、示例日历、文档和网站都已翻译成中文,中文文字还采用了专为中文设计的字体。
文档:设置


贡献者
补丁版本
- Keep an imported time without a time zone at its own houre88e716
- Keep a task's due date when it has a start but no endb532d32
- Turn the sidebar tab when a find in the page shows the other one80223c2
- Keep the Planning tab open while typing a new task's title2d568c0
- Open a time zone's menu beside its label, not in the corner of the screen578881d
- Seed the demo's sample calendar in the visitor's time zone3842889
0.7 的全部改动
9 项新功能 · 19 项改进 · 5 项文档改动 · 19 项重构 · 5 项维护改动
新功能
- Connect AI tools using MCP to your Mitra account6ee7b48
- Attachments2bd006f
- Enhance settings dialog coloring and size988b0d1
- Let menus, pickers, dialogs and the entry editor animate out as they came in1a01738
- Chinese translationse5604b4
- Format dates for your region, not just your language6e6a82a
- Keep a home time zone that travels with you6e6a82a
- Enhanced in-app release notes2efb126
- Infer week starts by the selected locale260a7bc
改进
- Load related entries with the calendar in a single requestc734afc
- Expand recurring entries into occurrences in the browserd1240da
- Zoom the week and resize its all-day lane more smoothly37c1015
- Drag entries in the week more smoothly76f3c8c
- Open the entry editor several times faster06b2882
- Update the calendar faster while an entry is being edited06b2882
- Speed up every redraw of the calendar page06b2882
- List the calendars of the CalDAV address given, not always your own (#13)9efb284
- Sync Nextcloud Deck calendars, which refuse to list their changesbae2274
- Find hidden entries when searching33bd2d8
- Stop the page zooming on phones when a field is tapped or a pinch starts outside the calendar (#9)431930e
- Keep the repeat icon off an entry's titlef7c4850
- Fit the update button in the About dialogf7c4850
- Move entries and hour lines smoothly while zooming in Firefox2c28855
- Stop drags stretching weeks ahead on the line between two days50c87ad
- Prevent text selection callout on iOS when holding to create entries (#8)31f5ea7
- Support instances opened by IP address over plain HTTP instead of localhost or HTTPS9334663
- Dependency lines bend around instead of vanishing when the next entry is too close or behind06b2882
- Scroll the time zone list with the wheel instead of zooming the week06b2882
文档
- Fold the website's links into a menu on phonesa96da83
- Release pages credit contributors before a folded commit liste386a54
- Localize website (#4)9278182
- Release notes on the website, a page per version with its own pictures, and a sample calendar in your language260a7bc
- Reorganize the documentation into clearer sections with plainer pages, shorter links and a quick start6b49512
重构
- Save an entry's relations with the entry itself1c0a926
- More domain driven handling of the relation graphebcfc0a
- Import across features through `#` aliases and barrelsc53f0af
- Make `Color` a proper value-object18d10fe
- Move each HTTP endpoint to an `Operation` class42a7092
- Declare each field's role on an entityb4e8f37
- Hold an integration's calendars as plain childrenf4eb2f1
- Write an entry's own edits as one change, as an occurrence's are2a0a5cb
- Build the development database through the migrations, as production does3695136
- Hold an entry's relations as a collection414c7c8
- Separate what an integration can do from who owns its data33adfd0
- Read days and midnights through the time zonebe15443
- Carry all-day dates as days between server and browser8e17db5
- Send entry edits as patches8be3063
- One client store for calendars671c4a6
- An entry's time zone as a value objectfd774e5
- Task status, busy/free and visibility as value objects4ba2ea8
- Give small helpers a home on their domain classes7ead0cf
- Compare stored dates by value, so a save writes only what changed170d34f
另有 5 项维护改动,可在 GitHub 上查看:测试、构建和日常维护。