EYHN
aa4c7407de
refactor: new provider ( #4900 )
2023-11-17 15:50:01 +08:00
Flrande
8b2c3d4c41
chore: bump blocksuite ( #4958 )
2023-11-16 22:01:03 +08:00
JimmFly
ddd7cab414
feat(core): support share edgeless mode ( #4856 )
...
Close #3287
<!--
copilot:all
-->
### <samp>🤖 Generated by Copilot at d3fdf86</samp>
### Summary
📄 🚀 🔗
<!--
1. 📄 - This emoji represents the page and edgeless modes of sharing a page, as well as the GraphQL operations and types related to public pages.
2. 🚀 - This emoji represents the functionality of publishing and revoking public pages, as well as the confirmation modal and the notifications for the user.
3. 🔗 - This emoji represents the sharing URL and the query parameter for the share mode, as well as the hooks and functions that generate and use the URL.
-->
This pull request adds a feature to the frontend component of AFFiNE that allows the user to share a page in either `page` or `edgeless` mode, which affects the appearance and functionality of the page. It also adds the necessary GraphQL operations, types, and schema to support this feature in the backend, and updates the tests and the storybook stories accordingly.
* Modify the `useIsSharedPage` hook to accept an optional `shareMode` argument and use the `getWorkspacePublicPagesQuery`, `publishPageMutation`, and `revokePublicPageMutation` from `@affine/graphql`
2023-11-15 16:02:58 +08:00
Joooye_34
ea4f5ffc83
fix(infra): workspace migration without blockVersions ( #4936 )
2023-11-14 23:03:40 +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) 0714c12703/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
Whitewater
eded501123
fix: get page preview based on block order ( #4888 )
...
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2023-11-12 15:09:57 +00:00
Peng Xiao
a8d89254ce
fix(electron): dev reload ( #4911 )
2023-11-12 03:19:27 +00:00
李华桥
7525126d89
fix(core): change server url of stable to insider
2023-11-10 20:07:18 +08:00
Joooye_34
30bac7dce2
ci(core): eslint errors for core ( #4662 )
2023-11-10 10:25:59 +00:00
Joooye_34
b98a258083
fix(core): change server url of stable to insider ( #4902 )
2023-11-10 15:46:31 +08:00
Yifeng Wang
28177657ef
chore: bump theme ( #4904 )
...
Co-authored-by: 李华桥 <joooye1991@gmail.com>
2023-11-10 15:42:06 +08:00
Peng Xiao
5c2d958e2b
fix(core): svg blob syncing issue ( #4886 )
2023-11-10 05:32:51 +00:00
Yifeng Wang
2117d6b232
chore: bump blocksuite ( #4901 )
2023-11-10 13:23:29 +08:00
李华桥
5c48c83301
v0.10.0
2023-11-10 11:42:04 +08:00
fourdim
af7d331610
feat(core): add global loading state ( #4840 )
2023-11-10 03:25:05 +00:00
JimmFly
1fe5a0fffa
feat(core): auto select block when jump to block ( #4858 )
...
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2023-11-10 03:02:56 +00:00
fourdim
f1e32aab66
fix(hooks): push success toast after save ( #4830 )
2023-11-10 02:40:52 +00:00
liuyi
7698a6ac8e
chore(server): bump octobase versions ( #4893 )
...
Co-authored-by: DarkSky <darksky2048@gmail.com>
2023-11-10 02:25:28 +00:00
李华桥
063f5a683e
v0.10.0-canary.16
2023-11-10 10:10:54 +08:00
Peng Xiao
fd74776abe
fix(core): disable sync doc/blob on start ( #4897 )
2023-11-09 18:00:53 +00:00
李华桥
09c3a8828f
chore: add performance logger
2023-11-10 00:33:48 +08:00
李华桥
075eead9fa
v0.10.0-canary.15
2023-11-09 23:27:12 +08:00
Joooye_34
15b0c127f5
chore: disable outline, copilot and hello world plugin ( #4894 )
2023-11-09 14:53:45 +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
Joooye_34
af72bf0f69
feat(core): support signup set password before goto stripe payment url ( #4892 )
2023-11-09 11:58:16 +00:00
liuyi
f9654bb1f8
feat(core): unify all new created page IDs to nanoid ( #4884 )
2023-11-09 09:22:02 +00:00
EYHN
e3e0553c56
fix(hooks): missing page preview and references ( #4863 )
2023-11-09 08:59:36 +00:00
Joooye_34
12a2ccf1a5
fix(core): visit /signin pay when already logged and subscribed ( #4882 )
...
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2023-11-09 07:38:52 +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
3720
da2821eaac
fix(core): collections data migration without blocking data reads ( #4866 )
2023-11-08 12:38:43 +00:00
Joooye_34
c55565ee71
chore: update changelog url ( #4868 )
2023-11-08 12:08:24 +00:00
Joooye_34
744cd47481
v0.10.0-canary.14
2023-11-08 15:36:54 +08:00
Hongtao Lye
12c72e63b1
chore: bump blocksuite version ( #4862 )
2023-11-08 07:12:48 +00:00
EYHN
b7edaab387
chore: fix code style issues ( #4857 )
2023-11-08 05:51:08 +00:00
JimmFly
83472cc682
fix(core): duplicate registration in edgeless ( #4864 )
2023-11-08 02:47:46 +00:00
3720
08e7fa3486
fix(core): improve the UX for edit collection ( #4827 )
...
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2023-11-07 10:18:56 +00:00
Joooye_34
f50b8002b3
v0.10.0-canary.13
2023-11-07 09:55:30 +08:00
Joooye_34
7a4669a6aa
feat(core): implement parts of workspace upgrade design ( #4850 )
2023-11-06 17:02:25 +00:00
Joooye_34
8554d5d791
v0.10.0-canary.12
2023-11-07 00:13:51 +08:00
Peng Xiao
da9934fbdc
fix(electron): add search to proxied url ( #4852 )
2023-11-06 14:47:44 +00:00
JimmFly
acf0734c95
fix(core): adjust discount display ( #4847 )
2023-11-06 10:17:24 +00:00
Peng Xiao
cfffcad1b8
fix(core): adapt blob in sqlite for svg type ( #4845 )
2023-11-06 10:09:48 +00:00
Joooye_34
3b74ff2b92
v0.10.0-canary.11
2023-11-06 18:10:28 +08:00
JimmFly
2b34e1a9cd
feat(core): adjust filter logic ( #4831 )
2023-11-06 06:41:18 +00:00
JimmFly
9664d142ad
feat(core): temporary expansion files are limited to 100M ( #4833 )
2023-11-06 06:38:46 +00:00
JimmFly
e7106b7393
chore(i18n): adjust text ( #4832 )
2023-11-06 06:36:49 +00:00
liuyi
f491ff94cc
refactor(server): separate page visibility from workspace permission ( #4836 )
2023-11-06 03:49:39 +00:00
Cats Juice
7a8150398c
feat(core): payment plans error boundary ( #4744 )
2023-11-06 02:42:21 +00:00
Cats Juice
3c4dbed16b
fix(core): payment UI fix ( #4839 )
2023-11-06 02:40:52 +00:00
Peng Xiao
7e381e830a
perf(core): load all pages after 10s ( #4834 )
2023-11-03 09:42:29 +00:00
Cats Juice
61dc4a56f9
fix(core): implement pricing plans scroll area with radix ( #4824 )
2023-11-03 06:16:25 +00:00
JimmFly
788c445f2b
chore(i18n): add new key for empty trash page ( #4829 )
2023-11-03 06:15:13 +00:00
Joooye_34
97db941749
fix(core): remove responsive editor width ( #4821 )
2023-11-03 04:47:51 +00:00
Joooye_34
fb0aaabe53
v0.10.0-canary.10
2023-11-02 23:40:34 +08:00
Cats Juice
de33967a73
fix(component): flex setting-modal header & footer ( #4818 )
2023-11-02 15:11:20 +00:00
Peng Xiao
65321e39cc
refactor(component): virtual rendering page list ( #4775 )
...
Co-authored-by: Joooye_34 <Joooye1991@gmail.com>
2023-11-02 14:21:01 +00:00
JimmFly
0a88be7771
feat(core): add jump to block for cmdk ( #4802 )
2023-11-02 11:49:49 +00:00
3720
7068d5f38a
feat(core): remove mode
and pages
field from Collection ( #4817 )
2023-11-02 10:47:43 +00:00
forehalo
7e516236f5
fix(workspace): remove awareness states cache
2023-11-02 18:24:00 +08:00
Hongtao Lye
15024c6c8a
chore: bump blocksuite ( #4801 )
2023-11-02 09:12:23 +00:00
liuyi
6a93203d68
feat(server): sync data with ack ( #4791 )
2023-11-02 09:05:28 +00:00
JimmFly
af9663d3e7
fix(core): adjust payment related text ( #4797 )
2023-11-02 08:22:54 +00:00
EYHN
1d7e3dd570
fix(core): currentUser undefined when all workspaces deleted ( #4812 )
2023-11-02 07:20:08 +00:00
EYHN
6ef02fbc38
fix(core): fix block suite edit mode switch shortcut ( #4813 )
2023-11-02 07:17:44 +00:00
Joooye_34
75c8dd75e3
v0.10.0-canary.9
2023-11-01 22:03:47 +08:00
Cats Juice
e5c86a9249
fix(core): billing cancel confirm dialog ( #4795 )
2023-11-01 09:38:43 +00:00
3720
e5be570f54
fix(core): text color of search input, style for the multi-select tag, date-picker autofocus issue ( #4799 )
2023-11-01 09:28:00 +00:00
Joooye_34
0273ea8b00
v0.10.0-canary.8
2023-11-01 00:03:04 +08:00
JimmFly
97d189f1c8
fix(component): adjust autofill style ( #4773 )
2023-10-31 15:30:35 +00:00
Joooye_34
db36f81d24
feat(core): support subscribe plan after login ( #4788 )
2023-10-31 15:29:23 +00:00
DarkSky
c30d2550ff
fix: request prevented when re-downgrade subscribe ( #4786 )
2023-10-31 11:17:28 +00:00
Cats Juice
93e286177f
feat(core): billing history pagination ( #4787 )
2023-10-31 09:47:59 +00:00
Peng Xiao
8ca53326a7
fix(electron): update app icons ( #4789 )
...
Co-authored-by: Joooye_34 <Joooye1991@gmail.com>
2023-10-31 09:09:42 +00:00
Cats Juice
7d6c096462
feat(core): payment billing loading ( #4763 )
2023-10-31 09:00:19 +00:00
Peng Xiao
f08408ebe5
fix(core): possible crash issues ( #4783 )
2023-10-31 08:56:14 +00:00
Cats Juice
0ad0ab50d0
fix(core): adjust setting-modal layout to center tip ( #4776 )
2023-10-31 08:10:41 +00:00
Joooye_34
563863005f
v0.10.0-canary.6
2023-10-31 14:40:47 +08:00
Joooye_34
37ec552f74
v0.10.0-canary.5
2023-10-31 11:54:25 +08:00
Peng Xiao
9e3c79526c
fix(core): selectAtom crash on isEqual ( #4780 )
2023-10-31 03:29:18 +00:00
JimmFly
a015dc42bb
feat(core): support fuzzy highlighting ( #4765 )
2023-10-31 03:02:53 +00:00
Joooye_34
17afe218fe
v0.10.0-canary.4
2023-10-31 01:49:15 +08:00
Joooye_34
9102f1f9a9
Merge pull request #4768 from toeverything/zzj/new-collections-i18n
...
feat(i18n): add i18n support for new collections
2023-10-30 16:39:14 +00:00
LongYinan
fc27a2e906
fix(core): description field in html template
2023-10-30 19:57:54 +08:00
JimmFly
1b0c604c02
feat(i18n): add new key for billing
2023-10-30 17:46:48 +08:00
zzj3720
f23ec9063c
feat(collections): completion i18n
2023-10-30 17:06:59 +08:00
DarkSky
95c1a44a0d
Merge branch 'master' into payment-system
2023-10-30 01:55:51 -05:00
DarkSky
de9e7f97a4
feat: add idempotent request support for payment apis ( #4753 )
2023-10-30 05:54:09 +00:00
Flrande
2aa4b4c1f3
fix: remove awareness state before window unload ( #4752 )
2023-10-29 19:50:18 +00:00
Cats Juice
8c194ab8b0
feat(core): confirm before cancel in billing page ( #4749 )
2023-10-28 14:12:25 +08:00
3720
ef8024c657
feat: new collections ( #4530 )
...
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2023-10-27 09:06:59 +00:00
Joooye_34
abbd8235aa
chore(core): enable payment in canary ( #4745 )
2023-10-27 16:59:13 +08:00
Joooye_34
385de7d33b
Merge remote-tracking branch 'origin/master' into payment-system
2023-10-27 16:04:48 +08:00
Cats Juice
87571a0879
chore(core): replace setting-modal sidebar icons ( #4742 )
2023-10-27 15:59:41 +08:00
JimmFly
af24334264
feat(core): add upgrade success page ( #4738 )
2023-10-27 15:49:32 +08:00
JimmFly
35dbbe561a
feat(core): adjust member tips ( #4737 )
2023-10-27 14:25:48 +08:00
Cats Juice
edb6e0fd69
feat(core): pricing plans actions ( #4724 )
2023-10-26 22:00:14 +08:00
JimmFly
e0f7ac426c
feat(core): add translation key for payment ( #4723 )
2023-10-26 16:15:12 +08:00
Joooye_34
1deb6bffd3
feat(core): disable payment in canary ( #4722 )
2023-10-26 00:50:39 +08:00
JimmFly
ae6376edee
chore(core): update communities icon ( #4719 )
2023-10-25 10:45:54 +00:00
JimmFly
780c164cc8
fix(core): retrieve missing search result titles ( #4718 )
2023-10-25 10:45:14 +00:00
JimmFly
df69c908fe
feat(core): adapt storage progress to payment system ( #4713 )
2023-10-25 16:18:30 +08:00
Cats Juice
eaa90c9fb6
feat(core): payment plans skeleton ( #4715 )
2023-10-25 16:16:50 +08:00
Cats Juice
e8a88da9e4
feat(core): auto scroll to current payment plan ( #4714 )
2023-10-25 10:58:19 +08:00
joooye34
559ec3956f
v0.10.0-canary.3
2023-10-24 20:18:21 +08:00
Cats Juice
3749125907
feat(core): full width scroll area for plans ( #4708 )
2023-10-24 18:38:31 +08:00
LongYinan
b13705ba3d
ci: remove setup-maker to reduce release duration ( #4710 )
2023-10-24 10:09:40 +00:00
JimmFly
df77ffde9a
feat(core): add account subscription status ( #4707 )
2023-10-24 18:05:56 +08:00
Flrande
627e5dfbb5
feat: bump blocksuite ( #4706 )
2023-10-24 09:00:27 +00:00
JimmFly
5226d6c568
feat(core): add search result highlighting ( #4667 )
...
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2023-10-24 05:54:37 +00:00
liuyi
113b20f669
fix(core): payment ui issues ( #4672 )
2023-10-24 11:40:46 +08:00
liuyi
95d37fc63f
refactor(core): make subscription hook ( #4669 )
2023-10-24 11:40:46 +08:00
liuyi
858a1da35f
feat(core): impl billing settings ( #4652 )
2023-10-24 11:40:46 +08:00
forehalo
1d62133f4f
feat(core): impl subscription plans setting
2023-10-24 11:40:46 +08:00
forehalo
df054ac7f6
feat(core): payment backend
2023-10-24 11:40:44 +08:00
dependabot[bot]
e75a0743f8
chore: bump @mui/material from 5.14.13 to 5.14.14 ( #4678 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 08:07:04 +00:00
dependabot[bot]
b52e006bfe
chore: bump @mui/icons-material from 5.14.13 to 5.14.14 ( #4680 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 07:04:49 +00:00
Peng Xiao
a8b10c64b8
fix(component): disable CMDK list animation ( #4685 )
2023-10-23 06:46:11 +00:00
dependabot[bot]
9d6b335829
chore: bump @aws-sdk/client-s3 from 3.428.0 to 3.433.0 ( #4682 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 06:38:37 +00:00
Alex Yang
d9e2d17a26
refactor: cleanup code
2023-10-20 19:28:04 -05:00
Peng Xiao
817463c40e
feat(component): checkbox ( #4665 )
2023-10-20 03:46:44 +00:00
LongYinan
54aad58388
ci: fix electron make script on Windows ( #4666 )
2023-10-19 13:00:11 +00:00
LongYinan
37c6560dd6
v0.10.0-canary.2
2023-10-19 17:18:18 +08:00
Joooye_34
61d9958a4c
feat(core): change favicon ( #4663 )
2023-10-19 08:46:59 +00:00
Joooye_34
d835be90cb
chore: prettier ignore file generated by napi-rs ( #4661 )
2023-10-19 07:17:04 +00:00
JimmFly
c54489ba6e
fix: wrong confirm button position ( #4657 )
2023-10-19 03:16:12 +00:00
Alex Yang
9958baa843
fix(hooks): use uuid as pageId ( #4658 )
2023-10-18 22:14:41 -05:00
Alex Yang
97d8660a54
refactor(electron): fix vitest and add behavior test ( #4655 )
2023-10-18 22:14:30 -05:00
Alex Yang
b14a6bc29e
build: fix generate-assets.ts
2023-10-18 16:33:09 -05:00
Joooye_34
bed9310519
refactor(infra): directory structure ( #4615 )
2023-10-18 15:30:08 +00:00