pengx17
592150638e
feat(electron): switch to next/previous tab with Ctrl+Tab/Ctrl+Shift+Tab ( #7943 )
...
fix PD-1569
2024-08-22 04:46:25 +00:00
pengx17
5acf1b5309
feat: init mobile entry ( #7905 )
2024-08-21 13:17:35 +00:00
pengx17
9d42db56ca
chore: bump electron version ( #7922 )
2024-08-19 14:24:34 +00:00
pengx17
f3930a9262
chore(core): remove @storybook/test dep ( #7923 )
...
we no longer need "@storybook/test" and it indirectly has an incompatible prettier version 3.3.2 which differs from what we are using "3.3.3".
removing it to resolve this issue
2024-08-19 13:50:06 +00:00
pengx17
4a89b1a5dd
fix(electron): adjust tab styles ( #7919 )
...

fix AF-1261
2024-08-19 06:15:06 +00:00
pengx17
e0a91f63d3
fix(core): tag menu should not accept keyboard shortcut when renaming tag ( #7913 )
...
fix #7890 , fix PD-1603
2024-08-18 08:29:25 +00:00
pengx17
23c73243ab
chore(electron): re-enable sentry for electron ( #7898 )
...
related
https://github.com/toeverything/AFFiNE/pull/7001
2024-08-17 04:32:49 +00:00
pengx17
69c507fded
fix(electron): do not use async callback in onBeforeSendHeaders ( #7894 )
...
it seems using async callback for onBeforeSendHeaders may crash the app.
the main reason why it is async is to read the cookies from session.
fix AF-1172
2024-08-16 05:17:47 +00:00
pengx17
b57ce4646f
chore(electron): adjust log level ( #7887 )
2024-08-16 05:17:46 +00:00
pengx17
9af0e53ae2
fix(electron): header button not working on linux ( #7883 )
...
tested locally on windows/linux(vm)
2024-08-15 04:39:47 +00:00
pengx17
d5edadabe6
fix(electron): cmd+num not working on mac ( #7865 )
...
fix AF-1248
hidden menu group + acceleratorWorksWhenHidden does not work on mac
2024-08-14 04:14:16 +00:00
pengx17
d4065fee78
fix(electron): adjust app-tabs-header styles ( #7849 )
2024-08-13 08:06:30 +00:00
pengx17
d86f7f41dc
fix: center peek support open in new tab ( #7848 )
2024-08-13 07:52:03 +00:00
pengx17
a6169ab26a
fix: do not use globalShortcut for tab switching ( #7827 )
...
fix #7826
2024-08-11 07:56:47 +00:00
pengx17
d82f4b5461
fix: center peek responsiveness update ( #7814 )
...
fix PD-1407
2024-08-09 11:48:50 +00:00
pengx17
8209e84842
chore(electron): disable parallel execution of electron tests ( #7789 )
2024-08-09 07:33:16 +00:00
pengx17
fc19180451
fix(electron): missing collection name in tab header ( #7807 )
...
fix AF-1177
2024-08-09 07:02:38 +00:00
pengx17
009b5353b1
fix(electron): shell should import renderer css in dev ( #7805 )
2024-08-09 07:02:34 +00:00
pengx17
8db37e9bbf
feat: cmd click support for journal sidebar ( #7792 )
...
fix AF-1214
The titles are also corrected:

2024-08-08 10:22:11 +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
b71945c29f
chore: tracking events for app tabs header ( #7778 )
...
fix AF-1194
2024-08-08 09:14:47 +00:00
pengx17
f62d30527b
fix: onboarding stage not shown ( #7782 )
...
fix AF-1199
2024-08-08 03:58:11 +00:00
pengx17
00ee2a8852
fix(electron): always show traffic light for mac ( #7773 )
...
fix AF-1209, fix PD-1550
2024-08-07 08:44: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
pengx17
b5e543c406
feat(electron): mouse middle click to close tab ( #7759 )
...
fix AF-1200
2024-08-07 05:19:45 +00:00
pengx17
c2cf331ff7
fix(electron): fix tab view blink issue on open new tab ( #7748 )
...
fix AF-1197
2024-08-06 15:57:40 +00:00
pengx17
ca7c221d23
fix(electron): onboarding not shown ( #7753 )
...
fix AF-1199
2024-08-06 07:54:32 +00:00
pengx17
a03831f2a2
fix(electron): whitescreen issue ( #7742 )
...
1. non-blurred mode whitescreen issue
2. should not close tab with cmd+w for pinned tabs
2024-08-05 14:09:22 +00:00
pengx17
0d7de67e01
refactor(electron): reduce the number of listeners for ipc ( #7740 )
...
previously there are quite a lot of api/events handlers registered on ipcMain/ipcRenderer. After this PR, the number should be significantly reduced, which will benefit performance.
2024-08-05 13:33:31 +00:00
pengx17
9f57ed5e84
fix(electron): find in page input border blink issue ( #7737 )
2024-08-05 09:27:21 +00:00
pengx17
5050418c1a
fix(electron): app ghosting issue when quickly opening new tabs ( #7736 )
...
fix PD-1519
2024-08-05 08:51:11 +00:00
pengx17
5ab1210c9c
fix(electron): drop indicator position ( #7734 )
2024-08-05 08:03:13 +00:00
pengx17
51848ff6c3
fix(electron): allow close pinned tab ( #7732 )
2024-08-05 08:03:12 +00:00
pengx17
5f52547d9e
fix(electron): tab title/icon default state ( #7731 )
2024-08-05 07:39:51 +00:00
pengx17
561fa46232
fix(electron): add i18n setup for shell ( #7728 )
...

2024-08-05 06:52:14 +00:00
pengx17
51ca7657d8
feat(electron): new tab/split view entries ( #7708 )
...
fix AF-1146
2024-08-05 05:37:50 +00:00
pengx17
e3878ae8bf
build(electron): nightly build issue for windows ( #7649 )
...
ref https://github.com/toeverything/AFFiNE/actions/runs/10156494874/job/28085093900
2024-08-05 03:28:02 +00:00
pengx17
c0c5c83dad
fix(electron): should activate the target tab when closing other tabs ( #7704 )
...
fix PD-1520
2024-08-05 03:11:55 +00:00
pengx17
cbdcfdc2d8
fix(electron): duplicate tab views issue ( #7703 )
...
fix PD-1523
2024-08-05 03:11:52 +00:00
pengx17
741ff2379e
fix(electron): reload view in tab context menu issue ( #7702 )
...
fix PD-1524
2024-08-05 03:11:50 +00:00
pengx17
9307acf0de
fix(core): ctrl/cmd + click on add page button opens in new tab ( #7701 )
...
fix PD-1521
2024-08-05 03:11:47 +00:00
pengx17
0468355593
test(electron): adjust expect timeout for CI ( #7707 )
2024-08-05 03:11:44 +00:00
pengx17
854718db0e
test(electron): enable trace file for desktop tests ( #7692 )
...
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/e8d87ee7-cea6-4188-80a7-1a64f6c74eca.webm ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/e8d87ee7-cea6-4188-80a7-1a64f6c74eca.webm ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/e8d87ee7-cea6-4188-80a7-1a64f6c74eca.webm ">e02e866a6496b210b8883798d82783d8.webm</video>
one failed run but no valuable result
2024-08-02 04:07:33 +00:00
pengx17
bfff10e25e
feat(electron): app tabs dnd ( #7684 )
...
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/cd84e155-9f2e-4d12-a933-8673eb6bc6cb.mp4 ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/cd84e155-9f2e-4d12-a933-8673eb6bc6cb.mp4 ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/cd84e155-9f2e-4d12-a933-8673eb6bc6cb.mp4 ">Kapture 2024-07-31 at 19.39.30.mp4</video>
fix AF-1149
fix PD-1513
fix PD-1515
2024-08-02 02:02:03 +00:00
pengx17
07409b8a91
refactor(electron): tab title/icon update logic ( #7675 )
...
fix AF-1122
fix AF-1136
2024-08-01 16:43:18 +00:00
pengx17
10e78d617e
build(electron): re-enable windows signing ( #7682 )
...
ref https://github.com/toeverything/AFFiNE/pull/7645
2024-07-31 10:00:19 +00:00
pengx17
280e24934a
fix(electron): window theme issue after exiting presentation ( #7671 )
2024-07-31 07:03:32 +00:00
pengx17
6b8f99c013
fix: using width atom for syncing app headers position ( #7666 )
...
may use global state to replace these sidebar state atoms
fix AF-1109
2024-07-31 07:03:30 +00:00
pengx17
812fdd27b5
fix: tab label overflow style when there is only one tab ( #7665 )
...
before

after

2024-07-31 07:03:28 +00:00
pengx17
cd823fe118
fix(electron): app flicker issue ( #7663 )
...
fix AF-1117
2024-07-30 14:19:10 +00:00
pengx17
ea7066d02c
fix: icon color active style ( #7656 )
...
fix PD-1500
2024-07-30 11:51:17 +00:00
pengx17
d80c80ecdd
fix: remove shadow for bordered main container ( #7655 )
...
fix PD-1498
2024-07-30 11:38:23 +00:00
pengx17
63e8729da4
build(electron): skip signing for windows ( #7645 )
...
fix AF-1133
2024-07-30 04:56:47 +00:00
pengx17
4a2d400087
chore(electron): remove unused ipc code ( #7636 )
...
fix AF-1120
2024-07-30 04:12:06 +00:00
pengx17
157cc97a65
test(electron): add test cases for electron tabs ( #7635 )
...
fix AF-1000
2024-07-29 11:05:24 +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
Peng Xiao
d168128174
fix(core): workaround for center peek styles ( #7532 )
2024-07-18 11:43:42 +08:00
pengx17
15042394be
chore: expose FrameworkEvent ( #7500 )
...
fix the following ts error

2024-07-15 05:29:53 +00:00
pengx17
7a35b78772
fix: telemetry property names ( #7468 )
2024-07-11 02:35:39 +00:00
pengx17
86218d87c2
chore: revert back electron to v30 ( #7453 )
2024-07-09 03:50:13 +00:00
pengx17
8dfa601771
chore: populate page prop for mixpanel ( #7425 )
2024-07-05 07:45:39 +00:00
pengx17
5c1f78afd4
fix: invalid date handling ( #7422 )
...
fix AF-1049
2024-07-04 07:11: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
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](https://github.com/theKashey/react-remove-scroll/blob/8923c513d269190162eb4678c1b80137f5998679/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
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
Peng Xiao
8c4a42f0e6
fix: cmd-k keybinding not show when editor input is active ( #7398 )
2024-07-01 19:31:36 +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
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