pengx17
d3f50a2e38
feat(core): expose skip login button to web ( #8115 )
...

Allow user skip login page on client
2024-09-05 14:33:22 +00:00
pengx17
7621758c76
fix(electron): tune offline mode filter ( #8113 )
2024-09-05 10:08:56 +00:00
pengx17
f7816a5b28
chore(electron): downgrade electron to v31 ( #8111 )
2024-09-05 09:49:35 +00:00
pengx17
d5ecf503c2
fix(mobile): journal button should not show for edgeless ( #8110 )
2024-09-05 09:16:26 +00:00
pengx17
2a2a969394
feat(mobile): add share button ( #8109 )
2024-09-05 09:16:25 +00:00
pengx17
b680c1839b
fix(core): edit tag should not jump to its detail ( #8070 )
...
fix AF-1324
2024-09-05 02:46:07 +00:00
pengx17
1cac2f6ccd
feat(core): add journal navigation tracking ( #8046 )
...
fix AF-1314
2024-09-05 02:31:58 +00:00
pengx17
93ae724c66
chore(electron): downgrade electron to v31 ( #8095 )
...
fix AF-1337
it seems the way how we load web worker file in electron no longer works.
created an upstream issue in https://github.com/electron/electron/issues/43556
2024-09-05 01:30:26 +00:00
pengx17
989e8830f7
fix(mobile): workspace selector not close on click outside ( #8096 )
2024-09-04 16:57:57 +00:00
pengx17
0ae5673aaa
feat(electron): add offline mode ( #8086 )
...
fix AF-1334
It seems `session.enableNetworkEmulation({ offline: true });` does not work - https://github.com/electron/electron/issues/21250
implemented using an in-house solution.
When turned on:

2024-09-04 10:46:43 +00:00
pengx17
01e6370dd2
fix(electron): use CTRL+= to zoom in on windows ( #8081 )
...
fix AF-1291
2024-09-04 04:23:55 +00:00
pengx17
2ac803c73f
feat(mobile): sign in page ( #8039 )
...
fix AF-1237
2024-09-04 03:58:54 +00:00
pengx17
7dde509970
fix(core): page info modal styles ( #8067 )
2024-09-03 12:46:37 +00:00
pengx17
d00f86c3ce
fix(core): handle modal overlay click event correctly ( #8063 )
...
1. overlay click + hide is brought back. this is because modal (ormobile menu)'s `onPointerDownOutside` is bound to document.body. Code in https://github.com/toeverything/AFFiNE/blob/e58af08f6325c7c2c6cbd3325e954fd7d2ab6859/packages/frontend/core/src/modules/explorer/views/tree/node.tsx#L353-L356 will stop the event from bubbling to the document element.
2. when Menu's set to modal=true, the parent is set to pointer-events: none as well. changed menu to modal false instead.

2024-09-03 12:00:00 +00:00
pengx17
ae3b13bfb4
fix(electron): only the active view should respond to CMD+N ( #8068 )
2024-09-03 11:48:06 +00:00
pengx17
197996de31
fix(mobile): handle menu ref better ( #8051 )
2024-09-03 01:59:45 +00:00
pengx17
e1310b65cd
fix(mobile): change how slider height is calculated ( #8049 )
2024-09-02 14:10:37 +00:00
pengx17
61e37d8873
test(mobile): basic e2e tests ( #8031 )
...
fix AF-1289
1. tested on 'webkit'
2. a few baseline test cases
2024-09-02 10:20:24 +00:00
pengx17
4caf32629a
fix(core): slider thumb offset ( #8041 )
...
fix AF-1307
2024-09-02 07:19:16 +00:00
pengx17
697f2c6520
fix(core): remove modal default overlay onclick ( #8035 )
...
fix AF-1300
overlay click is already handled in `handlePointerDownOutSide`. adding onclick to overlay will cause issues on closing nested menus.
2024-09-02 02:59:18 +00:00
pengx17
df34e2cdf7
fix(mobile): close menu when detail page navigate away ( #8027 )
2024-08-31 04:42:32 +00:00
pengx17
4ff6fbd052
fix(core): hairline boarders for divider ( #8021 )
2024-08-30 02:31:28 +00:00
pengx17
f544e69d02
fix(mobile): modal styles on mobile ( #8023 )
...
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/92c0cc55-1f75-42b7-a83f-4ffa6cf205ad.mp4 ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/92c0cc55-1f75-42b7-a83f-4ffa6cf205ad.mp4 ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/92c0cc55-1f75-42b7-a83f-4ffa6cf205ad.mp4 ">20240829-1420-07.7370936.mp4</video>
2024-08-29 16:45:23 +00:00
pengx17
adf314d594
fix(mobile): adjust peek view style for mobile ( #8003 )
...

2024-08-29 16:45:22 +00:00
pengx17
7ae141bd9e
feat(mobile): add mobile detail page ( #7993 )
...
fix AF-1241
2024-08-29 16:45:22 +00:00
pengx17
f8e6f1f2b5
chore: add mobile scope ( #8020 )
2024-08-29 16:45:21 +00:00
pengx17
611925fa10
fix(electron): adjust app-tabs-header styles ( #7961 )
...



also fix PD-1631
2024-08-26 09:34:27 +00:00
pengx17
5e555b3807
fix(electron): adjust app-tabs-header styles ( #7947 )
...
fix AF-1171
2024-08-22 13:10:27 +00:00
pengx17
2f02f0da2b
fix(electron): should not send switchSplitView event when clicking on the active view ( #7944 )
2024-08-22 05:26:29 +00:00
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