Commit Graph
71 Commits
Author SHA1 Message Date
Saul-Mirone 901965b61e refactor(editor): remove components in blocks/_common (#9401) 2024-12-28 01:10:23 +00:00
Saul-Mirone 6ebefbbf2b refactor(editor): extract code block (#9397) 2024-12-27 14:45:11 +00:00
Saul-Mirone cbfe38b189 refactor(editor): add middlewares in shared adapter (#9395) 2024-12-27 12:32:44 +00:00
Saul-Mirone 76d9712f21 chore(editor): remove pie menu (#9394) 2024-12-27 12:32:42 +00:00
Saul-Mirone 003ce4c9e9 refactor(editor): extract divider block (#9393) 2024-12-27 12:12:17 +00:00
Saul-Mirone 80dc0e8271 refactor(editor): extract edgeless text (#9375) 2024-12-27 10:48:12 +00:00
Saul-Mirone 5c4058cd73 fix(editor): dnd lag (#9378) 2024-12-27 10:34:00 +00:00
Saul-Mirone 6da10f9a93 refactor(editor): merge get surface util (#9371) 2024-12-27 09:42:13 +00:00
Saul-Mirone 1fbb462389 fix(editor): move insert link command to bookmark to remove ts ignore (#9370) 2024-12-27 09:09:29 +00:00
Saul-Mirone 2b27d62b0e refactor(editor): cleanup ts-expect-error (#9369) 2024-12-27 05:14:23 +00:00
Saul-Mirone 3ae3ae98c8 refactor(editor): extract edgeless legacy slots (#9363) 2024-12-27 04:22:52 +00:00
Saul-Mirone 5eb48343a3 chore(editor): cleanup dead code (#9359) 2024-12-27 03:13:23 +00:00
Mirone 0c849e12c6 fix(editor): crud this error (#9350) 2024-12-26 19:32:34 +08:00
Mirone 37747369bc fix(editor): missing edgeless crud piece (#9347) 2024-12-26 11:06:06 +00:00
Saul-Mirone d60e9a3885 fix(editor): block selection delete conflict with native selection (#9340)
Closes: [BS-2228](https://linear.app/affine-design/issue/BS-2228/[bug]-选区删除拖拽失灵)
2024-12-26 09:46:39 +00:00
Saul-Mirone 6afa1d542f feat(editor): add edgeless crud extension (#9335) 2024-12-26 08:58:06 +00:00
Saul-Mirone fd872943b1 feat: extract latex block (#9327) 2024-12-26 06:13:07 +00:00
Saul-Mirone 90173b2fa3 chore(editor): remove typedoc json (#9324) 2024-12-26 05:13:41 +00:00
Saul-Mirone fc5999a482 refactor(editor): extract frame block (#9322) 2024-12-26 04:45:11 +00:00
Saul-Mirone fad0237d94 refactor(editor): extract html adapter to shared (#9319) 2024-12-26 04:05:10 +00:00
Saul-Mirone 37e44e0341 fix(editor): re-init after yText change in inline editor (#9312)
Closes: [BS-2143](https://linear.app/affine-design/issue/BS-2143/block通过drag-handle拖动位置后,无法输入)
2024-12-26 03:51:07 +00:00
Saul-Mirone 0220ba4572 fix: should bring children to new doc created (#9316)
Closes: [BS-2186](https://linear.app/affine-design/issue/BS-2186/created-linked-doc-%E6%97%B6%EF%BC%8C%E4%BC%9A%E6%B8%85%E9%99%A4list%E7%9A%84-children)
2024-12-26 03:37:10 +00:00
Saul-Mirone a595a145f0 fix(editor): should remove drag preview after drop (#9313)
Closes: [BS-2219](https://linear.app/affine-design/issue/BS-2219/拖拽后,原编辑器内容有残留)
2024-12-26 02:41:09 +00:00
Saul-Mirone 2ffd0e561c refactor(editor): extract note block (#9310) 2024-12-26 01:30:44 +00:00
Saul-Mirone 5274441e14 refactor(editor): extract image block (#9309) 2024-12-25 13:26:29 +00:00
Saul-Mirone ebd97752bf refactor(editor): extract attachment block (#9308) 2024-12-25 12:19:58 +00:00
Saul-Mirone d8bc145465 refactor(editor): extract bookmark block (#9304) 2024-12-25 11:22:29 +00:00
Saul-Mirone 7c84545647 refactor(editor): cleanup dead code (#9300) 2024-12-25 07:48:00 +00:00
Saul-Mirone 16c59d96d9 refactor(editor): move menu context to components (#9302) 2024-12-25 07:34:04 +00:00
Saul-Mirone 50ff3655e5 refactor(editor): extensionalize html adapter (#9299) 2024-12-25 04:04:51 +00:00
Saul-Mirone d63ba079ee refactor(editor): cleanup dead code (#9294) 2024-12-24 15:27:36 +00:00
Saul-Mirone f5dea2a990 refactor(editor): remove legacy dnd config (#9291) 2024-12-24 13:59:36 +00:00
Saul-Mirone cd830d6f81 refactor(editor): extract ai item component (#9283) 2024-12-24 09:41:45 +00:00
Saul-Mirone 190e7e6f30 refactor(editor): extract common components (#9282) 2024-12-24 08:41:22 +00:00
Saul-Mirone 4ce5cf20c3 refactor(editor): extract filterable list component (#9278) 2024-12-24 05:14:22 +00:00
Saul-Mirone ea0a345533 refactor(editor): extract common components (#9277) 2024-12-24 04:42:53 +00:00
Saul-Mirone b29cb5945a refactor(editor): move file drop manager to components (#9264) 2024-12-24 02:20:03 +00:00
Saul-Mirone 989e318c57 chore: adjust tsconfig for blocksuite (#9259)
change `moduleResolution` to `bundler`
2024-12-23 13:10:55 +00:00
Saul-Mirone 17e6e7fede fix: typo in reactive text (#9260) 2024-12-23 12:23:56 +00:00
Saul-Mirone 23dcaa9cb7 refactor: remove legacy drag handle logic (#9246) 2024-12-23 08:13:05 +00:00
Saul-Mirone e0d2f50914 fix: drop on editor should prevent default (#9239) 2024-12-23 03:40:04 +00:00
Mirone ec5bbb442f ci: add code owners for blocksuite (#9234) 2024-12-23 11:05:36 +08:00
Saul-Mirone ea6a05632b ci: shard vitest to speed up unit test (#9235) 2024-12-21 03:37:20 +00:00
Saul-Mirone 3a82da0e5b chore: fix eslint in blocksuite (#9232) 2024-12-20 16:48:10 +00:00
Saul-Mirone bfcc53dc1f chore: migrate blocksuite test (#9222) 2024-12-20 11:08:21 +00:00
Mirone 30200ff86d chore: merge blocksuite source code (#9213) 2024-12-20 15:38:06 +08:00
Saul-Mirone e13f9d3885 feat: enable new dnd flag (#9194) 2024-12-18 05:53:08 +00:00
Saul-Mirone f780316f8b feat: add feature flag for new dnd (#8949) 2024-11-28 03:42:02 +00:00
Saul-Mirone 35e232c61c feat: migrate to blocksuite/affine (#8332)
Use `@blocksuite/affine` package for all blocksuite features in affine.

```ts
@blocksuite/store -> @blocksuite/affine/store
@blocksuite/global -> @blocksuite/affine/global
@blocksuite/block-std -> @blocksuite/affine/block-std
@blocksuite/blocks -> @blocksuite/affine/blocks
@blocksuite/presets -> @blocksuite/affine/presets
```
2024-09-20 10:55:47 +00:00
Saul-Mirone b73d3b3d55 ci: adjust renovate config for bs (#8298) 2024-09-18 10:17:09 +00:00
Saul-Mirone bafed8ed01 chore: bump bs to 0.17.10 (#8251)
-   e0d0016: - Fix database performance issue
    -   Fix frame panel display issue
    -   Fix editor settings for color with transparency
    -   Fix portal in modals
    -   Fix group selection rendering delay
    -   Remove unused and duplicated code
    -   Improve frame model
    -   Improve ParseDocUrl service
    -   Support custom max zoom
2024-09-13 12:13:22 +00:00
Saul-Mirone 445acfa323 chore: bump bs (#8227) 2024-09-13 02:10:16 +00:00
Saul-Mirone ba81b1a9ca chore: bump bs (#8204) 2024-09-11 12:04:26 +00:00
Saul-Mirone daa9d9ff5c chore: bump bs (#8189) 2024-09-10 13:48:08 +00:00
Saul-Mirone 32d3769201 chore: bump bs (#8153) 2024-09-07 04:08:22 +00:00
Saul-Mirone 84ebe62edc chore: bump bs to lts (#8147) 2024-09-06 10:54:19 +00:00
Saul-Mirone 681f4561fb chore: bump bs (#8071) 2024-09-03 12:12:59 +00:00
Saul-Mirone 56f4634c1f chore: bump bs with new extension api (#8042) 2024-09-02 10:32:22 +00:00
Saul-Mirone 6b0c398ae5 chore: bump bs (#7914) 2024-08-20 00:24:01 +00:00
Saul-Mirone c7217ed443 chore: bump blocksuite 240730 (#7662)
## Features
- https://github.com/toeverything/BlockSuite/pull/7761 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7755 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7598 @Flrande

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7769 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7766 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7767 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7726 @siyou
- https://github.com/toeverything/BlockSuite/pull/7765 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7763 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7764 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7760 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7742 @fundon
- https://github.com/toeverything/BlockSuite/pull/7754 @fundon
- https://github.com/toeverything/BlockSuite/pull/7756 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7752 @zzj3720

## Refactor
- https://github.com/toeverything/BlockSuite/pull/7758 @doodlewind
- https://github.com/toeverything/BlockSuite/pull/7750 @doodlewind
- https://github.com/toeverything/BlockSuite/pull/7746 @fundon

## Misc
- https://github.com/toeverything/BlockSuite/pull/7744 @Saul-Mirone
2024-07-31 01:38:53 +00:00
Saul-Mirone bd0279730c chore: bump blocksuite canary (#7558)
## Features

## Bugfix

## Refactor
- https://github.com/toeverything/BlockSuite/pull/7697 @Saul-Mirone

## Misc
2024-07-20 09:14:16 +00:00
Saul-Mirone 988f3a39f8 chore: bump blocksuite again (#7557)
## Features

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7686 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7692 @Saul-Mirone

## Refactor

## Misc
2024-07-19 15:37:10 +00:00
Saul-Mirone 6dbcb62da7 chore: bump blocksuite (#7546)
## Features
- https://github.com/toeverything/BlockSuite/pull/7659 @donteatfriedrice

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7682 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7641 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7685 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7680 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7679 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7676 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7675 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7670 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7672 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7668 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7664 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7665 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7662 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7658 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7654 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7648 @undefined
- https://github.com/toeverything/BlockSuite/pull/7653 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7651 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7647 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7671 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7656 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7643 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7666 @doodlewind
- https://github.com/toeverything/BlockSuite/pull/7645 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7637 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7639 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7636 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7633 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7630 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7629 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7627 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7625 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7623 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7599 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7621 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7619 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7614 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7613 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7611 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7609 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7594 @fundon
- https://github.com/toeverything/BlockSuite/pull/7593 @fundon

## Refactor
- https://github.com/toeverything/BlockSuite/pull/7634 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7616 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7617 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7603 @Saul-Mirone

## Misc
- https://github.com/toeverything/BlockSuite/pull/7604 @Saul-Mirone

## Features

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7688 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7690 @Saul-Mirone

## Refactor

## Misc
2024-07-19 05:06:26 +00:00
Saul-Mirone f020cd353e chore: bump bs (#7368)
## Features

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7444 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7445 @doouding
- https://github.com/toeverything/BlockSuite/pull/7443 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7440 @doouding

## Refactor
- https://github.com/toeverything/BlockSuite/pull/7442 @Flrande

## Misc
2024-06-28 04:10:46 +00:00
Saul-Mirone 5855f72b5b chore: bump blocksuite to 0.15.0-canary-202406070336-e104622 (#7172)
## Features
- https://github.com/toeverything/BlockSuite/pull/7238 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7236 @Saul-Mirone

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7232 @fundon
- https://github.com/toeverything/BlockSuite/pull/7219 @oliseviche

## Refactor
- https://github.com/toeverything/BlockSuite/pull/7239 @donteatfriedrice

## Misc
- https://github.com/toeverything/BlockSuite/pull/7227 @pengx17
2024-06-07 04:14:59 +00:00
Mirone 0d70d3727d fix: preloading issues caused by reference change in template (#4009) 2023-08-29 05:33:08 -05:00
Mirone d8d6620c5f chore: bump blocksuite version (#3798) 2023-08-16 22:57:21 -05:00
Mirone f06efd4d02 chore: remove dependency of blocksuite/blocks/std (#3667) 2023-08-10 16:36:28 +00:00
Mirone 629a3d11c6 chore: bump blocksuite version (#3654) 2023-08-10 00:19:24 -04:00
Mirone 84c8828e8c feat: add migration script for database (#2854) 2023-06-26 12:16:30 +08:00
Mironeandhimself65 707d585698 feat: add subdoc migration script (#2820)
Co-authored-by: himself65 <himself65@outlook.com>
2023-06-20 11:20:12 +08:00