Commit Graph

440 Commits

Author SHA1 Message Date
JimmFly f94306703a feat(core): tag groups sorted alphabetically (#6865)
feat(core): tag groups sorted alphabetically
feat(core): add display group to collection page and tag page

<img width="755" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/17a5abbe-cd1a-4ce2-8adc-f9aa5b6d6e77">
2024-05-13 03:48:17 +00:00
pengx17 3e23878e0f feat: add more tracking events (#6866)
Added most tracking events

what is missing:
- still need a way to track events in blocksuite
- some events may not 100% accurate of the one defined in the PRD
2024-05-13 03:36:32 +00:00
JimmFly f4a422c0e9 fix(core): keep the delete button from being blocked (#6836)
close #6718
2024-05-09 08:26:32 +00:00
fundon d8b3a0b6d5 fix: improve make it real action (#6830) 2024-05-09 08:15:34 +00:00
pengx17 917ad1965a fix: mixpanel issues (#6840) 2024-05-09 07:50:15 +00:00
pengx17 3744a0a5e0 feat: handle login required tracking event (#6831) 2024-05-09 07:50:07 +00:00
CatsJuice 36575ca1b5 chore(core): adjust setting modal's size (#6849) 2024-05-09 07:38:07 +00:00
CatsJuice 9f432a04d4 fix(core): ai plan should show even user not signed in (#6845) 2024-05-09 07:26:27 +00:00
CatsJuice 960b906935 fix(core): avoid shaking when renaming doc in title bar (#6847)
- before
    ![CleanShot 2024-05-09 at 14.42.45.gif](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/LakojjjzZNf6ogjOVwKE/5c7b6beb-d24f-49b8-a2c2-f3ab07f4972a.gif)

- after
    ![CleanShot 2024-05-09 at 14.43.57.gif](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/LakojjjzZNf6ogjOVwKE/325b68b5-a904-425a-b2c4-5f914237b497.gif)
2024-05-09 07:15:14 +00:00
JimmFly 291db7d809 feat(core): add untagged group to GroupBy view (#6837)
close #6688

<img width="743" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/9ffe3cac-0c73-4a8c-8567-8a315eed6548">
2024-05-09 02:30:52 +00:00
CatsJuice 301cc188ca fix(core): adjust ai onboarding copywriting and local onboarding actions (#6834) 2024-05-08 09:18:17 +00:00
JimmFly 87078ff706 fix(core): member list does not display names correctly (#6835)
close #6818
close AFF-1031
2024-05-08 08:54:11 +00:00
Akumatus 4a032eb260 fix: modify experimental features to app-level (#6823) 2024-05-08 12:21:02 +08:00
pengx17 e85548b393 fix: tone action param (#6824) 2024-05-07 12:42:35 +00:00
pengx17 6ad5ae2403 fix: chat panel segment (#6820) 2024-05-07 10:41:57 +00:00
EYHN 35ce4adffe fix(core): fix error when server not support ai (#6796) 2024-05-07 08:25:27 +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
pengx17 12806b0e7b fix: do not create hash in frontend (#6788)
blob is already hashed in https://github.com/toeverything/AFFiNE/blob/6fdf45d4d064ebac9691a71abc800a90c5e6bfb9/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
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
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 9b28e7313f fix(core): make it real action (#6745) 2024-04-30 03:33:09 +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 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
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