Support Attribute View calendar layout with recurrence, ICS import and calendar dock - #18536
Closed
eloklam wants to merge 10 commits into
Closed
Support Attribute View calendar layout with recurrence, ICS import and calendar dock#18536eloklam wants to merge 10 commits into
eloklam wants to merge 10 commits into
Conversation
Member
|
Sorry, this feature does not accept PRs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Disclaimer
This is a large AI-assisted contribution. Coding agents produced substantial parts of the implementation, tests, patch recovery and PR preparation. I have kept the branch scoped to the Attribute View Calendar feature and included focused regression coverage, but I cannot guarantee compatibility with every SiYuan workflow or platform.
Description / 描述
Closes #13740
This contribution adds a Calendar layout to SiYuan Attribute View blocks. The calendar reads and writes the Attribute View's existing rows and properties, so there is no separate event store, plugin database or external service.
The implementation includes:
The backend adds Calendar layout support to Attribute View queries, transactions, publishing access and layout switching. It also journals document-backed calendar changes so they can be recovered with the existing notebook lifecycle.
The rebased local branch (HEAD
30248d4e4ed60eb8c2ca5cce3c8c1b7d837abb1b, based onea82c9e57) passed the focused Calendar code gate:updateAttrViewCellregressioncalendar-kernel-smoke.mjspassed against a freshly built kernel, including layout switchingcalendar-backend-contract-smoke.mjspassed against a freshly built kernel (22 attribute view operations, includingduplicateAttrViewViewof a calendar view)go test ./sqlpassedorigin/dev(045aee77d)The broad
go test ./sql ./modelcommand reaches and passes./sql. The broad./modelrun still hits an existing upstream crypto test panic (TestRestoreNotebookCryptoConfigFromExistingBackup), reproduced identically on the untouched upstream baseea82c9e57; the failing sync/crypto paths are unchanged by this branch. Focused Calendar model tests pass independently.The two Electron smokes require a built desktop app and a display and remain for the normal maintainer or CI environment.
Type of change / 变更类型
Bug fix
缺陷修复
Refactoring
代码重构
New feature
新功能
Text updates or new language additions
修改文案或增加新语言
Checklist / 检查清单
I have performed a self-review of my own code
我对自己的代码进行了自我审查
I have full rights to the submitted code and agree to license it under this project's AGPL-3.0 license
我拥有所提交代码的完整权利,并同意其以本项目的 AGPL-3.0 许可证授权
PR is submitted to the
devbranch and has no merge conflictsPR 提交到
dev分支,并且没有合并冲突Made with Orca 🐋