Repository navigation
Tags
Tags
fix(editor): resolve doc title with references (#15865) fix #15850 #### PR Dependency Tree * **PR #15865** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **New Features** * Search results now include database rows that reference matching documents, showing the referenced document’s current title. * Linked-document titles appear consistently in database title and rich-text values, including after a title changes. * Search includes ordinary text matches alongside linked-document references and supports retrieving additional results. * **Bug Fixes** * Rows referencing unavailable documents are not presented as linked-title matches. * If linked-row lookup fails, ordinary document search results remain available. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
fix(core): sync indicator style (#15863) #### PR Dependency Tree * **PR #15863** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Bug Fixes** * The notification menu item no longer displays an active state solely because the notification list is open; opening and closing the list works as before. * **Style** * Refined the layout of the workspace sync-status button while preserving its existing label and appearance details. The status content now has more consistent spacing and alignment within the workspace card. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
fix(server): image process error handle (#15820) #### PR Dependency Tree * **PR #15820** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Bug Fixes** * Improved image handling in AI conversations: supported images are resized and sent as WebP, with transparency preserved. * Image attachments that can’t be loaded or encoded now report an error instead of being silently omitted. * Invalid image uploads now receive clearer error messages, while unrelated processing errors retain their original details. * Copilot message errors now surface more directly, while missing or inaccessible sessions continue to be reported as unavailable. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
feat(server): improve copilot module (#15817) #### PR Dependency Tree * **PR #15817** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **New Features** * Added managed Copilot model routing with route choices and defaults based on available configuration. * Expanded model routing support to include OpenRouter and additional request formats. * Route options are now available for self-hosted deployments when configured targets support them. * **Bug Fixes** * Added clearer errors when a selected Copilot target is unavailable. * Improved configuration migration behavior to preserve custom model profiles and legacy credentials. * Cloud deployments now receive a clear configuration error when attempting to set Copilot provider profiles. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
feat(server): improve copilot module (#15817) #### PR Dependency Tree * **PR #15817** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **New Features** * Added managed Copilot model routing with route choices and defaults based on available configuration. * Expanded model routing support to include OpenRouter and additional request formats. * Route options are now available for self-hosted deployments when configured targets support them. * **Bug Fixes** * Added clearer errors when a selected Copilot target is unavailable. * Improved configuration migration behavior to preserve custom model profiles and legacy credentials. * Cloud deployments now receive a clear configuration error when attempting to set Copilot provider profiles. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
fix(server): discover CalDAV principals with PROPFIND (#15811) fix #15482 #### PR Dependency Tree * **PR #15811** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Bug Fixes** * Improved CalDAV account setup across server configurations, including servers that redirect discovery requests or use relative calendar links. * CalDAV connection errors for unauthorized or forbidden access are now surfaced without attempting fallback requests. * Calendar and event retrieval continues to work across supported discovery scenarios. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
fix(core): keep fractional index keys below the next key (#15709) ## Description `generateFractionalIndexingKeyBetween(a, b)` can return a key that sorts after `b`. When the subkeys of `a` and `b` share a prefix, the key is built as `generateKeyBetween(a, b) + '0' + postfix()`. If `b` itself starts with `generateKeyBetween(a, b) + '0'`, the order against `b` is decided by the random postfix. For example, with `a = Zz0KDAn9nhfbtFAOnyTqT45wXkV4SGW7XBh` and `b = Zz10c5IY1TbnCK75NE22mfQEp2rpu6q1n6Z7`, `generateKeyBetween(a, b)` is `Zz1` and the returned key was `Zz10UESACG9CHEXJNxgEDqhyCILR7N91EmcV`, which is greater than `b`. This is easy to reach from the UI helpers: `FolderNode.indexAt('after', firstId)`, the favorites list, pinned collections, workspace properties and table rows/columns all call it with their neighbours and sort with a plain string compare. Starting from an empty list, adding one item before the first and then repeatedly inserting right after the first item breaks the order in 1000 out of 1000 runs within 20 inserts; the inserted item ends up after its intended next neighbour. The fix keeps stepping towards `b` with `generateKeyBetween(key, b)` while `b` still starts with `key + '0'`, so the appended postfix can no longer push the key past `b`. Each step lengthens the shared prefix with `b`, so the loop ends. Both copies of the helper (`@toeverything/infra` and `@blocksuite/affine-shared`) get the same change. Proof: the added tests in `fractional-indexing.spec.ts` and `fractional-indexing.unit.spec.ts` insert right after the first key 50 times, 100 rounds each. Before the fix both fail (`key < b` is false); after, both pass across 5 reruns. I also fuzzed 1500 sequences of 200 inserts with mixed insertion strategies: 677 ordering violations before, 0 after, no throws.
PreviousNext