Commit Graph

3487 Commits

Author SHA1 Message Date
pengx17
8dfa601771 chore: populate page prop for mixpanel (#7425) 2024-07-05 07:45:39 +00:00
liuyi
481a2269f8 chore: bump blocksuite (#7424) 2024-07-04 15:58:11 +08:00
liuyi
555f203be6 feat(core): run indexer in worker (#7418) 2024-07-04 15:37:26 +08:00
pengx17
5c1f78afd4 fix: invalid date handling (#7422)
fix AF-1049
2024-07-04 07:11:19 +00:00
CatsJuice
d6ad7d566f chore(core): adjust ai onboarding dismiss logic, persist dialog and dismiss once closed (#7417) 2024-07-04 07:00:17 +00:00
hwangdev97
b79d13bcc8 fix: switch style: remove border and shadow (#7423)
- remove border and shadow
- fix position

before 👇
![shot-2024-07-04-11 55 38@2x](https://github.com/toeverything/AFFiNE/assets/24713927/81776294-1cb3-49a9-b6d6-bd800c91b847)

after 👇
![shot-2024-07-04-12 01 20@2x](https://github.com/toeverything/AFFiNE/assets/24713927/812d4567-9c17-4c14-af4f-6eba97f077da)
2024-07-04 04:20:47 +00:00
donteatfriedrice
a0ce75c902 fix: ai button should not display in readonly mode (#7415)
[BS-737](https://linear.app/affine-design/issue/BS-737/shared-page-也可以用-ai)
2024-07-03 07:34:07 +00:00
darkskygit
e8285289fe feat: improve histories query for forked session (#7414) 2024-07-03 04:49:19 +00: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
darkskygit
61870c04d0 feat: fork session support (#7367) 2024-07-03 03:10:09 +00:00
pengx17
10df1fb4b7 fix: menu in peek view content not scrollable issue (#7412)
when using [dialog.overlay](https://github.com/radix-ui/primitives/blob/main/packages/react/dialog/src/Dialog.tsx#L203-L211
), whole app is affected by [react-scroll library](8923c513d2/src/SideEffect.tsx (L131-L134)
):

In the current implementation, only the contents in the dialog content will be scrollable and cannot be configured in current API.

This PR introduces a simple div overlay to get rid of this issue.

fix BS-696
2024-07-03 02:58:41 +00:00
zzj3720
0bc09a9333 feat(core): update blocksuite feature flag (#7408) 2024-07-03 02:47:20 +00:00
forehalo
f0d127fa29 Revert "feat(core): run indexer in worker (#7295)"
This reverts commit c62d79ab14.
2024-07-03 10:16:27 +08: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
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
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
Peng Xiao
8c4a42f0e6 fix: cmd-k keybinding not show when editor input is active (#7398) 2024-07-01 19:31:36 +08:00
Flrande
4d484ea814 feat: bump blocksuite (#7372) 2024-07-01 19:21:14 +08: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
KushalSharmaGit
d72dbe682c fix: ensure exact tag matching with enter key behavior refinement (#7387)
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2024-07-01 10:16:16 +08:00
EYHN
824be0d4c1 fix(core): fix viewtransition and css property missing (#7377) 2024-06-28 18:03:43 +08:00
golok727
fbf676002f fix: code block toolbar z-index issue in right sidebar (#7376)
Closes: [BS-549](https://linear.app/affine-design/issue/BS-549/code-block-%E5%9C%A8%E5%8F%B3%E4%BE%A7%E8%BE%B9%E6%A0%8F%E6%9C%89-z-index-%E9%97%AE%E9%A2%98%E8%AF%AD%E8%A8%80%E7%9A%84%E4%BF%A1%E6%81%AF%E5%87%BA%E7%8E%B0%E5%9C%A8%E4%BA%86-tab-%E4%B8%8A%E9%9D%A2),[BS-600](https://linear.app/affine-design/issue/BS-600/the-code-toolbar-remains-visible-when-it-overflows-in-the-ai-panel)
2024-06-28 07:48:50 +00:00
regischen
e877f20955 fix: add onboarding entry (#7375)
Don't know why it's missed..
https://github.com/toeverything/AFFiNE/pull/7109
2024-06-28 07:03:33 +00:00
regischen
f4f84d2793 fix: click continue with ai not work (#7374) 2024-06-28 14:43:45 +08:00
pengx17
34b6a3bf1f fix: escape key handling compatibility issue with blocksuite (#7365)
fix PD-1347

See
https://github.com/radix-ui/primitives/blob/main/packages/react/use-escape-keydown/src/useEscapeKeydown.tsx#L19-L20

This behavior in radix-ui is not possible to be prevented since escape keydown is bound to document with capturing, unless dialogs in blocksuite is also implemented with radix-ui.
2024-06-28 06:21:36 +00:00
EYHN
eca484dc28 fix(core): add loading for insert ai template (#7369) 2024-06-28 14:19:59 +08:00
Fangdun Tsai
855d555480 fix(core): should return a cleanup function (#7371) 2024-06-28 14:18:24 +08:00
forehalo
d51fd8b54b fix(core): correct image action icon (#7370)
fix AF-1002

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/5c0ymolP9B7QStCsS1RP/b2e7afb1-e6bf-4589-8c60-32bede366350.png)
2024-06-28 05:24:06 +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
pengx17
4f07a2cc2a fix(core): debounce doc update time update (#7363) 2024-06-27 10:37:43 +00:00
forehalo
ae230354c6 chore: bump base version to 0.15.0 2024-06-27 18:17:36 +08:00
liuyi
08fa356a02 fix(core): not found info in workspace page is not in center (#7362) 2024-06-27 10:15:21 +00:00
Peng Xiao
c8f418f9c5 fix: use sgtpooki/file-type for resolving image type (#7326) 2024-06-27 10:08:08 +00:00
EYHN
c6c4ed9711 fix(infra): recover deleted item in orm (#7359) 2024-06-27 17:58:47 +08:00
Peng Xiao
2c92e97c48 fix: embed doc link rendering (#7361) 2024-06-27 17:58:33 +08:00
Cats Juice
fa2305b0e2 feat(core): replace all radio-button-group usage (#7352) 2024-06-27 17:54:30 +08:00
EYHN
3b3b7ec054 chore: bump blocksuite (#7360) 2024-06-27 17:53:42 +08:00
pengx17
81462fe000 refactor(core): view transition api for peek-view modal animation (#7350)
Remaining issue:
modal controls' position is not relatively moved to the parent container during transitioning.
2024-06-27 08:38:16 +00:00
fundon
03af538989 chore: bump theme (#7338) 2024-06-27 08:26:26 +00:00
EYHN
33bb2b5fcd feat(infra): use yjs mergeupdate for performance (#7343) 2024-06-27 08:14:17 +00:00
donteatfriedrice
742c10ac94 feat: make width and height of generated image same with input image (#7356)
[BS-641](https://linear.app/affine-design/issue/BS-641/通过image-action生成的图像尺寸应与原图保持一致)
2024-06-27 08:02:32 +00:00
JimmFly
4af6223dc3 chore(core): removed obsolete TODO (#7337)
Cleaned up some TODOs that no longer need to be done
2024-06-27 06:30:29 +00:00