Commit Graph

776 Commits

Author SHA1 Message Date
L-Sun
622715d2f3
feat(core): outline viewer (quick toc) (#7614)
Close: [BS-949](https://linear.app/affine-design/issue/BS-949/outline-viewer-加入到affine)

Details  are in this PR: https://github.com/toeverything/blocksuite/pull/7704
2024-07-29 10:19:57 +00:00
EYHN
0472ffe569
feat(core): support sidebar collapse (#7630) 2024-07-29 09:57:33 +00:00
donteatfriedrice
ab11f09b83
feat: bump blocksuite (#7634)
## Features
- https://github.com/toeverything/BlockSuite/pull/7704 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7733 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7585 @fundon

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7749 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7745 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7737 @fundon
- https://github.com/toeverything/BlockSuite/pull/7734 @fundon
- https://github.com/toeverything/BlockSuite/pull/7735 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7730 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7718 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7723 @Flrande

## Refactor
- https://github.com/toeverything/BlockSuite/pull/7738 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7731 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7732 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7724 @doouding
- https://github.com/toeverything/BlockSuite/pull/7725 @doodlewind

## Misc
- https://github.com/toeverything/BlockSuite/pull/7748 @doodlewind
- https://github.com/toeverything/BlockSuite/pull/7721 @fundon
- https://github.com/toeverything/BlockSuite/pull/7729 @fundon
- https://github.com/toeverything/BlockSuite/pull/7728 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7595 @fundon
2024-07-29 08:42: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
EYHN
549e7befed
fix(core): stuck when quick switch doc mode (#7599) 2024-07-25 12:21:21 +00:00
forehalo
90c00b6db9
Revert "fix(server): wrong usage of optl (#6714)"
This reverts commit 4868f6e611.
2024-07-19 11:31:01 +08:00
L-Sun
9160469a18
fix(core): can not preview image in shared page (#7466)
FIx BS-798
2024-07-18 06:33:52 +00:00
Chen
ccac7a883c
feat: bump blocksuite (#7526) 2024-07-17 18:30:46 +08:00
forehalo
4868f6e611
fix(server): wrong usage of optl (#6714) 2024-07-17 08:17:14 +00:00
EYHN
063c206289
chore: bump blocksuite (#7489) 2024-07-15 07:58:26 +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
LongYinan
ba356f4412
fix(native): async fn compile error (#7435) 2024-07-08 15:04:37 +08:00
pengx17
cc7740d8d3
fix: some regression issues on quick search refactor (#7410)
- fix PD-1370. doc link resolve issue on pasting
- fix AF-1029
- implement doc creation in doc search

added two test cases to cover the above two issues.
2024-07-03 03:24:50 +00:00
pengx17
2a6ea3c9c6
feat(core): allow keyboard navigation in tags inline editor (#7378)
fix AF-966

- Allow using arrowup/down to navigate the tag list candidates; press enter to add the currently focused tag option;
- Allow using arrowleft/right to navigate the inline tag list (selected) and use backspace to delete focused tag.
2024-07-02 14:25:51 +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
forehalo
ae230354c6
chore: bump base version to 0.15.0 2024-06-27 18:17:36 +08:00
EYHN
e892d55134
test: add test for undo empty page (#7348) 2024-06-27 06:18:16 +00:00
pengx17
7baa260e97
refactor(core): image block use peek view workflow (#7329)
depends on https://github.com/toeverything/blocksuite/pull/7424
2024-06-26 07:49:25 +00:00
pengx17
f51da066a8
refactor: image preview component issues in center peek (#7313)
fix AF-948

- remove jotai
- every editor got its own image block modal
- image block uses center peek modal for animation and style
2024-06-25 07:34:18 +00:00
EYHN
820ecba7cc
fix(core): skip flaky test (#7319) 2024-06-25 03:34:15 +00:00
forehalo
7b3673ae82
chore: assign todos (#7297) 2024-06-21 07:54:14 +00:00
regischen
ddf72733e1 feat: add ai-is-land (#7259) 2024-06-20 02:52:14 +00:00
JimmFly
6c3e13316e
feat(i18n): update resources and add Swedish language (#7247)
close AFF-1279
2024-06-19 02:47:05 +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
fundon
729631ea72
refactor(core): image preview toolbar UI (#7207)
Closes: [AFF-1257](https://linear.app/affine-design/issue/AFF-1257/image-preview-toolbar)

* refactor logic
* update UI style

<img width="617" alt="Screenshot 2024-06-13 at 07 21 52" src="https://github.com/toeverything/AFFiNE/assets/27926/1edc6476-0103-4214-8ef2-41b37d95287b">
<img width="760" alt="Screenshot 2024-06-13 at 07 21 33" src="https://github.com/toeverything/AFFiNE/assets/27926/83d27ab2-143f-4bdd-a932-396289c598ec">
2024-06-14 02:02:46 +00:00
akumatus
24cb0d3757
refactor: add docsService for blocksuite to change and observe doc mode (#7200)
This PR provide `DocModeService` to manage document mode, which is used by blocksuite.

### What Changed?
- Add document mode apis from `DocService` and `DocsService`
- Remove useless `pageService.getEditorMode` and `pageService.slots.editorModeSwitch` api

[Related PR in blocksuite](https://github.com/toeverything/blocksuite/pull/7288)

[Bump Blocksuite](https://github.com/toeverything/AFFiNE/pull/7209)
> ## Features
> * [feat(presets): support different tracker control for actions blocksuite#7285](https://github.com/toeverything/blocksuite/pull/7285) @donteatfriedrice
> * [feat(edgeless): add default color and editing border for edgeless text blocksuite#7278](https://github.com/toeverything/blocksuite/pull/7278) @Flrande
> * [feat(blocks): center peek entries blocksuite#7275](https://github.com/toeverything/blocksuite/pull/7275) @pengx17
>
> ## Bugfix
> * [fix(blocks): affine-embed-synced-doc-block peek on dblclick blocksuite#7284](https://github.com/toeverything/blocksuite/pull/7284) @pengx17
> * [fix(edgeless): edgeless text rect should automatically update when changing font blocksuite#7292](https://github.com/toeverything/blocksuite/pull/7292) @Flrande
> * [fix(edgeless): align panel not work blocksuite#7293](https://github.com/toeverything/blocksuite/pull/7293) @Flrande
> * [fix(blocks): filterable list unexpected hover style blocksuite#7291](https://github.com/toeverything/blocksuite/pull/7291) @golok727
> * [fix(blocks): slash menu unexpected hover style blocksuite#7290](https://github.com/toeverything/blocksuite/pull/7290) @golok727
> * [fix(blocks): bookmark block error on undo or delete while loading blocksuite#7276](https://github.com/toeverything/blocksuite/pull/7276) @golok727
> * [fix(presets): chat input max-height blocksuite#7283](https://github.com/toeverything/blocksuite/pull/7283) @fundon
> * [fix(presets): get image blob from selection blocksuite#7286](https://github.com/toeverything/blocksuite/pull/7286) @donteatfriedrice
> * [fix(blocks): connectors resize and rotate blocksuite#7256](https://github.com/toeverything/blocksuite/pull/7256) @fundon
>
> ## Refactor
> * [refactor: add DocModeService for doc mode get, set, toogle and observe change blocksuite#7288](https://github.com/toeverything/blocksuite/pull/7288) @akumatus
> * [refactor(edgeless): rewrite auto-connect component as a widget blocksuite#7287](https://github.com/toeverything/blocksuite/pull/7287) @doouding
>
> ## Misc
> * [test: fix flaky blocksuite#7295](https://github.com/toeverything/blocksuite/pull/7295) @L-Sun
> * [style(page): adjust heading font-weight and letter-spacing blocksuite#7277](https://github.com/toeverything/blocksuite/pull/7277) @CatsJuice
> * [chore: apply member ordering rule blocksuite#7279](https://github.com/toeverything/blocksuite/pull/7279) @Saul-Mirone

---
2024-06-13 16:53:42 +08:00
pengx17
f78416021a
chore: bump blocksuite (#7163)
## Features
- https://github.com/toeverything/BlockSuite/pull/7230 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7220 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7228 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7216 @golok727
- https://github.com/toeverything/BlockSuite/pull/7224 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7217 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7144 @Flrande

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7231 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7229 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7222 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7226 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7218 @fundon
- https://github.com/toeverything/BlockSuite/pull/7213 @donteatfriedrice

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

## Misc
- https://github.com/toeverything/BlockSuite/pull/7223 @fundon
2024-06-06 12:04:07 +00:00
pengx17
5bd9c7a2a3
feat: allow search for doc without showing modal (#7138)
depends on https://github.com/toeverything/blocksuite/pull/7199#pullrequestreview-2095567573

fix TOV-858, fix AFF-1132
2024-06-06 06:29:41 +00:00
fundon
5b8b2bbf48
fix(component): banner should not affect the editor layout (#7128)
Same as #6605
2024-06-03 02:13:24 +00:00
pengx17
002b9e80f8
feat: e2e tests for peek view (#7112)
fix AFF-1163
2024-05-31 10:28:42 +00:00
EYHN
b356ddbe6e
fix(core): fix ui flashing (#7056) 2024-05-27 08:05:20 +00:00
pengx17
5e1528b50b
fix: export then add test case (#7024) 2024-05-24 04:49:08 +00:00
Flrande
0f5ae77032
feat(core): bump blocksuite (#7019)
## Features
- https://github.com/toeverything/BlockSuite/pull/7075 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7090 @doouding
- https://github.com/toeverything/BlockSuite/pull/7095
@golok727
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7108
@fundon

- https://github.com/toeverything/BlockSuite/pull/7110 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7105 @regischen
- https://github.com/toeverything/BlockSuite/pull/7064
@fundon

- https://github.com/toeverything/BlockSuite/pull/7102 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7091 @zzj3720
## Refactor
- https://github.com/toeverything/BlockSuite/pull/7088
@Mirone
## Misc
- https://github.com/toeverything/BlockSuite/pull/7097
@CatsJuice
2024-05-22 08:48:28 +00:00
darkskygit
df73b6ddc7
feat: revoke token after sensitive operations (#6993)
fix #6914
2024-05-20 06:38:48 +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
Akumatus
4a032eb260
fix: modify experimental features to app-level (#6823) 2024-05-08 12:21:02 +08:00
Brooooooklyn
40bea689b1
chore: upgrade playwright (#6815) 2024-05-07 09:55:27 +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
darkskygit
13f40f435d
feat: improve query performence (#6764) 2024-05-06 09:12:04 +00:00
pengx17
0c175ada31
fix: remove dnd for workspace list (#6754)
fix TOV-399
2024-04-30 14:57:38 +00:00
JimmFly
350fec5397
feat(core): optimize the shift multi-selection function of doc list (#6675)
close TOV-701

https://github.com/toeverything/AFFiNE/assets/102217452/8813e603-1cc2-469f-a7c1-b18e49a14871
2024-04-24 07:56:13 +00: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
06fda3b62c
feat(infra): framework 2024-04-17 15:09:09 +08:00
regischen
4b24722f3d
chore: bump blocksuite (#6566)
## Features

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/6761 @regischen
- https://github.com/toeverything/BlockSuite/pull/6760 @fundon

## Refactor

## Misc
2024-04-15 12:59:01 +00:00
pengx17
af2b3a43bd
chore: bump bs (#6563)
## Features

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/6760 @fundon
- https://github.com/toeverything/BlockSuite/pull/6757 @fundon

## Refactor

## Misc
2024-04-15 10:29:54 +00:00
pengx17
da320957ed
fix: bump bs (#6562)
## Features
- https://github.com/toeverything/BlockSuite/pull/6759 @regischen
- https://github.com/toeverything/BlockSuite/pull/6746 @fundon
- https://github.com/toeverything/BlockSuite/pull/6756 @regischen

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/6757 @fundon
- https://github.com/toeverything/BlockSuite/pull/6750 @fundon

## Refactor

## Misc
2024-04-15 09:20:04 +00:00
CatsJuice
257e946d5d
feat(core): add ai onboarding (#6544) 2024-04-15 07:25:31 +00:00
EYHN
8bb597d7ad
fix(core): fix flaky e2e (#6559) 2024-04-15 07:11:36 +00:00