Commit Graph

14 Commits

Author SHA1 Message Date
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
Peng Xiao
5c2d958e2b
fix(core): svg blob syncing issue (#4886) 2023-11-10 05:32:51 +00:00
3720
ef8024c657
feat: new collections (#4530)
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2023-10-27 09:06:59 +00:00
JimmFly
07b5d18441
feat(core): add sign out confirm modal (#4592) 2023-10-16 08:44:09 +00:00
JimmFly
5ebd82dc04
feat(core): adjust share menu style (#4584) 2023-10-12 03:26:13 +00:00
Alex Yang
8f5ee9234c
test: remove deprecated api usage (#4577) 2023-10-11 06:05:06 +00:00
Alex Yang
bd0ed7f474
test: fix flaky (#4463) 2023-09-22 20:18:41 +00:00
Peng Xiao
b9656b1e22
fix: orderby in members list (#4375)
Co-authored-by: LongYinan <lynweklm@gmail.com>
2023-09-15 19:24:00 +00:00
Qi
98429bf89e
feat: support pagination for member list (#4231) 2023-09-12 03:37:59 +00:00
Alex Yang
5f0605a5d9
feat: page view storage with cloud support (#4238) 2023-09-08 22:02:22 +00:00
Alex Yang
57c5f6cd2c
fix(core): display user name dynamically (#4248) 2023-09-07 05:02:21 +00:00
Alex Yang
b3d902e33f
fix(core): sign out jump to 404 (#4204) 2023-09-06 06:58:05 +00:00
Alex Yang
be9ae57a8e
test: cover basic collaborative (#4127) 2023-09-02 01:06:47 -05:00
Alex Yang
4f97ea8a5d
test: cover share page e2e (#4126) 2023-09-02 00:57:04 -05:00