Commit Graph

593 Commits

Author SHA1 Message Date
JimmFly f48cd0dfef fix(core): unexpected history preview style (#6944)
close TOV-865

https://github.com/toeverything/AFFiNE/assets/102217452/3ca12496-b4d9-4caf-a30b-981b52a2f42f
2024-05-15 08:48:37 +00:00
JimmFly 1b91ffa6a5 chore: adjust quick search style (#6906)
close TOV-854
<img width="651" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/f281eb82-852c-411d-b3dd-4bf7d7ce74e8">
2024-05-14 07:28:25 +00:00
pengx17 dd45c80cc4 chore: track doc create action in bs editor (#6915)
fix TOV-855

added shape element create & doc create event tracking in blocksuite editor.
What's still missing:
the control (source) that triggered whiteboard element creation, i.e., from canvas dbclick, dnd or pasting.
2024-05-14 05:35:08 +00:00
akumatus 261d413607 feat: history timeline shows relative time, such as today and yesterday (#6864)
### TL;DR
First, fixed an i18n issue in history panel. When the browser language is set to Chinese, and the AFFiNE application language is set to English, the language supposed to be English global. But now the language is a mixture of Chinese and English, which is obviously wrong.

![截屏2024-05-08 18.23.21.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/93d8218a-3b26-4b0c-9f15-71a8996556db.png)

Second, design a time formatter to convert timestamp into relative calendar date, such today and yesterday and so on. Long-ago edits will show the exact date like before.

![截屏2024-05-10 15.30.57.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/dbc59e80-9504-40b1-b712-5c155cb6fa63.png)

### What changed?
- `new Intl.DateTimeFormat` with language option form  `document.documentElement.lang`
- Added `timestampToCalendarDate` function to convert timestamp into relative calendar date
- Updated unit tests
- Updated i18n copywriting

### How to test?
1. Open view history version
2. Check edit timeline
2024-05-13 11:59:48 +00:00
JimmFly b723dd8ab8 fix(core): the loading of cmdk flashes during synchronization (#6907)
close TOV-852
2024-05-13 09:11:39 +00:00
JimmFly df6d0a2750 fix(core): navigation shortcut keys can't be used when the sidebar is collapsed (#6903)
close #6877
2024-05-13 07:15:40 +00:00
JimmFly 644bd8c817 fix(core): page does not fully stretch the entire screen (#6902)
close AFF-1054

https://github.com/toeverything/AFFiNE/assets/102217452/6e4447b7-380d-402b-9445-1c2d9c036363
2024-05-13 06:25:20 +00:00
EYHN 4ebe8f5fb4 chore(core): improve export snapshot tool (#6863) 2024-05-13 04:00:47 +00:00
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
pengx17 8af064b663 fix: should not reset identity on app start (#6895) 2024-05-12 12:39:59 +00:00
JimmFly b8a1fbd6c7 fix(core): add margin to scrollbar when clientBorder has no style (#6867)
close #6684

https://github.com/toeverything/AFFiNE/assets/102217452/9de18009-c718-4bdd-88fd-caafdb5b419c
2024-05-11 05:44:48 +00:00
EYHN f5dceda0cc fix(core): mixpanel error when opt-out (#6861) 2024-05-10 03:58:45 +00:00
donteatfriedrice 203459679c feat: bump blocksuite (#6852)
## Features
- https://github.com/toeverything/BlockSuite/pull/6995 @fundon

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7002 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7000 @regischen
- https://github.com/toeverything/BlockSuite/pull/7001 @fundon
- https://github.com/toeverything/BlockSuite/pull/6999 @Flrande
- https://github.com/toeverything/BlockSuite/pull/6997 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6996 @regischen
- https://github.com/toeverything/BlockSuite/pull/6994 @L-Sun

## Refactor

## Misc
2024-05-10 03:46:10 +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
EYHN 8d8bd49600 chore(infra): remove compatible code (#6833) 2024-05-08 09:06:33 +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
EYHN e00c697694 fix(core): windows app controls missing (#6832)
fix #6825
2024-05-08 08:17:37 +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
renovate 269060d494 chore: bump up @blocksuite/icons version to v2.1.50 (#6577)
[![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.46` -> `2.1.50`](https://renovatebot.com/diffs/npm/@blocksuite%2ficons/2.1.46/2.1.50) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2ficons/2.1.50?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2ficons/2.1.50?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2ficons/2.1.46/2.1.50?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2ficons/2.1.46/2.1.50?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>toeverything/icons (@&#8203;blocksuite/icons)</summary>

### [`v2.1.50`](https://togithub.com/toeverything/icons/compare/aa76c34aae1d1e1f18377eb3f1c27efbaa3e04bb...937b43627452ed99c0ebef7d67e0d5ed30812c67)

[Compare Source](https://togithub.com/toeverything/icons/compare/aa76c34aae1d1e1f18377eb3f1c27efbaa3e04bb...937b43627452ed99c0ebef7d67e0d5ed30812c67)

### [`v2.1.49`](https://togithub.com/toeverything/icons/compare/fc6422fbd4986000f07ec64f6489450f6c2379a6...aa76c34aae1d1e1f18377eb3f1c27efbaa3e04bb)

[Compare Source](https://togithub.com/toeverything/icons/compare/fc6422fbd4986000f07ec64f6489450f6c2379a6...aa76c34aae1d1e1f18377eb3f1c27efbaa3e04bb)

### [`v2.1.48`](https://togithub.com/toeverything/icons/compare/34162ca6da7339af39f26229ef90b14efb45143e...fc6422fbd4986000f07ec64f6489450f6c2379a6)

[Compare Source](https://togithub.com/toeverything/icons/compare/34162ca6da7339af39f26229ef90b14efb45143e...fc6422fbd4986000f07ec64f6489450f6c2379a6)

### [`v2.1.47`](https://togithub.com/toeverything/icons/compare/740923da0dcc9eff9f95aab5e6d3bdcf157724db...34162ca6da7339af39f26229ef90b14efb45143e)

[Compare Source](https://togithub.com/toeverything/icons/compare/740923da0dcc9eff9f95aab5e6d3bdcf157724db...34162ca6da7339af39f26229ef90b14efb45143e)

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM0MC4xMCIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
2024-05-07 11:09:38 +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
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
Brooooooklyn d76a635b00 chore(core): handle the telemetry warnings in console (#6793) 2024-05-07 04:28:34 +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
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