Peng Xiao
791eb75ca8
fix(infra): page id compat fix for page ids in workspace.meta ( #4950 )
...
since we strip `page:` in keys of workspacedoc.spaces, we should also strip the prefix in meta.pages as well.
2023-11-16 21:57:17 +08:00
Peng Xiao
9ac8a32e00
perf(component): use png instead of svg for rendering noise svg ( #4935 )
2023-11-14 23:03:19 +08:00
Peng Xiao
f9971ba922
fix(core): change server url of stable to insider ( #4902 ) ( #4926 )
2023-11-14 14:40:06 +08:00
Peng Xiao
16488d594c
fix(infra): compatibility fix for space prefix ( #4912 )
...
It seems there are some cases that [this upstream PR](https://github.com/toeverything/blocksuite/pull/4747 ) will cause data loss.
Because of some historical reasons, the page id could be different with its doc id.
It might be caused by subdoc migration in the following (not 100% sure if all white screen issue is caused by it) https://github.com/toeverything/AFFiNE/blob/0714c12703ff8840acc180633e5489c755ddfba3/packages/common/infra/src/blocksuite/index.ts#L538-L540
In version 0.10, page id in spaces no longer has prefix "space:"
The data flow for fetching a doc's updates is:
- page id in `meta.pages` -> find `${page-id}` in `doc.spaces` -> `doc` -> `doc.guid`
if `doc` is not found in `doc.spaces`, a new doc will be created and its `doc.guid` is the same with its pageId
- because of guid logic change, the doc that previously prefixed with `space:` will not be found in `doc.spaces`
- when fetching the rows of this doc using the doc id === page id,
it will return EMPTY since there is no updates associated with the page id
The provided fix in the PR will patch the `spaces` field of the root doc so that after 0.10 the page doc can still be found in the `spaces` map. It shall apply to both of the idb & sqlite datasources.
Special thanks to @lawvs 's db file for investigation!
2023-11-14 14:39:50 +08:00
Peng Xiao
76b585d1ef
fix(storybook): page tags display ( #4924 )
2023-11-14 09:45:12 +08:00
Peng Xiao
a8d89254ce
fix(electron): dev reload ( #4911 )
2023-11-12 03:19:27 +00:00
Peng Xiao
5c2d958e2b
fix(core): svg blob syncing issue ( #4886 )
2023-11-10 05:32:51 +00:00
Peng Xiao
fd74776abe
fix(core): disable sync doc/blob on start ( #4897 )
2023-11-09 18:00:53 +00:00
Peng Xiao
d0b014543c
fix(core): select all in page list group header does not need to enable selection ( #4869 )
2023-11-09 12:01:36 +00:00
Peng Xiao
227b8b0061
fix(component): dragged component disappear when dragging ( #4870 )
2023-11-09 06:20:15 +00:00
Peng Xiao
442115632b
chore(component): bump bs ( #4880 )
2023-11-09 04:47:10 +00:00
Peng Xiao
ad82376890
chore: update delete icon ( #4871 )
2023-11-09 02:49:48 +00:00
Peng Xiao
da9934fbdc
fix(electron): add search to proxied url ( #4852 )
2023-11-06 14:47:44 +00:00
Peng Xiao
cfffcad1b8
fix(core): adapt blob in sqlite for svg type ( #4845 )
2023-11-06 10:09:48 +00:00
Peng Xiao
7e381e830a
perf(core): load all pages after 10s ( #4834 )
2023-11-03 09:42:29 +00:00
Peng Xiao and Joooye_34
65321e39cc
refactor(component): virtual rendering page list ( #4775 )
...
Co-authored-by: Joooye_34 <Joooye1991@gmail.com >
2023-11-02 14:21:01 +00:00
Peng Xiao and Joooye_34
8ca53326a7
fix(electron): update app icons ( #4789 )
...
Co-authored-by: Joooye_34 <Joooye1991@gmail.com >
2023-10-31 09:09:42 +00:00
Peng Xiao
f08408ebe5
fix(core): possible crash issues ( #4783 )
2023-10-31 08:56:14 +00:00
Peng Xiao
9e3c79526c
fix(core): selectAtom crash on isEqual ( #4780 )
2023-10-31 03:29:18 +00:00
Peng Xiao
a8b10c64b8
fix(component): disable CMDK list animation ( #4685 )
2023-10-23 06:46:11 +00:00
Peng Xiao
817463c40e
feat(component): checkbox ( #4665 )
2023-10-20 03:46:44 +00:00
Peng Xiao
9b3e6bf1f5
fix(docs): update docs
2023-10-18 14:00:44 +08:00
Peng Xiao
4135cfd243
fix(docs): remove secret in readme
2023-10-18 13:45:41 +08:00
Peng Xiao
62d2b09e3c
fix(core): remove redundant providers ( #4648 )
2023-10-17 20:24:41 +00:00
Peng Xiao
5e9eeaddbd
build(electron): allow customizing channel type for internal build ( #4511 )
2023-10-17 01:15:19 +00:00
Peng Xiao
fea6b81a53
fix(electron): app image icon ( #4442 )
2023-10-16 15:54:28 +00:00
Peng Xiao
d9fe3e73d5
fix: list page storybook not rendering issue ( #4560 )
2023-10-09 07:54:05 +00:00
Peng Xiao
369db3fea5
fix(component): cmdk flaky ( #4512 )
2023-09-27 01:37:00 +00:00
Peng Xiao
29fa237dfb
fix: storybook previews ( #4504 )
2023-09-26 05:51:39 +00:00
Peng Xiao
eb728f7ef2
fix: give content match a lower score ( #4499 )
2023-09-26 03:15:40 +00:00
Peng Xiao
e8410b948d
chore(component): bump themes ( #4484 )
2023-09-25 12:03:28 +00:00
Peng Xiao
3f09ba92bc
fix: cmdk scrollbar gutter ( #4488 )
2023-09-25 12:03:02 +00:00
Peng Xiao
dc6b66c32f
fix: register command re-rendering ( #4476 )
2023-09-25 02:40:53 +00:00
Peng Xiao
e0063ebc9b
feat: new CMD-K ( #4408 )
2023-09-22 14:31:26 +00:00
Peng Xiao
27e4599c94
chore: bump components version ( #4454 )
2023-09-22 08:56:10 +00:00
Peng Xiao
872dc3521b
fix: allow file protocol streaming ( #4441 )
2023-09-21 19:10:03 +08:00
Peng Xiao
6e79858f41
fix: add prompt select_account for google login ( #4415 )
2023-09-20 03:22:43 +00:00
Peng Xiao and LongYinan
b9656b1e22
fix: orderby in members list ( #4375 )
...
Co-authored-by: LongYinan <lynweklm@gmail.com >
2023-09-15 19:24:00 +00:00
Peng Xiao
eea38a08c5
fix: add platform selector to storybook ( #4380 )
2023-09-15 08:59:29 +00:00
Peng Xiao
b5e8fecfd0
fix: update windows install gif ( #4379 )
2023-09-15 15:07:58 +08:00
Peng Xiao
1d77b2c9da
docs: add readme for developing @affine/server ( #4351 )
2023-09-14 02:58:13 +00:00
Peng Xiao
b023c79d5c
fix: test hang ( #4349 )
2023-09-14 02:13:36 +00:00
Peng Xiao
ab7be0b940
fix: remove open app timeout ( #4332 )
2023-09-13 05:08:44 +00:00
Peng Xiao
923148d841
fix: force syncing DB when export db ( #4312 )
2023-09-13 03:13:38 +00:00
Peng Xiao
9ec2b9cf51
fix: signout account when logging through oauth signin via desktop ( #4321 )
2023-09-13 02:10:03 +00:00
Peng Xiao
9e5213f074
fix: potential issue that may push whole window up a bit ( #4311 )
2023-09-12 06:45:41 +00:00
Peng Xiao
fc76163dd1
fix: get auth token for development ( #4295 )
2023-09-12 13:31:58 +08:00
Peng Xiao
ea2196b039
fix: circular dependencies ( #4307 )
2023-09-11 17:00:48 +00:00
Peng Xiao and X1a0t
892cae5599
fix: SHOULD_REPORT_TRACE condition ( #4273 )
...
Co-authored-by: X1a0t <405028157@qq.com >
2023-09-11 09:47:02 +00:00
Peng Xiao
46fd732ee6
fix: cookie name ( #4293 )
2023-09-08 23:42:09 -07:00
Peng Xiao
e00f40537b
fix: allow login with credentials on production ( #4288 )
2023-09-08 23:02:01 +00:00
Peng Xiao
bf3a3379ae
fix: disable set-db-location step ( #4263 )
2023-09-07 17:41:27 +00:00
Peng Xiao and Alex Yang
d54f027f50
fix: sigin in different window may not refresh workspace list ( #4270 )
...
Co-authored-by: Alex Yang <himself65@outlook.com >
2023-09-07 17:30:21 +00:00
Peng Xiao and Alex Yang
185546b8ea
fix: logout 404 ( #4253 )
...
Co-authored-by: Alex Yang <himself65@outlook.com >
2023-09-07 16:14:02 +00:00
Peng Xiao
0c4277e5b9
fix: better transition ( #4267 )
2023-09-07 15:20:48 +00:00
Peng Xiao
2813ad36b8
fix: disable simutanous updater download ( #4254 )
2023-09-07 06:54:51 +00:00
Peng Xiao and Alex Yang
1301605db5
fix: workspace list dnd issues ( #4219 )
...
Co-authored-by: Alex Yang <himself65@outlook.com >
2023-09-07 05:06:03 +00:00
Peng Xiao
1dc94277c2
fix: use database session cookie for production ( #4200 )
2023-09-05 17:30:50 +00:00
Peng Xiao
8407b2dd7c
fix: force reset callbackurl cookie in electron ( #4199 )
2023-09-05 12:54:17 +00:00
Peng Xiao
bf40d41c86
fix: cloud workspace sometimes converted to local workspace ( #4194 )
2023-09-05 09:53:22 +00:00
Peng Xiao
8b4f2a6c50
fix: sidebar ui fix ( #4187 )
2023-09-05 09:48:48 +00:00
Peng Xiao and Alex Yang
d57f995e87
feat: add fav button ( #4159 )
...
Co-authored-by: Alex Yang <himself65@outlook.com >
2023-09-04 17:14:02 +00:00
Peng Xiao
5288645e33
fix: header ui styles ( #4156 )
2023-09-04 10:13:20 +00:00
Peng Xiao
1066a8ca74
fix: style fixes to windows app control buttons ( #4150 )
2023-09-04 09:01:31 +00:00
Peng Xiao
f245b4f5ce
fix: api url for electron ( #4142 )
2023-09-04 07:43:39 +00:00
Peng Xiao
c9c76983de
fix: cookie issues in Electron ( #4115 )
2023-09-01 17:34:08 +00:00
Peng Xiao
d4a2b3f4d1
fix: not be able to login with Google in desktop ( #4093 )
2023-08-31 23:34:55 -05:00
Peng Xiao
b0024080bd
fix: add back sourcemaps to electron build ( #4090 )
2023-09-01 03:34:18 +00:00
Peng Xiao and Alex Yang
a2e4ef904b
refactor: remove hacky email login ( #4075 )
...
Co-authored-by: Alex Yang <himself65@outlook.com >
2023-08-31 12:49:22 -05:00
Peng Xiao and Alex Yang
13857d59dc
fix: some style issues to sidebar and switch ( #4046 )
...
Co-authored-by: Alex Yang <himself65@outlook.com >
2023-08-31 20:46:06 +08:00
Peng Xiao
8e48255ef8
fix: userinfo title ( #4068 )
2023-08-31 09:46:26 +00:00
Peng Xiao and Alex Yang
4e45554585
feat: support google login on desktop ( #4053 )
...
Co-authored-by: Alex Yang <himself65@outlook.com >
2023-08-31 12:51:49 +08:00
Peng Xiao
d6c0e67bf0
fix: electron white screen ( #4048 )
2023-08-30 09:41:06 -05:00
Peng Xiao
82f8ac50de
fix: replace dmg bg ( #4038 )
2023-08-29 23:30:45 -05:00
Peng Xiao
cbb5b6e4a5
fix: crash on close ( #4033 )
2023-08-30 03:06:43 +00:00
Peng Xiao
800f3c3cb6
feat: add open app route ( #3899 )
2023-08-29 22:40:25 +00:00
Peng Xiao
849e225a2d
fix: disable auto updater on dev ( #4019 )
2023-08-29 14:04:27 -05:00
Peng Xiao
7b0e5b89ed
fix: electron whitescreen ( #4013 )
2023-08-29 11:51:57 -05:00
Peng Xiao
3ef0db7512
fix: add arch key to setup-node cached files ( #4016 )
2023-08-29 16:36:21 +00:00
Peng Xiao
92f9cb01f3
fix: enable electron sourcemap ( #4014 )
2023-08-29 23:42:50 +08:00
Peng Xiao
4abb407b5c
fix: adjust email template font-family ( #4015 )
2023-08-29 23:27:20 +08:00
Peng Xiao and Alex Yang
d62935935f
fix: left sidebar style fixes ( #3950 )
...
Co-authored-by: Alex Yang <himself65@outlook.com >
2023-08-28 16:04:22 +00:00
Peng Xiao
c2d902bd1e
fix: reduce the number of files being packed ( #3974 )
2023-08-28 04:08:46 +00:00
Peng Xiao
36bb3957ab
feat: custom updater provider ( #3959 )
2023-08-25 17:08:28 -05:00
Peng Xiao
765e160ba2
fix: add missing matrix value ( #3937 )
2023-08-24 07:26:49 +00:00
Peng Xiao
efb6de3435
fix: incorrect workflow file ( #3935 )
2023-08-24 06:52:13 +00:00
Peng Xiao
fb6eada410
fix: disable windows signing for nightly ( #3933 )
2023-08-24 05:11:20 +00:00
Peng Xiao
4247a5d0d9
fix: remove use of glob ( #3932 )
2023-08-24 04:34:36 +00:00
Peng Xiao
213f42a8b6
fix: support windows auto update ( #3911 )
2023-08-23 09:14:37 -05:00
Peng Xiao
7d6e91f56e
build: sign windows app ( #3809 )
2023-08-22 10:16:26 -05:00
Peng Xiao
bd826bb7f9
fix: reference page crash for deleted items ( #3835 )
2023-08-18 18:52:09 +00:00
Peng Xiao
ba676eb937
fix: page blink issue on navigation ( #3833 )
2023-08-18 16:45:21 +00:00
Peng Xiao
0ae6c977aa
fix: workaround for fullscreen mode ( #3829 )
2023-08-18 11:26:21 -05:00
Peng Xiao
e4e17ff606
fix: disable updater for internal ( #3819 )
2023-08-17 22:21:30 -05:00
Peng Xiao and Alex Yang
068c697be9
fix: app sidebar ui issues ( #3783 )
...
Co-authored-by: Alex Yang <himself65@outlook.com >
2023-08-17 18:36:17 +00:00
Peng Xiao
61ffc4220c
fix: ignore some files to be bundled ( #3770 )
2023-08-16 18:29:47 +00:00
Peng Xiao
e0a3c7f2bc
fix: disable secondary db test ( #3774 )
2023-08-17 00:11:04 +08:00
Peng Xiao
2830cb19fe
fix: show recursive items ( #3750 )
2023-08-15 04:01:46 +00:00
Peng Xiao
08da58aa1e
fix: allow multiple versions to be installed on windows ( #3740 )
2023-08-14 15:40:00 +00:00
Peng Xiao
1eaf228a30
fix: page references in list/database ( #3702 )
2023-08-11 16:20:33 +00:00