Commit Graph

741 Commits

Author SHA1 Message Date
EYHN
35ce4adffe
fix(core): fix error when server not support ai (#6796) 2024-05-07 08:25:27 +00:00
pengx17
411f6ddf07
fix: tab switcher on windows desktop (#6812)
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/f33388aa-cc2d-417f-a742-86ebd74e3d5a.png)
2024-05-07 07:58:13 +00:00
CatsJuice
e7483c7914
fix(core): correct ai related copywritting (#6799) 2024-05-07 07:19:53 +00:00
EYHN
61d0e14c8b
fix(core): fix too many subscription request (#6809) 2024-05-07 07:07:28 +00:00
JimmFly
eac55fe1c1
feat(core): add multiDelete to trash page (#6798)
close #6739

https://github.com/toeverything/AFFiNE/assets/102217452/b1779cdf-f617-4188-ad29-70ec1695af1b
2024-05-07 06:54:59 +00:00
donteatfriedrice
ee9e8bf56c
feat: bump blocksuite (#6797)
## Features

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/6973 @donteatfriedrice

## Refactor

## Misc
2024-05-07 05:48:06 +00:00
Brooooooklyn
d76a635b00
chore(core): handle the telemetry warnings in console (#6793) 2024-05-07 04:28:34 +00:00
donteatfriedrice
6cd0c7cd11
feat: bump blocksuite (#6789)
## Features

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/6971 @donteatfriedrice

## Refactor
- https://github.com/toeverything/BlockSuite/pull/6970 @fundon

## Misc
2024-05-07 04:01:18 +00:00
pengx17
12806b0e7b
fix: do not create hash in frontend (#6788)
blob is already hashed in 6fdf45d4d0/packages/backend/server/src/plugins/copilot/resolver.ts (L294)
2024-05-07 03:50:31 +00:00
CatsJuice
7234e2344b
feat(core): replace setting content scroll with radix ScrollArea (#6787)
Use global scroll-area style

![CleanShot 2024-05-07 at 10.58.01@2x.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/LakojjjzZNf6ogjOVwKE/5330b59d-fea0-4b2b-a046-1740c8099a19.png)
2024-05-07 03:19:40 +00:00
EYHN
cb3e7d03dc
chore: bump blocksuite (#6786)
## Features
- https://github.com/toeverything/BlockSuite/pull/6968 @fundon

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/6969 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/6967 @pengx17

## Refactor
- https://github.com/toeverything/BlockSuite/pull/6970 @fundon

## Misc
2024-05-07 03:03:14 +00:00
CatsJuice
f02a16513c
fix(core): adjust setting sidebar's workspace avatar (#6785) 2024-05-07 02:51:33 +00:00
pengx17
a5e4730a5f
refactor: refine ai tracker (#6778)
upstream
https://github.com/toeverything/blocksuite/pull/6966

Added a new solution that inspect on actions event stream and adapt them into the mixpanel format.

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/2631f0dc-5626-45d5-bcaf-60987aec3c7e.png)
2024-05-06 13:34:44 +00:00
pengx17
1ac16a48bf
chore: bump blocksuite (#6781)
## Features
- https://github.com/toeverything/BlockSuite/pull/6948 @undefined
- https://github.com/toeverything/BlockSuite/pull/6941 @undefined
- https://github.com/toeverything/BlockSuite/pull/6855 @undefined

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/6967 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6966 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6951 @fundon
- https://github.com/toeverything/BlockSuite/pull/6960 @fundon
- https://github.com/toeverything/BlockSuite/pull/6964 @doouding
- https://github.com/toeverything/BlockSuite/pull/6958 @Flrande
- https://github.com/toeverything/BlockSuite/pull/6961 @regischen
- https://github.com/toeverything/BlockSuite/pull/6957 @doouding
- https://github.com/toeverything/BlockSuite/pull/6959 @regischen
- https://github.com/toeverything/BlockSuite/pull/6956 @regischen
- https://github.com/toeverything/BlockSuite/pull/6954 @fundon
- https://github.com/toeverything/BlockSuite/pull/6955 @doouding
- https://github.com/toeverything/BlockSuite/pull/6953 @doouding
- https://github.com/toeverything/BlockSuite/pull/6952 @regischen
- https://github.com/toeverything/BlockSuite/pull/6942 @golok727
- https://github.com/toeverything/BlockSuite/pull/6939 @fundon
- https://github.com/toeverything/BlockSuite/pull/6940 @fundon
- https://github.com/toeverything/BlockSuite/pull/6935 @regischen
- https://github.com/toeverything/BlockSuite/pull/6930 @fundon
- https://github.com/toeverything/BlockSuite/pull/6905 @golok727
- https://github.com/toeverything/BlockSuite/pull/6931 @donteatfriedrice

## Refactor
- https://github.com/toeverything/BlockSuite/pull/6945 @shvixxl

## Misc
- https://github.com/toeverything/BlockSuite/pull/6938 @golok727
- chore: correct typo
2024-05-06 13:23:55 +00:00
EYHN
527ffa6b3f
feat(core): adjust ai term (#6770) 2024-05-06 06:47:06 +00:00
EYHN
94c8662ac1
feat(core): disable ai onboarding video loop (#6769) 2024-05-06 06:47:01 +00:00
EYHN
ec73f69574
fix(core): fix ai onboarding video missing (#6768) 2024-05-06 06:31:03 +00:00
CatsJuice
4aa7cafda3
fix(core): ai related copywritting fix (#6766) 2024-05-06 03:57:04 +00:00
pengx17
91ee5e05bb
fix: ai chat session handling (#6751)
fix AFF-999
upstream: https://github.com/toeverything/blocksuite/pull/6932
2024-04-30 15:08:27 +00:00
pengx17
0c175ada31
fix: remove dnd for workspace list (#6754)
fix TOV-399
2024-04-30 14:57:38 +00:00
pengx17
5586de61fb
chore: bump blocksuite (#6753)
## Features
- https://github.com/toeverything/BlockSuite/pull/6929 @pengx17

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/6931 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6925 @fourdim
- https://github.com/toeverything/BlockSuite/pull/6928 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6933 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6932 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6920 @golok727
- https://github.com/toeverything/BlockSuite/pull/6927 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6923 @regischen
- https://github.com/toeverything/BlockSuite/pull/6906 @fundon

## Refactor
- https://github.com/toeverything/BlockSuite/pull/6926 @fourdim

## Misc
2024-04-30 08:40:32 +00:00
EYHN
2420b2849f
chore(core): remove unused module (#6744) 2024-04-30 04:58:15 +00:00
EYHN
764da784ae
feat(core): add enable cloud failed notify (#6741) 2024-04-30 04:46:09 +00:00
EYHN
148e058cde
refactor(core): remove once signed in event (#6740)
This once signed in event does not work properly.
2024-04-30 04:46:02 +00:00
pengx17
9b28e7313f
fix(core): make it real action (#6745) 2024-04-30 03:33:09 +00:00
EYHN
a1169a43c9
chore: bump blocksuite (#6742)
## Features
- https://github.com/toeverything/BlockSuite/pull/6917 @undefined
- https://github.com/toeverything/BlockSuite/pull/6895 @golok727

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/6906 @fundon
- https://github.com/toeverything/BlockSuite/pull/6919 @fundon
- https://github.com/toeverything/BlockSuite/pull/6921 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6910 @golok727
- https://github.com/toeverything/BlockSuite/pull/6918 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/6915 @fundon
- https://github.com/toeverything/BlockSuite/pull/6912 @golok727
- https://github.com/toeverything/BlockSuite/pull/6789 @fundon
- https://github.com/toeverything/BlockSuite/pull/6909 @fundon

## Refactor
- https://github.com/toeverything/BlockSuite/pull/6913 @golok727

## Misc
2024-04-29 12:26:08 +00:00
EYHN
1323a0fc5f
feat(core): prefetch onboarding video (#6736)
![CleanShot 2024-04-29 at 17.32.41@2x.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/g3jz87HxbjOJpXV3FPT7/21ebbc62-c4a2-496c-af05-600a2ded2a9d.png)
2024-04-29 12:13:16 +00:00
pengx17
5c861939a5
fix(core): show toast for requestRunInEdgeless (#6715) 2024-04-29 11:14:07 +00:00
pengx17
7c5a259e84
fix(core): update prompts (#6738)
Update prompts:

When sending a message to openai, we actually send two messages.
There are two issues here:

1. the role in the first message shall be user or system
2. the content in the first message is not being interpolated at all.

```
[
  {
    role: "assistant",
    createdAt: "2024-04-27T06:30:34.820Z",
    params: {
      language: "French",
    },
    content: "You are a translation expert, please translate the following content into French, and only perform the translation action, keeping the translated content in the same format as the original content:\n\n          \"\"\"\"\n\n          \n\n          \"\"\"\"",
  },
  {
    role: "user",
    content: "Basic things you should know:",
    attachments: undefined,
    params: {
      language: "French",
    },
    createdAt: "2024-04-29T09:42:11.466Z",
  },
]
```

In this PR I removed `content` from prompts and let open ai use the second message (user) as the input.
2024-04-29 11:02:16 +00:00
EYHN
20116eb940
chore: remove unused y-indexeddb (#6728) 2024-04-29 09:14:42 +00:00
EYHN
6202ba5ada
refactor(core): remove jump once (#6733)
Previously, we marked `jumpOnce: true` on `doc.meta` to open a specific doc after creating a new workspace. This pr removes `jumpOnce` and directly jumps to the specific doc URL.

This PR also fixes an error when opening the all-page page, because the all-page page scans the jumpOnce attribute of all docs, and the code in it will fail on damaged data.
2024-04-29 08:51:31 +00:00
CatsJuice
5e8fe28326
chore(core): replace ai onboarding videos (#6730) 2024-04-29 07:07:43 +00:00
pengx17
905d7d18e4
chore: bump blocksuite (#6725) 2024-04-29 04:57:46 +00:00
EYHN
f98db24391
fix(core): fix opt out telemetry cause error (#6723) 2024-04-29 04:03:31 +00:00
EYHN
704532bd2f
fix(core): adjust notify style (#6724) 2024-04-29 03:51:41 +00:00
CatsJuice
8d342f85ad
fix(core): workspace avatar hover radius (#6717) 2024-04-29 02:27:21 +00:00
fundon
7584ab4b91
feat(core): add seed to fal (#6712) 2024-04-26 11:40:09 +00:00
pengx17
5d114ea965
refactor(electron): cleanup secondary db logic (#6710) 2024-04-26 10:57:09 +00:00
pengx17
d015be24e6
fix: incorrect mixpanel param (#6706) 2024-04-26 10:45:29 +00:00
EYHN
f015a11181
chore: bump blocksuite (#6707)
## Features
- https://github.com/toeverything/BlockSuite/pull/6785 @zzj3720

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/6894 @Flrande
- https://github.com/toeverything/BlockSuite/pull/6893 @doouding
- https://github.com/toeverything/BlockSuite/pull/6891 @fundon
- https://github.com/toeverything/BlockSuite/pull/6879 @doouding
- https://github.com/toeverything/BlockSuite/pull/6885 @regischen
- https://github.com/toeverything/BlockSuite/pull/6888 @doouding
- https://github.com/toeverything/BlockSuite/pull/6890 @doouding
- https://github.com/toeverything/BlockSuite/pull/6889 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6887 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6877 @EYHN
- https://github.com/toeverything/BlockSuite/pull/6882 @fundon
- https://github.com/toeverything/BlockSuite/pull/6886 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6884 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6881 @fundon
- https://github.com/toeverything/BlockSuite/pull/6880 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6878 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6876 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6873 @pengx17

## Refactor

## Misc
- https://github.com/toeverything/BlockSuite/pull/6874 @doouding
2024-04-26 07:42:37 +00:00
pengx17
cc17d3287e
fix: open in chat does not work when the panel is not opened (#6703)
https://github.com/toeverything/AFFiNE/pull/6503 does not work with "open in chat".
IMO resetting tab whenever opening right panel does not make too much sense. @zanwei

fix AFF-951
2024-04-26 03:50:40 +00:00
CatsJuice
5b5c27b6ce
feat(core): add ai pricing tip for plans page (#6704) 2024-04-26 03:28:28 +00:00
pengx17
050efe3749
fix(core): update prompts (#6693)
update based on latest docs
2024-04-25 05:26:50 +00:00
EYHN
20a0d0b1db
chore: bump blocksuite (#6694)
## Features
- https://github.com/toeverything/BlockSuite/pull/6863 @regischen
- https://github.com/toeverything/BlockSuite/pull/6852 @doouding
- https://github.com/toeverything/BlockSuite/pull/6860 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6856 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6849 @fundon

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/6873 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6870 @golok727
- https://github.com/toeverything/BlockSuite/pull/6851 @golok727
- https://github.com/toeverything/BlockSuite/pull/6848 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6847 @fundon
- https://github.com/toeverything/BlockSuite/pull/6867 @EYHN
- https://github.com/toeverything/BlockSuite/pull/6868 @fundon
- https://github.com/toeverything/BlockSuite/pull/6869 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6865 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6866 @fundon
- https://github.com/toeverything/BlockSuite/pull/6864 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6824 @undefined
- https://github.com/toeverything/BlockSuite/pull/6859 @fundon
- https://github.com/toeverything/BlockSuite/pull/6853 @fundon
- https://github.com/toeverything/BlockSuite/pull/6854 @fundon
- https://github.com/toeverything/BlockSuite/pull/6845 @fourdim

## Refactor
- https://github.com/toeverything/BlockSuite/pull/6872 @fundon

## Misc
2024-04-25 05:12:02 +00:00
EYHN
c0cd33b65a
fix(core): fix react error (#6692)
![CleanShot 2024-04-25 at 10.24.10.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/g3jz87HxbjOJpXV3FPT7/ec016ccd-d924-49d8-ad90-3ae0c47c5b8f.png)
2024-04-25 04:39:25 +00:00
JimmFly
31b284a2d0
feat(core): add fallback component to member list (#6672)
<img width="549" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/7246002f-ebfb-4486-abbc-35bbee8fba0e">
2024-04-25 02:27:39 +00:00
CatsJuice
2a2b1cea28
feat(core): add indicator for general ai onboarding dialog (#6687) 2024-04-25 02:09:52 +00:00
CatsJuice
59214af3ad
fix(core): adjust payment related copywriting (#6655) 2024-04-24 16:05:09 +00:00
fundon
0d8bab18df
fix(core): should set type of uploaded file (#6689)
<img width="609" alt="Screenshot 2024-04-24 at 20 43 45" src="https://github.com/toeverything/AFFiNE/assets/27926/8e3897d7-2aab-491c-abfe-8ac553ea99b3">
2024-04-24 15:43:18 +00:00
JimmFly
350fec5397
feat(core): optimize the shift multi-selection function of doc list (#6675)
close TOV-701

https://github.com/toeverything/AFFiNE/assets/102217452/8813e603-1cc2-469f-a7c1-b18e49a14871
2024-04-24 07:56:13 +00:00
doouding
6525c99631
feat(server): new prompt for expand mind map (#6678)
feat(server): new prompt for expand mind map

feat: add migration file
2024-04-24 07:10:11 +00:00
EYHN
e5baa81a50
chore: bump blocksuite (#6673) 2024-04-23 08:39:23 +00:00
pengx17
f1b03989fa
fix: error handling in sse (#6663) 2024-04-23 03:46:49 +00:00
EYHN
c425cfa598
chore: bump blocksuite (#6666)
## Features
- https://github.com/toeverything/BlockSuite/pull/6842 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6836 @regischen

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/6837 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6803 @lawvs
- https://github.com/toeverything/BlockSuite/pull/6843 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6838 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6834 @regischen
- https://github.com/toeverything/BlockSuite/pull/6835 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6831 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6827 @golok727
- https://github.com/toeverything/BlockSuite/pull/6828 @regischen

## Refactor

## Misc
2024-04-23 01:38:23 +00:00
regischen
a20a3fbbf8
feat: provide closeStream (#6659)
Upstream https://github.com/toeverything/blocksuite/pull/6836
2024-04-22 14:35:13 +00:00
CatsJuice
6ec97b27c4
feat(core): open desktop directly in subscription landing page (#6661) 2024-04-22 14:21:58 +00:00
CatsJuice
e13024580d
feat(core): add ai subscription landing page (#6657) 2024-04-22 09:03:27 +00:00
EYHN
d36b5e14aa
feat(core): try cloud link (#6660) 2024-04-22 08:51:02 +00:00
EYHN
b7ade43c2e
feat(core): adjust help island style (#6651) 2024-04-22 08:27:28 +00:00
EYHN
ab7282213b
feat(core): adjust workspace avatar style (#6652)
![CleanShot 2024-04-22 at 12 13 04@2x](https://github.com/toeverything/AFFiNE/assets/13579374/225966de-6c2f-4bdc-a460-b96d15447808)
2024-04-22 08:16:41 +00:00
EYHN
9fd3f29d1b
fix(core): fix home page init cloud (#6654) 2024-04-22 08:05:20 +00:00
forehalo
e8bcb75602
fix(server): use post request to consume magic link token (#6656) 2024-04-22 07:15:26 +00:00
CatsJuice
d7e08215d7
feat(core): show login modal if not logged in when using ai (#6632)
![CleanShot 2024-04-22 at 09.05.42.gif](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/LakojjjzZNf6ogjOVwKE/61b35d07-5d5a-4df9-859b-17cf7a9c20cf.gif)
2024-04-22 03:26:01 +00:00
pengx17
1dda0fd34c
feat: add mixpanel tracking for ai (#6643) 2024-04-20 05:43:35 +00:00
CatsJuice
13e2a3dbae
fix(core): remove sidebar user avatar menu item's rightArrow icon (#6633) 2024-04-19 13:47:28 +00:00
forehalo
098e717688
chore(server): remove useless free subscription enum (#6634) 2024-04-19 13:34:59 +00:00
darkskygit
657a5250ad
feat: update chat prompt (#6639)
fix AFF-878
fix AFF-852 (maybe)
2024-04-19 12:34:02 +00:00
pengx17
94a70a5f3a
chore: bump blocksuite (#6635)
## Features
- https://github.com/toeverything/BlockSuite/pull/6825 @regischen

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/6828 @regischen
- https://github.com/toeverything/BlockSuite/pull/6823 @fundon
- https://github.com/toeverything/BlockSuite/pull/6822 @fundon
- https://github.com/toeverything/BlockSuite/pull/6826 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6794 @fundon
- https://github.com/toeverything/BlockSuite/pull/6821 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6781 @doouding
- https://github.com/toeverything/BlockSuite/pull/6820 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6819 @regischen
- https://github.com/toeverything/BlockSuite/pull/6817 @donteatfriedrice

## Refactor

## Misc
2024-04-19 09:50:17 +00:00
pengx17
6d5dbbd7f4
fix: move toTextStream to affine (#6628) 2024-04-19 07:59:24 +00:00
EYHN
a2fa9149ff
feat(templates): add stickers (#6629) 2024-04-19 06:47:29 +00:00
EYHN
4085cc6728
fix(core): fix subscribe link for pro plan (#6627) 2024-04-19 06:36:38 +00:00
JimmFly
9d412d22cb
fix(core): drag and drop files into doc (#6630)
close #6625
2024-04-19 06:25:17 +00:00
pengx17
8c0732ddf1
fix: handle 401 errors (#6611)
upstream https://github.com/toeverything/blocksuite/pull/6809
2024-04-19 03:51:41 +00:00
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
CatsJuice
7970d9b8c9
feat(core): add local ai onboarding dialog (#6600) 2024-04-18 15:48:20 +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
09832dc940
feat(core): add subscribe link (#6610) 2024-04-18 13:28:32 +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>
2024-04-18 16:19:03 +08: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
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
EYHN
f86646b931
feat(core): enrich pwa manifest.json (#6599) 2024-04-17 19:14:25 +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
EYHN
6ca174bb14
fix(core): revalidate subscription info when open ai usage panel 2024-04-17 15:54:01 +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
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
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
fundon
b2ca8249c1
fix(core): should choose different models based on content or attachments (#6567) 2024-04-15 13:12:57 +00:00