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
Peng Xiao
8c4a42f0e6
fix: cmd-k keybinding not show when editor input is active ( #7398 )
2024-07-01 19:31:36 +08:00
JimmFly
f15d1911ee
refactor(core): remove the automatic URL change feature ( #7339 )
...
close [AF-954](https://linear.app/affine-design/issue/AF-954/center-peek-中-editor-selection-变化不应修改-location-hash )
Since the URL changes constantly with the selection, causing the editor to render frequently and also affecting the use of center peek, we decided to remove the function of automatically changing the URL.
2024-06-27 05:52:04 +00:00
EYHN
092c639b0a
fix(core): optimize performance when editing doc title ( #7328 )
2024-06-26 07:37:26 +00:00
forehalo
7b3673ae82
chore: assign todos ( #7297 )
2024-06-21 07:54:14 +00:00
CatsJuice
1fdfa834a0
feat(core): responsive detail page header ( #7263 )
2024-06-20 05:47:43 +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
L-Sun
09201d42a0
chore: bump up @blocksuite/icons version ( #7233 )
2024-06-18 17:07:11 +08: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
pengx17
1439d00b61
feat: add search doc modal ( #7136 )
2024-06-06 06:29:36 +00:00
pengx17
de81527e29
refactor: move command registry to frontend/core ( #7135 )
...
move command registeration related logic out of infra module.
2024-06-05 14:09:20 +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
f67108c6f7
fix(core): fetch share docs on non-cloud workspace ( #7144 )
2024-06-04 09:45:35 +00:00
pengx17
2ca77d9170
refactor: find in page ( #7086 )
...
- refactor rxjs data flow
- use canvas text to mitigate searchable search box input text issue
2024-05-28 06:19:53 +00:00
JimmFly
bd9c929d05
feat(core): cmd+f search in doc function ( #7040 )
...
You can use the cmd+F shortcut key to trigger the FindInPage function.
2024-05-28 06:19:48 +00:00
EYHN
b356ddbe6e
fix(core): fix ui flashing ( #7056 )
2024-05-27 08:05:20 +00:00
JimmFly
609766d898
refactor(core): replace history to ViewService.history ( #6972 )
...
upstream: #6966
2024-05-22 04:01:33 +00:00
JimmFly
10015c59b7
feat(core): add private anchor link for sharing ( #6966 )
...
close AFF-1085
2024-05-16 13:35:02 +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
CatsJuice
301cc188ca
fix(core): adjust ai onboarding copywriting and local onboarding actions ( #6834 )
2024-05-08 09:18:17 +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
CatsJuice
6ec97b27c4
feat(core): open desktop directly in subscription landing page ( #6661 )
2024-04-22 14:21:58 +00:00
EYHN
09832dc940
feat(core): add subscribe link ( #6610 )
2024-04-18 13:28:32 +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
EYHN
06fda3b62c
feat(infra): framework
2024-04-17 15:09:09 +08:00
JimmFly
cbba5d3c17
fix(core): the page flashes when click the share button ( #6557 )
...
close TOV-706
2024-04-15 07:39:03 +00:00
CatsJuice
257e946d5d
feat(core): add ai onboarding ( #6544 )
2024-04-15 07:25:31 +00:00
pengx17
e1eb925704
refactor(core): remove copilot client from presets ( #6546 )
...
depends on https://github.com/toeverything/blocksuite/pull/6748
2024-04-15 05:31:32 +00:00
donteatfriedrice
7b35722288
feat: bump blocksuite ( #6541 )
...
## Features
- https://github.com/toeverything/BlockSuite/pull/6737 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/6735 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6740 @regischen
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/6744 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6742 @doouding
## Refactor
## Misc
- https://github.com/toeverything/BlockSuite/pull/6741 @fundon
2024-04-15 03:06:38 +00:00
CatsJuice
6a535b94c3
feat(core): create and open cloud workspace if not exists after logged in ( #6511 )
...
Only execute when `initCloud=true` is specified in the URL search params.
2024-04-12 09:55:45 +00:00
EYHN
c92bec0ebb
chore: bump blocksuite ( #6448 )
...
## Features
- https://github.com/toeverything/BlockSuite/pull/6679 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6620 @doouding
- https://github.com/toeverything/BlockSuite/pull/6602 @golok727
- https://github.com/toeverything/BlockSuite/pull/6661 @Flrande
- https://github.com/toeverything/BlockSuite/pull/6591 @fundon
- https://github.com/toeverything/BlockSuite/pull/6634 @golok727
- https://github.com/toeverything/BlockSuite/pull/6626 @regischen
- https://github.com/toeverything/BlockSuite/pull/6630 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/6605 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6614 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/6508 @doouding
- https://github.com/toeverything/BlockSuite/pull/6578 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6572 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/6571 @golok727
- https://github.com/toeverything/BlockSuite/pull/6573 @fundon
- https://github.com/toeverything/BlockSuite/pull/6580 @Flrande
- https://github.com/toeverything/BlockSuite/pull/6540 @golok727
- https://github.com/toeverything/BlockSuite/pull/6567 @Flrande
- https://github.com/toeverything/BlockSuite/pull/6565 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/6561 @zzj3720
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/6677 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6681 @fundon
- https://github.com/toeverything/BlockSuite/pull/6673 @fundon
- https://github.com/toeverything/BlockSuite/pull/6652 @fundon
- https://github.com/toeverything/BlockSuite/pull/6641 @fourdim
- https://github.com/toeverything/BlockSuite/pull/6649 @golok727
- https://github.com/toeverything/BlockSuite/pull/6648 @doouding
- https://github.com/toeverything/BlockSuite/pull/6662 @Flrande
- https://github.com/toeverything/BlockSuite/pull/6659 @zkwolf
- https://github.com/toeverything/BlockSuite/pull/6644 @doouding
- https://github.com/toeverything/BlockSuite/pull/6633 @golok727
- https://github.com/toeverything/BlockSuite/pull/6632 @golok727
- https://github.com/toeverything/BlockSuite/pull/6622 @RubaXa
- https://github.com/toeverything/BlockSuite/pull/6622 @RubaXa
- https://github.com/toeverything/BlockSuite/pull/6622 @RubaXa
- https://github.com/toeverything/BlockSuite/pull/6622 @RubaXa
- https://github.com/toeverything/BlockSuite/pull/6622 @RubaXa
- https://github.com/toeverything/BlockSuite/pull/6600 @fourdim
- https://github.com/toeverything/BlockSuite/pull/6617 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/6618 @Flrande
- https://github.com/toeverything/BlockSuite/pull/6576 @fundon
- https://github.com/toeverything/BlockSuite/pull/6595 @fundon
- https://github.com/toeverything/BlockSuite/pull/6596 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/6574 @fundon
- https://github.com/toeverything/BlockSuite/pull/6593 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/6588 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/6590 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/6589 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/6584 @lawvs
- https://github.com/toeverything/BlockSuite/pull/6579 @fundon
- https://github.com/toeverything/BlockSuite/pull/6538 @golok727
- https://github.com/toeverything/BlockSuite/pull/6570 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/6569 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/6564 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/6563 @zzj3720
## Refactor
- https://github.com/toeverything/BlockSuite/pull/6683 @doodlewind
- https://github.com/toeverything/BlockSuite/pull/6668 @Flrande
- https://github.com/toeverything/BlockSuite/pull/6635 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6653 @fundon
- https://github.com/toeverything/BlockSuite/pull/6615 @Flrande
- https://github.com/toeverything/BlockSuite/pull/6534 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/6553 @golok727
## Misc
- chore(examples): cleanup types
- https://github.com/toeverything/BlockSuite/pull/6664 @fourdim
- https://github.com/toeverything/BlockSuite/pull/6657 @fourdim
- https://github.com/toeverything/BlockSuite/pull/6654 @fourdim
- https://github.com/toeverything/BlockSuite/pull/6587 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/6562 @donteatfriedrice
2024-04-10 12:25:37 +00:00
liuyi
6fa4b7da54
feat(core): avoid popup window being blocked ( #6451 )
2024-04-03 16:50:09 +08:00
CatsJuice
9127bfae67
refactor(core): replace all notification relies on jotai ( #6417 )
...
- remove all notification that implemented with jotai and replaced with new `notify`
- Add some notify presets:
- `notify.error`
- `notify.success`
- `notify.warning`
2024-04-02 03:19:07 +00:00
CatsJuice
f4e1e23120
feat(core): add cloud usage in sidebar avatar menu ( #6400 )
...
- Extract logic of getting cloud storage usage information into new hook
- Move `<StorageProgress />`: `component` → `core`
- Set minimum progress `0.5%`
- Add cloud usage progress bar in sidebar user avatar's dropdown

2024-04-01 07:41:20 +00:00
CatsJuice
af2158cb0c
feat(core): compatible with multiple subscriptions ( #6277 )
2024-04-01 07:28:33 +00:00
Brooooooklyn
822bbb54a4
chore(core): add more telemetry ( #6402 )
2024-03-30 07:46:23 +00:00
pengx17
c7e10c2283
feat(core): fav item reordering ( #6302 )
2024-03-29 04:04:27 +00:00
pengx17
35af526eb2
feat: allow collections to be added to favorites ( #6288 )
2024-03-29 04:04:17 +00:00
pengx17
5490944d04
refactor(core): favorite adapter ( #6285 )
...
1. abstraction over favourites that supports different type of resources
2. sorting abstraction
2024-03-29 04:04:08 +00:00
CatsJuice
605a5abee8
fix(core): user info should be updated when session reloaded ( #6382 )
2024-03-29 03:25:13 +00:00
CatsJuice
35715ab1d8
feat(core): sidebar local workspace enable cloud directly ( #6366 )
...
- Add a new hook `useEnableClould`, remove `<EnableAffineClouldModal />`
- Sidebar local workspace list item support enable AFFiNE Cloud
2024-03-29 02:08:09 +00:00
JimmFly
88d04e23e9
feat(core): update i18n resources ( #6362 )
...
close TOV-769
<img width="712" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/902a0771-e8df-46e2-8d7c-1f453a7099e6 ">
2024-03-28 10:11:25 +00:00
EYHN
ba9dad95b4
fix(core): improve performance ( #6345 )
2024-03-27 14:01:54 +00:00
fundon
8ee9f6ec05
chore: improve password error message ( #6255 )
...
chore: improve error message
chore: add password minlength & maxlength i18n
chore: check max length
fix: i18n variables
feat: add CredentialsRequirementType
2024-03-26 07:15:06 +00:00
EYHN
f2adbdaba4
style: enable import-x/no-duplicates ( #6279 )
2024-03-25 03:55:33 +00:00
EYHN
7ce2bfbf0b
style: no import infra submodule ( #6278 )
2024-03-25 03:55:29 +00:00