forehalo
0ec1995add
fix(admin): organize admin panel ( #7840 )
2024-08-13 14:51:54 +08:00
forehalo
69c64b2fc2
fix(core): checkout event ( #7844 )
2024-08-13 03:35:38 +00:00
pengx17
7fca13076a
feat: mid click links to open in new tab ( #7784 )
...
fix AF-1200
2024-08-08 09:43:35 +00:00
pengx17
ae9381c36d
feat: allow opening new tab for some navigation buttons ( #7764 )
...
fix AF-1010
2024-08-07 06:43:10 +00:00
JimmFly
eb01e76426
feat(core): add track events for cmdk ( #7668 )
2024-08-07 05:52:42 +00:00
JimmFly
74025fc85e
feat(core): add track events for editor header ( #7661 )
...
close AF-1054
2024-08-07 05:52:40 +00:00
pengx17
b5e543c406
feat(electron): mouse middle click to close tab ( #7759 )
...
fix AF-1200
2024-08-07 05:19:45 +00:00
liuyi
d0f1bb24fd
chore(core): replace with new track impl ( #7735 )
2024-08-06 09:15:15 +00:00
EYHN
cd4e462d8c
fix(core): transform workspace db when enable cloud ( #7744 )
2024-08-05 15:17:19 +00:00
CatsJuice
3d855647c7
refactor(component): refactor the implementation of Button and IconButton ( #7716 )
...
## Button
- Remove props withoutHoverStyle
refactor hover impl with independent layer, so that hover-color won't affect the background even if is overridden outside
- Update `type` (renamed to `variant`):
- remove `processing` and `warning`
- rename `default` with `secondary`
- Remove `shape` props
- Remove `icon` and `iconPosition`, replaced with `prefix: ReactNode` and `suffix: ReactNode`
- Integrate tooltip for more convenient usage
- New Storybook document
- Focus style
## IconButton
- A Wrapper base on `<Button />`
- Override Button size and variant
- size: `'12' | '14' | '16' | '20' | '24' | number`
These presets size are referenced from the design system.
- variant: `'plain' | 'solid' | 'danger' | 'custom'`
- Inset icon via Button 's prefix
## Fix
- fix some button related issues
- close AF-1159, AF-1160, AF-1161, AF-1162, AF-1163, AF-1158, AF-1157
## Storybook

2024-08-05 02:57:23 +00:00
EYHN
553fbed60f
feat(core): add globalcontext info to mixpanel track ( #7681 )
2024-08-01 09:29:31 +00:00
EYHN
ab92efcfc0
feat(core): improve mixpanel ( #7652 )
...
move @affine/core/utils/mixpanel -> @affine/core/mixpanel
now you can debug mixpanel on browser devtool

2024-07-30 13:22:17 +00:00
pengx17
1efc1d0f5b
feat(electron): multi tabs support ( #7440 )
...
use https://www.electronjs.org/docs/latest/api/web-contents-view to serve different tab views
added tabs view manager in electron to handle multi-view actions and events.
fix AF-1111
fix AF-999
fix PD-1459
fix AF-964
PD-1458
2024-07-29 11:05:22 +00:00
EYHN
3eb09cde5e
feat(core): new favorite ( #7590 )
2024-07-26 08:15:32 +00:00
EYHN
54da85ec62
feat(core): init organize ( #7456 )
2024-07-26 04:35:32 +00:00
CatsJuice
a714961b20
feat(core): adjust subscription related mixpanel ( #7536 )
2024-07-26 02:49:15 +00:00
donteatfriedrice
dd6901fe15
feat: bump blocksuite ( #7603 )
...
## Features
- https://github.com/toeverything/BlockSuite/pull/7717 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7691 @L-Sun
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7720 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7719 @doouding
## Refactor
- https://github.com/toeverything/BlockSuite/pull/7703 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7694 @doouding
- https://github.com/toeverything/BlockSuite/pull/7700 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7716 @doodlewind
## Misc
2024-07-25 07:26:40 +00:00
EYHN
98281a6394
refactor(component): adjust confirm modal api ( #7589 )
2024-07-24 08:18:33 +00:00
CatsJuice
4f718cffbf
feat(core): subscribe changed notification and typeform link ( #7522 )
2024-07-18 04:20:21 +00:00
forehalo
2f441d9335
chore: clean up runtime flags and envs ( #7454 )
2024-07-11 02:05:31 +00:00
JimmFly
e6818b4f14
feat(core): add doc info modal ( #7409 )
...
close AF-1038
close AF-1039
close AF-1040
close AF-1046
A popup window has been added to facilitate viewing of this doc's info in edgeless mode and other modes.
https://github.com/toeverything/AFFiNE/assets/102217452/d7f94cb6-7e32-4ce7-8ff4-8aba1309b331
2024-07-09 07:05:20 +00:00
pengx17
8dfa601771
chore: populate page prop for mixpanel ( #7425 )
2024-07-05 07:45:39 +00:00
pengx17
fc729d6a32
fix: hide find in page command in cmdk ( #7413 )
2024-07-02 15:48:24 +00:00
pengx17
ef7ba273ab
fix: copy share link to clipboard command display issue ( #7411 )
...
fix AF-1027
2024-07-02 15:28:30 +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
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