Commit Graph

5689 Commits

Author SHA1 Message Date
pengx17 99bf7c79d1 chore: bump blocksuite (#6626)
## Features
- https://github.com/toeverything/BlockSuite/pull/6809 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6787 @Flrande
- https://github.com/toeverything/BlockSuite/pull/6774 @donteatfriedrice

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/6817 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6811 @regischen
- https://github.com/toeverything/BlockSuite/pull/6814 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6813 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6812 @doouding
- https://github.com/toeverything/BlockSuite/pull/6815 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6808 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6804 @regischen
- https://github.com/toeverything/BlockSuite/pull/6797 @regischen
- https://github.com/toeverything/BlockSuite/pull/6802 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/6801 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6798 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6795 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6790 @lawvs
- https://github.com/toeverything/BlockSuite/pull/6778 @zkwolf
- https://github.com/toeverything/BlockSuite/pull/6792 @fundon

## Refactor

## Misc
- https://github.com/toeverything/BlockSuite/pull/6807 @c0sc0s
- https://github.com/toeverything/BlockSuite/pull/6806 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/6800 @fourdim
2024-04-19 03:51:38 +00:00
fundon 7772a103fa fix(server): dev user configuration issue (#6619) 2024-04-19 03:40:04 +00:00
darkskygit 3cc3af8d5d feat: remove message query (#6622)
related #6620
2024-04-18 16:30:10 +00:00
CatsJuice 7970d9b8c9 feat(core): add local ai onboarding dialog (#6600) 2024-04-18 15:48:20 +00:00
darkskygit 28f2ff24b9 fix: copilot blob process (#6612) 2024-04-18 15:36:30 +00:00
EYHN 6a23fe37a7 feat(core): reduce profile loading time (#6616) 2024-04-18 15:23:12 +00:00
pengx17 c3438fde21 fix(core): always create message for ai (#6620) 2024-04-18 15:09:36 +00:00
EYHN 08cd940e6b fix(server): fix unstable test (#6621) 2024-04-18 14:53:24 +00:00
darkskygit b3b9e9a056 chore: cleanup outdated api (#6604) 2024-04-18 14:42:46 +00:00
EYHN a537f8eb0b fix(electron): cookie expires too short (#6615) 2024-04-18 13:41:56 +00:00
EYHN 09832dc940 feat(core): add subscribe link (#6610) 2024-04-18 13:28:32 +00:00
fundon 5437c6567b fix(component): banner should not affect the editor layout (#6605)
https://github.com/toeverything/AFFiNE/assets/27926/6aacb16c-02ca-4693-afe8-628bef507811
2024-04-18 13:16:10 +00:00
CatsJuice 9cb6dcd93d feat(core): check user's subscription at ai onboarding stage (#6608) 2024-04-18 11:28:06 +00:00
pengx17 e232b0b285 fix: should not swallow copilot errors (#6609) 2024-04-18 09:59:31 +00:00
soumyasen10 19f8407d7f fix: disable default save page as (#6548)
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
v0.14.0-canary.9
2024-04-18 16:19:03 +08:00
forehalo d9e6561762 feat(server): add created timestamp to history (#6607) 2024-04-18 07:06:47 +00:00
pengx17 5fc56a20ac feat: adopt createMessage upload api (#6596) 2024-04-18 06:55:29 +00:00
Peng Xiao 10653eccbc fix: provide user info for copilot (#6606) 2024-04-18 11:10:17 +08:00
DarkSky ccb3bed91e feat: add blob upload support for copilot (#6584) 2024-04-17 14:05:38 +00:00
pengx17 e806169f60 fix(core): missing copilot param (#6602) 2024-04-17 13:27:16 +00:00
pengx17 f9f0490190 fix(core): provide photoengine (#6574) 2024-04-17 13:27:11 +00:00
pengx17 03a7f9939e fix: ai error handling (#6588)
upstream: https://github.com/toeverything/blocksuite/pull/6775
2024-04-17 13:27:05 +00:00
pengx17 09a984d113 chore: bump blocksuite (#6601)
## Features
- https://github.com/toeverything/BlockSuite/pull/6763 @doouding
- https://github.com/toeverything/BlockSuite/pull/6780 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/6775 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6765 @donteatfriedrice

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/6792 @fundon
- https://github.com/toeverything/BlockSuite/pull/6791 @fundon
- https://github.com/toeverything/BlockSuite/pull/6776 @fundon
- https://github.com/toeverything/BlockSuite/pull/6779 @Flrande
- https://github.com/toeverything/BlockSuite/pull/6771 @fundon
- https://github.com/toeverything/BlockSuite/pull/6769 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6768 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6758 @Flrande
- https://github.com/toeverything/BlockSuite/pull/6743 @fourdim
- https://github.com/toeverything/BlockSuite/pull/6762 @regischen

## Refactor
- https://github.com/toeverything/BlockSuite/pull/6786 @regischen
- https://github.com/toeverything/BlockSuite/pull/6764 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6772 @fundon

## Misc
- https://github.com/toeverything/BlockSuite/pull/6766 @fourdim
2024-04-17 13:27:00 +00:00
JimmFly bcee1bbd81 feat(component): adjust notify styles (#6578)
Change the styles of `notify.error`, `notify.warning`, and `notify.success` from `alert` to `normal`
Add custom `iconColor` option
2024-04-17 12:36:42 +00:00
JimmFly 8b66c1d752 fix(component): retrieve lost scroll bars in editor (#6597)
close TOV-805
close #6589
2024-04-17 11:59:12 +00:00
EYHN f86646b931 feat(core): enrich pwa manifest.json (#6599) 2024-04-17 19:14:25 +08:00
liuyi 07aeab6ac8 fix(server): app cannot start in graphql only flavor (#6598) 2024-04-17 18:29:04 +08:00
EYHN 4b933466f4 fix(storybook): remove storybook testing (#6595)
remove tests/storybook

@affine/components storybook still exists
2024-04-17 17:27:33 +08:00
EYHN ed96c4ece4 fix(core): fix navigate not working (#6594)
navigate sometimes doesn't work

It seems that we shouldn't pass the parent component's navigate function to the child component, but adding an effect to delay the child component rendering seems to work.
2024-04-17 16:43:29 +08:00
DarkSky ec186a65e7 fix(server): avoid store unpaid subscriptions (#6593) 2024-04-17 16:43:17 +08:00
EYHN c83d090282 fix(core): revalidate subscription info when open ai usage panel (#6591) 2024-04-17 16:36:12 +08:00
liuyi e53d5e2e3d chore(server): clean up throttler (#6326) 2024-04-17 16:32:26 +08:00
forehalo 651a99a48e fix(server): avoid store unpaid subscriptions 2024-04-17 16:25:03 +08:00
liuyi 5b315bfc81 fix(server): only returns active subscriptions (#6590) 2024-04-17 16:19:34 +08:00
EYHN 6ca174bb14 fix(core): revalidate subscription info when open ai usage panel 2024-04-17 15:54:01 +08:00
EYHN c7373d4651 feat(infra): framework (#6403)
* Business are implemented in modules
* All modules are split into `services`, `entities`, `stores`, to achieve better abstraction
* most of asynchronous loading has been changed to `effect` implementation, with a good retry strategy
* critical network requests have been cached, app can be used offline normally.
* user session has been cached, and will be used offline.
* `workspace list provider` and `factory provider` are unified into `workspace flavor provider`
* `page` has been rename to `doc`, unified with `blocksuite`
2024-04-17 15:20:13 +08:00
EYHN 06fda3b62c feat(infra): framework 2024-04-17 15:09:09 +08:00
forehalo ab17a05df3 fix(core): give page reference correct link (#6587) 2024-04-17 03:56:24 +00:00
forehalo 66a272fb8b fix(core): unable to redirect to same origin paths (#6586) 2024-04-17 03:25:31 +00:00
darkskygit 83d8587a45 fix: missing feature upsert (#6585) 2024-04-17 02:01:01 +00:00
forehalo e1c292b8b5 feat(server): support registering ai early access users (#6565) 2024-04-16 13:54:08 +00:00
darkskygit 677c4711df feat: unsplash api proxy (#6572) 2024-04-16 13:33:07 +00:00
CatsJuice bb329944ed feat(core): optimize ai onboarding trigger logic (#6579)
- don't open edgeless ai-onboarding dialog until general ai onboarding and setting modal closed
- clip edgeless ai onboarding thumb to avoid "black border"
- correct "try for free"
- replace edgeless ai onboarding lottie resources
2024-04-16 13:18:10 +00:00
CatsJuice c222cf7b96 fix(core): wrong pricing state in billing ai card (#6583) 2024-04-16 13:07:23 +00:00
JimmFly f6fcbd8ea9 fix(core): signIn page style (#6582) 2024-04-16 12:56:12 +00:00
darkskygit 3d15e8353b feat: refresh prompts (#6568) 2024-04-16 10:26:54 +00:00
Brooooooklyn b1eb0d2bc1 chore: remove vite from resolutions (#6580) 2024-04-16 10:15:56 +00:00
darkskygit 1b0864eb60 feat: check quota correctly (#6561) 2024-04-16 09:41:48 +00:00
regischen 0ca8a23dd8 fix: move help land position (#6571)
Before:
<img width="1614" alt="image" src="https://github.com/toeverything/AFFiNE/assets/58546692/24d4c550-4070-48a5-a851-40d6f26ea120">

After:
<img width="1106" alt="image" src="https://github.com/toeverything/AFFiNE/assets/58546692/88e1b7ea-8a69-45a2-9beb-780dfd1bd996">
<img width="949" alt="image" src="https://github.com/toeverything/AFFiNE/assets/58546692/8fd328c5-e8e8-402a-b18e-436056d2374f">

Cause the icon will be on top of chat input.
2024-04-16 08:11:37 +00:00
pengx17 ebb38a42a0 fix: temporary fix for running electron tests (#6576)
a workaround for spawn EINVAL error.
Found this issue according to https://github.com/node-red/node-red/pull/4652

~~In our case the electron app is spawned by playwright. I am still investigating the issue but don't know how long it takes.~~

Upstream fix: https://github.com/microsoft/playwright/pull/30382
2024-04-16 06:57:17 +00:00