EYHN
063c206289
chore: bump blocksuite ( #7489 )
2024-07-15 07:58:26 +00:00
EYHN
7103b2e594
feat(component): new dnd api ( #7467 )
2024-07-15 04:00:42 +00:00
EYHN
dca88e24fe
feat(electron): shared storage ( #7492 )
2024-07-15 03:21:08 +00:00
EYHN
0f1409756e
refactor(infra): memento use undefined ( #7491 )
2024-07-15 02:48:20 +00:00
EYHN
5dd7382693
refactor(core): workbench ( #7355 )
...
Merge the right sidebar logic into the workbench. this can simplify our logic.
Previously we had 3 modules
* workbench
* right-sidebar (Control sidebar open&close)
* multi-tab-sidebar (Control tabs)
Now everything is managed in Workbench.
# Behavioral changes
The sidebar button is always visible and can be opened at any time.
If there is no content to display, will be `No Selection`

Elements in the sidebar can now be defined as`unmountOnInactive=false`. Inactive sidebars are marked with `display: none` but not unmount, so the `ChatPanel` can always remain in the DOM and user input will be retained even if the sidebar is closed.
2024-07-12 04:11:05 +00:00
EYHN
c2f93f9512
fix(infra): failed to get status when database not ready ( #7470 )
2024-07-11 06:40:35 +00:00
EYHN
aab9925aa1
feat(core): adjust search strategy ( #7447 )
2024-07-09 04:27:34 +00:00
EYHN
c62d79ab14
feat(core): run indexer in worker ( #7295 )
2024-07-02 09:18:08 +00:00
EYHN
27d0fc5108
refactor(core): use new backlink indexer ( #7296 )
2024-07-02 09:18:01 +00:00
EYHN
40e381e272
refactor(core): new quick search service ( #7214 )
2024-07-02 09:17:54 +00:00
EYHN
15e99c7819
feat(core): docs search service ( #7213 )
2024-07-02 09:17:47 +00:00
EYHN
3870801ebb
feat(infra): job system ( #7212 )
2024-07-02 09:17:40 +00:00
EYHN
90e4a9b181
feat: doc search infra ( #7166 )
...
detail in `packages/common/infra/src/sync/indexer/README.md`
2024-07-02 08:52:33 +00:00
EYHN
3f8fe5cfae
fix(infra): override saved blocksuite feature flag ( #7399 )
2024-07-01 11:36:32 +00:00
EYHN
3bbb657a78
feat(core): replace ai template ( #7396 )
2024-07-01 10:24:54 +00:00
EYHN
39acb51d87
feat(core): adjust orm api ( #7392 )
...
Removed the `connect` and `disconnect` functions on the orm `DBAdapter`, making the ORM completely non-asynchronous.
2024-07-01 09:32:15 +00:00
EYHN
824be0d4c1
fix(core): fix viewtransition and css property missing ( #7377 )
2024-06-28 18:03:43 +08:00
EYHN
eca484dc28
fix(core): add loading for insert ai template ( #7369 )
2024-06-28 14:19:59 +08:00
EYHN
c6c4ed9711
fix(infra): recover deleted item in orm ( #7359 )
2024-06-27 17:58:47 +08:00
EYHN
3b3b7ec054
chore: bump blocksuite ( #7360 )
2024-06-27 17:53:42 +08:00
EYHN
33bb2b5fcd
feat(infra): use yjs mergeupdate for performance ( #7343 )
2024-06-27 08:14:17 +00:00
EYHN
e892d55134
test: add test for undo empty page ( #7348 )
2024-06-27 06:18:16 +00:00
EYHN
a7ea74923a
fix(templates): use url safe base64 in templates ( #7354 )
2024-06-27 03:44:14 +00:00
EYHN
595b904d24
fix(core): fix ui flickering on startup ( #7349 )
2024-06-27 03:33:14 +00:00
EYHN
dcf766f0ee
feat(core): impl ai onboarding templates ( #7341 )
2024-06-26 13:49:23 +00:00
EYHN
092c639b0a
fix(core): optimize performance when editing doc title ( #7328 )
2024-06-26 07:37:26 +00:00
EYHN
ad746b6376
fix(core): fix error overflow ( #7335 )
2024-06-26 07:25:29 +00:00
EYHN
2d74e4c340
fix(core): fix the page loading style ( #7336 )
2024-06-26 06:20:20 +00:00
EYHN
a93364af01
fix(templates): update stickers ( #7320 )
2024-06-25 03:46:24 +00:00
EYHN
820ecba7cc
fix(core): skip flaky test ( #7319 )
2024-06-25 03:34:15 +00:00
EYHN
6865a52172
chore: bump blocksuite ( #7300 )
...
## Features
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7392 @doouding
- https://github.com/toeverything/BlockSuite/pull/7391 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7387 @zzj3720
## Refactor
## Misc
2024-06-21 09:05:46 +00:00
EYHN
b4212d54ed
chore(core): delete center peek feature flag ( #7281 )
2024-06-20 04:24:47 +00:00
EYHN
ab3d6c9cc8
fix(infra): update load test result empty ( #7282 )
2024-06-20 12:24:12 +08:00
EYHN
e8fdce514f
chore: bump blocksuite ( #7280 )
...
## Features
- https://github.com/toeverything/BlockSuite/pull/7377 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7374 @Flrande
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7381 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7379 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7373 @doouding
## Refactor
## Misc
2024-06-20 03:52:20 +00:00
EYHN
7c0a686cd9
refactor(i18n): new hook api ( #7273 )
...
# NEW HOOK API
`useI18n`: same as `useAFFiNEI18N`, with additional APIs
```ts
import { useI18n } from '@affine/i18n'
const i18n = useI18n()
i18n['hello world']() -> 你好世界
```
# NEW GLOBAL i18n Instance
`I18n`: use i18n capabilities outside of React
```ts
import { I18n } from '@affine/i18n'
I18n['hello world']() -> 你好世界
```
# NEW TYPES
`I18nKeys` -> all i18n keys
`I18nString` -> An i18n message (key&options)
transfer and store i18n text outside of React
```ts
const msg: I18nString = {
key: 'helloworld',
options: {
arg1: '123'
}
}
I18n.t(msg) -> 你好世界123
```
before:
```ts
registerCommand('open-page', {
name: t('command.open-page')
// ^- translation happens here,
})
```
after:
```ts
registerCommand('open-page', {
name: { key: 'command.open-page' }
// ^- store I18nString here, translate when the command render to UI
})
```
2024-06-20 02:19:41 +00:00
EYHN
bcc66422fd
refactor(i18n): i18n utils tools ( #7251 )
2024-06-19 07:38:20 +00:00
EYHN
390852f8be
chore(server): lint ignore error gen file ( #7245 )
2024-06-18 08:48:19 +00:00
EYHN
98258b0211
feat(core): show sync state at doc info ( #7244 )
2024-06-18 08:35:22 +00:00
EYHN
e2dbac6bf8
chore: bump blocksuite ( #7235 )
...
## Features
- https://github.com/toeverything/BlockSuite/pull/7340 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7334 @EYHN
- https://github.com/toeverything/BlockSuite/pull/7339 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7328 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7324 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7297 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7318 @CatsJuice
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7343 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7345 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7341 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7342 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7329 @CatsJuice
- https://github.com/toeverything/BlockSuite/pull/7337 @fundon
- https://github.com/toeverything/BlockSuite/pull/7333 @fundon
- https://github.com/toeverything/BlockSuite/pull/7326 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7325 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7323 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7312 @golok727
- https://github.com/toeverything/BlockSuite/pull/7317 @CatsJuice
- https://github.com/toeverything/BlockSuite/pull/7319 @akumatus
## Refactor
- https://github.com/toeverything/BlockSuite/pull/7327 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7320 @Flrande
## Misc
- https://github.com/toeverything/BlockSuite/pull/7303 @fundon
- https://github.com/toeverything/BlockSuite/pull/7321 @Saul-Mirone
2024-06-17 10:55:40 +00:00
EYHN
ef01b6255e
fix(core): template image assets missing ( #7171 )
...
fix TOV-910
2024-06-08 17:28:24 +00:00
EYHN
b34cfe6c7f
feat(core): enable synced doc block by default ( #7176 )
...
fix AFF-1244
2024-06-08 16:48:25 +00:00
EYHN
f20b78b824
fix(core): ui flash when open setting modal ( #7170 )
...
fix TOV-909
2024-06-07 04:27:13 +00:00
EYHN
d791ab73ba
fix(core): fix active view undefined ( #7161 )
2024-06-06 07:53:37 +00:00
EYHN
6abb401a2c
fix(core): remove extra console log ( #7160 )
2024-06-06 07:39:59 +00:00
EYHN
c8242fc066
refactor(core): remove unused trash relate data ( #7142 )
...
This parameter seemed to always be undefined, I decided to remove it.
2024-06-05 03:13:15 +00:00
EYHN
84c79f4dcf
fix(core): move to trash confirm modal missing ( #7143 )
...
move `MoveToTrash.ConfirmModal` from `RootAppSidebar ` to `CurrentWorkspaceModals `
2024-06-05 03:01:14 +00:00
EYHN
f67108c6f7
fix(core): fetch share docs on non-cloud workspace ( #7144 )
2024-06-04 09:45:35 +00:00
EYHN
b356ddbe6e
fix(core): fix ui flashing ( #7056 )
2024-05-27 08:05:20 +00:00
EYHN
306cf2ae6f
fix(core): unexpected re-render in edgeless ( #7077 )
2024-05-27 07:52:00 +00:00
EYHN
a440e85ffe
chore: bump blocksuite ( #7075 )
...
## Features
- toeverything/blocksuite#6937 @Flrande
## Bugfix
- toeverything/blocksuite#7137 @fundon
- toeverything/blocksuite#7126 @golok727
- toeverything/blocksuite#7128 @CatsJuice
- toeverything/blocksuite#7130 @fundon
## Refactor
## Misc
- toeverything/blocksuite#7131 @fundon
## Additional changes
Adjust the awareness provider so that it only obtains awareness instances when connect, and fixes the dependencies between workspace components.
2024-05-27 05:11:12 +00:00
EYHN
d5c93f10ac
fix(core): cant leave workspace ( #6999 )
2024-05-21 03:41:03 +00:00
EYHN
7fddd14f72
fix(core): fix active view with mouse ( #6994 )
2024-05-20 08:19:53 +00:00
EYHN
4ebe8f5fb4
chore(core): improve export snapshot tool ( #6863 )
2024-05-13 04:00:47 +00:00
EYHN
f5dceda0cc
fix(core): mixpanel error when opt-out ( #6861 )
2024-05-10 03:58:45 +00:00
EYHN
8d8bd49600
chore(infra): remove compatible code ( #6833 )
2024-05-08 09:06:33 +00:00
EYHN
e00c697694
fix(core): windows app controls missing ( #6832 )
...
fix #6825
2024-05-08 08:17:37 +00:00
EYHN
35ce4adffe
fix(core): fix error when server not support ai ( #6796 )
2024-05-07 08:25:27 +00:00
EYHN
61d0e14c8b
fix(core): fix too many subscription request ( #6809 )
2024-05-07 07:07:28 +00:00
EYHN
4751081919
chore: fix blocksuite changelog commit range ( #6791 )
2024-05-07 06:43:54 +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
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
EYHN
0a1241436f
fix(templates): fix typo ( #6750 )
2024-04-30 08:54:24 +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
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 )
...

2024-04-29 12:13:16 +00:00
EYHN
1d3c477c65
chore: enable source map on production ( #6731 )
2024-04-29 09:42:35 +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
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
EYHN
236c6e00df
fix(infra): reduce workspace avatar request ( #6713 )
2024-04-28 07:06:27 +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
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 )
...

2024-04-25 04:39:25 +00:00
EYHN
e5baa81a50
chore: bump blocksuite ( #6673 )
2024-04-23 08:39:23 +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
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 )
...

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
EYHN
5e243de392
feat(server): auto refresh session ( #6613 )
2024-04-19 07:00:12 +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
EYHN
6a23fe37a7
feat(core): reduce profile loading time ( #6616 )
2024-04-18 15:23:12 +00:00
EYHN
08cd940e6b
fix(server): fix unstable test ( #6621 )
2024-04-18 14:53:24 +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
EYHN
f86646b931
feat(core): enrich pwa manifest.json ( #6599 )
2024-04-17 19:14:25 +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
EYHN
c83d090282
fix(core): revalidate subscription info when open ai usage panel ( #6591 )
2024-04-17 16:36:12 +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
EYHN
8bb597d7ad
fix(core): fix flaky e2e ( #6559 )
2024-04-15 07:11:36 +00:00
EYHN
d11d69ddf6
feat(core): move help island to workbench ( #6535 )
2024-04-15 02:29:15 +00:00