forehalo
540e456704
ci: set private key from env ( #6239 )
2024-03-21 10:09:26 +00:00
JimmFly
9030ca511e
refactor(core): refactor tag to use di ( #6079 )
...
use case
```
const tagService = useService(TagService);
const tags = useLiveData(tagService.tags);
const currentTagLiveData = tagService.tagByTagId(tagId);
const currentTag = useLiveData(currentTagLiveData);
```
2024-03-19 08:39:15 +00:00
LongYinan
332cd3b380
refactor(core): split web entry from core ( #6082 )
...
This pr is trying to split `web` and `electron` entries from `core`. It allows more platform-related optimization to be addressed in each entry.
We should remove all browser/electron only codes from `core` eventually, this is the very first step for that.
2024-03-19 07:48:56 +00:00
liuyi
bba1a95f9c
chore: bump base version to 0.14.0 ( #6170 )
2024-03-19 02:34:18 +00:00
Peng Xiao
5693d90451
e2e(core): add test for split view ( #6133 )
2024-03-18 07:04:06 +00:00
Chen
a24320da68
feat: bump blocksuite ( #6123 )
2024-03-15 16:54:24 +08:00
EYHN
b9fc848824
fix(infra): avoid data loss ( #6111 )
2024-03-14 06:27:49 +00:00
Peng Xiao
dd9a253772
feat(core): add split view to experimental features settings ( #6093 )
2024-03-14 05:13:04 +00:00
Lye Hongtao
05583dbe98
feat: bump blocksuite ( #6112 )
2024-03-14 13:05:52 +08:00
regischen
c1f5e848b4
feat: blocksuite bump ( #6104 )
2024-03-13 23:50:10 +08:00
regischen
fddbb426a6
feat: bump blocksuite ( #6078 )
2024-03-13 17:04:21 +08:00
LongYinan
9e1adfed81
chore: bump up all non-major dependencies ( #6069 )
...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@storybook/test-runner](https://togithub.com/storybookjs/test-runner ) | [`^0.16.0` -> `^0.17.0`](https://renovatebot.com/diffs/npm/@storybook%2ftest-runner/0.16.0/0.17.0 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@storybook%2ftest-runner/0.17.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@storybook%2ftest-runner/0.17.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@storybook%2ftest-runner/0.16.0/0.17.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@storybook%2ftest-runner/0.16.0/0.17.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [next-themes](https://togithub.com/pacocoursey/next-themes ) | [`^0.2.1` -> `^0.3.0`](https://renovatebot.com/diffs/npm/next-themes/0.2.1/0.3.0 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/next-themes/0.3.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/next-themes/0.3.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/next-themes/0.2.1/0.3.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/next-themes/0.2.1/0.3.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>storybookjs/test-runner (@​storybook/test-runner)</summary>
### [`v0.17.0`](https://togithub.com/storybookjs/test-runner/releases/tag/v0.17.0 )
[Compare Source](https://togithub.com/storybookjs/test-runner/compare/v0.16.0...v0.17.0 )
##### 🚀 Enhancement
- Release 0.17.0 [#​438](https://togithub.com/storybookjs/test-runner/pull/438 ) ([@​JReinhold](https://togithub.com/JReinhold ) [@​shilman](https://togithub.com/shilman ) [@​valentinpalkovic](https://togithub.com/valentinpalkovic ) [@​yannbf](https://togithub.com/yannbf ) [@​ndelangen](https://togithub.com/ndelangen ))
- Support Storybook 8 [#​429](https://togithub.com/storybookjs/test-runner/pull/429 ) ([@​yannbf](https://togithub.com/yannbf ))
- Support unhandled rendering errors [#​421](https://togithub.com/storybookjs/test-runner/pull/421 ) ([@​yannbf](https://togithub.com/yannbf ))
##### 🐛 Bug Fix
- Prebundle dependencies [#​431](https://togithub.com/storybookjs/test-runner/pull/431 ) ([@​yannbf](https://togithub.com/yannbf ))
- Update internal example to Storybook 8 [#​430](https://togithub.com/storybookjs/test-runner/pull/430 ) ([@​yannbf](https://togithub.com/yannbf ))
- swap storybook/jest to storybook/test [#​427](https://togithub.com/storybookjs/test-runner/pull/427 ) ([@​ndelangen](https://togithub.com/ndelangen ))
- Add PR template [#​428](https://togithub.com/storybookjs/test-runner/pull/428 ) ([@​yannbf](https://togithub.com/yannbf ))
- Fix build step [#​425](https://togithub.com/storybookjs/test-runner/pull/425 ) ([@​valentinpalkovic](https://togithub.com/valentinpalkovic ))
- Remove --prerelease from sb upgrade CI [#​423](https://togithub.com/storybookjs/test-runner/pull/423 ) ([@​JReinhold](https://togithub.com/JReinhold ))
- Support stories with meta id for permalinking [#​419](https://togithub.com/storybookjs/test-runner/pull/419 ) ([@​yannbf](https://togithub.com/yannbf ))
##### 📝 Documentation
- Docs: Add remark regarding pnp support [#​432](https://togithub.com/storybookjs/test-runner/pull/432 ) ([@​yannbf](https://togithub.com/yannbf ))
- docs: replace postRender(deprecated) with postVisit [#​418](https://togithub.com/storybookjs/test-runner/pull/418 ) ([@​junkisai](https://togithub.com/junkisai ))
##### Authors: 6
- Jeppe Reinhold ([@​JReinhold](https://togithub.com/JReinhold ))
- Junki Saito ([@​junkisai](https://togithub.com/junkisai ))
- Michael Shilman ([@​shilman](https://togithub.com/shilman ))
- Norbert de Langen ([@​ndelangen](https://togithub.com/ndelangen ))
- Valentin Palkovic ([@​valentinpalkovic](https://togithub.com/valentinpalkovic ))
- Yann Braga ([@​yannbf](https://togithub.com/yannbf ))
</details>
<details>
<summary>pacocoursey/next-themes (next-themes)</summary>
### [`v0.3.0`](https://togithub.com/pacocoursey/next-themes/releases/tag/v0.3.0 )
#### What's
- `"use client"` was added to the library output so that you can use it as a React Client component without creating a wrapper.
#### New Contributors
- [@​MaxLeiter](https://togithub.com/MaxLeiter ) made their first contribution in [https://github.com/pacocoursey/next-themes/pull/120 ](https://togithub.com/pacocoursey/next-themes/pull/120 )
- [@​gnoff](https://togithub.com/gnoff ) made their first contribution in [https://github.com/pacocoursey/next-themes/pull/135 ](https://togithub.com/pacocoursey/next-themes/pull/135 )
- [@​WITS](https://togithub.com/WITS ) made their first contribution in [https://github.com/pacocoursey/next-themes/pull/168 ](https://togithub.com/pacocoursey/next-themes/pull/168 )
- [@​dimaMachina](https://togithub.com/dimaMachina ) made their first contribution in [https://github.com/pacocoursey/next-themes/pull/186 ](https://togithub.com/pacocoursey/next-themes/pull/186 )
- [@​amrhassab](https://togithub.com/amrhassab ) made their first contribution in [https://github.com/pacocoursey/next-themes/pull/192 ](https://togithub.com/pacocoursey/next-themes/pull/192 )
- [@​BekzodIsakov](https://togithub.com/BekzodIsakov ) made their first contribution in [https://github.com/pacocoursey/next-themes/pull/241 ](https://togithub.com/pacocoursey/next-themes/pull/241 )
- [@​BlankParticle](https://togithub.com/BlankParticle ) made their first contribution in [https://github.com/pacocoursey/next-themes/pull/253 ](https://togithub.com/pacocoursey/next-themes/pull/253 )
**Full Changelog**: https://github.com/pacocoursey/next-themes/compare/v0.2.0...v0.3.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.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions ) if that's undesired.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIzOC4xIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=-->
2024-03-13 04:22:43 +00:00
liuyi
fb3a0e7b8f
refactor(server): auth ( #5895 )
...
Remove `next-auth` and implement our own Authorization/Authentication system from scratch.
## Server
- [x] tokens
- [x] function
- [x] encryption
- [x] AuthController
- [x] /api/auth/sign-in
- [x] /api/auth/sign-out
- [x] /api/auth/session
- [x] /api/auth/session (WE SUPPORT MULTI-ACCOUNT!)
- [x] OAuthPlugin
- [x] OAuthController
- [x] /oauth/login
- [x] /oauth/callback
- [x] Providers
- [x] Google
- [x] GitHub
## Client
- [x] useSession
- [x] cloudSignIn
- [x] cloudSignOut
## NOTE:
Tests will be adding in the future
2024-03-12 10:00:09 +00:00
JimmFly
b26efa4940
feat(core): add tag operation to tag list ( #5998 )
...
https://github.com/toeverything/AFFiNE/assets/102217452/11745733-0d7b-494b-97fd-33e40a240a02
2024-03-11 08:36:07 +00:00
LongYinan
cb96d7de43
chore: bump up @blocksuite/icons version to v2.1.45 ( #6061 )
...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@blocksuite/icons](https://togithub.com/toeverything/icons ) | [`2.1.44` -> `2.1.45`](https://renovatebot.com/diffs/npm/@blocksuite%2ficons/2.1.44/2.1.45 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2ficons/2.1.45?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2ficons/2.1.45?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2ficons/2.1.44/2.1.45?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2ficons/2.1.44/2.1.45?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>toeverything/icons (@​blocksuite/icons)</summary>
### [`v2.1.45`](bc31d70961...cc4113532a
)
[Compare Source](bc31d70961...cc4113532a
)
</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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIzMC4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=-->
2024-03-11 07:35:56 +00:00
Lye Hongtao
5bebcec2eb
feat: bump blocksuite ( #6015 )
...
## Features
- https://github.com/toeverything/BlockSuite/pull/6379 @doodlewind
- https://github.com/toeverything/BlockSuite/pull/6375 @doodlewind
- https://github.com/toeverything/BlockSuite/pull/6370 @donteatfriedrice
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/6380 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6377 @doouding
- https://github.com/toeverything/BlockSuite/pull/6376 @fourdim
- https://github.com/toeverything/BlockSuite/pull/6374 @regischen
## Misc
- docs: update examples desc
- ci: start publishing 0.13 canary
2024-03-05 07:35:05 +00:00
EYHN
7c76c25a9c
refactor(core): new back&forward button base on workbench ( #6012 )
...
# feature:
## In Browser:
- hidden back&forward button in sidebar.
- back and forward is equal with `window.history.back()` `window.history.forward()`
## In Desktop:
- Back and forward can be controlled through the sidebar, cmdk, and shortcut keys.
- back and forward act on the currently **active** view.
- buttons change disable&enable style based on current active view history
# Refactor:
Move app-sidebar and app-container from @affine/component to @affine/core
2024-03-05 07:01:24 +00:00
Chen
ebf7a74387
feat: bump blocksuite ( #6010 )
2024-03-05 14:19:11 +08:00
EYHN
a231884d9e
fix(storybook): fix storybook test ( #5970 )
2024-03-01 02:30:04 +00:00
Peng Xiao
d4e78dd3d0
feat: add animation for history preview ( #5966 )
...
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/5ce45d13-1117-4853-a066-e8ab1446eb4f.mp4 ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/5ce45d13-1117-4853-a066-e8ab1446eb4f.mp4 ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/5ce45d13-1117-4853-a066-e8ab1446eb4f.mp4 ">Kapture 2024-02-29 at 18.54.15.mp4</video>
2024-02-29 14:08:21 +00:00
Peng Xiao
752c8580ae
fix: remove vite-tsconfig-paths ( #5960 )
...
It will cause storybook from running.
related to https://github.com/aleclarson/vite-tsconfig-paths/issues/132
We are not actually using `vite-tsconfig-paths` now because we rely on package.json's export field to do path mapping.
2024-02-29 07:58:41 +00:00
regischen
d1e6b23e1a
feat: bump blocksuite ( #5953 )
2024-02-29 14:33:50 +08:00
EYHN
606397e319
feat(core): workbench system ( #5837 )
2024-02-27 04:14:07 +00:00
EYHN
5cd488fe1d
refactor(core): remove collection atom ( #5832 )
2024-02-27 03:50:56 +00:00
EYHN
ad9b0303c4
refactor(core): refactor atom to use di ( #5831 )
...
To support multiple instances, this PR removes some atoms and implements them using the new DI system.
removed atom
- `pageSettingsAtom`
- `currentPageIdAtom`
- `currentModeAtom`
2024-02-27 03:50:53 +00:00
Peng Xiao
2295685590
fix: page info styles ( #5910 )
...
fix inconsistent styles compared to the one defined in figma
fix https://github.com/toeverything/AFFiNE/issues/5904
fix https://github.com/toeverything/AFFiNE/issues/5903
2024-02-26 14:11:24 +00:00
JimmFly
0be62d892d
refactor(core): use custom scrollbar for editor and adjust shared page style ( #5752 )
...
Close TOV-481
- Use a custom scrollbar component for editor
- Modified the header of the share page and added a new footer
2024-02-26 08:54:52 +00:00
Peng Xiao
c16e4d4464
fix: page properties flaky tests ( #5893 )
2024-02-23 14:14:41 +00:00
LongYinan
ae41c6c544
chore: bump all dependencies ( #5891 )
2024-02-23 09:37:14 +00:00
Peng Xiao
745110c799
fix: page info ui issue on journal page ( #5887 )
2024-02-23 07:55:44 +00:00
Peng Xiao
c22216c71a
fix: fix image preview modal story ( #5879 )
2024-02-23 06:07:46 +00:00
LongYinan
f58cb1085e
chore: bump up chromatic version to v11 ( #5877 )
...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [chromatic](https://www.chromatic.com ) ([source](https://togithub.com/chromaui/chromatic-cli )) | [`^10.0.0` -> `^11.0.0`](https://renovatebot.com/diffs/npm/chromatic/10.2.0/11.0.0 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/chromatic/11.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/chromatic/11.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/chromatic/10.2.0/11.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/chromatic/10.2.0/11.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>chromaui/chromatic-cli (chromatic)</summary>
### [`v11.0.0`](https://togithub.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v1100-Thu-Feb-22-2024 )
[Compare Source](https://togithub.com/chromaui/chromatic-cli/compare/v10.9.6...v11.0.0 )
##### 💥 Breaking Change
- Add new invalid sb base dir error message and validator function [#​921](https://togithub.com/chromaui/chromatic-cli/pull/921 ) ([@​andrewortwein](https://togithub.com/andrewortwein ) [@​ethriel3695](https://togithub.com/ethriel3695 ))
##### Authors: 2
- Andrew Ortwein ([@​andrewortwein](https://togithub.com/andrewortwein ))
- Reuben Ellis ([@​ethriel3695](https://togithub.com/ethriel3695 ))
***
### [`v10.9.6`](https://togithub.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v1096-Fri-Feb-16-2024 )
[Compare Source](https://togithub.com/chromaui/chromatic-cli/compare/v10.9.5...v10.9.6 )
##### 🐛 Bug Fix
- Avoid build verify timeout when waiting for upgrade builds [#​922](https://togithub.com/chromaui/chromatic-cli/pull/922 ) ([@​ghengeveld](https://togithub.com/ghengeveld ))
##### Authors: 1
- Gert Hengeveld ([@​ghengeveld](https://togithub.com/ghengeveld ))
***
### [`v10.9.5`](https://togithub.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v1095-Wed-Feb-14-2024 )
[Compare Source](https://togithub.com/chromaui/chromatic-cli/compare/v10.9.4...v10.9.5 )
##### 🐛 Bug Fix
- Fix Storybook published messaging [#​920](https://togithub.com/chromaui/chromatic-cli/pull/920 ) ([@​tevanoff](https://togithub.com/tevanoff ))
##### Authors: 1
- Todd Evanoff ([@​tevanoff](https://togithub.com/tevanoff ))
***
### [`v10.9.4`](https://togithub.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v1094-Mon-Feb-12-2024 )
[Compare Source](https://togithub.com/chromaui/chromatic-cli/compare/v10.9.3...v10.9.4 )
##### 🐛 Bug Fix
- Allow `traceChanged` in Chromatic config spec [#​916](https://togithub.com/chromaui/chromatic-cli/pull/916 ) ([@​tevanoff](https://togithub.com/tevanoff ))
##### Authors: 1
- Todd Evanoff ([@​tevanoff](https://togithub.com/tevanoff ))
***
### [`v10.9.3`](https://togithub.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v1093-Fri-Feb-09-2024 )
[Compare Source](https://togithub.com/chromaui/chromatic-cli/compare/v10.9.2...v10.9.3 )
##### 🐛 Bug Fix
- clean up debug log as it's too much noise [#​919](https://togithub.com/chromaui/chromatic-cli/pull/919 ) ([@​ethriel3695](https://togithub.com/ethriel3695 ))
##### Authors: 1
- Reuben Ellis ([@​ethriel3695](https://togithub.com/ethriel3695 ))
***
### [`v10.9.2`](https://togithub.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v1092-Thu-Feb-08-2024 )
[Compare Source](https://togithub.com/chromaui/chromatic-cli/compare/v10.9.1...v10.9.2 )
##### 🐛 Bug Fix
- Directly execute build-archive-storybook if we can't resolve it [#​917](https://togithub.com/chromaui/chromatic-cli/pull/917 ) ([@​tmeasday](https://togithub.com/tmeasday ))
##### Authors: 1
- Tom Coleman ([@​tmeasday](https://togithub.com/tmeasday ))
***
### [`v10.9.1`](https://togithub.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v1091-Thu-Feb-08-2024 )
[Compare Source](https://togithub.com/chromaui/chromatic-cli/compare/v10.9.0...v10.9.1 )
##### 🐛 Bug Fix
- Add missing `fileHashing` option to GitHub Action [#​918](https://togithub.com/chromaui/chromatic-cli/pull/918 ) ([@​ghengeveld](https://togithub.com/ghengeveld ))
##### Authors: 1
- Gert Hengeveld ([@​ghengeveld](https://togithub.com/ghengeveld ))
***
### [`v10.9.0`](https://togithub.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v1090-Wed-Feb-07-2024 )
[Compare Source](https://togithub.com/chromaui/chromatic-cli/compare/v10.8.0...v10.9.0 )
##### 🚀 Enhancement
- Be smarter about comparing lock files [#​912](https://togithub.com/chromaui/chromatic-cli/pull/912 ) ([@​ghengeveld](https://togithub.com/ghengeveld ) [@​tmeasday](https://togithub.com/tmeasday ))
##### Authors: 2
- Gert Hengeveld ([@​ghengeveld](https://togithub.com/ghengeveld ))
- Tom Coleman ([@​tmeasday](https://togithub.com/tmeasday ))
***
### [`v10.8.0`](https://togithub.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v1080-Tue-Feb-06-2024 )
[Compare Source](https://togithub.com/chromaui/chromatic-cli/compare/v10.7.1...v10.8.0 )
##### 🚀 Enhancement
- Expose `repositoryRootDir`, `configFile` and fix `diagnosticsFile` [#​913](https://togithub.com/chromaui/chromatic-cli/pull/913 ) ([@​ghengeveld](https://togithub.com/ghengeveld ))
- Support `env`, `sessionId` and `log` options via Node API [#​897](https://togithub.com/chromaui/chromatic-cli/pull/897 ) ([@​work933k](https://togithub.com/work933k ))
- Add timestamps to debug and file logging [#​907](https://togithub.com/chromaui/chromatic-cli/pull/907 ) ([@​ghengeveld](https://togithub.com/ghengeveld ))
##### Authors: 2
- [@​work933k](https://togithub.com/work933k )
- Gert Hengeveld ([@​ghengeveld](https://togithub.com/ghengeveld ))
***
### [`v10.7.1`](https://togithub.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v1071-Fri-Feb-02-2024 )
[Compare Source](https://togithub.com/chromaui/chromatic-cli/compare/v10.7.0...v10.7.1 )
##### 🐛 Bug Fix
- Add Fallback getGitInfo if we cannot find the origin URL [#​910](https://togithub.com/chromaui/chromatic-cli/pull/910 ) ([@​thafryer](https://togithub.com/thafryer ))
##### Authors: 1
- Jarel Fryer ([@​thafryer](https://togithub.com/thafryer ))
***
### [`v10.7.0`](https://togithub.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v1070-Fri-Feb-02-2024 )
[Compare Source](https://togithub.com/chromaui/chromatic-cli/compare/v10.6.1...v10.7.0 )
##### 🚀 Enhancement
- Rename E2E peer dependencies [#​909](https://togithub.com/chromaui/chromatic-cli/pull/909 ) ([@​tevanoff](https://togithub.com/tevanoff ))
##### Authors: 1
- Todd Evanoff ([@​tevanoff](https://togithub.com/tevanoff ))
***
### [`v10.6.1`](https://togithub.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v1061-Fri-Jan-26-2024 )
[Compare Source](https://togithub.com/chromaui/chromatic-cli/compare/v10.6.0...v10.6.1 )
##### 🐛 Bug Fix
- Remove after-release script [#​906](https://togithub.com/chromaui/chromatic-cli/pull/906 ) ([@​skitterm](https://togithub.com/skitterm ))
##### Authors: 1
- Steven Kitterman ([@​skitterm](https://togithub.com/skitterm ))
***
### [`v10.6.0`](https://togithub.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v1060-Fri-Jan-26-2024 )
[Compare Source](https://togithub.com/chromaui/chromatic-cli/compare/v10.5.2...v10.6.0 )
##### 🚀 Enhancement
- CLI should throw error when using TurboSnap but missing a stats file. [#​899](https://togithub.com/chromaui/chromatic-cli/pull/899 ) ([@​thafryer](https://togithub.com/thafryer ))
##### Authors: 1
- Jarel Fryer ([@​thafryer](https://togithub.com/thafryer ))
***
### [`v10.5.2`](https://togithub.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v1052-Thu-Jan-25-2024 )
[Compare Source](https://togithub.com/chromaui/chromatic-cli/compare/v10.5.1...v10.5.2 )
##### 🐛 Bug Fix
- Remove latest from the chromatic package in Init script [#​902](https://togithub.com/chromaui/chromatic-cli/pull/902 ) ([@​thafryer](https://togithub.com/thafryer ))
##### Authors: 1
- Jarel Fryer ([@​thafryer](https://togithub.com/thafryer ))
***
### [`v10.5.1`](https://togithub.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v1051-Thu-Jan-25-2024 )
[Compare Source](https://togithub.com/chromaui/chromatic-cli/compare/v10.5.0...v10.5.1 )
##### 🐛 Bug Fix
- Add "package.json" to exports map [#​900](https://togithub.com/chromaui/chromatic-cli/pull/900 ) ([@​yannbf](https://togithub.com/yannbf ))
- Improve logging around upload errors [#​894](https://togithub.com/chromaui/chromatic-cli/pull/894 ) ([@​ghengeveld](https://togithub.com/ghengeveld ))
- Don't skip uploading of empty files, it works now [#​901](https://togithub.com/chromaui/chromatic-cli/pull/901 ) ([@​ghengeveld](https://togithub.com/ghengeveld ))
##### Authors: 2
- Gert Hengeveld ([@​ghengeveld](https://togithub.com/ghengeveld ))
- Yann Braga ([@​yannbf](https://togithub.com/yannbf ))
***
### [`v10.5.0`](https://togithub.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v1050-Wed-Jan-24-2024 )
[Compare Source](https://togithub.com/chromaui/chromatic-cli/compare/v10.4.0...v10.5.0 )
##### 🚀 Enhancement
- Add `--playwright` & `--cypress` flags [#​882](https://togithub.com/chromaui/chromatic-cli/pull/882 ) ([@​tmeasday](https://togithub.com/tmeasday ))
##### Authors: 1
- Tom Coleman ([@​tmeasday](https://togithub.com/tmeasday ))
***
### [`v10.4.0`](https://togithub.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v1040-Tue-Jan-23-2024 )
[Compare Source](https://togithub.com/chromaui/chromatic-cli/compare/v10.3.1...v10.4.0 )
##### 🚀 Enhancement
- Add new Init command for Project Setup [#​880](https://togithub.com/chromaui/chromatic-cli/pull/880 ) ([@​thafryer](https://togithub.com/thafryer ))
##### Authors: 1
- Jarel Fryer ([@​thafryer](https://togithub.com/thafryer ))
***
### [`v10.3.1`](https://togithub.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v1031-Wed-Jan-17-2024 )
[Compare Source](https://togithub.com/chromaui/chromatic-cli/compare/v10.3.0...v10.3.1 )
##### 🐛 Bug Fix
- Fix potential zip upload error when deduping files on a very large Storybook [#​892](https://togithub.com/chromaui/chromatic-cli/pull/892 ) ([@​ghengeveld](https://togithub.com/ghengeveld ))
##### Authors: 1
- Gert Hengeveld ([@​ghengeveld](https://togithub.com/ghengeveld ))
***
### [`v10.3.0`](https://togithub.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v1030-Tue-Jan-16-2024 )
[Compare Source](https://togithub.com/chromaui/chromatic-cli/compare/v10.2.2...v10.3.0 )
##### 🚀 Enhancement
- Add missing `skip` option to configuration schema [#​890](https://togithub.com/chromaui/chromatic-cli/pull/890 ) ([@​ghengeveld](https://togithub.com/ghengeveld ))
- Detect merge queue branch and retrieve real branch name from pull request [#​884](https://togithub.com/chromaui/chromatic-cli/pull/884 ) ([@​JonathanKolnik](https://togithub.com/JonathanKolnik ) [@​ghengeveld](https://togithub.com/ghengeveld ))
- Deduplicate files to be uploaded using file hashing [#​875](https://togithub.com/chromaui/chromatic-cli/pull/875 ) ([@​ghengeveld](https://togithub.com/ghengeveld ))
- Replace upload mechanism to use a batched mutation with a new API [#​888](https://togithub.com/chromaui/chromatic-cli/pull/888 ) ([@​ghengeveld](https://togithub.com/ghengeveld ))
##### 🐛 Bug Fix
- Retrieve `sentinelUrls` from `uploadBuild` and wait for all of them before finishing upload task [#​878](https://togithub.com/chromaui/chromatic-cli/pull/878 ) ([@​ghengeveld](https://togithub.com/ghengeveld ))
##### Authors: 2
- Gert Hengeveld ([@​ghengeveld](https://togithub.com/ghengeveld ))
- Jono Kolnik ([@​JonathanKolnik](https://togithub.com/JonathanKolnik ))
***
### [`v10.2.2`](https://togithub.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v1022-Fri-Jan-12-2024 )
[Compare Source](https://togithub.com/chromaui/chromatic-cli/compare/v10.2.1...v10.2.2 )
##### 🐛 Bug Fix
- Add configFile option to GitHub Action [#​885](https://togithub.com/chromaui/chromatic-cli/pull/885 ) ([@​wisestuart](https://togithub.com/wisestuart ))
##### Authors: 1
- Stuart Hammar ([@​wisestuart](https://togithub.com/wisestuart ))
***
### [`v10.2.1`](https://togithub.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v1021-Wed-Jan-10-2024 )
[Compare Source](https://togithub.com/chromaui/chromatic-cli/compare/v10.2.0...v10.2.1 )
##### 🐛 Bug Fix
- Revert "Replace `getUploadUrls` with `uploadBuild` mutation" [#​883](https://togithub.com/chromaui/chromatic-cli/pull/883 ) ([@​JonathanKolnik](https://togithub.com/JonathanKolnik ))
- Run publish-action script as afterShipIt hook [#​877](https://togithub.com/chromaui/chromatic-cli/pull/877 ) ([@​ghengeveld](https://togithub.com/ghengeveld ))
##### Authors: 2
- Gert Hengeveld ([@​ghengeveld](https://togithub.com/ghengeveld ))
- Jono Kolnik ([@​JonathanKolnik](https://togithub.com/JonathanKolnik ))
***
</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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMDAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIwMC4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=-->
2024-02-23 04:19:38 +00:00
Peng Xiao
2df8f29b64
refactor(core): use fractional indexing for sorting ( #5809 )
...
use https://github.com/rocicorp/fractional-indexing to enable better sorting logic for crdt app
2024-02-22 09:38:00 +00:00
Peng Xiao
372b4da884
test(core): add tests for page info ui ( #5769 )
...
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/64419f79-46e8-4171-b853-5908841f827a.png )
2024-02-22 09:37:55 +00:00
Ayush Agrawal
55b8082d3a
chore: bump blocksuite ( #5868 )
...
Co-authored-by: LongYinan <lynweklm@gmail.com>
2024-02-22 17:11:10 +08:00
Peng Xiao
d97304e9eb
feat(core): page info ui ( #5729 )
...
this PR includes the main table view in the page detail page
2024-02-22 05:58:15 +00:00
Cats Juice
67dffc2a5a
feat(component): remove react-datepicker ( #5681 )
2024-02-21 13:09:44 +00:00
JimmFly
8d746f17de
chore: remove preloading pages ( #5854 )
2024-02-21 12:57:18 +00:00
JimmFly
c353b0d30f
chore: replace ambiguous "page" with "doc" ( #5761 )
...
close TOV-532
2024-02-21 12:47:17 +00:00
Ayush Agrawal
53b312c06f
chore: bump blocksuite ( #5852 )
2024-02-21 14:06:53 +08:00
Cats Juice
3fe9d834de
feat(core): replace page filter, journal's date-picker with new one ( #5675 )
2024-02-20 13:53:41 +00:00
JimmFly
4068e7aeff
feat(core): add starAFFiNE and issueFeedback modal ( #5718 )
...
close TOV-482
https://github.com/toeverything/AFFiNE/assets/102217452/da1f74bc-4b8d-4d7f-987d-f53da98d92fe
2024-02-20 12:50:51 +00:00
Ayush Agrawal
6fad241350
feat: bump blocksuite ( #5845 )
2024-02-20 20:49:41 +08:00
liuyi
df157819dc
feat(server): allow customize mailer server ( #5835 )
2024-02-19 14:37:08 +00:00
Peng Xiao
d1c4e6141a
refactor(component): cmdk ordering ( #5722 )
...
Replace internal CMDK command filtering/sorting logic.
The new implementation includes the following for command scoring:
- categories weights
- highlighted fragments
- original command score value
The new logic should be much cleaner and remove some hacks in the original implementation.
Not sure if this is optimal yet. Could be changed later.
fix https://github.com/toeverything/AFFiNE/issues/5699
2024-02-16 13:20:24 +00:00
Ayush Agrawal
5dc7cd336f
feat: bump blocksuite ( #5817 )
2024-02-11 10:23:30 +08:00
Flrande
2e3ffeced9
feat: bump blocksuite ( #5812 )
2024-02-08 08:18:03 +08:00
Peng Xiao
005c02f148
fix(core): flaky tests ( #5804 )
2024-02-06 03:20:54 +00:00
Peng Xiao
afccf3d8c9
feat(core): add an option to throttle cpu in e2e ( #5803 )
...
To debug e2e flakyness locally
2024-02-06 03:20:49 +00:00
Peng Xiao
5ca0d65241
test(core): config e2e output dir ( #5783 )
2024-02-05 04:10:17 +00:00
liuyi
bef266ae3b
refactor(server): reorganize server configs ( #5753 )
2024-02-02 08:32:07 +00:00
Yifeng Wang
fec2090de5
feat: bump blocksuite ( #5767 )
...
Co-authored-by: LongYinan <lynweklm@gmail.com>
2024-02-01 16:28:22 +08:00
EYHN
329fc19852
refactor(infra): migrate to new infra ( #5565 )
2024-01-30 07:16:39 +00:00
Yifeng Wang
1cf902bdb6
feat: bump blocksuite ( #5735 )
2024-01-29 16:40:23 +08:00
LongYinan
0044be972f
chore: bump up @blocksuite/icons version to v2.1.44 ( #5732 )
...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@blocksuite/icons](https://togithub.com/toeverything/icons ) | [`2.1.43` -> `2.1.44`](https://renovatebot.com/diffs/npm/@blocksuite%2ficons/2.1.43/2.1.44 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2ficons/2.1.44?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2ficons/2.1.44?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2ficons/2.1.43/2.1.44?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2ficons/2.1.43/2.1.44?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>toeverything/icons (@​blocksuite/icons)</summary>
### [`v2.1.44`](13299f7ede...bc31d70961
)
[Compare Source](13299f7ede...bc31d70961
)
</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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=-->
2024-01-29 07:39:17 +00:00
Yifeng Wang
04b9029d1b
feat: bump blocksuite ( #5720 )
...
Co-authored-by: xiaoxin <hongtao.lye@toeverything.info>
2024-01-26 16:27:58 +08:00
JimmFly
18068f4ae2
feat(core): add collection and tag filters to all pages ( #5567 )
...
close TOV-69
Added the `filterMode` parameter to the `/all` route.
Abstracted the `PageList` and associated components into more universal ones.
Added the `useTagMetas` hook to get and update the workspace tags.
https://github.com/toeverything/AFFiNE/assets/102217452/7595944d-a056-40c2-8d89-d8df9e901a4b
2024-01-26 07:42:47 +00:00
Joooye_34
fd9a7f6aad
chore: remove unused blocksuite deps in e2e ( #5717 )
2024-01-26 05:55:13 +00:00
LongYinan
db3891ba33
chore: bump up @blocksuite/icons version to v2.1.43 ( #5702 )
...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@blocksuite/icons](https://togithub.com/toeverything/icons ) | [`2.1.42` -> `2.1.43`](https://renovatebot.com/diffs/npm/@blocksuite%2ficons/2.1.42/2.1.43 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2ficons/2.1.43?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2ficons/2.1.43?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2ficons/2.1.42/2.1.43?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2ficons/2.1.42/2.1.43?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>toeverything/icons (@​blocksuite/icons)</summary>
### [`v2.1.43`](fe902db67e...13299f7ede
)
[Compare Source](fe902db67e...13299f7ede
)
</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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=-->
2024-01-25 08:56:39 +00:00
Joooye_34
bd8c7751db
chore: update base version to 0.12.0 ( #5695 )
2024-01-25 05:17:35 +00:00
JimmFly
25897dc404
feat(workspace): add blob and storage limit ( #5535 )
...
close TOV-343 AFF-508 TOV-461 TOV-460 TOV-419
Add `isOverCapacity ` status to detect if blob usage exceeds limits.
Add `onCapacityChange` and `onBlobSet` to monitor if the storage or blob exceeds the capacity limit.
Global modals `LocalQuotaModal` and `CloudQuotaModal` have been added, with the upload size of the blob being limited within the modal components.
The notification component has been adjusted, now you can pass in `action` click events and `actionLabel` .
2024-01-24 07:34:51 +00:00
Chen
c566952e09
feat: bump blocksuite ( #5673 )
2024-01-24 15:13:12 +08:00
Peng Xiao
994ab96688
fix(playground): storybook story load issue ( #5672 )
...
Since the properties adapter now depends on whenLoaded status of the ydoc, we may need to explicitly mark doc as emit if the workspace is created without using a provider.
2024-01-24 02:56:07 +00:00
LongYinan
021105c115
chore: bump up @blocksuite/icons version to v2.1.42 ( #5668 )
...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@blocksuite/icons](https://togithub.com/toeverything/icons ) | [`2.1.41` -> `2.1.42`](https://renovatebot.com/diffs/npm/@blocksuite%2ficons/2.1.41/2.1.42 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2ficons/2.1.42?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2ficons/2.1.42?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2ficons/2.1.41/2.1.42?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2ficons/2.1.41/2.1.42?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>toeverything/icons (@​blocksuite/icons)</summary>
### [`v2.1.42`](fdca7d8e2e...fe902db67e
)
[Compare Source](fdca7d8e2e...fe902db67e
)
</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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=-->
2024-01-23 04:27:58 +00:00
Joooye_34
fccdf8ede7
feat: bump blocksuite ( #5642 )
...
f0c45fd...4e2c95a
2024-01-22 08:37:32 +00:00
Peng Xiao
f41b7d7e71
feat(component): react wrapper for blocksuite editor ( #5606 )
...
A React wrapper for blocksuite editor from title/meta/doc/edgless fragments.
This PR only **clones** the `AffineEditorContainer`'s existing behavior and make it easier for extension in affine later.
fix TOV-315
### Some core issues:
A customized version of `createComponent` from `@lit/react`. The [existing and solutions in the community](https://github.com/lit/lit/issues/4435 ) does not work well in our case.
Alternatively in this PR the approach we have is to create web component instances in React lifecycle and then append them to DOM. However this make it hard to wrap the exported Lit component's using React and therefore we will have an additional wrapper tag for the wrapped web component.
To mitigate the migration issue on using React instead of Lit listed on last day, we now use [a proxy to mimic the wrapped React component](https://github.com/toeverything/AFFiNE/pull/5606/files#diff-5b7f0ae7b52a08739d50e78e9ec803c26ff3d3e5437581c692add0de12d3ede5R142-R183 ) into an `AffineEditorContainer` instance.
2024-01-22 08:25:29 +00:00
liuyi
e516e0db23
refactor(server): plugin modules ( #5630 )
...
- [x] separates modules into `fundamental`, `core`, `plugins`
- [x] optional modules with `@OptionalModule` decorator to install modules with requirements met(`requires`, `if`)
- [x] `module.contributesTo` defines optional features that will be enabled if module registered
- [x] `AFFiNE.plugins.use('payment', {})` to enable a optional/plugin module
- [x] `PaymentModule` is the first plugin module
- [x] GraphQLSchema will not be generated for non-included modules
- [x] Frontend can use `ServerConfigType` query to detect which features are enabled
- [x] override existing provider globally
2024-01-22 07:40:28 +00:00
LongYinan
fa8655e43e
style: apply prefer-node-protocol lint rule ( #5627 )
...
it makes it perfectly clear that the package is a Node.js builtin module.
2024-01-19 03:47:08 +00:00
LongYinan
9d28eb530a
feat: upgrade electron and playwright ( #5632 )
2024-01-19 03:16:06 +00:00
Cats Juice
70ea1e5ef8
feat(core): journal sidebar dater-picker navigation ( #5558 )
2024-01-18 12:34:23 +00:00
regischen
8b1b5b2e93
feat: bump blocksuite ( #5624 )
2024-01-18 17:26:31 +08:00
liuyi
b9f20877d0
feat(core): make password sigin default if user has one ( #5577 )
2024-01-17 11:13:58 +00:00
Cats Juice
2db3c933fa
refactor(component): move date-picker to ui, add story, support responsive ( #5468 )
...
- move to `component/ui`
- add `AFFiNEDatePicker` & `BlocksuiteDatePicker` story
- inline mode support
- responsive support
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/toeverything/AFFiNE/assets/39363750/320bef49-380f-40a2-b3b2-4b74dd2d8da4 ">
<img alt="" src="https://github.com/toeverything/AFFiNE/assets/39363750/fc9e7808-02fe-49a1-aa78-aea254fb1f9d ">
</picture>
2024-01-17 09:16:46 +00:00
LongYinan
880588ad11
chore: bump up @blocksuite/icons version to v2.1.41 ( #5580 )
...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@blocksuite/icons](https://togithub.com/toeverything/icons ) | [`2.1.40` -> `2.1.41`](https://renovatebot.com/diffs/npm/@blocksuite%2ficons/2.1.40/2.1.41 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2ficons/2.1.41?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2ficons/2.1.41?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2ficons/2.1.40/2.1.41?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2ficons/2.1.40/2.1.41?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>toeverything/icons (@​blocksuite/icons)</summary>
### [`v2.1.41`](2b42f403fb...fdca7d8e2e
)
[Compare Source](2b42f403fb...fdca7d8e2e
)
</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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=-->
2024-01-16 15:11:36 +00:00
regischen
3602f1cac0
feat: bump blocksuite ( #5575 )
2024-01-12 12:41:27 +08:00
EYHN
5aee480c50
refactor(core): move page list to core ( #5556 )
2024-01-10 11:09:39 +00:00
Lewis Liu
a87055754e
Properly split dep and dev deps, fix phantom deps
2024-01-09 11:26:26 +08:00
LongYinan
1dae488863
chore: bump up @blocksuite/icons version to v2.1.40 ( #5516 )
...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@blocksuite/icons](https://togithub.com/toeverything/icons ) | [`2.1.39` -> `2.1.40`](https://renovatebot.com/diffs/npm/@blocksuite%2ficons/2.1.39/2.1.40 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2ficons/2.1.40?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2ficons/2.1.40?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2ficons/2.1.39/2.1.40?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2ficons/2.1.39/2.1.40?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>toeverything/icons (@​blocksuite/icons)</summary>
### [`v2.1.40`](e255947e4e...2b42f403fb
)
[Compare Source](e255947e4e...2b42f403fb
)
</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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyMS4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=-->
2024-01-05 09:29:40 +00:00
LongYinan
3cdfa8ca22
chore: bump up all non-major dependencies ( #5499 )
...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@aws-sdk/client-s3](https://togithub.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3 ) ([source](https://togithub.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-s3 )) | [`3.484.0` -> `3.485.0`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-s3/3.484.0/3.485.0 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@aws-sdk%2fclient-s3/3.485.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@aws-sdk%2fclient-s3/3.485.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@aws-sdk%2fclient-s3/3.484.0/3.485.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@aws-sdk%2fclient-s3/3.484.0/3.485.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@napi-rs/cli](https://togithub.com/napi-rs/napi-rs ) | [`3.0.0-alpha.29` -> `3.0.0-alpha.30`](https://renovatebot.com/diffs/npm/@napi-rs%2fcli/3.0.0-alpha.29/3.0.0-alpha.30 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@napi-rs%2fcli/3.0.0-alpha.30?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@napi-rs%2fcli/3.0.0-alpha.30?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@napi-rs%2fcli/3.0.0-alpha.29/3.0.0-alpha.30?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@napi-rs%2fcli/3.0.0-alpha.29/3.0.0-alpha.30?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@node-rs/jsonwebtoken](https://togithub.com/napi-rs/node-rs ) | [`^0.2.3` -> `^0.3.0`](https://renovatebot.com/diffs/npm/@node-rs%2fjsonwebtoken/0.2.3/0.3.1 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@node-rs%2fjsonwebtoken/0.3.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@node-rs%2fjsonwebtoken/0.3.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@node-rs%2fjsonwebtoken/0.2.3/0.3.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@node-rs%2fjsonwebtoken/0.2.3/0.3.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@opentelemetry/instrumentation-socket.io](https://togithub.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/instrumentation-socket.io#readme ) ([source](https://togithub.com/open-telemetry/opentelemetry-js-contrib )) | [`^0.34.4` -> `^0.35.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2finstrumentation-socket.io/0.34.4/0.35.0 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@opentelemetry%2finstrumentation-socket.io/0.35.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@opentelemetry%2finstrumentation-socket.io/0.35.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@opentelemetry%2finstrumentation-socket.io/0.34.4/0.35.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@opentelemetry%2finstrumentation-socket.io/0.34.4/0.35.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@storybook/test-runner](https://togithub.com/storybookjs/test-runner ) | [`^0.15.2` -> `^0.16.0`](https://renovatebot.com/diffs/npm/@storybook%2ftest-runner/0.15.2/0.16.0 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@storybook%2ftest-runner/0.16.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@storybook%2ftest-runner/0.16.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@storybook%2ftest-runner/0.15.2/0.16.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@storybook%2ftest-runner/0.15.2/0.16.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@vitest/coverage-istanbul](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-istanbul#readme ) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/coverage-istanbul )) | [`1.1.1` -> `1.1.2`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-istanbul/1.1.1/1.1.2 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-istanbul/1.1.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-istanbul/1.1.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-istanbul/1.1.1/1.1.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-istanbul/1.1.1/1.1.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@vitest/ui](https://togithub.com/vitest-dev/vitest/tree/main/packages/ui#readme ) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/ui )) | [`1.1.1` -> `1.1.2`](https://renovatebot.com/diffs/npm/@vitest%2fui/1.1.1/1.1.2 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fui/1.1.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fui/1.1.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fui/1.1.1/1.1.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fui/1.1.1/1.1.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [vitest](https://togithub.com/vitest-dev/vitest ) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/vitest )) | [`1.1.1` -> `1.1.2`](https://renovatebot.com/diffs/npm/vitest/1.1.1/1.1.2 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.1.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.1.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.1.1/1.1.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.1.1/1.1.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>aws/aws-sdk-js-v3 (@​aws-sdk/client-s3)</summary>
### [`v3.485.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#34850-2024-01-03 )
[Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.484.0...v3.485.0 )
##### Features
- **credential-providers:** add credentialScope field ([#​5606](https://togithub.com/aws/aws-sdk-js-v3/issues/5606 )) ([04c1459](04c1459289
))
</details>
<details>
<summary>napi-rs/napi-rs (@​napi-rs/cli)</summary>
### [`v3.0.0-alpha.30`](https://togithub.com/napi-rs/napi-rs/releases/tag/%40napi-rs/cli%403.0.0-alpha.30 )
[Compare Source](https://togithub.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.29...@napi-rs/cli@3.0.0-alpha.30 )
##### What's Changed
- chore(deps): lock file maintenance by [@​renovate](https://togithub.com/renovate ) in [https://github.com/napi-rs/napi-rs/pull/1882 ](https://togithub.com/napi-rs/napi-rs/pull/1882 )
- fix(cli): wasi fallback package load logic by [@​Brooooooklyn](https://togithub.com/Brooooooklyn ) in [https://github.com/napi-rs/napi-rs/pull/1887 ](https://togithub.com/napi-rs/napi-rs/pull/1887 )
- fix(cli): upload to github releases issue by [@​Brooooooklyn](https://togithub.com/Brooooooklyn ) in [https://github.com/napi-rs/napi-rs/pull/1888 ](https://togithub.com/napi-rs/napi-rs/pull/1888 )
**Full Changelog**: https://github.com/napi-rs/napi-rs/compare/[@​napi-rs/cli](https://togithub.com/napi-rs/cli)[@​3](https://togithub.com/3).0.0-alpha.29...[@​napi-rs/cli](https://togithub.com/napi-rs/cli)[@​3](https://togithub.com/3).0.0-alpha.30
</details>
<details>
<summary>napi-rs/node-rs (@​node-rs/jsonwebtoken)</summary>
### [`v0.3.1`](https://togithub.com/napi-rs/node-rs/compare/@node-rs/jsonwebtoken@0.3.0...@node-rs/jsonwebtoken@0.3.1 )
[Compare Source](https://togithub.com/napi-rs/node-rs/compare/@node-rs/jsonwebtoken@0.3.0...@node-rs/jsonwebtoken@0.3.1 )
### [`v0.3.0`](https://togithub.com/napi-rs/node-rs/compare/@node-rs/jsonwebtoken@0.2.3...@node-rs/jsonwebtoken@0.3.0 )
[Compare Source](https://togithub.com/napi-rs/node-rs/compare/@node-rs/jsonwebtoken@0.2.3...@node-rs/jsonwebtoken@0.3.0 )
</details>
<details>
<summary>open-telemetry/opentelemetry-js-contrib (@​opentelemetry/instrumentation-socket.io)</summary>
### [`v0.35.0`](efdfc727a4...f81f8a76a8
)
[Compare Source](a757b5e443...9092823125
)
</details>
<details>
<summary>storybookjs/test-runner (@​storybook/test-runner)</summary>
### [`v0.16.0`](https://togithub.com/storybookjs/test-runner/releases/tag/v0.16.0 )
[Compare Source](https://togithub.com/storybookjs/test-runner/compare/v0.15.2...v0.16.0 )
##### 🚀 Enhancement
- Introduce logLevel configuration [#​406](https://togithub.com/storybookjs/test-runner/pull/406 ) ([@​yannbf](https://togithub.com/yannbf ))
##### 🐛 Bug Fix
- Filter duplicated error messages in browser logs [#​405](https://togithub.com/storybookjs/test-runner/pull/405 ) ([@​yannbf](https://togithub.com/yannbf ))
- Fix sync issues between tests [#​404](https://togithub.com/storybookjs/test-runner/pull/404 ) ([@​yannbf](https://togithub.com/yannbf ))
- Refactor: Extract the setup page scripts into a separate file [#​403](https://togithub.com/storybookjs/test-runner/pull/403 ) ([@​yannbf](https://togithub.com/yannbf ))
- Docs: Adds feedback form to migration documentation [#​402](https://togithub.com/storybookjs/test-runner/pull/402 ) ([@​jonniebigodes](https://togithub.com/jonniebigodes ))
- Bump `jest-playwright-preset` from `v3.0.1` to `v4.0.0` [#​400](https://togithub.com/storybookjs/test-runner/pull/400 ) ([@​kemuridama](https://togithub.com/kemuridama ))
- Improve type safety and code quality [#​383](https://togithub.com/storybookjs/test-runner/pull/383 ) ([@​bryanjtc](https://togithub.com/bryanjtc ) [@​yannbf](https://togithub.com/yannbf ))
- Refactor: Improve internal code [#​378](https://togithub.com/storybookjs/test-runner/pull/378 ) ([@​bryanjtc](https://togithub.com/bryanjtc ) [@​yannbf](https://togithub.com/yannbf ))
##### Authors: 4
- [@​jonniebigodes](https://togithub.com/jonniebigodes )
- Bryan Thomas ([@​bryanjtc](https://togithub.com/bryanjtc ))
- Ryo Ochiai ([@​kemuridama](https://togithub.com/kemuridama ))
- Yann Braga ([@​yannbf](https://togithub.com/yannbf ))
</details>
<details>
<summary>vitest-dev/vitest (@​vitest/coverage-istanbul)</summary>
### [`v1.1.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.1.2 )
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2 )
##### 🐞 Bug Fixes
- Remove internal flag from UI option in the config - by [@​sheremet-va](https://togithub.com/sheremet-va ) [<samp>(7b4a2)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b4a2fce )
- **browser**:
- Avoid safaridriver collision - by [@​mbland](https://togithub.com/mbland ) in [https://github.com/vitest-dev/vitest/issues/4863 ](https://togithub.com/vitest-dev/vitest/issues/4863 ) [<samp>(345a2)</samp>](https://togithub.com/vitest-dev/vitest/commit/345a25d6 )
- Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@​zmullett](https://togithub.com/zmullett ), **Zac Mullett** and [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4839 ](https://togithub.com/vitest-dev/vitest/issues/4839 ) [<samp>(b8140)</samp>](https://togithub.com/vitest-dev/vitest/commit/b8140fca )
- Handle config.base - by [@​mbland](https://togithub.com/mbland ) and [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4686 ](https://togithub.com/vitest-dev/vitest/issues/4686 ) and [https://github.com/vitest-dev/vitest/issues/4692 ](https://togithub.com/vitest-dev/vitest/issues/4692 ) [<samp>(9e345)</samp>](https://togithub.com/vitest-dev/vitest/commit/9e34557e )
- **deps**:
- Update dependency acorn-walk to ^8.3.1 - by [@​renovate](https://togithub.com/renovate )\[bot] in[https://github.com/vitest-dev/vitest/issues/4837 ](https://togithub.com/vitest-dev/vitest/issues/4837 )7 [<samp>(47bc2)</samp>](https://togithub.com/vitest-dev/vitest/commit/47bc233d )
- Update dependency sirv to ^2.0.4 - by [@​renovate](https://togithub.com/renovate )\[bot] in[https://github.com/vitest-dev/vitest/issues/4838 ](https://togithub.com/vitest-dev/vitest/issues/4838 )8 [<samp>(df261)</samp>](https://togithub.com/vitest-dev/vitest/commit/df261ae1 )
- **runner**:
- Fix fixture cleanup for concurrent tests - by [@​hi-ogawa](https://togithub.com/hi-ogawa ) in [https://github.com/vitest-dev/vitest/issues/4827 ](https://togithub.com/vitest-dev/vitest/issues/4827 ) [<samp>(1fee6)</samp>](https://togithub.com/vitest-dev/vitest/commit/1fee63f2 )
- **spy**:
- Don't allow `Promise` in `mockImplementation` if it's not in the function signature - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4859 ](https://togithub.com/vitest-dev/vitest/issues/4859 ) [<samp>(072e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/072e02bf )
- **vite-node**:
- Correctly return cached result - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4870 ](https://togithub.com/vitest-dev/vitest/issues/4870 ) [<samp>(15bbb)</samp>](https://togithub.com/vitest-dev/vitest/commit/15bbbf81 )
- **vitest**:
- Throw an error if mock was already loaded when `vi.mock` is called - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4862 ](https://togithub.com/vitest-dev/vitest/issues/4862 ) [<samp>(e12a5)</samp>](https://togithub.com/vitest-dev/vitest/commit/e12a5a36 )
- Correctly rerun test files on change if server was restarted - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4871 ](https://togithub.com/vitest-dev/vitest/issues/4871 ) [<samp>(6088b)</samp>](https://togithub.com/vitest-dev/vitest/commit/6088b372 )
- **vm-threads**:
- Don't crash on percentage based `memoryLimit` - by [@​inottn](https://togithub.com/inottn ) and [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/4802 ](https://togithub.com/vitest-dev/vitest/issues/4802 ) [<samp>(70e8a)</samp>](https://togithub.com/vitest-dev/vitest/commit/70e8a389 )
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2 )
</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.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions ) if that's undesired.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEyMS4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=-->
2024-01-05 07:23:22 +00:00
LongYinan
7b6430ebc3
chore: bump up @blocksuite/icons version to v2.1.39 ( #5511 )
...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@blocksuite/icons](https://togithub.com/toeverything/icons ) | [`2.1.36` -> `2.1.39`](https://renovatebot.com/diffs/npm/@blocksuite%2ficons/2.1.36/2.1.39 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2ficons/2.1.39?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2ficons/2.1.39?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2ficons/2.1.36/2.1.39?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2ficons/2.1.36/2.1.39?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>toeverything/icons (@​blocksuite/icons)</summary>
### [`v2.1.39`](83cf4ea106...e255947e4e
)
[Compare Source](83cf4ea106...e255947e4e
)
### [`v2.1.38`](1c26e8f533...83cf4ea106
)
[Compare Source](1c26e8f533...83cf4ea106
)
### [`v2.1.37`](310adb0b9f...1c26e8f533
)
[Compare Source](310adb0b9f...1c26e8f533
)
</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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=-->
2024-01-04 14:13:26 +00:00
LongYinan
e4b9f01186
chore: bump up chromatic version to v10 ( #5512 )
...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [chromatic](https://www.chromatic.com ) ([source](https://togithub.com/chromaui/chromatic-cli )) | [`^9.1.0` -> `^10.0.0`](https://renovatebot.com/diffs/npm/chromatic/9.1.0/10.2.0 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/chromatic/10.2.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/chromatic/10.2.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/chromatic/9.1.0/10.2.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/chromatic/9.1.0/10.2.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>chromaui/chromatic-cli (chromatic)</summary>
### [`v10.2.0`](https://togithub.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v1020-Thu-Dec-21-2023 )
[Compare Source](https://togithub.com/chromaui/chromatic-cli/compare/v10.1.0...v10.2.0 )
##### 🚀 Enhancement
- Replace `getUploadUrls` with `uploadBuild` mutation [#​876](https://togithub.com/chromaui/chromatic-cli/pull/876 ) ([@​ghengeveld](https://togithub.com/ghengeveld ))
- Implement file hashing for to-be-uploaded files [#​870](https://togithub.com/chromaui/chromatic-cli/pull/870 ) ([@​ghengeveld](https://togithub.com/ghengeveld ))
##### 🐛 Bug Fix
- Allow overriding `NODE_ENV` with `STORYBOOK_NODE_ENV` [#​879](https://togithub.com/chromaui/chromatic-cli/pull/879 ) ([@​tmeasday](https://togithub.com/tmeasday ))
- Use code splitting in tsup CJS output [#​873](https://togithub.com/chromaui/chromatic-cli/pull/873 ) ([@​tmeasday](https://togithub.com/tmeasday ))
##### Authors: 2
- Gert Hengeveld ([@​ghengeveld](https://togithub.com/ghengeveld ))
- Tom Coleman ([@​tmeasday](https://togithub.com/tmeasday ))
***
### [`v10.1.0`](https://togithub.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v1010-Thu-Dec-07-2023 )
[Compare Source](https://togithub.com/chromaui/chromatic-cli/compare/v10.0.0...v10.1.0 )
##### 🚀 Enhancement
- Increase number of commits checked for squash merge [#​866](https://togithub.com/chromaui/chromatic-cli/pull/866 ) ([@​tmeasday](https://togithub.com/tmeasday ) [@​tevanoff](https://togithub.com/tevanoff ))
##### Authors: 2
- Todd Evanoff ([@​tevanoff](https://togithub.com/tevanoff ))
- Tom Coleman ([@​tmeasday](https://togithub.com/tmeasday ))
***
### [`v10.0.0`](https://togithub.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v1000-Fri-Dec-01-2023 )
[Compare Source](https://togithub.com/chromaui/chromatic-cli/compare/v9.1.0...v10.0.0 )
##### 💥 Breaking Change
- Force `NODE_ENV=production` for Storybook builds through the CLI [#​865](https://togithub.com/chromaui/chromatic-cli/pull/865 ) ([@​tmeasday](https://togithub.com/tmeasday ))
##### 🐛 Bug Fix
- Support pinning GitHub Action to major or patch version [#​863](https://togithub.com/chromaui/chromatic-cli/pull/863 ) ([@​ghengeveld](https://togithub.com/ghengeveld ))
##### Authors: 2
- Gert Hengeveld ([@​ghengeveld](https://togithub.com/ghengeveld ))
- Tom Coleman ([@​tmeasday](https://togithub.com/tmeasday ))
***
</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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=-->
2024-01-04 14:00:45 +00:00
JimmFly
971f2beed1
fix(core): disable quick search when the link-popup is visitable ( #5409 )
...
close AFF-471
2024-01-04 11:36:50 +00:00
Peng Xiao
6cb62ed25d
feat: bump blocksuite ( #5453 )
...
Change history: https://github.com/toeverything/blocksuite/compare/e3abcbb...master
2024-01-03 02:10:19 +00:00
Peng Xiao
922bc11f16
test(core): fix selectMonthFromMonthPicker logic ( #5498 )
2024-01-02 14:21:14 +00:00
EYHN
104c21d84c
refactor(workspace): split workspace interface and implementation ( #5463 )
...
@affine/workspace -> (@affine/workspace, @affine/workspace-impl)
2024-01-02 10:58:01 +00:00
EYHN
9d0b3b4947
refactor(core): move workspace atoms to core ( #5459 )
...
@affine/workspace/atom -> @affine/core/modules/workspace
2024-01-02 10:06:48 +00:00
EYHN
4b217e6b89
refactor(core): move hooks to core ( #5458 )
...
* move @toeverything/hooks -> @affine/core/hooks
* delete @toeverything/hooks
hooks are all business-related logic and are deeply coupled with other parts.
Move them into the core and then reconstruct them by feature.
2024-01-02 08:05:46 +00:00
Peng Xiao
da5ac224ca
test(core): select monthpicker issue when crossing different years ( #5478 )
2024-01-02 03:28:38 +00:00
Peng Xiao
3978b2dfd2
refactor(core): onboarding using new transformer api ( #5412 )
...
Use new `transformer` to import onboarding json templates.
The json files are generated via this gist
https://gist.github.com/pengx17/ef92c305ac23123803a1a6a20e31f822
Not using the all-in-one `ZipTransformer` to import onboarding via a zip file.
1. The main concerns is that we still need to serve the blob resources via CDN to reduce user's blob usage. Otherwise the user will get the onboarding images being uploaded to cloud server every time he creates a new workspace. In this PR we extracted parts of the code from `ZipTransformer` in blocksuite and mute some code for uploading blobs.
2. it maybe not necessary to use zip for loading snapshots.
This PR is a short term solution. whether or not to tune the transformer api design may need further discussions.
fix TOV-264
2023-12-28 13:59:21 +00:00
Peng Xiao
6fefe4ec71
fix(storybook): storybook flaky ( #5430 )
...
should add additional wait timeout for every story.play
I think this is a storybook issue. It seems that it starts to run the plays as soon as the following shows up:
![CleanShot 2023-12-28 at 17.32.49@2x.png ](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/33d5e49d-a2fd-46c5-9f31-0f7cc14c3acf.png )
2023-12-28 10:07:05 +00:00
EYHN
9d51f9596f
refactor(component): make component pure ( #5427 )
2023-12-28 09:57:26 +00:00
EYHN
86bd2a7d72
refactor(infra): no bundle infra ( #5414 )
2023-12-27 06:54:24 +00:00
EYHN
4e861d8118
refactor(electron): create electron api package ( #5334 )
2023-12-27 06:38:37 +00:00
EYHN
265ee81666
refactor(infra): remove old plugin system ( #5411 )
...
plugin system need redesign
2023-12-27 02:49:59 +00:00
Peng Xiao
c02ec5f7b9
fix(infra): workaround for self-referencing in storybook ( #5406 )
2023-12-26 20:27:20 +08:00
Peng Xiao
972de52833
fix(core): remove plugins settings ( #5337 )
...
depend on https://github.com/toeverything/AFFiNE/pull/5324
2023-12-26 06:21:59 +00:00
EYHN
05025bf59a
refactor(core): remove outline plugin and layout atom ( #5326 )
...
@affine/outline is no longer used, this PR deletes this plugin and deletes the code that is no longer used
2023-12-25 03:24:13 +00:00
regischen
a10aeca820
feat: bump blocksuite ( #5386 )
2023-12-22 18:04:05 +08:00
Flrande
a08edfd6d9
feat: bump blocksuite ( #5374 )
2023-12-22 03:17:57 +00:00
Chen
4dc41fcd09
feat: bump blocksuite ( #5357 )
2023-12-21 12:22:39 +08:00
Peng Xiao
bfbdde212f
fix(storybook): disable onboarding for storybook ( #5351 )
2023-12-21 03:11:44 +00:00
Joooye_34
a4f31df192
chore: update basic version to 0.11.0 ( #5355 )
2023-12-20 08:10:42 +00:00
LongYinan
800ea0abf1
fix(core): remove ses lockdown ( #5350 )
2023-12-20 04:11:34 +00:00
Joooye_34
e3882f9648
feat: bump bs ( #5346 )
...
Change history: a781985...8254dc9
2023-12-20 02:43:01 +00:00
LongYinan
30e62bd2c6
fix(core): downgrade ses ( #5347 )
...
ses@1 makes [this line](https://github.com/lit/lit/blob/lit-html%403.1.0/packages/reactive-element/src/reactive-element.ts#L406 ) throw an error: `TypeError: Cannot add property metadata, object is not extensible.`
2023-12-20 02:28:58 +00:00
Yifeng Wang
31b1b2dade
feat: bump blocksuite ( #5343 )
2023-12-19 21:53:57 +08:00
LongYinan
36653e79d2
fix(core): dedupe ses versions ( #5342 )
2023-12-19 13:31:37 +00:00
Cats Juice
e10609276d
feat(core): add toggle workspace dialog ( #5312 )
2023-12-19 09:12:26 +00:00
Cats Juice
55818539af
feat(core): basic page/edgeless toggle animation ( #5283 )
2023-12-19 08:48:54 +00:00
JimmFly
38617abc17
fix(component): fix incorrect input component width and height styling ( #5292 )
...
after:
https://github.com/toeverything/AFFiNE/assets/102217452/5d8f51c5-c7a6-4ec8-b2b0-7f1391f045c7
2023-12-19 08:27:46 +00:00
Cats Juice
15dd20ef48
feat(electron): onboarding at first launch logic for client and web ( #5183 )
...
- Added a simple abstraction of persistent storage class.
- Different persistence solutions are provided for web and client.
- web: stored in localStorage
- client: stored in the application directory as `.json` file
- Define persistent app-config schema
- Add a new hook that can interactive with persistent-app-config reactively
2023-12-19 07:17:54 +00:00
Peng Xiao
408b84109b
fix(storybook): disable cloud for storybook ( #5330 )
2023-12-19 02:07:17 +00:00
JimmFly
cef9e0539d
fix(storybook): fix test ( #5325 )
...
<img width="440" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/329f9c12-cc0b-4aae-9352-3811ab0a27a6 ">
2023-12-18 13:36:56 +00:00
EYHN
a1c9ac80d8
ci: fix e2e ( #5329 )
2023-12-18 12:24:48 +00:00
EYHN
fe2851d3e9
refactor: workspace manager ( #5060 )
2023-12-15 07:20:50 +00:00
Yifeng Wang
af15aa06d4
feat: bump blocksuite ( #5286 )
...
Co-authored-by: donteatfriedrice <huisheng.chen7788@outlook.com>
2023-12-15 12:57:52 +08:00
DarkSky
ad23ead5e4
feat: integrate user usage into apis ( #5075 )
2023-12-14 09:50:37 +00:00
Peng Xiao
ce64685176
refactor(core): side bar resizing ( #5280 )
...
Rewrite sidebar panel using a customized react-resizable-panels version that supports sidebar pixel sizing (not using flex percentages).
Now the left & right sidebar using the same `ResizePanel` impl.
fix https://github.com/toeverything/AFFiNE/issues/5271
fix TOV-163
fix TOV-146
fix TOV-168
fix TOV-109
fix TOV-165
2023-12-13 07:52:01 +00:00
Peng Xiao
2a9a6855f4
test(core): rewrite some flaky assertions ( #5287 )
2023-12-13 07:51:59 +00:00
Peng Xiao
c9f900b69c
fix(core): page header style changes ( #5279 )
...
![CleanShot 2023-12-13 at 00.09.19@2x.png ](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/476fe4de-4066-4b1d-8823-d23a31ef692b.png )
2023-12-13 05:06:29 +00:00
regischen
738302be40
fix(edgeless): remove stale template ( #5275 )
2023-12-13 12:54:26 +08:00
JimmFly
f4a52c031f
feat(core): support sidebar page item dnd ( #5132 )
...
Added the ability to drag page items from the `all pages` view to the sidebar, including `favourites,` `collection` and `trash`. Page items in `favourites` and `collection` can also be dragged between each other. However, linked subpages cannot be dragged.
Additionally, an operation menu and ‘add’ button have been provided for the sidebar’s page items, enabling the addition of a subpage, renaming, deletion or removal from the sidebar.
On the code front, the `useSidebarDrag` hooks have been implemented for consolidating drag events. The functions `getDragItemId` and `getDropItemId` have been created, and they accept type and ID to obtain itemId.
https://github.com/toeverything/AFFiNE/assets/102217452/d06bac18-3c28-41c9-a7d4-72de955d7b11
2023-12-12 16:04:58 +00:00
EYHN
b782b3fb1b
fix(core): polling to search in cmdk ( #5274 )
...
This is a temporary solution until https://github.com/toeverything/blocksuite/issues/5668 be solved.
2023-12-12 18:42:07 +08:00
Flrande
9aa33d0228
feat: bump blocksuite ( #5267 )
...
Change history: 2b5bb47...2b3d2ba
2023-12-12 06:18:30 +00:00
JimmFly
feb7bd9fef
fix(cli): fix storybook build error ( #5257 )
...
<img width="1036" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/477d653e-80b5-4364-a073-e3386cd7ab17 ">
2023-12-11 08:07:43 +00:00
Peng Xiao
f88e67f5ab
fix(core): flaky local avartar test ( #5229 )
...
it seems we should not reopen workspace card list just after created a new workspace
2023-12-08 04:01:36 +00:00
Peng Xiao
5352736eba
feat(component): new right sidebar ( #5169 )
...
Refactor AFFiNE layout to support new right sidebar.
The new layout:
![image](https://github.com/toeverything/AFFiNE/assets/584378/678a05f5-bd48-4dbe-ad78-7a0bcc979918 )
**Highlights:**
- new sidebar UI/UX
- favoring top-down UI components that are composed by basic building blocks in each route, instead of creating universal component like `WorkspaceHeader` that renders every possible cases (which I think is really hard to maintain)
- remove plugin based solution
**Pros/cons for current plugin-based solution:**
The current solution is somewhat a Dependency Injection (DI) approach, where the layout is defined at the top and UI items can be injected using Jotai atom slots.
This approach works well if we want a fully configurable system with everything being handled by plugins. It provides flexibility for custom extensions.
However, this solution is more suitable for single-page applications where the UI is completely controlled by configuration. It becomes challenging to achieve an optimized and visually appealing UI that remains under our control. An example of such a scenario would be a customizable dashboard like Grafana.
Another drawback of the existing solution is that we need to use Jotai and hooks to access context values, resulting in an unclear data flow within the component hierarchy.
**Alternatively, our approach in this PR** provides layout building blocks such as headers and sidebars, which can then be composed in individual route components. The good is that we have cleaner biz component instead of vague all-in-one layout component (like `<WorkspaceHeader />`).
**Issues of the implementation in this PR:**
Some UI layouts that that seems to be defined at the root layout are now defined in individual route component instead.
New 3-col layout component like the right sidebar still needs some abstraction and they are right now just for the detail editor only.
2023-12-08 01:03:48 +00:00
Joooye_34
70c376fac8
chore(core): skip cloud migration testing until page level upgrade implemented ( #5227 )
2023-12-07 11:50:24 +00:00
Yifeng Wang
d507c24570
feat: bump blocksuite ( #5228 )
2023-12-07 19:28:49 +08:00
Yifeng Wang
819f0243d5
feat: bump blocksuite ( #5218 )
...
Co-authored-by: LongYinan <lynweklm@gmail.com>
2023-12-07 18:24:23 +08:00
LongYinan
467d313730
test(server): remove flaky assertion ( #5224 )
2023-12-07 07:28:24 +00:00
Yifeng Wang
6cbf5b2a92
feat: bump blocksuite ( #5194 )
...
Co-authored-by: AyushAgrawal-A2 <ayushagl06@gmail.com>
2023-12-06 18:15:03 +08:00
LongYinan
e5f8a58330
ci: refactor workflow ( #5139 )
...
Merge tests job into single one, reuse job as much as possible
2023-12-06 08:03:05 +00:00
Anthony
56ace48226
feat: add new page to the sidebar #5095 ( #5128 )
...
Co-authored-by: 李华桥 <joooye1991@gmail.com>
2023-12-05 14:18:21 +08:00
Flrande
a2784c352f
chore: bump blocksuite ( #5138 )
2023-12-04 12:02:35 +00:00
EYHN
7878ce5c2c
feat(workspace): priority load opened page ( #5156 )
2023-12-04 11:32:10 +00:00
Cats Juice
9c50dbc362
feat(core): remove all imports from design/component ( #5078 )
...
feat(core): remove all imports from design/component
feat(plugin): remove imports from design-components
feat(storybook): remove design-components imoprts
feat(core): remove
fix(component): remove design/component import in local-demo-tip
2023-12-04 08:32:16 +00:00
Joooye_34
eb7d293aaa
fix(core): implement editor timeout and report error from boundary ( #5105 ) ( #5151 )
...
fix(core): implement editor timeout and report error from boundary (#5105 )
ci: add sentry env when frontend assets build (#5131 )
fix(core): expose catched editor load error (#5133 )
fix(infra): use blocksuite api to check compatibility (#5137 )
fix(infra): compatibility logic follow blocksuite (#5143 )
fix(core): rerender error boundary when route change and improve sentry report (#5147 )
2023-12-01 07:25:08 +00:00
LongYinan
eadf8a085b
fix: add prefer-blob-reading-methods rule ( #5118 )
2023-11-29 04:44:10 +00:00
LongYinan
cb2c659f52
fix: add no-new-array rule ( #5117 )
2023-11-29 04:44:06 +00:00
LongYinan
123f091e5b
fix: add prefer-dom-node-dataset rule ( #5107 )
2023-11-29 04:43:35 +00:00
LongYinan
923844f302
fix: add eqeqeq lint rule ( #5106 )
2023-11-29 04:43:31 +00:00
Peng Xiao
2deceb6e85
test(core): simple recovery ui e2e ( #5059 )
2023-11-27 06:39:41 +00:00
Peng Xiao
71d6b730f7
chore: bump blocksuite ( #5051 )
...
https://github.com/toeverything/blocksuite/pull/5337
2023-11-27 04:46:23 +00:00
Joooye_34
317ca7f4e7
ci: fix storybook publish problem ( #5047 )
2023-11-23 23:38:09 +08:00
JimmFly
4168551783
chore: bump icons version ( #5042 )
2023-11-23 12:00:51 +00:00
LongYinan
25eda22af6
v0.10.3-canary.2
2023-11-23 16:47:40 +08:00
李华桥
9ded6afb4b
chore: v0.10.3-canary.1
2023-11-23 14:39:55 +08:00
JimmFly
ad2d3b9167
feat(core): add download app button to web ( #5023 )
2023-11-23 14:33:25 +08:00
LongYinan
3499dbbb7f
feat: upgrade dependencies and lockfile ( #5016 )
...
- Close https://github.com/toeverything/AFFiNE/security/dependabot/47
2023-11-23 05:18:05 +00:00
Joooye_34
4c8d54b3a7
refactor(core): use manual upgrade to replace auto migration when web setup ( #5022 )
...
1. Split logic in `packages/common/infra/src/blocksuite/index.ts` to multiple single files
2. Move migration logic from setup to upgrade module, to prevent auto migration problems and loading problem
2023-11-23 02:26:06 +00:00
Flrande
d7d47853fe
chore: bump blocksuite ( #5030 )
2023-11-22 20:51:35 +08:00
Flrande
a3d880daa3
chore: bump blocksuite ( #5026 )
2023-11-22 20:12:52 +08:00
JimmFly
f06bdd9a39
fix(core): cmdk crash when entering double quotes ( #5008 )
...
Due to a bug in the upstream repository, a temporary fix was implemented until the issue in the upstream repository is resolved.
https://github.com/pacocoursey/cmdk/issues/189
2023-11-21 12:51:22 +00:00
李华桥
00c11d40cf
v0.10.3-canary.0
2023-11-21 10:02:46 +08:00
李华桥
0f6b28fd06
c0.11.0-canary.0
2023-11-20 23:53:50 +08:00
Cats Juice
57d42bf491
refactor(core): remove all MUI related components and utilities ( #4941 )
2023-11-20 10:51:28 +08:00
JimmFly
4ef1f4c046
fix(core): escape cmdk value ( #4947 )
...
Co-authored-by: LongYinan <lynweklm@gmail.com>
2023-11-20 10:49:32 +08:00
EYHN
aa4c7407de
refactor: new provider ( #4900 )
2023-11-17 15:50:01 +08:00
Flrande
8b2c3d4c41
chore: bump blocksuite ( #4958 )
2023-11-16 22:01:03 +08:00
JimmFly
ddd7cab414
feat(core): support share edgeless mode ( #4856 )
...
Close #3287
<!--
copilot:all
-->
### <samp>🤖 Generated by Copilot at d3fdf86</samp>
### Summary
📄 🚀 🔗
<!--
1. 📄 - This emoji represents the page and edgeless modes of sharing a page, as well as the GraphQL operations and types related to public pages.
2. 🚀 - This emoji represents the functionality of publishing and revoking public pages, as well as the confirmation modal and the notifications for the user.
3. 🔗 - This emoji represents the sharing URL and the query parameter for the share mode, as well as the hooks and functions that generate and use the URL.
-->
This pull request adds a feature to the frontend component of AFFiNE that allows the user to share a page in either `page` or `edgeless` mode, which affects the appearance and functionality of the page. It also adds the necessary GraphQL operations, types, and schema to support this feature in the backend, and updates the tests and the storybook stories accordingly.
* Modify the `useIsSharedPage` hook to accept an optional `shareMode` argument and use the `getWorkspacePublicPagesQuery`, `publishPageMutation`, and `revokePublicPageMutation` from `@affine/graphql`
2023-11-15 16:02:58 +08:00
LongYinan
e7e617a791
chore: change default branch to canary ( #4948 )
2023-11-15 07:46:50 +00:00
LongYinan
5b0b8cf216
test(e2e): add subdoc migration test ( #4921 )
...
test(e2e): add subdoc migration test
fix: remove .only
2023-11-14 14:39:59 +08:00
Peng Xiao
76b585d1ef
fix(storybook): page tags display ( #4924 )
2023-11-14 09:45:12 +08:00
Peng Xiao
5c2d958e2b
fix(core): svg blob syncing issue ( #4886 )
2023-11-10 05:32:51 +00:00
Yifeng Wang
2117d6b232
chore: bump blocksuite ( #4901 )
2023-11-10 13:23:29 +08:00
李华桥
5c48c83301
v0.10.0
2023-11-10 11:42:04 +08:00
JimmFly
1fe5a0fffa
feat(core): auto select block when jump to block ( #4858 )
...
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2023-11-10 03:02:56 +00:00
李华桥
063f5a683e
v0.10.0-canary.16
2023-11-10 10:10:54 +08:00
李华桥
075eead9fa
v0.10.0-canary.15
2023-11-09 23:27:12 +08:00
Peng Xiao
d0b014543c
fix(core): select all in page list group header does not need to enable selection ( #4869 )
2023-11-09 12:01:36 +00:00
Peng Xiao
442115632b
chore(component): bump bs ( #4880 )
2023-11-09 04:47:10 +00:00
Joooye_34
744cd47481
v0.10.0-canary.14
2023-11-08 15:36:54 +08:00
Hongtao Lye
12c72e63b1
chore: bump blocksuite version ( #4862 )
2023-11-08 07:12:48 +00:00
EYHN
b7edaab387
chore: fix code style issues ( #4857 )
2023-11-08 05:51:08 +00:00
3720
08e7fa3486
fix(core): improve the UX for edit collection ( #4827 )
...
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2023-11-07 10:18:56 +00:00
Joooye_34
f50b8002b3
v0.10.0-canary.13
2023-11-07 09:55:30 +08:00
Joooye_34
7a4669a6aa
feat(core): implement parts of workspace upgrade design ( #4850 )
2023-11-06 17:02:25 +00:00
Joooye_34
8554d5d791
v0.10.0-canary.12
2023-11-07 00:13:51 +08:00
Joooye_34
3b74ff2b92
v0.10.0-canary.11
2023-11-06 18:10:28 +08:00
liuyi
f491ff94cc
refactor(server): separate page visibility from workspace permission ( #4836 )
2023-11-06 03:49:39 +00:00
Joooye_34
fb0aaabe53
v0.10.0-canary.10
2023-11-02 23:40:34 +08:00
Peng Xiao
65321e39cc
refactor(component): virtual rendering page list ( #4775 )
...
Co-authored-by: Joooye_34 <Joooye1991@gmail.com>
2023-11-02 14:21:01 +00:00
JimmFly
0a88be7771
feat(core): add jump to block for cmdk ( #4802 )
2023-11-02 11:49:49 +00:00
Hongtao Lye
15024c6c8a
chore: bump blocksuite ( #4801 )
2023-11-02 09:12:23 +00:00
JimmFly
af9663d3e7
fix(core): adjust payment related text ( #4797 )
2023-11-02 08:22:54 +00:00
Joooye_34
75c8dd75e3
v0.10.0-canary.9
2023-11-01 22:03:47 +08:00
Joooye_34
0273ea8b00
v0.10.0-canary.8
2023-11-01 00:03:04 +08:00
Joooye_34
563863005f
v0.10.0-canary.6
2023-10-31 14:40:47 +08:00
Joooye_34
37ec552f74
v0.10.0-canary.5
2023-10-31 11:54:25 +08:00
Joooye_34
17afe218fe
v0.10.0-canary.4
2023-10-31 01:49:15 +08:00
3720
ef8024c657
feat: new collections ( #4530 )
...
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2023-10-27 09:06:59 +00:00
JimmFly
ae6376edee
chore(core): update communities icon ( #4719 )
2023-10-25 10:45:54 +00:00
joooye34
559ec3956f
v0.10.0-canary.3
2023-10-24 20:18:21 +08:00
Flrande
627e5dfbb5
feat: bump blocksuite ( #4706 )
2023-10-24 09:00:27 +00:00
JimmFly
5226d6c568
feat(core): add search result highlighting ( #4667 )
...
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2023-10-24 05:54:37 +00:00
dependabot[bot]
e75a0743f8
chore: bump @mui/material from 5.14.13 to 5.14.14 ( #4678 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 08:07:04 +00:00
Peng Xiao
a8b10c64b8
fix(component): disable CMDK list animation ( #4685 )
2023-10-23 06:46:11 +00:00
Peng Xiao
817463c40e
feat(component): checkbox ( #4665 )
2023-10-20 03:46:44 +00:00
LongYinan
37c6560dd6
v0.10.0-canary.2
2023-10-19 17:18:18 +08:00
Alex Yang
97d8660a54
refactor(electron): fix vitest and add behavior test ( #4655 )
2023-10-18 22:14:30 -05:00
Joooye_34
bed9310519
refactor(infra): directory structure ( #4615 )
2023-10-18 15:30:08 +00:00
Flrande
814d552be8
feat: bump blocksuite and fix bug in migration ( #4653 )
...
Co-authored-by: JimmFly <yangjinfei001@gmail.com>
2023-10-18 14:45:07 +00:00
Alex Yang
77efcad89d
v0.10.0-canary.1
2023-10-16 16:30:17 -05:00
JimmFly
efca651429
feat(core): add history shortcut ( #4595 )
2023-10-16 12:27:06 +00:00
JimmFly
07b5d18441
feat(core): add sign out confirm modal ( #4592 )
2023-10-16 08:44:09 +00:00
JimmFly
2e1e486bc6
chore: bump playwright version ( #4602 )
2023-10-13 14:37:18 -05:00
Alex Yang
227017625d
test(core): fix flaky ( #4597 )
2023-10-13 13:46:32 -05:00
Joooye_34
6ea10860b4
refactor(infra): record legacy data to improve testing stability ( #4590 )
2023-10-13 03:03:42 +00:00
LongYinan
286347420d
0.10.0-canary.0
2023-10-12 15:21:07 +08:00
Alex Yang
d05897b724
chore: prohibit unnecessary await
( #4586 )
2023-10-12 05:04:58 +00:00
JimmFly
5ebd82dc04
feat(core): adjust share menu style ( #4584 )
2023-10-12 03:26:13 +00:00
Alex Yang
ae4322b75f
chore: bump version ( #4587 )
2023-10-12 02:46:52 +00:00
Alex Yang
a0e6ff9bd1
test: fix migration ( #4588 )
2023-10-11 19:30:37 -05:00
Alex Yang
491cd75fe0
fix(infra): create template workspace with isolated nanoid ( #4569 )
2023-10-11 13:48:30 -05:00
Alex Yang
8f5ee9234c
test: remove deprecated api usage ( #4577 )
2023-10-11 06:05:06 +00:00
JimmFly
69db99636b
feat(core): add editor commanads ( #4514 )
...
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2023-10-02 03:22:12 +00:00
Alex Yang
c911806062
refactor: remove bookmark plugin ( #4544 )
2023-09-30 00:48:33 -05:00
LongYinan
dd94ea5b45
ci: speedup ci by reduce installation packages in certain job ( #4457 )
2023-09-29 03:02:26 +00:00
Alex Yang
603f82ffc2
refactor: using unified nanoid ( #4519 )
2023-09-28 02:53:04 +00:00
Alex Yang
56f75160f3
refactor: remove unused packages ( #4532 )
2023-09-28 01:33:42 +00:00
JimmFly
1b6cd70247
chore(core): temporarily remove set-syncing-mode ( #4489 )
2023-09-26 14:11:04 +00:00
Alex Yang
bd0ed7f474
test: fix flaky ( #4463 )
2023-09-22 20:18:41 +00:00
Peng Xiao
e0063ebc9b
feat: new CMD-K ( #4408 )
2023-09-22 14:31:26 +00:00
JimmFly
edd7d00104
refactor: workspace list ( #4432 )
2023-09-22 15:02:31 +08:00
LongYinan
a6d19abc73
fix(core): bump latest blocksuite fixes ( #4450 )
2023-09-22 00:00:37 +00:00
Alex Yang
2521f2ed12
v0.9.0-canary.13
2023-09-21 01:02:19 -05:00
Alex Yang
dc95b1ded5
chore: bump version ( #4434 )
2023-09-21 01:01:46 -05:00
Alex Yang
9aafaf865e
test(electron): fix cloud test ( #4411 )
2023-09-19 02:08:35 +00:00
Alex Yang
cdad7edf15
test(electron): add cloud test ( #4184 )
...
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2023-09-17 20:26:06 +00:00
Alex Yang
40e094dcdd
test: fix e2e ( #4390 )
2023-09-17 03:50:26 +00:00
LongYinan
70e731e066
test(server): move env variables into playwright config ( #4384 )
2023-09-15 17:56:26 -07:00
Peng Xiao
b9656b1e22
fix: orderby in members list ( #4375 )
...
Co-authored-by: LongYinan <lynweklm@gmail.com>
2023-09-15 19:24:00 +00:00
Alex Yang
c41c3c81c8
fix(core): local workspace collections ( #4378 )
2023-09-15 02:19:22 -07:00
LongYinan
1aec1ce7d0
test(server): move tests out of src folder ( #4366 )
2023-09-15 07:34:14 +00:00
Qi
465098cc9a
feat: support remove user & workspace avatar ( #4302 )
2023-09-14 14:35:05 +00:00
Alex Yang
8fb0620bc8
chore: bump version ( #4354 )
2023-09-14 06:33:47 +00:00
Alex Yang
09510479e2
v0.9.0-canary.12
2023-09-13 17:10:43 -07:00
Qi
0be142e4e2
feat: add verify process in change email progress ( #4306 )
...
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2023-09-13 16:54:02 +00:00
Alex Yang
74faee887e
refactor: move mailer test ( #4328 )
2023-09-13 05:11:19 +00:00
Alex Yang
944a128b53
chore: bump version ( #4310 )
2023-09-12 05:44:00 +00:00
Qi
98429bf89e
feat: support pagination for member list ( #4231 )
2023-09-12 03:37:59 +00:00
JimmFly
49c8928a09
chore: adjust preloading page ( #4225 )
2023-09-11 06:42:45 +00:00
Alex Yang
2db0cec443
chore: bump version ( #4294 )
2023-09-09 04:28:17 +00:00
Whitewater
56e653140b
fix: sort plugin list in test ( #4289 )
2023-09-08 22:36:48 +00:00
Alex Yang
5f0605a5d9
feat: page view storage with cloud support ( #4238 )
2023-09-08 22:02:22 +00:00
Alex Yang
211e960d58
chore: bump version ( #4272 )
2023-09-07 23:21:47 +00:00
Alex Yang
544dcde4c5
v0.9.0-canary.11
2023-09-07 15:22:44 -07:00
Joooye_34
96545c97d0
feat(core): use double click to activate title renaming ( #4214 )
2023-09-07 17:12:07 +00:00
Alex Yang
a766279867
test: enhance 0.8.3 migration test ( #4251 )
2023-09-07 06:03:31 +00:00