mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
f4c20056a044b803db89a8bc7b34641d945605f0
10244 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
52777b0064 |
chore: bump up @types/mime-types version to v3 (#12653)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/mime-types](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mime-types) ([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mime-types)) | [`^2.1.4` -> `^3.0.0`](https://renovatebot.com/diffs/npm/@types%2fmime-types/2.1.4/3.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4zMy42IiwidXBkYXRlZEluVmVyIjoiNDAuMzMuNiIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> |
||
|
|
00ccd2d865 |
chore: display join button text based on invitation type (#12650)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - The button on the Request to Join page now dynamically updates its label to show "accept invitation" when an invitation is pending, improving clarity for users responding to workspace invites. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
5d94bd41a4 |
feat(editor): support triangle and diamond shape in shape dom renderer (#12331)
 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Improved rendering for diamond and triangle shapes using SVG, resulting in more accurate stroke and fill display. - **Bug Fixes** - Ensured background and border styles do not interfere with SVG-based shapes. - **Tests** - Added tests to verify correct DOM rendering for diamond and triangle shapes. - **Refactor** - Streamlined and clarified the rendering logic for polygonal shapes, separating SVG and CSS rendering paths. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
20d8d6131a |
fix(editor): text color of buttons on toolbar (#12642)
Closes: [BS-3574](https://linear.app/affine-design/issue/BS-3574/affine-light-模式,画板dark-模式,toolbar配色崩坏) <img width="1068" alt="Screenshot 2025-05-29 at 17 46 38" src="https://github.com/user-attachments/assets/66a731dc-0bc6-4b0c-9712-787a78525ddf" /> <img width="1095" alt="Screenshot 2025-05-29 at 17 46 17" src="https://github.com/user-attachments/assets/3317ea83-837f-4c50-abee-ebb859fce3d9" /> <img width="1075" alt="Screenshot 2025-05-29 at 17 46 05" src="https://github.com/user-attachments/assets/3291810b-3aa1-4fce-aa8b-415be5e10c46" /> <img width="1096" alt="Screenshot 2025-05-29 at 17 45 54" src="https://github.com/user-attachments/assets/a5ad5e41-4eb9-4578-85a6-c6b773a03da9" /> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Style** - Updated toolbar theme styles to include an additional color variable for improved customization. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
94539ac0d0 |
perf(editor): lazy rendering for dom renderer (#12638)
Before (brush updated even when it's not being dragged): https://github.com/user-attachments/assets/e56ce326-56ae-4cac-a5f8-86be35fd8fcd After (fine-grained element level update): https://github.com/user-attachments/assets/712f4e22-0830-455d-bbe1-0f575e8920ac <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Improved rendering performance by introducing incremental updates, ensuring only changed elements are updated instead of re-rendering everything. - Enhanced responsiveness when elements are added, removed, or updated, as well as during viewport, size, or zoom changes. - **Bug Fixes** - Reduced unnecessary full re-renders, leading to smoother and more efficient user interactions. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
e1ce42a6fc |
feat(native): upgrade NAPI-RS to 3.0.0 beta (#12652)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added a default export for the native binding in the frontend native module, allowing easier imports. - **Refactor** - Streamlined and updated Rust-to-JavaScript type conversions and lifetime handling for improved safety and consistency. - Improved object and array construction in Rust modules for more idiomatic usage. - Simplified boolean and null value handling in JavaScript interop layers. - **Chores** - Upgraded several dependencies and development tools to newer versions across backend, frontend, and common packages. - Updated build scripts for the frontend native package to simplify commands. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
2a7f0162cf |
chore: bump up nestjs-cls version to v6 (#12648)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [nestjs-cls](https://papooch.github.io/nestjs-cls/) ([source](https://redirect.github.com/Papooch/nestjs-cls)) | [`^5.0.0` -> `^6.0.0`](https://renovatebot.com/diffs/npm/nestjs-cls/5.4.3/6.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>Papooch/nestjs-cls (nestjs-cls)</summary> ### [`v6.0.0`](https://redirect.github.com/Papooch/nestjs-cls/releases/tag/nestjs-cls%406.0.0) [Compare Source](https://redirect.github.com/Papooch/nestjs-cls/compare/nestjs-cls@5.4.3...nestjs-cls@6.0.0) ##### Breaking Changes - The experimental Plugin API has been changed ([4623607](https://redirect.github.com/Papooch/nestjs-cls/commits/4623607)) - Access to Proxy providers moved to a dedicated `proxy` property on the ClsService ([82cdeef](https://redirect.github.com/Papooch/nestjs-cls/commits/82cdeef)) ##### Features - **core**: introduce hooks for the Plugin API ([#​283](https://redirect.github.com/Papooch/nestjs-cls/issues/283)) ([4623607](https://redirect.github.com/Papooch/nestjs-cls/commits/4623607)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4zMy42IiwidXBkYXRlZEluVmVyIjoiNDAuMzMuNiIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> |
||
|
|
34a5d9dec3 |
chore: bump up @nestjs-cls/transactional-adapter-prisma version to v1.2.21 (#12643)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@nestjs-cls/transactional-adapter-prisma](https://papooch.github.io/nestjs-cls/) ([source](https://redirect.github.com/Papooch/nestjs-cls)) | [`1.2.20` -> `1.2.21`](https://renovatebot.com/diffs/npm/@nestjs-cls%2ftransactional-adapter-prisma/1.2.20/1.2.21) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>Papooch/nestjs-cls (@​nestjs-cls/transactional-adapter-prisma)</summary> ### [`v1.2.21`](https://redirect.github.com/Papooch/nestjs-cls/compare/@nestjs-cls/transactional-adapter-prisma@1.2.20...@nestjs-cls/transactional-adapter-prisma@1.2.21) [Compare Source](https://redirect.github.com/Papooch/nestjs-cls/compare/@nestjs-cls/transactional-adapter-prisma@1.2.20...@nestjs-cls/transactional-adapter-prisma@1.2.21) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4zMy42IiwidXBkYXRlZEluVmVyIjoiNDAuMzMuNiIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> |
||
|
|
c68598c0e0 |
chore: bump up opentelemetry (#12183)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@opentelemetry/exporter-prometheus](https://redirect.github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-exporter-prometheus) ([source](https://redirect.github.com/open-telemetry/opentelemetry-js)) | [`^0.57.0` -> `^0.201.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2fexporter-prometheus/0.57.2/0.201.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@opentelemetry/host-metrics](https://redirect.github.com/open-telemetry/opentelemetry-js-contrib/tree/main/packages/opentelemetry-host-metrics#readme) ([source](https://redirect.github.com/open-telemetry/opentelemetry-js-contrib)) | [`^0.35.4` -> `^0.36.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2fhost-metrics/0.35.5/0.36.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@opentelemetry/instrumentation](https://redirect.github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation) ([source](https://redirect.github.com/open-telemetry/opentelemetry-js)) | [`^0.57.0` -> `^0.201.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2finstrumentation/0.57.2/0.201.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@opentelemetry/instrumentation-graphql](https://redirect.github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-graphql#readme) ([source](https://redirect.github.com/open-telemetry/opentelemetry-js-contrib)) | [`^0.47.0` -> `^0.49.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2finstrumentation-graphql/0.47.1/0.49.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@opentelemetry/instrumentation-http](https://redirect.github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation-http) ([source](https://redirect.github.com/open-telemetry/opentelemetry-js)) | [`^0.57.0` -> `^0.201.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2finstrumentation-http/0.57.2/0.201.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@opentelemetry/instrumentation-ioredis](https://redirect.github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-ioredis#readme) ([source](https://redirect.github.com/open-telemetry/opentelemetry-js-contrib)) | [`^0.47.0` -> `^0.49.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2finstrumentation-ioredis/0.47.1/0.49.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@opentelemetry/instrumentation-nestjs-core](https://redirect.github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-nestjs-core#readme) ([source](https://redirect.github.com/open-telemetry/opentelemetry-js-contrib)) | [`^0.44.0` -> `^0.47.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2finstrumentation-nestjs-core/0.44.1/0.47.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@opentelemetry/instrumentation-socket.io](https://redirect.github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/instrumentation-socket.io#readme) ([source](https://redirect.github.com/open-telemetry/opentelemetry-js-contrib)) | [`^0.46.0` -> `^0.48.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2finstrumentation-socket.io/0.46.1/0.48.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@opentelemetry/sdk-node](https://redirect.github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-sdk-node) ([source](https://redirect.github.com/open-telemetry/opentelemetry-js)) | [`^0.57.0` -> `^0.201.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2fsdk-node/0.57.2/0.201.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@opentelemetry/semantic-conventions](https://redirect.github.com/open-telemetry/opentelemetry-js/tree/main/semantic-conventions) ([source](https://redirect.github.com/open-telemetry/opentelemetry-js)) | [`1.33.0` -> `1.34.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2fsemantic-conventions/1.33.0/1.34.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>open-telemetry/opentelemetry-js (@​opentelemetry/exporter-prometheus)</summary> ### [`v0.201.1`]( |
||
|
|
9c81c24fbe |
fix(editor): clear selection after toggle latex editor (#12637)
- **fix(editor): clear selection after toggle latex editor** - **chore: remove useless test** <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - LaTeX rendering now outputs MathML format for improved accessibility and compatibility. - Added support for KaTeX styling to enhance LaTeX display in the playground. - **Bug Fixes** - Improved editor behavior by resetting the selection group before opening the LaTeX editor. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
517aec79ba | fix(editor): invoke subscriber.unsubscribe() during cleanup (#12628) | ||
|
|
31a1841e25 |
chore(server): log removed job id (#12646)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Improved log messages to include job IDs when jobs are removed from the queue, enhancing traceability for users monitoring job activity. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
625e8392a6 |
fix(editor): missing block in select-all set (#12627)
This PR fixed that the block is missing in the selecte-all set after undo a dragging from canvas to note. Related to #12473 ### Before https://github.com/user-attachments/assets/828b4f48-689a-4975-bba6-f380f324de3c ### After https://github.com/user-attachments/assets/9996c1ca-c3ea-415c-ab2b-359d826a1ffa <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Improved handling of changes to child elements, ensuring more accurate updates when items are added or removed. This results in more reliable display and interaction with nested components. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
f616bd29d3 |
fix(core): adjust some uis for sharing (#12486)
fix AF-2660 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Style** - Improved visual appearance of sidebar buttons and quick search input, including reduced sizes, updated padding, and enhanced hover effects. - Adjusted layout spacing for quick search and new page elements in the sidebar. - Updated share button styling to use the primary variant. - **New Features** - Notification cards now only display messages and action footers when relevant, providing a cleaner interface. - **Refactor** - Removed shortcut hint and spotlight elements from the quick search input for a simplified user experience. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
d6b9e9c60a |
feat(mobile): share page support (#12351)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Improved server context awareness for workspaces on mobile web. - Enhanced handling for missing workspaces by displaying a share page when accessing a document detail route in mobile web environments. - **Bug Fixes** - Workspace list now refreshes automatically when switching workspace IDs. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
bc67766bb9 |
fix(editor): cleanup transformer middleware slot subscriptions (#12630)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Improved resource management by introducing explicit cleanup for various middleware components, ensuring that resources are properly released when no longer needed. - **Refactor** - Updated middleware logic to support cleanup functions, enhancing the stability and performance of the application by preventing potential memory leaks. - **Chores** - Enhanced lifecycle management in core systems to automatically dispose of resources when appropriate. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
9a96cfded0 |
fix(editor): viewportElement is undefined in edgeless root block (#12626)
This PR fixed that `rootComponent.viewportElement` is undefeined in edgeless mode, which leads that toast can not be render in playground.
|
||
|
|
77392efaa2 |
chore(editor): remove feature flag of embed doc with alias (#12620)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Toolbar actions related to embedding and duplicating documents are now always available without restrictions. - **Chores** - Removed the feature flag controlling embed document alias features for a simpler user experience. - **Tests** - Updated test setup to remove reliance on the deprecated feature flag. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
927b4f4430 |
chore(editor): adjust format of date time in slash menu (#12631)
Closes: #12624 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Refactor** - Updated the time formatting to display dates as "yyyy-mm-dd hh:mm" instead of "mm-dd hh:mm". <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
9ec1d08d98 |
chore: bump up @chromatic-com/storybook version to v4 (#12618)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@chromatic-com/storybook](https://redirect.github.com/chromaui/addon-visual-tests) | [`^3.2.2` -> `^4.0.0`](https://renovatebot.com/diffs/npm/@chromatic-com%2fstorybook/3.2.6/4.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>chromaui/addon-visual-tests (@​chromatic-com/storybook)</summary> ### [`v4.0.0`](https://redirect.github.com/chromaui/addon-visual-tests/compare/v3.2.6...814ef25cc6d4fd763d089f67b21f8b56429d6512) [Compare Source](https://redirect.github.com/chromaui/addon-visual-tests/compare/v3.2.6...v4.0.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4zMy42IiwidXBkYXRlZEluVmVyIjoiNDAuMzMuNiIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> |
||
|
|
86cd92a878 |
fix(core): add loading status to share page button (#12288)
close AF-2615 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Enhancements** - Improved the share menu's user experience by showing a loading indicator and disabling the public page button during revalidation. This prevents user interaction while the share info is updating. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
ab28213df2 |
feat(core): support synchronization of ai playground input value and send button (#12607)
Close [AI-86](https://linear.app/affine-design/issue/AI-86) [123.mov <span class="graphite__hidden">(uploaded via Graphite)</span> <img class="graphite__hidden" src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/01ca98ef-60a3-4a42-9bef-62993f6a657b.mov" />](https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/01ca98ef-60a3-4a42-9bef-62993f6a657b.mov)v0.22.0-canary.7 v0.22.0-beta.3 |
||
|
|
39cb1afedb |
fix(server): limit rootDoc snapshot size (#12625)
close CLOUD-225 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added support for reading document blocks without requiring a workspace or root document snapshot. - **Bug Fixes** - Improved handling of large workspace snapshots by skipping them when they exceed 10MB. - **Tests** - Introduced new test cases to cover scenarios where root or workspace snapshots are absent. - Expanded snapshot tests for document block reading. - **Refactor** - Updated several function signatures to make root and workspace snapshot parameters optional for greater flexibility. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
1eb9e62075 |
fix(core): adjust sign in page z-index (#12476)
 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Style** - Improved layering of the sign-in page container to ensure it displays above other elements when necessary. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
ef5f96bfb6 |
fix(core): loadDoc tracking events not tracking correctly (#11960)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Refactor** - Improved the reliability and clarity of loading state and error tracking in the editor, resulting in more accurate feedback during document loading. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
b9c70985a1 |
fix(core): workspace embedding settings icon (#12622)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Style** - Updated the icon for the embedding workspace setting to a new design for improved visual clarity. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
66db63c845 |
feat(core): no-access & local for workspace embedding (#12598)
## TL;DR Workspace embedding settings opt: * **local workspace**: show enable cloud panel * **no-access workspace**: disable settings panel   > CLOSE AI-155 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Embedding settings UI now displays a tooltip indicating that only workspace owners can enable Workspace Embedding. - Embedding settings are modularized for local and cloud workspaces, with clear separation and appropriate enablement controls. - Attachments in embedding settings cannot be deleted when the settings are disabled. - **Accessibility** - Settings wrapper now includes an aria-disabled attribute for improved assistive technology support. - **Localization** - Added a new tooltip message: "Only the workspace owner can enable Workspace Embedding." - **Tests** - Added end-to-end tests for local workspace UI and disabled state when not the workspace owner. - **UI Improvements** - Updated settings panel to better reflect disabled states with tooltips and conditional controls. - Improved synchronization when opening the embedding settings panel for a smoother user experience. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
32a29657e4 |
fix(editor): incorrect position of toolbar in android (#12614)
### Before Extra padding between toolbaar and keyboard  ### After  <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Improved accuracy of keyboard height calculations by properly accounting for the navigation bar height on Android devices. - **Refactor** - Standardized naming conventions for navigation bar height methods and unit conversion utilities to enhance consistency across the app. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
1aa0cd27d5 |
chore: bump up storybook monorepo to v9 (major) (#12616)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@storybook/addon-links](https://redirect.github.com/storybookjs/storybook/tree/next/code/addons/links) ([source](https://redirect.github.com/storybookjs/storybook/tree/HEAD/code/addons/links)) | [`^8.4.7` -> `^9.0.0`](https://renovatebot.com/diffs/npm/@storybook%2faddon-links/8.6.14/9.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@storybook/react](https://redirect.github.com/storybookjs/storybook/tree/next/code/renderers/react) ([source](https://redirect.github.com/storybookjs/storybook/tree/HEAD/code/renderers/react)) | [`^8.4.7` -> `^9.0.0`](https://renovatebot.com/diffs/npm/@storybook%2freact/8.6.14/9.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@storybook/react-vite](https://redirect.github.com/storybookjs/storybook/tree/next/code/frameworks/react-vite) ([source](https://redirect.github.com/storybookjs/storybook/tree/HEAD/code/frameworks/react-vite)) | [`^8.4.7` -> `^9.0.0`](https://renovatebot.com/diffs/npm/@storybook%2freact-vite/8.6.14/9.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [storybook](https://storybook.js.org) ([source](https://redirect.github.com/storybookjs/storybook/tree/HEAD/code/core)) | [`^8.4.7` -> `^9.0.0`](https://renovatebot.com/diffs/npm/storybook/8.6.14/9.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>storybookjs/storybook (@​storybook/addon-links)</summary> ### [`v9.0.0`](https://redirect.github.com/storybookjs/storybook/blob/HEAD/CHANGELOG.md#900) [Compare Source](https://redirect.github.com/storybookjs/storybook/compare/v8.6.14...v9.0.0) ##### Storybook 9.0 is here This is a huge release focused on testing and bundle size. - Component testing - 👆 Interactions - ♿️ Accessibility - 👁️ Visual changes - 🛡️ Coverage - 🪶 48% lighter bundle - 🏷️ Tags-based organization - 🌐 Story globals - 🏗️ Major upgrades: Svelte, Next, React Native, Angular Please checkout our [Migration guide](https://storybook.js.org/docs/9/migration-guide) to upgrade from earlier versions of Storybook. To see a comprehensive list of changes that went into 9.0, you can refer to the [9.0 prerelease changelogs](./CHANGELOG.prerelease.md) <details> <summary>List of all updates</summary> - Addon A11y: Add `linkPath` to Axe results and use it in copy link action - [#​31009](https://redirect.github.com/storybookjs/storybook/pull/31009), thanks [@​ghengeveld](https://redirect.github.com/ghengeveld)! - Addon A11y: Fix setup as part of storybook create - [#​31403](https://redirect.github.com/storybookjs/storybook/pull/31403), thanks [@​yannbf](https://redirect.github.com/yannbf)! - Addon A11y: Fix usage of axe-core in pnpm projects - [#​31422](https://redirect.github.com/storybookjs/storybook/pull/31422), thanks [@​yannbf](https://redirect.github.com/yannbf)! - Addon A11y: Fix various issues and inconsistencies - [#​31432](https://redirect.github.com/storybookjs/storybook/pull/31432), thanks [@​ghengeveld](https://redirect.github.com/ghengeveld)! - Addon A11y: Improve selector automigration detection - [#​31392](https://redirect.github.com/storybookjs/storybook/pull/31392), thanks [@​yannbf](https://redirect.github.com/yannbf)! - Addon A11y: Only run checks in story mode - [#​30976](https://redirect.github.com/storybookjs/storybook/pull/30976), thanks [@​kroeder](https://redirect.github.com/kroeder)! - Addon A11y: Provide full report in a11y manual runs - [#​31325](https://redirect.github.com/storybookjs/storybook/pull/31325), thanks [@​yannbf](https://redirect.github.com/yannbf)! - Addon A11y: Use short titles and friendly summary messages in A11y report - [#​31185](https://redirect.github.com/storybookjs/storybook/pull/31185), thanks [@​ghengeveld](https://redirect.github.com/ghengeveld)! - Addon Controls: Fix loading state UI in addon panel - [#​31168](https://redirect.github.com/storybookjs/storybook/pull/31168), thanks [@​iineineno03k](https://redirect.github.com/iineineno03k)! - Addon Docs: Fix `layout: centered` in conjunction with `inline: false` - [#​31430](https://redirect.github.com/storybookjs/storybook/pull/31430), thanks [@​ghengeveld](https://redirect.github.com/ghengeveld)! - Addon Docs: Fix docs-content overflow with TOC - [#​27167](https://redirect.github.com/storybookjs/storybook/pull/27167), thanks [@​njsokol](https://redirect.github.com/njsokol)! - Addon Docs: Fix iframe content width in centered layout - [#​31320](https://redirect.github.com/storybookjs/storybook/pull/31320), thanks [@​Audie80](https://redirect.github.com/Audie80)! - Addon Docs: Improve TableOfContents HTML structure and a11y - [#​31327](https://redirect.github.com/storybookjs/storybook/pull/31327), thanks [@​Sidnioulz](https://redirect.github.com/Sidnioulz)! - Addon Docs: Reset error boundary when story changes to recover from erros - [#​31242](https://redirect.github.com/storybookjs/storybook/pull/31242), thanks [@​yatishgoel](https://redirect.github.com/yatishgoel)! - Addon Docs: Simplify color parsing and color cycling logic - [#​29840](https://redirect.github.com/storybookjs/storybook/pull/29840), thanks [@​leyvae](https://redirect.github.com/leyvae)! - Addon Docs: Update telejson - [#​31115](https://redirect.github.com/storybookjs/storybook/pull/31115), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Addon Pseudo States: Move package into monorepo - [#​31123](https://redirect.github.com/storybookjs/storybook/pull/31123), thanks [@​ghengeveld](https://redirect.github.com/ghengeveld)! - Addon Test: Improve unhandled error messages - [#​30755](https://redirect.github.com/storybookjs/storybook/pull/30755), thanks [@​yannbf](https://redirect.github.com/yannbf)! - Addon Test: Rename `@storybook/experimental-addon-test` to `@storybook/addon-vitest` - [#​31014](https://redirect.github.com/storybookjs/storybook/pull/31014), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Addon Vitest: Ensure vitest exclusions are relative to the project root, not cwd - [#​31514](https://redirect.github.com/storybookjs/storybook/pull/31514), thanks [@​mrginglymus](https://redirect.github.com/mrginglymus)! - Addon Vitest: Fix broken docs links - [#​31445](https://redirect.github.com/storybookjs/storybook/pull/31445), thanks [@​kylegach](https://redirect.github.com/kylegach)! - Addon Vitest: Fix watch mode for new files - [#​31156](https://redirect.github.com/storybookjs/storybook/pull/31156), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Addon Vitest: Ignore mdx files as part of tests - [#​31457](https://redirect.github.com/storybookjs/storybook/pull/31457), thanks [@​yannbf](https://redirect.github.com/yannbf)! - Addon Vitest: Improve handling multiple browser mode projects - [#​31508](https://redirect.github.com/storybookjs/storybook/pull/31508), thanks [@​yannbf](https://redirect.github.com/yannbf)! - Addon Vitest: Support `vitest.projects.ts` file as workspace file during postinstall - [#​31565](https://redirect.github.com/storybookjs/storybook/pull/31565), thanks [@​ghengeveld](https://redirect.github.com/ghengeveld)! - Addon Vitest: Transform [@​storybook/nextjs](https://redirect.github.com/storybook/nextjs) imports to [@​storybook/nextjs-vite](https://redirect.github.com/storybook/nextjs-vite) during init - [#​31180](https://redirect.github.com/storybookjs/storybook/pull/31180), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Addon Vitest: Use its own cache directory - [#​31439](https://redirect.github.com/storybookjs/storybook/pull/31439), thanks [@​yannbf](https://redirect.github.com/yannbf)! - Addon-a11y: Replace `element` parameter with `context` - [#​31036](https://redirect.github.com/storybookjs/storybook/pull/31036), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - Addon-A11y: Various improvements - [#​30774](https://redirect.github.com/storybookjs/storybook/pull/30774), thanks [@​ghengeveld](https://redirect.github.com/ghengeveld)! - Addon-Essentials: Remove addon-docs - [#​30856](https://redirect.github.com/storybookjs/storybook/pull/30856), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Addon-Test: Automatically load before all - [#​30584](https://redirect.github.com/storybookjs/storybook/pull/30584), thanks [@​kasperpeulen](https://redirect.github.com/kasperpeulen)! - Addon-test: Exclude `storybook-static` from coverage reports - [#​31005](https://redirect.github.com/storybookjs/storybook/pull/31005), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - Addon-test: Fix watching non-story files, run all tests on preview change - [#​31045](https://redirect.github.com/storybookjs/storybook/pull/31045), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - Addon-Test: Migrate to new test provider API, drop Vitest 2 support - [#​30875](https://redirect.github.com/storybookjs/storybook/pull/30875), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - Addon-Vitest: Always clean coverage before (re)running - [#​31540](https://redirect.github.com/storybookjs/storybook/pull/31540), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - Addon-vitest: Fix coverage being disabled with Run All button - [#​31074](https://redirect.github.com/storybookjs/storybook/pull/31074), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - Addon-vitest: Fix coverage when restarting Vitest due to config change - [#​31069](https://redirect.github.com/storybookjs/storybook/pull/31069), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - Addon-vitest: Fix wrong test count in telemetry - [#​31504](https://redirect.github.com/storybookjs/storybook/pull/31504), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - Addon-vitest: Remove internal log for `staticDir` - [#​31340](https://redirect.github.com/storybookjs/storybook/pull/31340), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - Addon-vitest: Support paths with spaces - [#​31437](https://redirect.github.com/storybookjs/storybook/pull/31437), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Addons: Add shim Storybook addons for previously removed addons - [#​31520](https://redirect.github.com/storybookjs/storybook/pull/31520), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Addons: Move [@​storybook/addon-interactions](https://redirect.github.com/storybook/addon-interactions) into core - [#​30916](https://redirect.github.com/storybookjs/storybook/pull/30916), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Addons: Remove [@​storybook/addon-storysource](https://redirect.github.com/storybook/addon-storysource) - [#​31007](https://redirect.github.com/storybookjs/storybook/pull/31007), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Addons: Update the Viewport and Background Addon - [#​30841](https://redirect.github.com/storybookjs/storybook/pull/30841), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - AddonVitest: Use framework package, not renderer - [#​31133](https://redirect.github.com/storybookjs/storybook/pull/31133), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - All packages: Remove unused dependencies - [#​31227](https://redirect.github.com/storybookjs/storybook/pull/31227), thanks [@​webpro](https://redirect.github.com/webpro)! - Angular: Add [@​angular-devkit/build-angular](https://redirect.github.com/angular-devkit/build-angular) to default installed pacakages in angular - [#​30790](https://redirect.github.com/storybookjs/storybook/pull/30790), thanks [@​kasperpeulen](https://redirect.github.com/kasperpeulen)! - Angular: Filter non-inputs from controls - [#​30550](https://redirect.github.com/storybookjs/storybook/pull/30550), thanks [@​robertIsaac](https://redirect.github.com/robertIsaac)! - Angular: remove invalid defaults for start-storybook - [#​31337](https://redirect.github.com/storybookjs/storybook/pull/31337), thanks [@​AgentEnder](https://redirect.github.com/AgentEnder)! - ArgTypes: Always extract argTypes, even without `addon-docs` - [#​31488](https://redirect.github.com/storybookjs/storybook/pull/31488), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - Autoblock: Add autoblocker for addon-test - [#​31068](https://redirect.github.com/storybookjs/storybook/pull/31068), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Autoblock: Fix link - [#​31236](https://redirect.github.com/storybookjs/storybook/pull/31236), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - AutoBlocker: Add major version upgrade blocker - [#​30714](https://redirect.github.com/storybookjs/storybook/pull/30714), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Automigrate: Disable `missingStorybookDependencies` for 9.0 - [#​30769](https://redirect.github.com/storybookjs/storybook/pull/30769), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Automigrate: Prefer framework import - [#​30785](https://redirect.github.com/storybookjs/storybook/pull/30785), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Automigration: Add new Storybook addons to consolidated packages mapping - [#​30993](https://redirect.github.com/storybookjs/storybook/pull/30993), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Automigration: Adjust addon-docs install condition - [#​31343](https://redirect.github.com/storybookjs/storybook/pull/31343), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Automigration: Always scan file system to substitute essential addons - [#​31176](https://redirect.github.com/storybookjs/storybook/pull/31176), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Automigration: Correctly apply the wrap-require automigration in ESM modules - [#​31420](https://redirect.github.com/storybookjs/storybook/pull/31420), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Automigration: Enhance import transformation to handle partial package matches - [#​31033](https://redirect.github.com/storybookjs/storybook/pull/31033), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Automigration: Ensure correct addition of missing dependencies - [#​31023](https://redirect.github.com/storybookjs/storybook/pull/31023), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Automigration: Fix an issue when main.js addons have dynamic values - [#​31273](https://redirect.github.com/storybookjs/storybook/pull/31273), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Automigration: Fix consolidated-imports with sub-paths - [#​31135](https://redirect.github.com/storybookjs/storybook/pull/31135), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Automigration: Fix wrap require wrapper - [#​31569](https://redirect.github.com/storybookjs/storybook/pull/31569), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Automigration: Improve renderer to framework automigration - [#​31397](https://redirect.github.com/storybookjs/storybook/pull/31397), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Automigration: Migrate users to codePanel - [#​31313](https://redirect.github.com/storybookjs/storybook/pull/31313), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Automigration: Misc addon-essentials migration fixes - [#​31072](https://redirect.github.com/storybookjs/storybook/pull/31072), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Automigration: Pass over flags when calling automigrations - [#​31342](https://redirect.github.com/storybookjs/storybook/pull/31342), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Automigration: Remove `@storybook/addon-essentials` proper - [#​31015](https://redirect.github.com/storybookjs/storybook/pull/31015), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Automigration: Remove `docs.autodocs` field - [#​31203](https://redirect.github.com/storybookjs/storybook/pull/31203), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Automigration: Respect config-dir option - [#​31233](https://redirect.github.com/storybookjs/storybook/pull/31233), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Automigration: Update mapping for '[@​storybook/experimental-nextjs-vite](https://redirect.github.com/storybook/experimental-nextjs-vite)' - [#​30991](https://redirect.github.com/storybookjs/storybook/pull/30991), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Automigrations: Add logging - [#​31066](https://redirect.github.com/storybookjs/storybook/pull/31066), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Automigrations: Fix installation of addon-docs - [#​31399](https://redirect.github.com/storybookjs/storybook/pull/31399), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Automigrations: Re-add renderer-to-framework and fix issue in monorepositories - [#​31011](https://redirect.github.com/storybookjs/storybook/pull/31011), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Backgrounds/Viewport: Fix resetting - [#​31386](https://redirect.github.com/storybookjs/storybook/pull/31386), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Blocks: IconGallery improvement - [#​30743](https://redirect.github.com/storybookjs/storybook/pull/30743), thanks [@​leeovictor](https://redirect.github.com/leeovictor)! - Build: Update import paths and enable syntax minification - [#​31390](https://redirect.github.com/storybookjs/storybook/pull/31390), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Cleanup: Remove obsolete dependency - [#​31177](https://redirect.github.com/storybookjs/storybook/pull/31177), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - CLI: Add `storybook-static` to `.gitignore` on init - [#​31201](https://redirect.github.com/storybookjs/storybook/pull/31201), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - CLI: Add detection for the storybook package being behind any other core packages - [#​30861](https://redirect.github.com/storybookjs/storybook/pull/30861), thanks [@​kasperpeulen](https://redirect.github.com/kasperpeulen)! - CLI: Add index command / API - [#​30071](https://redirect.github.com/storybookjs/storybook/pull/30071), thanks [@​shilman](https://redirect.github.com/shilman)! - CLI: Add React Native `.rnstorybook` CLI automigration - [#​30882](https://redirect.github.com/storybookjs/storybook/pull/30882), thanks [@​shilman](https://redirect.github.com/shilman)! - CLI: Detect correct storybook version on upgrade - [#​31393](https://redirect.github.com/storybookjs/storybook/pull/31393), thanks [@​yannbf](https://redirect.github.com/yannbf)! - CLI: Do not install renderer package on `init` - [#​30799](https://redirect.github.com/storybookjs/storybook/pull/30799), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - CLI: Enhance compatibility check: deprecated detection - [#​31317](https://redirect.github.com/storybookjs/storybook/pull/31317), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - CLI: Fix framework for preview imports - [#​31101](https://redirect.github.com/storybookjs/storybook/pull/31101), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - CLI: Fix get versions utility for NPM - [#​29577](https://redirect.github.com/storybookjs/storybook/pull/29577), thanks [@​johnrcui](https://redirect.github.com/johnrcui)! - CLI: Improve CLI upgrade process for [@​latest](https://redirect.github.com/latest) and [@​next](https://redirect.github.com/next) - [#​31356](https://redirect.github.com/storybookjs/storybook/pull/31356), thanks [@​yannbf](https://redirect.github.com/yannbf)! - CLI: Improve package upgrade logic - [#​31406](https://redirect.github.com/storybookjs/storybook/pull/31406), thanks [@​yannbf](https://redirect.github.com/yannbf)! - CLI: Install prereleases of `@chromatic-com/storybook` - [#​30662](https://redirect.github.com/storybookjs/storybook/pull/30662), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - CLI: Make sure that the add commands logs all output to the console - [#​30865](https://redirect.github.com/storybookjs/storybook/pull/30865), thanks [@​kasperpeulen](https://redirect.github.com/kasperpeulen)! - CLI: Remove `@latest` from `yarn create` commands - [#​31458](https://redirect.github.com/storybookjs/storybook/pull/31458), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - CLI: Supress npm notice update log messages - [#​31334](https://redirect.github.com/storybookjs/storybook/pull/31334), thanks [@​yannbf](https://redirect.github.com/yannbf)! - CLI: Tweak init prompt - [#​31376](https://redirect.github.com/storybookjs/storybook/pull/31376), thanks [@​shilman](https://redirect.github.com/shilman)! - CLI: Update nx docs in Storybook detection error - [#​31266](https://redirect.github.com/storybookjs/storybook/pull/31266), thanks [@​yannbf](https://redirect.github.com/yannbf)! - CLI: Wrap object addon names in wrap-require migration - [#​31285](https://redirect.github.com/storybookjs/storybook/pull/31285), thanks [@​yatishgoel](https://redirect.github.com/yatishgoel)! - CodePanel: Show originalSource code - [#​31456](https://redirect.github.com/storybookjs/storybook/pull/31456), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Controls: Embed addon-controls into the core - [#​30864](https://redirect.github.com/storybookjs/storybook/pull/30864), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Controls: Remove empty state video link - [#​31539](https://redirect.github.com/storybookjs/storybook/pull/31539), thanks [@​kylegach](https://redirect.github.com/kylegach)! - Core / Addon A11y: Emit `STORY_HOT_UPDATED` and rerun A11y tests on HMR - [#​31423](https://redirect.github.com/storybookjs/storybook/pull/31423), thanks [@​ghengeveld](https://redirect.github.com/ghengeveld)! - Core: Add error boundary to tabs to prevent addon errors breaking Storybook - [#​30952](https://redirect.github.com/storybookjs/storybook/pull/30952), thanks [@​kasperpeulen](https://redirect.github.com/kasperpeulen)! - Core: Add highlight as public API - [#​31134](https://redirect.github.com/storybookjs/storybook/pull/31134), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Core: Add preview navigator and `--preview-only` CLI flag - [#​31102](https://redirect.github.com/storybookjs/storybook/pull/31102), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - Core: Automatically expand testing module on unhandled error - [#​31028](https://redirect.github.com/storybookjs/storybook/pull/31028), thanks [@​ghengeveld](https://redirect.github.com/ghengeveld)! - Core: Avoid pre-bundling of preview-api in manager entries - [#​31385](https://redirect.github.com/storybookjs/storybook/pull/31385), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Core: Bring back loading globals from global types in portable stories - [#​31328](https://redirect.github.com/storybookjs/storybook/pull/31328), thanks [@​yannbf](https://redirect.github.com/yannbf)! - Core: Builder-manager disable metafile - [#​31467](https://redirect.github.com/storybookjs/storybook/pull/31467), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Core: Change require.resolve path for storybook/package.json - [#​31230](https://redirect.github.com/storybookjs/storybook/pull/31230), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Core: Cleanup dependencies - [#​31222](https://redirect.github.com/storybookjs/storybook/pull/31222), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - Core: Create `features` for addons moved into core - [#​31146](https://redirect.github.com/storybookjs/storybook/pull/31146), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Core: Do not show 'Render story' step in interactions - [#​31452](https://redirect.github.com/storybookjs/storybook/pull/31452), thanks [@​ghengeveld](https://redirect.github.com/ghengeveld)! - Core: Draw highlights on top of canvas and add various new features - [#​30894](https://redirect.github.com/storybookjs/storybook/pull/30894), thanks [@​ghengeveld](https://redirect.github.com/ghengeveld)! - Core: Fix core annotations applied twice - [#​31361](https://redirect.github.com/storybookjs/storybook/pull/31361), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Core: Fix favicon issue on dev server - [#​30818](https://redirect.github.com/storybookjs/storybook/pull/30818), thanks [@​MuhdHishamP](https://redirect.github.com/MuhdHishamP)! - Core: Fix flaky unit tests related to stores - [#​30963](https://redirect.github.com/storybookjs/storybook/pull/30963), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - Core: Fix highlight `clickEvent` serialization and export public types - [#​31179](https://redirect.github.com/storybookjs/storybook/pull/31179), thanks [@​ghengeveld](https://redirect.github.com/ghengeveld)! - Core: Fix highlight conflicts - [#​31204](https://redirect.github.com/storybookjs/storybook/pull/31204), thanks [@​ghengeveld](https://redirect.github.com/ghengeveld)! - Core: Fix highlighting zero-pixel elements and focus on single element - [#​31183](https://redirect.github.com/storybookjs/storybook/pull/31183), thanks [@​ghengeveld](https://redirect.github.com/ghengeveld)! - Core: Fix sidebar accessibility order for screen readers - [#​31250](https://redirect.github.com/storybookjs/storybook/pull/31250), thanks [@​yatishgoel](https://redirect.github.com/yatishgoel)! - Core: Improve unhandled error detection - [#​31440](https://redirect.github.com/storybookjs/storybook/pull/31440), thanks [@​kasperpeulen](https://redirect.github.com/kasperpeulen)! - Core: Increase compile targets for node & browsers - [#​31139](https://redirect.github.com/storybookjs/storybook/pull/31139), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - Core: Make sure to only mutate writable arrays - [#​31578](https://redirect.github.com/storybookjs/storybook/pull/31578), thanks [@​kasperpeulen](https://redirect.github.com/kasperpeulen)! - Core: Move [@​storybook/addon-actions](https://redirect.github.com/storybook/addon-actions) into storybook - [#​30765](https://redirect.github.com/storybookjs/storybook/pull/30765), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Core: Move [@​storybook/instrumenter](https://redirect.github.com/storybook/instrumenter) into core - [#​30740](https://redirect.github.com/storybookjs/storybook/pull/30740), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Core: New Status Store - [#​30764](https://redirect.github.com/storybookjs/storybook/pull/30764), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - Core: New Test Provider Store - [#​30828](https://redirect.github.com/storybookjs/storybook/pull/30828), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - Core: Prebundle jsdoc-type-pratt-parser again - [#​30923](https://redirect.github.com/storybookjs/storybook/pull/30923), thanks [@​kasperpeulen](https://redirect.github.com/kasperpeulen)! - Core: Re-Export renderers from frameworks - [#​30771](https://redirect.github.com/storybookjs/storybook/pull/30771), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Core: Remove `util`, `browser-assert`, `process` deps - [#​30805](https://redirect.github.com/storybookjs/storybook/pull/30805), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Core: Remove `uuid` package from core - [#​31219](https://redirect.github.com/storybookjs/storybook/pull/31219), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - Core: Remove deprecated parts of test provider API - [#​30962](https://redirect.github.com/storybookjs/storybook/pull/30962), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - Core: Remove duplicate notification dot on sidebar buttons on mobile - [#​31485](https://redirect.github.com/storybookjs/storybook/pull/31485), thanks [@​ghengeveld](https://redirect.github.com/ghengeveld)! - Core: Remove maximum-scale=1 from viewport meta tag - [#​31283](https://redirect.github.com/storybookjs/storybook/pull/31283), thanks [@​yatishgoel](https://redirect.github.com/yatishgoel)! - Core: Rename local tests to interactions - [#​31141](https://redirect.github.com/storybookjs/storybook/pull/31141), thanks [@​yannbf](https://redirect.github.com/yannbf)! - Core: Set a minimum height/width for the targetable area of highlights - [#​31486](https://redirect.github.com/storybookjs/storybook/pull/31486), thanks [@​ghengeveld](https://redirect.github.com/ghengeveld)! - Core: Show "Render story" event explicitly in Component Tests event trace - [#​31027](https://redirect.github.com/storybookjs/storybook/pull/31027), thanks [@​ghengeveld](https://redirect.github.com/ghengeveld)! - Core: Support groups and info icon in highlight popover menu - [#​31475](https://redirect.github.com/storybookjs/storybook/pull/31475), thanks [@​ghengeveld](https://redirect.github.com/ghengeveld)! - Core: Support React Native environment without static class blocks - [#​31282](https://redirect.github.com/storybookjs/storybook/pull/31282), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - Core: Testing Module UI improvements - [#​30773](https://redirect.github.com/storybookjs/storybook/pull/30773), thanks [@​ghengeveld](https://redirect.github.com/ghengeveld)! - Core: Wait for animations before completing render cycle - [#​31287](https://redirect.github.com/storybookjs/storybook/pull/31287), thanks [@​ghengeveld](https://redirect.github.com/ghengeveld)! - CSF-Tools: Add support for existing node imports and improve import handling - [#​31497](https://redirect.github.com/storybookjs/storybook/pull/31497), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Csf-Tools: Enhance setFieldNode logic to handle variable declarations - [#​31056](https://redirect.github.com/storybookjs/storybook/pull/31056), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - CSF: Fix handling of renamed story exports - [#​31519](https://redirect.github.com/storybookjs/storybook/pull/31519), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - Dependencies: Update dependencies - [#​31143](https://redirect.github.com/storybookjs/storybook/pull/31143), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Dependencies: Update docgen - [#​31465](https://redirect.github.com/storybookjs/storybook/pull/31465), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Dependencies: Upgrade [@​types/estree](https://redirect.github.com/types/estree) package to version v1.0.6 - [#​29477](https://redirect.github.com/storybookjs/storybook/pull/29477), thanks [@​hakshu25](https://redirect.github.com/hakshu25)! - Dependencies: Upgrade `telejson` - [#​30998](https://redirect.github.com/storybookjs/storybook/pull/30998), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Dependencies: Upgrades - [#​30515](https://redirect.github.com/storybookjs/storybook/pull/30515), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Dependencies: Upgrades for security - [#​31235](https://redirect.github.com/storybookjs/storybook/pull/31235), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Dependencies: Upgrades for security - [#​31276](https://redirect.github.com/storybookjs/storybook/pull/31276), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Dependencies: Upgrades for security - [#​31291](https://redirect.github.com/storybookjs/storybook/pull/31291), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Docs: Consolidate blocks into addon-docs - [#​31097](https://redirect.github.com/storybookjs/storybook/pull/31097), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Docs: Fix source code panel - [#​31245](https://redirect.github.com/storybookjs/storybook/pull/31245), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Eslint-plugin: Handle JSON5 format - [#​31336](https://redirect.github.com/storybookjs/storybook/pull/31336), thanks [@​yatishgoel](https://redirect.github.com/yatishgoel)! - ESLint: Fix flat config setup - [#​31192](https://redirect.github.com/storybookjs/storybook/pull/31192), thanks [@​yannbf](https://redirect.github.com/yannbf)! - Essentials: Move remaining addons into core - [#​30924](https://redirect.github.com/storybookjs/storybook/pull/30924), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Highlights: Dont run highlights when the feature is disabled - [#​31239](https://redirect.github.com/storybookjs/storybook/pull/31239), thanks [@​dannyhw](https://redirect.github.com/dannyhw)! - Hooks: Stabilize experimental afterEach hook - [#​31438](https://redirect.github.com/storybookjs/storybook/pull/31438), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - HTML Framework: Remove support for HTML Webpack 5 - [#​30990](https://redirect.github.com/storybookjs/storybook/pull/30990), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Indexer: Do not create autodocs entries unless addon-docs installed - [#​31331](https://redirect.github.com/storybookjs/storybook/pull/31331), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Init: Install framework stories instead of renderer stories - [#​31160](https://redirect.github.com/storybookjs/storybook/pull/31160), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Instrumenter: Fix `preview-api` import for react-native - [#​31057](https://redirect.github.com/storybookjs/storybook/pull/31057), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Interactions: Rename component test panel - [#​31130](https://redirect.github.com/storybookjs/storybook/pull/31130), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Maintenance: Drop tooling support - [#​30940](https://redirect.github.com/storybookjs/storybook/pull/30940), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Maintenance: Merge `@storybook/core` with `storybook` - [#​30168](https://redirect.github.com/storybookjs/storybook/pull/30168), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Maintenance: Migrate eslint-storybook-plugin into the monorepo - [#​31151](https://redirect.github.com/storybookjs/storybook/pull/31151), thanks [@​yannbf](https://redirect.github.com/yannbf)! - Maintenance: Remove aliasses in builder configurations & scripts - [#​31344](https://redirect.github.com/storybookjs/storybook/pull/31344), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Maintenance: Remove deprecated APIs - [#​30926](https://redirect.github.com/storybookjs/storybook/pull/30926), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Maintenance: Remove deprecated packages - [#​30690](https://redirect.github.com/storybookjs/storybook/pull/30690), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Maintenance: Remove obsolete automigrations - [#​30945](https://redirect.github.com/storybookjs/storybook/pull/30945), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Maintenance: Specify that Addon Test now requires Vitest 3.0 - [#​30948](https://redirect.github.com/storybookjs/storybook/pull/30948), thanks [@​yannbf](https://redirect.github.com/yannbf)! - Manager: Add reactivity to useParameter - [#​31579](https://redirect.github.com/storybookjs/storybook/pull/31579), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Manager: Fix `Uncaught ReferenceError: global is not defined` - [#​30970](https://redirect.github.com/storybookjs/storybook/pull/30970), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - Migration: Add auto-automigration for merged packages - [#​30753](https://redirect.github.com/storybookjs/storybook/pull/30753), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Migration: Improve glob question text - [#​31118](https://redirect.github.com/storybookjs/storybook/pull/31118), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Next.js-Vite: Stabilize [@​storybook/experimental-nextjs-vite](https://redirect.github.com/storybook/experimental-nextjs-vite) - [#​30956](https://redirect.github.com/storybookjs/storybook/pull/30956), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Next.js: Remove deprecated compatibility files - [#​31295](https://redirect.github.com/storybookjs/storybook/pull/31295), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Next.js: Upgrade image-size to 2.0 - [#​30741](https://redirect.github.com/storybookjs/storybook/pull/30741), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Nextjs Vite: Add runtime check for malformed postcss config - [#​31184](https://redirect.github.com/storybookjs/storybook/pull/31184), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Nextjs-Vite: Update vite-plugin-storybook-nextjs version and add optimizeDeps - [#​31037](https://redirect.github.com/storybookjs/storybook/pull/31037), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Node.js: Align Node.js version support - [#​31041](https://redirect.github.com/storybookjs/storybook/pull/31041), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Preact: Remove support for Preact Webpack 5 - [#​30957](https://redirect.github.com/storybookjs/storybook/pull/30957), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Presets: Use `.js` files when `.cjs` files are passed for entries that should be ESM - [#​31556](https://redirect.github.com/storybookjs/storybook/pull/31556), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - Pseudo States: Ignore escaped pseudo-class names - [#​31515](https://redirect.github.com/storybookjs/storybook/pull/31515), thanks [@​sentience](https://redirect.github.com/sentience)! - React Native Web: Add RNW to vitest supported frameworks - [#​31253](https://redirect.github.com/storybookjs/storybook/pull/31253), thanks [@​dannyhw](https://redirect.github.com/dannyhw)! - React Native: Fix support for 9.0 - [#​31518](https://redirect.github.com/storybookjs/storybook/pull/31518), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - React-Native: Fix `__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__` access - [#​30820](https://redirect.github.com/storybookjs/storybook/pull/30820), thanks [@​dannyhw](https://redirect.github.com/dannyhw)! - React-Native: Fix `userEvent.setup()` errors in jest - [#​30833](https://redirect.github.com/storybookjs/storybook/pull/30833), thanks [@​dannyhw](https://redirect.github.com/dannyhw)! - React-Native: Fix `userEvent.setup()` errors outside browser context - [#​30831](https://redirect.github.com/storybookjs/storybook/pull/30831), thanks [@​dannyhw](https://redirect.github.com/dannyhw)! - React-Native: Update config directory to .rnstorybook - [#​30819](https://redirect.github.com/storybookjs/storybook/pull/30819), thanks [@​dannyhw](https://redirect.github.com/dannyhw)! - React: Don't use Act wrapper in Storybook when rendering in docs - [#​31483](https://redirect.github.com/storybookjs/storybook/pull/31483), thanks [@​kasperpeulen](https://redirect.github.com/kasperpeulen)! - React: Ensure render functions and decorators are react components - [#​30869](https://redirect.github.com/storybookjs/storybook/pull/30869), thanks [@​kasperpeulen](https://redirect.github.com/kasperpeulen)! - React: Export returntype of ReactMeta#story - [#​30580](https://redirect.github.com/storybookjs/storybook/pull/30580), thanks [@​mrginglymus](https://redirect.github.com/mrginglymus)! - React: Remove react import in template files - [#​30757](https://redirect.github.com/storybookjs/storybook/pull/30757), thanks [@​kasperpeulen](https://redirect.github.com/kasperpeulen)! - Refactor: Update panel IDs in vitest addon to use new constants - [#​31132](https://redirect.github.com/storybookjs/storybook/pull/31132), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Remove: Addon mdx-gfm (`@storybook/addon-mdx-gfm`) - [#​30996](https://redirect.github.com/storybookjs/storybook/pull/30996), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Revert "Svelte: Adjust Svelte typings to include Svelte 5 function components" - [#​30851](https://redirect.github.com/storybookjs/storybook/pull/30851), thanks [@​kasperpeulen](https://redirect.github.com/kasperpeulen)! - Save from Controls: Replace rendererPackage with frameworkPackage - [#​31114](https://redirect.github.com/storybookjs/storybook/pull/31114), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Source Loader: Remove package - [#​31466](https://redirect.github.com/storybookjs/storybook/pull/31466), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Source: Support async parameters.docs.source.transform - [#​30426](https://redirect.github.com/storybookjs/storybook/pull/30426), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Svelte-vite: Improve SvelteKit detection error - [#​31038](https://redirect.github.com/storybookjs/storybook/pull/31038), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - Svelte: Adjust Svelte typings to include Svelte 5 function components - [#​30812](https://redirect.github.com/storybookjs/storybook/pull/30812), thanks [@​dummdidumm](https://redirect.github.com/dummdidumm)! - Svelte: Drop Support for Svelte < 5 - [#​30703](https://redirect.github.com/storybookjs/storybook/pull/30703), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Svelte: Fix missing `ts-dedent` dependency - [#​31289](https://redirect.github.com/storybookjs/storybook/pull/31289), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - Svelte: Install `latest` version of `@storybook/addon-svelte-csf` - [#​31398](https://redirect.github.com/storybookjs/storybook/pull/31398), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - Svelte: Pin svelte2tsx to solve argType regression - [#​30783](https://redirect.github.com/storybookjs/storybook/pull/30783), thanks [@​kasperpeulen](https://redirect.github.com/kasperpeulen)! - Svelte: Remove dependency on `sveltedoc-parser` - [#​31246](https://redirect.github.com/storybookjs/storybook/pull/31246), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - Svelte: Remove unused `svelte-preprocess` dependency - [#​31332](https://redirect.github.com/storybookjs/storybook/pull/31332), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - SvelteKit: Forward form events when mocking `enhance` - [#​31360](https://redirect.github.com/storybookjs/storybook/pull/31360), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - Telemetry: Add Svelte CSF usage - [#​31255](https://redirect.github.com/storybookjs/storybook/pull/31255), thanks [@​shilman](https://redirect.github.com/shilman)! - Telemetry: Use version from our package.json for `storybookVersion` - [#​31577](https://redirect.github.com/storybookjs/storybook/pull/31577), thanks [@​tmeasday](https://redirect.github.com/tmeasday)! - Test Addon: Stabilize and remove experimental status - [#​30727](https://redirect.github.com/storybookjs/storybook/pull/30727), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Test: Allow generics in expect matchers - [#​31395](https://redirect.github.com/storybookjs/storybook/pull/31395), thanks [@​yannbf](https://redirect.github.com/yannbf)! - Test: Handle non-configurable properties in instrumenter for expect.toThrow - [#​30876](https://redirect.github.com/storybookjs/storybook/pull/30876), thanks [@​kasperpeulen](https://redirect.github.com/kasperpeulen)! - Test: Make sure that expect has no different behavior after instrumentation - [#​30935](https://redirect.github.com/storybookjs/storybook/pull/30935), thanks [@​kasperpeulen](https://redirect.github.com/kasperpeulen)! - Test: Move `@storybook/test` into `storybook/test` - [#​30742](https://redirect.github.com/storybookjs/storybook/pull/30742), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Test: Patch HTMLElement.prototype.focus method for settable focus in tests - [#​31487](https://redirect.github.com/storybookjs/storybook/pull/31487), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Test: Remove legacy Vitest v2 code - [#​31271](https://redirect.github.com/storybookjs/storybook/pull/31271), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Test: Upgrade to vitest 3 - [#​30840](https://redirect.github.com/storybookjs/storybook/pull/30840), thanks [@​kasperpeulen](https://redirect.github.com/kasperpeulen)! - Test: Use [@​testing-library/dom](https://redirect.github.com/testing-library/dom) as devDependency - [#​31188](https://redirect.github.com/storybookjs/storybook/pull/31188), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Toolbars: Embed addon-toolbars into the core - [#​30871](https://redirect.github.com/storybookjs/storybook/pull/30871), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Typescript: Drop Typescript < 4.9 support - [#​30736](https://redirect.github.com/storybookjs/storybook/pull/30736), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - UI: Add options to hide sidebar and toolbar per story - [#​29516](https://redirect.github.com/storybookjs/storybook/pull/29516), thanks [@​Sidnioulz](https://redirect.github.com/Sidnioulz)! - UI: Clear filters on run all and clear all statuses - [#​31073](https://redirect.github.com/storybookjs/storybook/pull/31073), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - UI: Don't include error state in sidebar context menu - [#​31054](https://redirect.github.com/storybookjs/storybook/pull/31054), thanks [@​ghengeveld](https://redirect.github.com/ghengeveld)! - UI: Fix status missing from sidebar - [#​30830](https://redirect.github.com/storybookjs/storybook/pull/30830), thanks [@​JReinhold](https://redirect.github.com/JReinhold)! - UI: Visual tweaks to badges and improved layout for a11y panel - [#​30955](https://redirect.github.com/storybookjs/storybook/pull/30955), thanks [@​ghengeveld](https://redirect.github.com/ghengeveld)! - Update react-router-dom to lowest React19 type-compatible version - [#​31358](https://redirect.github.com/storybookjs/storybook/pull/31358), thanks [@​mrginglymus](https://redirect.github.com/mrginglymus)! - Viewport: Embed addon-viewport in the core - [#​30909](https://redirect.github.com/storybookjs/storybook/pull/30909), thanks [@​ndelangen](https://redirect.github.com/ndelangen)! - Viewport: Fix globals type - [#​31374](https://redirect.github.com/storybookjs/storybook/pull/31374), thanks [@​flaval](https://redirect.github.com/flaval)! - Vite-Builder: Handle undefined previewConfig - [#​31216](https://redirect.github.com/storybookjs/storybook/pull/31216), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Vite: Add 'storybook/viewport' to INCLUDE_CANDIDATES in optimizeDeps.ts - [#​31039](https://redirect.github.com/storybookjs/storybook/pull/31039), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Vite: Improve handling of preview annotations - [#​28798](https://redirect.github.com/storybookjs/storybook/pull/28798), thanks [@​tobiasdiez](https://redirect.github.com/tobiasdiez)! - Vite: Normalize preview annotation paths - [#​31238](https://redirect.github.com/storybookjs/storybook/pull/31238), thanks [@​mrginglymus](https://redirect.github.com/mrginglymus)! - Vite: Support Vite 6 and Docs - [#​31061](https://redirect.github.com/storybookjs/storybook/pull/31061), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Vitest: Remove beforeAll in vitest.setup.ts in automigration - [#​31460](https://redirect.github.com/storybookjs/storybook/pull/31460), thanks [@​kasperpeulen](https://redirect.github.com/kasperpeulen)! - Vue3: Remove support for Webpack 5 - [#​30958](https://redirect.github.com/storybookjs/storybook/pull/30958), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Web Components: Remove Webpack 5 support - [#​30988](https://redirect.github.com/storybookjs/storybook/pull/30988), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! - Yarn: Update Yarn package command execution to use 'exec' - [#​31065](https://redirect.github.com/storybookjs/storybook/pull/31065), thanks [@​valentinpalkovic](https://redirect.github.com/valentinpalkovic)! Total contributions: 240 Unique contributors: 29 </details> </details> <details> <summary>storybookjs/storybook (storybook)</summary> ### [`v9.0.0`](https://redirect.github.com/storybookjs/storybook/compare/v8.6.14...5dd81ae54583e9d445c515fa6640f26de0056592) [Compare Source](https://redirect.github.com/storybookjs/storybook/compare/v8.6.14...v9.0.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4zMy42IiwidXBkYXRlZEluVmVyIjoiNDAuMzMuNiIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> |
||
|
|
58bbb017a0 |
feat(core): add ai playground components (#12588)
Close [AI-86](https://linear.app/affine-design/issue/AI-86)  <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced an AI Playground accessible from the chat panel, allowing users to experiment with AI chat sessions in a dedicated modal interface. - Added a playground icon to the chat panel for quick access to the new playground feature. - Added new interactive components for managing AI chat sessions, including chat panels, session lists, and modal dialogs. - **Improvements** - Enhanced chat panel session management for a smoother experience by simplifying session filtering. - Updated property names in chat input and composer components for improved clarity and consistency. - Made tracking options optional in chat input and composer components to improve flexibility. - **Bug Fixes** - Corrected property bindings in AI chat composer to ensure proper panel sizing. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
c91a4eb0aa |
fix(editor): shloud get closest viewport element from editor (#12603)
Close [BS-3338](https://linear.app/affine-design/issue/BS-3338/center-peek-框选会出现奇怪的选区) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Refactor** - Improved the method for locating the viewport element to ensure it is found relative to a scoped host element rather than the entire document. No visible changes to user-facing features. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
5590cdd8f1 |
fix(editor): improve status display of attachments and images (#12573)
Closes: [BS-3564](https://linear.app/affine-design/issue/BS-3564/ui-embed-view-报错-ui-加-title) Closes: [BS-3454](https://linear.app/affine-design/issue/BS-3454/点击-reload-后应该隐藏-attachment-embed-view-左下角-status(待新状态)) <img width="807" alt="Screenshot 2025-05-28 at 17 23 26" src="https://github.com/user-attachments/assets/9ecc29f8-73c6-4441-bc38-dfe9bd876542" /> <img width="820" alt="Screenshot 2025-05-28 at 17 45 37" src="https://github.com/user-attachments/assets/68e6db17-a814-4df4-a9fa-067ca03dec30" /> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added support for retrying failed uploads of attachments and images, allowing users to re-upload files directly from the error status interface. - The error status dialog now dynamically displays "Retry" for upload failures and "Reload" for download failures, with appropriate actions for each. - **Enhancements** - Improved clarity and consistency in file type display and icon usage for attachments and citations. - Button labels in the attachment interface now have capitalized text for better readability. - **Bug Fixes** - Streamlined error handling and status updates for attachment and image uploads/downloads, reducing redundant UI elements. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
de00040389 |
chore(editor): update loading css vars (#12557)
Related to: [BS-3559](https://linear.app/affine-design/issue/BS-3559/ui-%E5%9B%BE%E7%89%87-loading-%E5%8F%98%E9%87%8F%E6%9B%B4%E6%96%B0) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Style** - Improved the appearance of image loading indicators by updating background and ring colors for a more consistent visual experience. - **New Features** - Added customization options for the loading icon's ring color. - **Chores** - Updated the "@toeverything/theme" dependency to version ^1.1.15 across multiple packages for improved consistency and compatibility. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
1b881cfb01 |
chore(editor): add max height to the dragging preview of toc card (#12605)
Close [BS-3030](https://linear.app/affine-design/issue/BS-3030/侧边栏:toc-目录,这里拖动要限定一个最大高度,建议就-500-px) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Style** - Limited the drag preview container's height to 500px and hid overflow content for improved visual consistency during drag operations. - **Bug Fixes** - Enhanced drag preview appearance to prevent content from spilling outside the container. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
6e190b9703 |
fix(core): migrate collection info before update it (#12617)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Improved reliability when updating collection information, ensuring data is correctly migrated and validated before saving changes. This prevents issues with incomplete or invalid collection data. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
acf92aa3da |
fix(server): handle edge case of empty docs (#12608)
fix AI-130 |
||
|
|
9f0d4536c7 |
feat(editor): add view event tracking (#12602)
close: BS-3567 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Refactor** - Improved the process for adding new views by centralizing related logic, resulting in a more streamlined and consistent user experience. - **Chores** - Enhanced event tracking for database views to support better analytics. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
9a651a5b53 |
fix(editor): tool panel not closed when user close keyboard with default gesture in android (#12613)
Close [BS-3159](https://linear.app/affine-design/issue/BS-3159/输入法自带的键盘收起操作后-占位符还留着) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - The toolbar now automatically closes when the keyboard is dismissed and no panel is open, ensuring smoother user experience. - Improved cleanup to prevent delayed actions after the toolbar is closed, enhancing stability. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
d4c5b40284 |
fix(editor): code block ui issues (#12609)
Close BS-3423 Close BS-3505 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Style** - Updated toolbar button background color and adjusted layout spacing for toolbar and preview buttons to improve visual consistency. - **Refactor** - Reorganized toolbar menu groups for better clarity, separating toggle and clipboard actions within the code block toolbar. - **Bug Fixes** - Improved UI interaction in code block tests to ensure menus behave as expected without closing prematurely. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
85def83f5e |
chore(server): set log level to debug on canary (#12612)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Refactor** - Adjusted logging verbosity to be more detailed in the 'canary' environment, providing debug-level logs, while maintaining info-level logs elsewhere. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
f610d7b8af |
chore(editor): add event track for html preview (#12592)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced tracking for code block interactions, including language selection and preview toggling. - Improved error reporting for HTML block preview failures, providing better visibility into issues. - **Bug Fixes** - Added explicit feedback and tracking when cross-origin isolation is not supported during code block preview setup. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
9e5d132bd0 |
chore(server): log job start and finish (#12610)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Refactor** - Improved visibility of job start and finish events by updating logging level, making these events more prominent in logs. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
7ae564238d |
fix(server): link format in chat (#12606)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Documentation** - Clarified citation formatting rules, specifying that multiple citations should not be grouped within a single bracket. - Added support and examples for citing web URLs in the allowed citation formats. - Improved formatting in the "About AFFiNE" section for better readability. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
9abbfa3ab4 |
chore(server): print jobId (#12593)
Need to query the payload through job id for debugging <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Tests** - Updated job metrics test to include an explicit job ID during execution. - **Refactor** - Enhanced job execution to support an optional job ID, improving job tracking and logging. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
793823a9f9 |
feat(core): track web-clipper import (#12599)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added tracking for document creation when importing with the clipper tool. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
2d5b9022fd |
feat(core): update migration data notification (#12594)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Updated the migration notification with a clearer header and description to better guide users through the data migration process. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
b847de4980 |
fix(core): remove quota modal (#12586)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Removed Features** - Removed all quota-reached modal dialogs, including both cloud and local storage quota notifications. - Users will no longer see modal alerts when storage limits are reached in workspaces. - **User Interface** - Quota-reached modals and related styles have been removed from workspace layouts on both desktop and mobile. - **Other Changes** - Quota notification logic and related settings have been eliminated from the application. - Maximum blob size enforcement and related callbacks have been removed from blob management. - Localization entries related to file upload size limits and quota tips have been removed. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
274319dd6c |
fix(server): 4xx error property is optional (#12595)
close CLOUD-223 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Improved error handling for search requests to prevent issues when error details are missing, ensuring clearer fallback messages for unknown errors. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
eb49ffaedb |
feat(core): support fork session without latestMessageId (#12587)
Close [AI-86](https://linear.app/affine-design/issue/AI-86) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Improved chat session forking to allow creating a fork without specifying the latest message, enabling more flexible session management. - **Bug Fixes** - Forking a chat session with an invalid latest message ID now correctly returns an error. - **Tests** - Added and updated test cases to cover session forking with missing or invalid latest message IDs, ensuring robust behavior in these scenarios. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
a045786c6a |
fix(core): fix groupBy and orderBy error handling (#12584)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Improved error handling for ordering and grouping features to prevent disruptions and ensure the app continues running smoothly if errors occur. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |