LongYinan
e4b9f01186
chore: bump up chromatic version to v10 ( #5512 )
...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [chromatic](https://www.chromatic.com ) ([source](https://togithub.com/chromaui/chromatic-cli )) | [`^9.1.0` -> `^10.0.0`](https://renovatebot.com/diffs/npm/chromatic/9.1.0/10.2.0 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/chromatic/10.2.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/chromatic/10.2.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/chromatic/9.1.0/10.2.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/chromatic/9.1.0/10.2.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>chromaui/chromatic-cli (chromatic)</summary>
### [`v10.2.0`](https://togithub.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v1020-Thu-Dec-21-2023 )
[Compare Source](https://togithub.com/chromaui/chromatic-cli/compare/v10.1.0...v10.2.0 )
##### 🚀 Enhancement
- Replace `getUploadUrls` with `uploadBuild` mutation [#​876](https://togithub.com/chromaui/chromatic-cli/pull/876 ) ([@​ghengeveld](https://togithub.com/ghengeveld ))
- Implement file hashing for to-be-uploaded files [#​870](https://togithub.com/chromaui/chromatic-cli/pull/870 ) ([@​ghengeveld](https://togithub.com/ghengeveld ))
##### 🐛 Bug Fix
- Allow overriding `NODE_ENV` with `STORYBOOK_NODE_ENV` [#​879](https://togithub.com/chromaui/chromatic-cli/pull/879 ) ([@​tmeasday](https://togithub.com/tmeasday ))
- Use code splitting in tsup CJS output [#​873](https://togithub.com/chromaui/chromatic-cli/pull/873 ) ([@​tmeasday](https://togithub.com/tmeasday ))
##### Authors: 2
- Gert Hengeveld ([@​ghengeveld](https://togithub.com/ghengeveld ))
- Tom Coleman ([@​tmeasday](https://togithub.com/tmeasday ))
***
### [`v10.1.0`](https://togithub.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v1010-Thu-Dec-07-2023 )
[Compare Source](https://togithub.com/chromaui/chromatic-cli/compare/v10.0.0...v10.1.0 )
##### 🚀 Enhancement
- Increase number of commits checked for squash merge [#​866](https://togithub.com/chromaui/chromatic-cli/pull/866 ) ([@​tmeasday](https://togithub.com/tmeasday ) [@​tevanoff](https://togithub.com/tevanoff ))
##### Authors: 2
- Todd Evanoff ([@​tevanoff](https://togithub.com/tevanoff ))
- Tom Coleman ([@​tmeasday](https://togithub.com/tmeasday ))
***
### [`v10.0.0`](https://togithub.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v1000-Fri-Dec-01-2023 )
[Compare Source](https://togithub.com/chromaui/chromatic-cli/compare/v9.1.0...v10.0.0 )
##### 💥 Breaking Change
- Force `NODE_ENV=production` for Storybook builds through the CLI [#​865](https://togithub.com/chromaui/chromatic-cli/pull/865 ) ([@​tmeasday](https://togithub.com/tmeasday ))
##### 🐛 Bug Fix
- Support pinning GitHub Action to major or patch version [#​863](https://togithub.com/chromaui/chromatic-cli/pull/863 ) ([@​ghengeveld](https://togithub.com/ghengeveld ))
##### Authors: 2
- Gert Hengeveld ([@​ghengeveld](https://togithub.com/ghengeveld ))
- Tom Coleman ([@​tmeasday](https://togithub.com/tmeasday ))
***
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=-->
2024-01-04 14:00:45 +00:00
JimmFly
971f2beed1
fix(core): disable quick search when the link-popup is visitable ( #5409 )
...
close AFF-471
2024-01-04 11:36:50 +00:00
Peng Xiao
6cb62ed25d
feat: bump blocksuite ( #5453 )
...
Change history: https://github.com/toeverything/blocksuite/compare/e3abcbb...master
2024-01-03 02:10:19 +00:00
EYHN
104c21d84c
refactor(workspace): split workspace interface and implementation ( #5463 )
...
@affine/workspace -> (@affine/workspace, @affine/workspace-impl)
2024-01-02 10:58:01 +00:00
EYHN
9d0b3b4947
refactor(core): move workspace atoms to core ( #5459 )
...
@affine/workspace/atom -> @affine/core/modules/workspace
2024-01-02 10:06:48 +00:00
EYHN
4b217e6b89
refactor(core): move hooks to core ( #5458 )
...
* move @toeverything/hooks -> @affine/core/hooks
* delete @toeverything/hooks
hooks are all business-related logic and are deeply coupled with other parts.
Move them into the core and then reconstruct them by feature.
2024-01-02 08:05:46 +00:00
Peng Xiao
6fefe4ec71
fix(storybook): storybook flaky ( #5430 )
...
should add additional wait timeout for every story.play
I think this is a storybook issue. It seems that it starts to run the plays as soon as the following shows up:
![CleanShot 2023-12-28 at 17.32.49@2x.png ](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/33d5e49d-a2fd-46c5-9f31-0f7cc14c3acf.png )
2023-12-28 10:07:05 +00:00
EYHN
9d51f9596f
refactor(component): make component pure ( #5427 )
2023-12-28 09:57:26 +00:00
EYHN
86bd2a7d72
refactor(infra): no bundle infra ( #5414 )
2023-12-27 06:54:24 +00:00
EYHN
265ee81666
refactor(infra): remove old plugin system ( #5411 )
...
plugin system need redesign
2023-12-27 02:49:59 +00:00
Peng Xiao
c02ec5f7b9
fix(infra): workaround for self-referencing in storybook ( #5406 )
2023-12-26 20:27:20 +08:00
regischen
a10aeca820
feat: bump blocksuite ( #5386 )
2023-12-22 18:04:05 +08:00
Flrande
a08edfd6d9
feat: bump blocksuite ( #5374 )
2023-12-22 03:17:57 +00:00
Chen
4dc41fcd09
feat: bump blocksuite ( #5357 )
2023-12-21 12:22:39 +08:00
Peng Xiao
bfbdde212f
fix(storybook): disable onboarding for storybook ( #5351 )
2023-12-21 03:11:44 +00:00
Joooye_34
a4f31df192
chore: update basic version to 0.11.0 ( #5355 )
2023-12-20 08:10:42 +00:00
LongYinan
800ea0abf1
fix(core): remove ses lockdown ( #5350 )
2023-12-20 04:11:34 +00:00
Joooye_34
e3882f9648
feat: bump bs ( #5346 )
...
Change history: a781985...8254dc9
2023-12-20 02:43:01 +00:00
LongYinan
30e62bd2c6
fix(core): downgrade ses ( #5347 )
...
ses@1 makes [this line](https://github.com/lit/lit/blob/lit-html%403.1.0/packages/reactive-element/src/reactive-element.ts#L406 ) throw an error: `TypeError: Cannot add property metadata, object is not extensible.`
2023-12-20 02:28:58 +00:00
Yifeng Wang
31b1b2dade
feat: bump blocksuite ( #5343 )
2023-12-19 21:53:57 +08:00
LongYinan
36653e79d2
fix(core): dedupe ses versions ( #5342 )
2023-12-19 13:31:37 +00:00
Cats Juice
55818539af
feat(core): basic page/edgeless toggle animation ( #5283 )
2023-12-19 08:48:54 +00:00
JimmFly
38617abc17
fix(component): fix incorrect input component width and height styling ( #5292 )
...
after:
https://github.com/toeverything/AFFiNE/assets/102217452/5d8f51c5-c7a6-4ec8-b2b0-7f1391f045c7
2023-12-19 08:27:46 +00:00
Peng Xiao
408b84109b
fix(storybook): disable cloud for storybook ( #5330 )
2023-12-19 02:07:17 +00:00
JimmFly
cef9e0539d
fix(storybook): fix test ( #5325 )
...
<img width="440" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/329f9c12-cc0b-4aae-9352-3811ab0a27a6 ">
2023-12-18 13:36:56 +00:00
EYHN
fe2851d3e9
refactor: workspace manager ( #5060 )
2023-12-15 07:20:50 +00:00
Yifeng Wang
af15aa06d4
feat: bump blocksuite ( #5286 )
...
Co-authored-by: donteatfriedrice <huisheng.chen7788@outlook.com>
2023-12-15 12:57:52 +08:00
JimmFly
f4a52c031f
feat(core): support sidebar page item dnd ( #5132 )
...
Added the ability to drag page items from the `all pages` view to the sidebar, including `favourites,` `collection` and `trash`. Page items in `favourites` and `collection` can also be dragged between each other. However, linked subpages cannot be dragged.
Additionally, an operation menu and ‘add’ button have been provided for the sidebar’s page items, enabling the addition of a subpage, renaming, deletion or removal from the sidebar.
On the code front, the `useSidebarDrag` hooks have been implemented for consolidating drag events. The functions `getDragItemId` and `getDropItemId` have been created, and they accept type and ID to obtain itemId.
https://github.com/toeverything/AFFiNE/assets/102217452/d06bac18-3c28-41c9-a7d4-72de955d7b11
2023-12-12 16:04:58 +00:00
Flrande
9aa33d0228
feat: bump blocksuite ( #5267 )
...
Change history: 2b5bb47...2b3d2ba
2023-12-12 06:18:30 +00:00
JimmFly
feb7bd9fef
fix(cli): fix storybook build error ( #5257 )
...
<img width="1036" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/477d653e-80b5-4364-a073-e3386cd7ab17 ">
2023-12-11 08:07:43 +00:00
Yifeng Wang
d507c24570
feat: bump blocksuite ( #5228 )
2023-12-07 19:28:49 +08:00
Yifeng Wang
819f0243d5
feat: bump blocksuite ( #5218 )
...
Co-authored-by: LongYinan <lynweklm@gmail.com>
2023-12-07 18:24:23 +08:00
Yifeng Wang
6cbf5b2a92
feat: bump blocksuite ( #5194 )
...
Co-authored-by: AyushAgrawal-A2 <ayushagl06@gmail.com>
2023-12-06 18:15:03 +08:00
Flrande
a2784c352f
chore: bump blocksuite ( #5138 )
2023-12-04 12:02:35 +00:00
Cats Juice
9c50dbc362
feat(core): remove all imports from design/component ( #5078 )
...
feat(core): remove all imports from design/component
feat(plugin): remove imports from design-components
feat(storybook): remove design-components imoprts
feat(core): remove
fix(component): remove design/component import in local-demo-tip
2023-12-04 08:32:16 +00:00
Joooye_34
eb7d293aaa
fix(core): implement editor timeout and report error from boundary ( #5105 ) ( #5151 )
...
fix(core): implement editor timeout and report error from boundary (#5105 )
ci: add sentry env when frontend assets build (#5131 )
fix(core): expose catched editor load error (#5133 )
fix(infra): use blocksuite api to check compatibility (#5137 )
fix(infra): compatibility logic follow blocksuite (#5143 )
fix(core): rerender error boundary when route change and improve sentry report (#5147 )
2023-12-01 07:25:08 +00:00
Peng Xiao
71d6b730f7
chore: bump blocksuite ( #5051 )
...
https://github.com/toeverything/blocksuite/pull/5337
2023-11-27 04:46:23 +00:00
Joooye_34
317ca7f4e7
ci: fix storybook publish problem ( #5047 )
2023-11-23 23:38:09 +08:00
JimmFly
4168551783
chore: bump icons version ( #5042 )
2023-11-23 12:00:51 +00:00
LongYinan
25eda22af6
v0.10.3-canary.2
2023-11-23 16:47:40 +08:00
李华桥
9ded6afb4b
chore: v0.10.3-canary.1
2023-11-23 14:39:55 +08:00
JimmFly
ad2d3b9167
feat(core): add download app button to web ( #5023 )
2023-11-23 14:33:25 +08:00
LongYinan
3499dbbb7f
feat: upgrade dependencies and lockfile ( #5016 )
...
- Close https://github.com/toeverything/AFFiNE/security/dependabot/47
2023-11-23 05:18:05 +00:00
Flrande
d7d47853fe
chore: bump blocksuite ( #5030 )
2023-11-22 20:51:35 +08:00
Flrande
a3d880daa3
chore: bump blocksuite ( #5026 )
2023-11-22 20:12:52 +08:00
李华桥
00c11d40cf
v0.10.3-canary.0
2023-11-21 10:02:46 +08:00
李华桥
0f6b28fd06
c0.11.0-canary.0
2023-11-20 23:53:50 +08:00
Cats Juice
57d42bf491
refactor(core): remove all MUI related components and utilities ( #4941 )
2023-11-20 10:51:28 +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