Files
AFFiNE/tests
Tines Valen cba28c36b1 feat: saves display preferences per collection (#15186)
fix #13433 

Saves the display preferences set on each collection view. So one
collection will open by default in Masonry view, while another will open
in List view. It works nearly identically to how the allDocs page saves
its display preferences, but makes a separate key-value pair for each
collection.

Works as intended right now, but with a bit of duplicate code from the
allDocs, i didn't want to touch that to avoid making too many
opinionated refactorings 😅

EDIT: added Playwright tests for the new functionality

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **New Features**
* Collection pages remember list, grid, or masonry view modes and
display settings independently.
* Search results can include database rows linked to matching documents.
  * AFFiNE AI offers Haiku and updated Claude and Gemini model options.
  * Turkish translations have been updated and expanded.
  * Self-hosted deployments support updated license options.

* **Bug Fixes**
* Document links and actions resolve consistently when a document has a
separate storage ID.
  * Document deletion and sync are more reliable across devices.
  * LaTeX editors support the platform’s select-all shortcut.

* **Tests**
* Added coverage for collection preferences persisting when collections
are reopened.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-11-23 23:10:07 +08:00
..
2026-09-20 13:01:49 +08:00