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
pengx17
4f07a2cc2a
fix(core): debounce doc update time update ( #7363 )
2024-06-27 10:37:43 +00:00
Peng Xiao
c8f418f9c5
fix: use sgtpooki/file-type for resolving image type ( #7326 )
2024-06-27 10:08:08 +00:00
Peng Xiao
2c92e97c48
fix: embed doc link rendering ( #7361 )
2024-06-27 17:58:33 +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
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
pengx17
2482c3c266
fix(electron): center peek for links in electron ( #7301 )
2024-06-21 09:27:13 +00:00
pengx17
e085b927f6
feat(core): peek view api enhancements ( #7288 )
...
upstream https://github.com/toeverything/blocksuite/pull/7390
fix AF-917
2024-06-21 07:38:42 +00:00
pengx17
a085e507b4
chore: add event tracking for billing ( #7277 )
...
fix AFF-1226
2024-06-20 03:33:07 +00:00
pengx17
5b0f56399c
fix(electron): remove duplicate change log open ( #7276 )
2024-06-19 13:43:46 +00:00
pengx17
006c260e5f
feat: add isNewDoc flag to quick search api ( #7232 )
2024-06-18 04:07:55 +00:00
pengx17
5307a55f8a
feat: add importWorkspaceSnapshot for testing ( #7224 )
2024-06-14 09:33:13 +00:00
pengx17
7062790488
fix: edgeless object creation events ( #7206 )
...
related to AFF-1154
upstream: https://github.com/toeverything/blocksuite/pull/7297
2024-06-14 08:46:09 +00:00
pengx17
33762423bb
fix: page reference should wrap ( #7218 )
2024-06-13 13:15:47 +00:00
pengx17
3189f42e76
chore: bump blocksuite ( #7217 )
...
## Features
- https://github.com/toeverything/BlockSuite/pull/7281 @CatsJuice
- https://github.com/toeverything/BlockSuite/pull/7280 @CatsJuice
- https://github.com/toeverything/BlockSuite/pull/7282 @EYHN
- https://github.com/toeverything/BlockSuite/pull/7306 @doouding
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7301 @fundon
- https://github.com/toeverything/BlockSuite/pull/7311 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7310 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7302 @fundon
- https://github.com/toeverything/BlockSuite/pull/7309 @doouding
- https://github.com/toeverything/BlockSuite/pull/7308 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7294 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7299 @fundon
## Refactor
- https://github.com/toeverything/BlockSuite/pull/7296 @L-Sun
## Misc
- https://github.com/toeverything/BlockSuite/pull/7300 @fundon
- https://github.com/toeverything/BlockSuite/pull/7307 @Saul-Mirone
2024-06-13 13:15:43 +00:00
pengx17
a11cb6b0cd
fix: peek view modal controls animation ( #7180 )
2024-06-11 03:18:53 +00:00
pengx17
ab26e0f360
fix: render embed linked/synced doc as affine-reference for shared pages ( #7179 )
...
fix TOV-779
2024-06-07 11:42:48 +00:00
pengx17
3464e30229
fix: quick search placeholder for docs search ( #7175 )
...
fix AFF-1236
2024-06-07 07:42:16 +00:00
pengx17
17a5900575
fix: adjust peek view modal container styles ( #7173 )
...
fix AFF-1233, AFF-1234
2024-06-07 05:12:15 +00:00
pengx17
e6ec506226
fix: insert link action in quick search callback ( #7165 )
2024-06-07 04:39:20 +00:00
pengx17
79e1e8dd2f
fix: close peek view when clicking on reference link ( #7137 )
2024-06-06 15:40:22 +00: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
b99b964a78
fix: temp fix for showing peek view modal for edgeless ( #7155 )
...
workaround for AFF-1200
2024-06-06 07:27:29 +00:00
pengx17
10297766b8
fix: adjust peek view modal container styles ( #7153 )
2024-06-06 07:27:25 +00:00
pengx17
7095ca1be6
fix: cleanup usePromptModal ( #7157 )
2024-06-06 06:29:47 +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
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
pengx17
fa4e4c738a
chore: bump blocksuite ( #7152 )
...
## Features
- https://github.com/toeverything/BlockSuite/pull/7208 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7207 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7206 @regischen
- https://github.com/toeverything/BlockSuite/pull/7194 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7209 @Saul-Mirone
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7205 @fundon
- https://github.com/toeverything/BlockSuite/pull/7211 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7210 @fundon
## Refactor
## Misc
- https://github.com/toeverything/BlockSuite/pull/7203 @fundon
Also added prompt implementation to fix type change issue

2024-06-05 09:33:18 +00:00
pengx17
616d7073c9
chore: bump bs ( #7146 )
...
## Features
- https://github.com/toeverything/BlockSuite/pull/7202 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7200 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7199 @Saul-Mirone
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7201 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7197 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7195 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7179 @fundon
- https://github.com/toeverything/BlockSuite/pull/7191 @fundon
- https://github.com/toeverything/BlockSuite/pull/7190 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7189 @golok727
- https://github.com/toeverything/BlockSuite/pull/7187 @regischen
## Refactor
- https://github.com/toeverything/BlockSuite/pull/7178 @golok727
- https://github.com/toeverything/BlockSuite/pull/7132 @L-Sun
## Misc
- https://github.com/toeverything/BlockSuite/pull/7183 @fourdim
2024-06-04 15:24:11 +00:00
pengx17
03be1d66f9
feat: add feature flag for peek view ( #7122 )
2024-05-31 12:01:27 +00:00
pengx17
002b9e80f8
feat: e2e tests for peek view ( #7112 )
...
fix AFF-1163
2024-05-31 10:28:42 +00:00
pengx17
ea0059fa1b
feat: center peek view ( #7073 )
...
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/7380c06e-880e-424a-9204-8cfb5e924978.mp4 ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/7380c06e-880e-424a-9204-8cfb5e924978.mp4 ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/7380c06e-880e-424a-9204-8cfb5e924978.mp4 ">Kapture 2024-05-30 at 19.42.46.mp4</video>
2024-05-31 10:28:37 +00:00
pengx17
1b633b5135
chore: update prompt ( #7117 )
...
fix AFF-1198
2024-05-31 10:04:42 +00:00
pengx17
fe38a3780f
chore: bump blocksuite ( #7113 )
...
## Features
- https://github.com/toeverything/BlockSuite/pull/7177 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7174 @donteatfriedrice
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7175 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7180 @fundon
2024-05-31 05:42:43 +00:00
pengx17
da3cbc69cf
fix: patch service syntax ( #7080 )
...
Not sure if there is a better pattern like "macros" that can make this more generic. 🤡
also added notify impl to notification service for bs
https://github.com/toeverything/blocksuite/pull/7160
2024-05-30 11:46:17 +00:00
pengx17
d7ced4a5d9
chore: bump blocksuite ( #7107 )
...
## Features
- https://github.com/toeverything/BlockSuite/pull/7161 @regischen
- https://github.com/toeverything/BlockSuite/pull/7142 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7166 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7151 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7164 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7163 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7156 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7160 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7158 @golok727
- https://github.com/toeverything/BlockSuite/pull/7157 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7154 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7106 @fundon
- https://github.com/toeverything/BlockSuite/pull/7136 @fourdim
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7171 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7169 @fundon
- https://github.com/toeverything/BlockSuite/pull/7165 @lawvs
## Refactor
- https://github.com/toeverything/BlockSuite/pull/7162 @regischen
- https://github.com/toeverything/BlockSuite/pull/7153 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7149 @golok727
- https://github.com/toeverything/BlockSuite/pull/7152 @Flrande
## Misc
- https://github.com/toeverything/BlockSuite/pull/7170 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7155 @fundon
2024-05-30 06:39:17 +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
pengx17
8ed0ceb63e
fix: reset doc mode correctly ( #7071 )
...
it looks like a typo to me, but no obvious issue has been reported related to it?
2024-05-27 06:26:03 +00:00
pengx17
13b51c7b22
build: enable new decorator for swc ( #7070 )
...
bs now has migrated to stage 3 decorators. to enable running affine locally with debugging blocksuite, we need to [turn this on](https://swc.rs/docs/configuration/compilation#jsctransformdecoratorversion ).
Question:
It seems affine core code already uses stage 3 decorators, however we do not have an issue without this flag since we haven't used class field decorators that uses the `accessor` keyword?
2024-05-27 05:22:28 +00:00
pengx17
88d4351c28
feat: provide notification to bs ( #7002 )
...
upstream https://github.com/toeverything/blocksuite/pull/7101
fix AFF-1120
2024-05-24 10:36:50 +00:00
pengx17
5e1528b50b
fix: export then add test case ( #7024 )
2024-05-24 04:49:08 +00:00
pengx17
fdc33bd3ec
refactor(electron): always save one update to electron ( #7009 )
...
not sure do we still need this one
2024-05-22 05:03:49 +00:00
pengx17
96cdb041c6
fix(electron): incorrect db rows docId when doing trim ( #7008 )
2024-05-21 13:53:16 +00:00
pengx17
bd5023d4ab
fix(electron): remove all migration code in electron ( #6969 )
...
The migration code import blocksuite in the dependency tree and prevent affine from running because electron's helper process tries to run browser only code that is part of the side effect of `@blocksuite/blocks`.

[The side effect free trick in esbuild config](https://github.com/toeverything/AFFiNE/pull/6415 ) does not clean up these - not sure why.
It has been already 6 month since we introduced the migration code in DB.
Instead of finding out the real root cause, I think may be better to remove the migration code completely so that no blocksuite code will be in the import paths in helper.js.

2024-05-17 03:01:14 +00:00
pengx17
3cca879a83
refactor(electron): use sqlite to store server clock & sync meta ( #6957 )
...
After this PR, IDB should not be used in desktop any longer.
2024-05-16 06:31:05 +00:00
pengx17
27af9b4d1a
perf(electron): add index for updates ( #6951 )
...

Above image shows the performance on querying a 20k rows of updates table, which is super slow at 150+ms. After adding index for doc_id the performance should be greatly improved.
After:

fix TOV-866
2024-05-16 06:30:53 +00:00
pengx17
dd45c80cc4
chore: track doc create action in bs editor ( #6915 )
...
fix TOV-855
added shape element create & doc create event tracking in blocksuite editor.
What's still missing:
the control (source) that triggered whiteboard element creation, i.e., from canvas dbclick, dnd or pasting.
2024-05-14 05:35:08 +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
pengx17
bd1733b2a9
chore: remove unused file ( #6894 )
2024-05-13 02:27:21 +00:00
pengx17
8af064b663
fix: should not reset identity on app start ( #6895 )
2024-05-12 12:39:59 +00:00
pengx17
c07c7c0969
Revert "chore: bump @pengx17/electron-forge-maker-appimage ( #6726 )" ( #6859 )
...
This reverts commit 964e475c5f .
fix #6829
2024-05-10 04:11:06 +00:00
pengx17
917ad1965a
fix: mixpanel issues ( #6840 )
2024-05-09 07:50:15 +00:00
pengx17
3744a0a5e0
feat: handle login required tracking event ( #6831 )
2024-05-09 07:50:07 +00:00
pengx17
1a9a623310
chore: bump blocksuite ( #6844 )
2024-05-09 07:49:59 +00:00
pengx17
e85548b393
fix: tone action param ( #6824 )
2024-05-07 12:42:35 +00:00
pengx17
6ad5ae2403
fix: chat panel segment ( #6820 )
2024-05-07 10:41:57 +00:00
pengx17
411f6ddf07
fix: tab switcher on windows desktop ( #6812 )
...

2024-05-07 07:58:13 +00:00
pengx17
12806b0e7b
fix: do not create hash in frontend ( #6788 )
...
blob is already hashed in https://github.com/toeverything/AFFiNE/blob/6fdf45d4d064ebac9691a71abc800a90c5e6bfb9/packages/backend/server/src/plugins/copilot/resolver.ts#L294
2024-05-07 03:50:31 +00:00
pengx17
a5e4730a5f
refactor: refine ai tracker ( #6778 )
...
upstream
https://github.com/toeverything/blocksuite/pull/6966
Added a new solution that inspect on actions event stream and adapt them into the mixpanel format.

2024-05-06 13:34:44 +00:00
pengx17
1ac16a48bf
chore: bump blocksuite ( #6781 )
...
## Features
- https://github.com/toeverything/BlockSuite/pull/6948 @undefined
- https://github.com/toeverything/BlockSuite/pull/6941 @undefined
- https://github.com/toeverything/BlockSuite/pull/6855 @undefined
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/6967 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6966 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6951 @fundon
- https://github.com/toeverything/BlockSuite/pull/6960 @fundon
- https://github.com/toeverything/BlockSuite/pull/6964 @doouding
- https://github.com/toeverything/BlockSuite/pull/6958 @Flrande
- https://github.com/toeverything/BlockSuite/pull/6961 @regischen
- https://github.com/toeverything/BlockSuite/pull/6957 @doouding
- https://github.com/toeverything/BlockSuite/pull/6959 @regischen
- https://github.com/toeverything/BlockSuite/pull/6956 @regischen
- https://github.com/toeverything/BlockSuite/pull/6954 @fundon
- https://github.com/toeverything/BlockSuite/pull/6955 @doouding
- https://github.com/toeverything/BlockSuite/pull/6953 @doouding
- https://github.com/toeverything/BlockSuite/pull/6952 @regischen
- https://github.com/toeverything/BlockSuite/pull/6942 @golok727
- https://github.com/toeverything/BlockSuite/pull/6939 @fundon
- https://github.com/toeverything/BlockSuite/pull/6940 @fundon
- https://github.com/toeverything/BlockSuite/pull/6935 @regischen
- https://github.com/toeverything/BlockSuite/pull/6930 @fundon
- https://github.com/toeverything/BlockSuite/pull/6905 @golok727
- https://github.com/toeverything/BlockSuite/pull/6931 @donteatfriedrice
## Refactor
- https://github.com/toeverything/BlockSuite/pull/6945 @shvixxl
## Misc
- https://github.com/toeverything/BlockSuite/pull/6938 @golok727
- chore: correct typo
2024-05-06 13:23:55 +00:00
pengx17
4ea31cbb35
fix: update prompts ( #6779 )
...
fix AFF-1021
2024-05-06 10:58:56 +00:00
pengx17
1303a6a8b4
fix: update prompts (find actions) ( #6773 )
...
fix AFF-1019
2024-05-06 08:29:51 +00:00
pengx17
625249ca5b
docs: update outdated docs ( #6756 )
...
fix #5171
2024-05-06 02:03:14 +00:00
pengx17
91ee5e05bb
fix: ai chat session handling ( #6751 )
...
fix AFF-999
upstream: https://github.com/toeverything/blocksuite/pull/6932
2024-04-30 15:08:27 +00:00
pengx17
0c175ada31
fix: remove dnd for workspace list ( #6754 )
...
fix TOV-399
2024-04-30 14:57:38 +00:00
pengx17
5586de61fb
chore: bump blocksuite ( #6753 )
...
## Features
- https://github.com/toeverything/BlockSuite/pull/6929 @pengx17
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/6931 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6925 @fourdim
- https://github.com/toeverything/BlockSuite/pull/6928 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6933 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6932 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6920 @golok727
- https://github.com/toeverything/BlockSuite/pull/6927 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6923 @regischen
- https://github.com/toeverything/BlockSuite/pull/6906 @fundon
## Refactor
- https://github.com/toeverything/BlockSuite/pull/6926 @fourdim
## Misc
2024-04-30 08:40:32 +00:00
pengx17
1f97437320
fix(core): input overflow issue ( #6748 )
2024-04-30 13:18:20 +08:00
pengx17
eb7904bf62
fix(core): prompt message tunning ( #6747 )
...
fix AFF-1003
2024-04-30 13:18:20 +08:00
pengx17
9b28e7313f
fix(core): make it real action ( #6745 )
2024-04-30 03:33:09 +00:00
pengx17
5c861939a5
fix(core): show toast for requestRunInEdgeless ( #6715 )
2024-04-29 11:14:07 +00:00
pengx17
7c5a259e84
fix(core): update prompts ( #6738 )
...
Update prompts:
When sending a message to openai, we actually send two messages.
There are two issues here:
1. the role in the first message shall be user or system
2. the content in the first message is not being interpolated at all.
```
[
{
role: "assistant",
createdAt: "2024-04-27T06:30:34.820Z",
params: {
language: "French",
},
content: "You are a translation expert, please translate the following content into French, and only perform the translation action, keeping the translated content in the same format as the original content:\n\n \"\"\"\"\n\n \n\n \"\"\"\"",
},
{
role: "user",
content: "Basic things you should know:",
attachments: undefined,
params: {
language: "French",
},
createdAt: "2024-04-29T09:42:11.466Z",
},
]
```
In this PR I removed `content` from prompts and let open ai use the second message (user) as the input.
2024-04-29 11:02:16 +00:00
pengx17
964e475c5f
chore: bump @pengx17/electron-forge-maker-appimage ( #6726 )
...
fix https://github.com/toeverything/AFFiNE/issues/6722
add `--no-sandbox --disable-setuid-sandbox` to appimage run
2024-04-29 04:57:52 +00:00
pengx17
905d7d18e4
chore: bump blocksuite ( #6725 )
2024-04-29 04:57:46 +00:00
pengx17
5d114ea965
refactor(electron): cleanup secondary db logic ( #6710 )
2024-04-26 10:57:09 +00:00
pengx17
d015be24e6
fix: incorrect mixpanel param ( #6706 )
2024-04-26 10:45:29 +00:00
pengx17
cc17d3287e
fix: open in chat does not work when the panel is not opened ( #6703 )
...
https://github.com/toeverything/AFFiNE/pull/6503 does not work with "open in chat".
IMO resetting tab whenever opening right panel does not make too much sense. @zanwei
fix AFF-951
2024-04-26 03:50:40 +00:00
pengx17
6237bf18ab
build(electron): nsis typo ( #6697 )
2024-04-25 09:10:34 +00:00
pengx17
050efe3749
fix(core): update prompts ( #6693 )
...
update based on latest docs
2024-04-25 05:26:50 +00:00
pengx17
042be1216c
build(electron): nsis updater compatibility fix ( #6681 )
2024-04-25 03:52:29 +00:00
pengx17
bfcf4a105e
build(electron): add nsis build to release-desktop workflow ( #6677 )
...
Updater may break after this PR and will be fixed in the next one
After this PR, we will have two windows installer options
- affine-0.14.0-canary.9-canary-windows-x64.exe
- affine-0.14.0-canary.9-canary-windows-x64.nsis.exe (added)
2024-04-25 03:52:27 +00:00
pengx17
0b380f94c7
build(electron): add nsis script for windows installer ( #6674 )
...
This pr only includes how to bundle the app into an installer after package step.
todo (not in this pr)
- [ ] make sure updater can work for both nsis & squirrel
- [ ] integrate nsis build into github action workflow
Advantage over Squirrel:
- allowing user to specify the installation location
- better uninstaller



2024-04-25 03:30:04 +00:00
pengx17
f1b03989fa
fix: error handling in sse ( #6663 )
2024-04-23 03:46:49 +00:00
pengx17
71a5be5385
fix(server): update prompts ( #6664 )
...
fix AFF-921
2024-04-22 14:09:53 +00:00
pengx17
1dda0fd34c
feat: add mixpanel tracking for ai ( #6643 )
2024-04-20 05:43:35 +00:00
pengx17
94a70a5f3a
chore: bump blocksuite ( #6635 )
...
## Features
- https://github.com/toeverything/BlockSuite/pull/6825 @regischen
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/6828 @regischen
- https://github.com/toeverything/BlockSuite/pull/6823 @fundon
- https://github.com/toeverything/BlockSuite/pull/6822 @fundon
- https://github.com/toeverything/BlockSuite/pull/6826 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6794 @fundon
- https://github.com/toeverything/BlockSuite/pull/6821 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6781 @doouding
- https://github.com/toeverything/BlockSuite/pull/6820 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6819 @regischen
- https://github.com/toeverything/BlockSuite/pull/6817 @donteatfriedrice
## Refactor
## Misc
2024-04-19 09:50:17 +00:00
pengx17
6d5dbbd7f4
fix: move toTextStream to affine ( #6628 )
2024-04-19 07:59:24 +00:00
pengx17
8c0732ddf1
fix: handle 401 errors ( #6611 )
...
upstream https://github.com/toeverything/blocksuite/pull/6809
2024-04-19 03:51:41 +00:00
pengx17
99bf7c79d1
chore: bump blocksuite ( #6626 )
...
## Features
- https://github.com/toeverything/BlockSuite/pull/6809 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6787 @Flrande
- https://github.com/toeverything/BlockSuite/pull/6774 @donteatfriedrice
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/6817 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6811 @regischen
- https://github.com/toeverything/BlockSuite/pull/6814 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6813 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6812 @doouding
- https://github.com/toeverything/BlockSuite/pull/6815 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6808 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6804 @regischen
- https://github.com/toeverything/BlockSuite/pull/6797 @regischen
- https://github.com/toeverything/BlockSuite/pull/6802 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/6801 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6798 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6795 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6790 @lawvs
- https://github.com/toeverything/BlockSuite/pull/6778 @zkwolf
- https://github.com/toeverything/BlockSuite/pull/6792 @fundon
## Refactor
## Misc
- https://github.com/toeverything/BlockSuite/pull/6807 @c0sc0s
- https://github.com/toeverything/BlockSuite/pull/6806 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/6800 @fourdim
2024-04-19 03:51:38 +00:00
pengx17
c3438fde21
fix(core): always create message for ai ( #6620 )
2024-04-18 15:09:36 +00:00
pengx17
e232b0b285
fix: should not swallow copilot errors ( #6609 )
2024-04-18 09:59:31 +00:00
pengx17
5fc56a20ac
feat: adopt createMessage upload api ( #6596 )
2024-04-18 06:55:29 +00:00
Peng Xiao
10653eccbc
fix: provide user info for copilot ( #6606 )
2024-04-18 11:10:17 +08:00
pengx17
e806169f60
fix(core): missing copilot param ( #6602 )
2024-04-17 13:27:16 +00:00
pengx17
f9f0490190
fix(core): provide photoengine ( #6574 )
2024-04-17 13:27:11 +00:00
pengx17
03a7f9939e
fix: ai error handling ( #6588 )
...
upstream: https://github.com/toeverything/blocksuite/pull/6775
2024-04-17 13:27:05 +00:00
pengx17
09a984d113
chore: bump blocksuite ( #6601 )
...
## Features
- https://github.com/toeverything/BlockSuite/pull/6763 @doouding
- https://github.com/toeverything/BlockSuite/pull/6780 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/6775 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6765 @donteatfriedrice
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/6792 @fundon
- https://github.com/toeverything/BlockSuite/pull/6791 @fundon
- https://github.com/toeverything/BlockSuite/pull/6776 @fundon
- https://github.com/toeverything/BlockSuite/pull/6779 @Flrande
- https://github.com/toeverything/BlockSuite/pull/6771 @fundon
- https://github.com/toeverything/BlockSuite/pull/6769 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6768 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6758 @Flrande
- https://github.com/toeverything/BlockSuite/pull/6743 @fourdim
- https://github.com/toeverything/BlockSuite/pull/6762 @regischen
## Refactor
- https://github.com/toeverything/BlockSuite/pull/6786 @regischen
- https://github.com/toeverything/BlockSuite/pull/6764 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6772 @fundon
## Misc
- https://github.com/toeverything/BlockSuite/pull/6766 @fourdim
2024-04-17 13:27:00 +00:00
pengx17
ebb38a42a0
fix: temporary fix for running electron tests ( #6576 )
...
a workaround for spawn EINVAL error.
Found this issue according to https://github.com/node-red/node-red/pull/4652
~~In our case the electron app is spawned by playwright. I am still investigating the issue but don't know how long it takes.~~
Upstream fix: https://github.com/microsoft/playwright/pull/30382
2024-04-16 06:57:17 +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