mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-11 20:08:37 +00:00
feat(core): integrate google calendar sync (#14248)
fix #14170 fix #13893 fix #13673 fix #13543 fix #13308 fix #7607 #### PR Dependency Tree * **PR #14247** * **PR #14248** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Integrations panel in Account Settings to link/unlink calendar providers. * Collapsible settings wrapper for improved layout. * **Improvements** * Calendar system reworked: per-account calendar groups, simplified toggles with explicit Save, richer event display (multi-dot date indicators), improved event time/title handling across journal views. * **Localization** * Added calendar keys: save-error, no-journal, no-calendar; removed legacy duplicate-error keys. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -65,10 +65,15 @@ mod tests {
|
||||
|
||||
let documents = html_loader.load().unwrap();
|
||||
|
||||
let expected =
|
||||
"Example Domain\n\n This domain is for use in illustrative examples in documents. You may\n use \
|
||||
this domain in literature without prior coordination or asking for\n permission.\n More \
|
||||
information...";
|
||||
let expected = [
|
||||
"Example Domain",
|
||||
"",
|
||||
" This domain is for use in illustrative examples in documents. You may",
|
||||
" use this domain in literature without prior coordination or asking for",
|
||||
" permission.",
|
||||
" More information...",
|
||||
]
|
||||
.join("\n");
|
||||
|
||||
assert_eq!(documents.len(), 1);
|
||||
assert_eq!(
|
||||
|
||||
Reference in New Issue
Block a user