Commit Graph

682 Commits

Author SHA1 Message Date
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 [#&#8203;921](https://togithub.com/chromaui/chromatic-cli/pull/921) ([@&#8203;andrewortwein](https://togithub.com/andrewortwein) [@&#8203;ethriel3695](https://togithub.com/ethriel3695))

##### Authors: 2

-   Andrew Ortwein ([@&#8203;andrewortwein](https://togithub.com/andrewortwein))
-   Reuben Ellis ([@&#8203;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 [#&#8203;922](https://togithub.com/chromaui/chromatic-cli/pull/922) ([@&#8203;ghengeveld](https://togithub.com/ghengeveld))

##### Authors: 1

-   Gert Hengeveld ([@&#8203;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 [#&#8203;920](https://togithub.com/chromaui/chromatic-cli/pull/920) ([@&#8203;tevanoff](https://togithub.com/tevanoff))

##### Authors: 1

-   Todd Evanoff ([@&#8203;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 [#&#8203;916](https://togithub.com/chromaui/chromatic-cli/pull/916) ([@&#8203;tevanoff](https://togithub.com/tevanoff))

##### Authors: 1

-   Todd Evanoff ([@&#8203;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 [#&#8203;919](https://togithub.com/chromaui/chromatic-cli/pull/919) ([@&#8203;ethriel3695](https://togithub.com/ethriel3695))

##### Authors: 1

-   Reuben Ellis ([@&#8203;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 [#&#8203;917](https://togithub.com/chromaui/chromatic-cli/pull/917) ([@&#8203;tmeasday](https://togithub.com/tmeasday))

##### Authors: 1

-   Tom Coleman ([@&#8203;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 [#&#8203;918](https://togithub.com/chromaui/chromatic-cli/pull/918) ([@&#8203;ghengeveld](https://togithub.com/ghengeveld))

##### Authors: 1

-   Gert Hengeveld ([@&#8203;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 [#&#8203;912](https://togithub.com/chromaui/chromatic-cli/pull/912) ([@&#8203;ghengeveld](https://togithub.com/ghengeveld) [@&#8203;tmeasday](https://togithub.com/tmeasday))

##### Authors: 2

-   Gert Hengeveld ([@&#8203;ghengeveld](https://togithub.com/ghengeveld))
-   Tom Coleman ([@&#8203;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` [#&#8203;913](https://togithub.com/chromaui/chromatic-cli/pull/913) ([@&#8203;ghengeveld](https://togithub.com/ghengeveld))
-   Support `env`, `sessionId` and `log` options via Node API [#&#8203;897](https://togithub.com/chromaui/chromatic-cli/pull/897) ([@&#8203;work933k](https://togithub.com/work933k))
-   Add timestamps to debug and file logging [#&#8203;907](https://togithub.com/chromaui/chromatic-cli/pull/907) ([@&#8203;ghengeveld](https://togithub.com/ghengeveld))

##### Authors: 2

-   [@&#8203;work933k](https://togithub.com/work933k)
-   Gert Hengeveld ([@&#8203;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 [#&#8203;910](https://togithub.com/chromaui/chromatic-cli/pull/910) ([@&#8203;thafryer](https://togithub.com/thafryer))

##### Authors: 1

-   Jarel Fryer ([@&#8203;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 [#&#8203;909](https://togithub.com/chromaui/chromatic-cli/pull/909) ([@&#8203;tevanoff](https://togithub.com/tevanoff))

##### Authors: 1

-   Todd Evanoff ([@&#8203;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 [#&#8203;906](https://togithub.com/chromaui/chromatic-cli/pull/906) ([@&#8203;skitterm](https://togithub.com/skitterm))

##### Authors: 1

-   Steven Kitterman ([@&#8203;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. [#&#8203;899](https://togithub.com/chromaui/chromatic-cli/pull/899) ([@&#8203;thafryer](https://togithub.com/thafryer))

##### Authors: 1

-   Jarel Fryer ([@&#8203;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 [#&#8203;902](https://togithub.com/chromaui/chromatic-cli/pull/902) ([@&#8203;thafryer](https://togithub.com/thafryer))

##### Authors: 1

-   Jarel Fryer ([@&#8203;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 [#&#8203;900](https://togithub.com/chromaui/chromatic-cli/pull/900) ([@&#8203;yannbf](https://togithub.com/yannbf))
-   Improve logging around upload errors [#&#8203;894](https://togithub.com/chromaui/chromatic-cli/pull/894) ([@&#8203;ghengeveld](https://togithub.com/ghengeveld))
-   Don't skip uploading of empty files, it works now [#&#8203;901](https://togithub.com/chromaui/chromatic-cli/pull/901) ([@&#8203;ghengeveld](https://togithub.com/ghengeveld))

##### Authors: 2

-   Gert Hengeveld ([@&#8203;ghengeveld](https://togithub.com/ghengeveld))
-   Yann Braga ([@&#8203;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 [#&#8203;882](https://togithub.com/chromaui/chromatic-cli/pull/882) ([@&#8203;tmeasday](https://togithub.com/tmeasday))

##### Authors: 1

-   Tom Coleman ([@&#8203;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 [#&#8203;880](https://togithub.com/chromaui/chromatic-cli/pull/880) ([@&#8203;thafryer](https://togithub.com/thafryer))

##### Authors: 1

-   Jarel Fryer ([@&#8203;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 [#&#8203;892](https://togithub.com/chromaui/chromatic-cli/pull/892) ([@&#8203;ghengeveld](https://togithub.com/ghengeveld))

##### Authors: 1

-   Gert Hengeveld ([@&#8203;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 [#&#8203;890](https://togithub.com/chromaui/chromatic-cli/pull/890) ([@&#8203;ghengeveld](https://togithub.com/ghengeveld))
-   Detect merge queue branch and retrieve real branch name from pull request [#&#8203;884](https://togithub.com/chromaui/chromatic-cli/pull/884) ([@&#8203;JonathanKolnik](https://togithub.com/JonathanKolnik) [@&#8203;ghengeveld](https://togithub.com/ghengeveld))
-   Deduplicate files to be uploaded using file hashing [#&#8203;875](https://togithub.com/chromaui/chromatic-cli/pull/875) ([@&#8203;ghengeveld](https://togithub.com/ghengeveld))
-   Replace upload mechanism to use a batched mutation with a new API [#&#8203;888](https://togithub.com/chromaui/chromatic-cli/pull/888) ([@&#8203;ghengeveld](https://togithub.com/ghengeveld))

##### 🐛 Bug Fix

-   Retrieve `sentinelUrls` from `uploadBuild` and wait for all of them before finishing upload task [#&#8203;878](https://togithub.com/chromaui/chromatic-cli/pull/878) ([@&#8203;ghengeveld](https://togithub.com/ghengeveld))

##### Authors: 2

-   Gert Hengeveld ([@&#8203;ghengeveld](https://togithub.com/ghengeveld))
-   Jono Kolnik ([@&#8203;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 [#&#8203;885](https://togithub.com/chromaui/chromatic-cli/pull/885) ([@&#8203;wisestuart](https://togithub.com/wisestuart))

##### Authors: 1

-   Stuart Hammar ([@&#8203;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" [#&#8203;883](https://togithub.com/chromaui/chromatic-cli/pull/883) ([@&#8203;JonathanKolnik](https://togithub.com/JonathanKolnik))
-   Run publish-action script as afterShipIt hook [#&#8203;877](https://togithub.com/chromaui/chromatic-cli/pull/877) ([@&#8203;ghengeveld](https://togithub.com/ghengeveld))

##### Authors: 2

-   Gert Hengeveld ([@&#8203;ghengeveld](https://togithub.com/ghengeveld))
-   Jono Kolnik ([@&#8203;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 (@&#8203;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 (@&#8203;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 (@&#8203;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