fourdim
0ff1e8d2f7
fix: breaking function signature on showImportModal onSuceessHandler ( #6011 )
...
This will fix the breaking change introduced in
da781df473
This should be merged after the next BlockSuite bump.
2024-03-05 18:51:39 +00:00
EYHN
dce3b59c52
fix(core): fix falsy e2e ( #6027 )
2024-03-05 15:25:19 +00:00
EYHN
5d8dea084c
fix(core): fix journal missing after refresh ( #6022 )
2024-03-05 11:42:09 +00:00
JimmFly
c1afdb9bd6
fix(core): unexpected line breaks ( #6019 )
2024-03-05 10:02:22 +00:00
EYHN
e9d51f6c96
fix(component): journal header button no responce ( #6021 )
2024-03-05 09:40:19 +00:00
Peng Xiao
65b32156a8
build: do not fail build for a non-fatal error ( #6017 )
2024-03-05 08:27:47 +00:00
Peng Xiao
63e82cca78
build: remove incorrect project dep ( #6016 )
2024-03-05 07:44:13 +00:00
Lye Hongtao
5bebcec2eb
feat: bump blocksuite ( #6015 )
...
## Features
- https://github.com/toeverything/BlockSuite/pull/6379 @doodlewind
- https://github.com/toeverything/BlockSuite/pull/6375 @doodlewind
- https://github.com/toeverything/BlockSuite/pull/6370 @donteatfriedrice
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/6380 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6377 @doouding
- https://github.com/toeverything/BlockSuite/pull/6376 @fourdim
- https://github.com/toeverything/BlockSuite/pull/6374 @regischen
## Misc
- docs: update examples desc
- ci: start publishing 0.13 canary
2024-03-05 07:35:05 +00:00
EYHN
7c76c25a9c
refactor(core): new back&forward button base on workbench ( #6012 )
...
# feature:
## In Browser:
- hidden back&forward button in sidebar.
- back and forward is equal with `window.history.back()` `window.history.forward()`
## In Desktop:
- Back and forward can be controlled through the sidebar, cmdk, and shortcut keys.
- back and forward act on the currently **active** view.
- buttons change disable&enable style based on current active view history
# Refactor:
Move app-sidebar and app-container from @affine/component to @affine/core
2024-03-05 07:01:24 +00:00
Lye Hongtao
b06aeb22dd
fix: view in edgeless button of surface block ( #6013 )
...
Co-authored-by: donteatfriedrice <huisheng.chen7788@outlook.com>
Co-authored-by: Chen <99816898+donteatfriedrice@users.noreply.github.com>
2024-03-05 14:35:53 +08:00
Chen
ebf7a74387
feat: bump blocksuite ( #6010 )
2024-03-05 14:19:11 +08:00
LongYinan
9a3ae9302e
chore: bump up all non-major dependencies ( #5964 )
...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@aws-sdk/client-s3](https://togithub.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3 ) ([source](https://togithub.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-s3 )) | [`3.523.0` -> `3.525.0`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-s3/3.523.0/3.525.0 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@aws-sdk%2fclient-s3/3.525.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@aws-sdk%2fclient-s3/3.525.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@aws-sdk%2fclient-s3/3.523.0/3.525.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@aws-sdk%2fclient-s3/3.523.0/3.525.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@node-rs/jsonwebtoken](https://togithub.com/napi-rs/node-rs ) | [`^0.4.0` -> `^0.5.0`](https://renovatebot.com/diffs/npm/@node-rs%2fjsonwebtoken/0.4.0/0.5.1 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@node-rs%2fjsonwebtoken/0.5.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@node-rs%2fjsonwebtoken/0.5.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@node-rs%2fjsonwebtoken/0.4.0/0.5.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@node-rs%2fjsonwebtoken/0.4.0/0.5.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@nx/vite](https://nx.dev ) ([source](https://togithub.com/nrwl/nx/tree/HEAD/packages/vite )) | [`18.0.5` -> `18.0.7`](https://renovatebot.com/diffs/npm/@nx%2fvite/18.0.5/18.0.7 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@nx%2fvite/18.0.7?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@nx%2fvite/18.0.7?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@nx%2fvite/18.0.5/18.0.7?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@nx%2fvite/18.0.5/18.0.7?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@opentelemetry/exporter-prometheus](https://togithub.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-exporter-prometheus ) ([source](https://togithub.com/open-telemetry/opentelemetry-js )) | [`^0.48.0` -> `^0.49.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2fexporter-prometheus/0.48.0/0.49.1 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@opentelemetry%2fexporter-prometheus/0.49.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@opentelemetry%2fexporter-prometheus/0.49.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@opentelemetry%2fexporter-prometheus/0.48.0/0.49.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@opentelemetry%2fexporter-prometheus/0.48.0/0.49.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@opentelemetry/instrumentation](https://togithub.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation ) ([source](https://togithub.com/open-telemetry/opentelemetry-js )) | [`^0.48.0` -> `^0.49.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2finstrumentation/0.48.0/0.49.1 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@opentelemetry%2finstrumentation/0.49.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@opentelemetry%2finstrumentation/0.49.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@opentelemetry%2finstrumentation/0.48.0/0.49.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@opentelemetry%2finstrumentation/0.48.0/0.49.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@opentelemetry/instrumentation-http](https://togithub.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation-http ) ([source](https://togithub.com/open-telemetry/opentelemetry-js )) | [`^0.48.0` -> `^0.49.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2finstrumentation-http/0.48.0/0.49.1 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@opentelemetry%2finstrumentation-http/0.49.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@opentelemetry%2finstrumentation-http/0.49.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@opentelemetry%2finstrumentation-http/0.48.0/0.49.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@opentelemetry%2finstrumentation-http/0.48.0/0.49.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@opentelemetry/sdk-node](https://togithub.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-sdk-node ) ([source](https://togithub.com/open-telemetry/opentelemetry-js )) | [`^0.48.0` -> `^0.49.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2fsdk-node/0.48.0/0.49.1 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@opentelemetry%2fsdk-node/0.49.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@opentelemetry%2fsdk-node/0.49.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@opentelemetry%2fsdk-node/0.48.0/0.49.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@opentelemetry%2fsdk-node/0.48.0/0.49.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [jotai-effect](https://togithub.com/jotaijs/jotai-effect ) | [`^0.5.0` -> `^0.6.0`](https://renovatebot.com/diffs/npm/jotai-effect/0.5.0/0.6.0 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/jotai-effect/0.6.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/jotai-effect/0.6.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/jotai-effect/0.5.0/0.6.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/jotai-effect/0.5.0/0.6.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [yarn](https://togithub.com/yarnpkg/berry ) ([source](https://togithub.com/yarnpkg/berry/tree/HEAD/packages/yarnpkg-cli )) | [`4.1.0` -> `4.1.1`](https://renovatebot.com/diffs/npm/yarn/4.1.0/4.1.1 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/yarn/4.1.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/yarn/4.1.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/yarn/4.1.0/4.1.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/yarn/4.1.0/4.1.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>aws/aws-sdk-js-v3 (@​aws-sdk/client-s3)</summary>
### [`v3.525.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#35250-2024-02-29 )
[Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.523.0...v3.525.0 )
**Note:** Version bump only for package [@​aws-sdk/client-s3](https://togithub.com/aws-sdk/client-s3 )
</details>
<details>
<summary>napi-rs/node-rs (@​node-rs/jsonwebtoken)</summary>
### [`v0.5.1`](https://togithub.com/napi-rs/node-rs/releases/tag/%40node-rs/jsonwebtoken%400.5.1 )
[Compare Source](https://togithub.com/napi-rs/node-rs/compare/@node-rs/jsonwebtoken@0.5.0...@node-rs/jsonwebtoken@0.5.1 )
#### What's Changed
- chore(deps): lock file maintenance by [@​renovate](https://togithub.com/renovate ) in [https://github.com/napi-rs/node-rs/pull/800 ](https://togithub.com/napi-rs/node-rs/pull/800 )
- fix(jsonwebtoken): handle error in decodeHeader by [@​Brooooooklyn](https://togithub.com/Brooooooklyn ) in [https://github.com/napi-rs/node-rs/pull/801 ](https://togithub.com/napi-rs/node-rs/pull/801 )
**Full Changelog**: https://github.com/napi-rs/node-rs/compare/[@​node-rs/crc32](https://togithub.com/node-rs/crc32)[@​1](https://togithub.com/1).10.0...[@​node-rs/jsonwebtoken](https://togithub.com/node-rs/jsonwebtoken)[@​0](https://togithub.com/0).5.1
### [`v0.5.0`](https://togithub.com/napi-rs/node-rs/releases/tag/%40node-rs/jsonwebtoken%400.5.0 )
[Compare Source](https://togithub.com/napi-rs/node-rs/compare/@node-rs/jsonwebtoken@0.4.0...@node-rs/jsonwebtoken@0.5.0 )
#### What's Changed
- fix(jsonwebtoken): num typings by [@​tada5hi](https://togithub.com/tada5hi ) in [https://github.com/napi-rs/node-rs/pull/777 ](https://togithub.com/napi-rs/node-rs/pull/777 )
- feat(jsonwebtoken): flatten claims to align with rfc by [@​tada5hi](https://togithub.com/tada5hi ) in [https://github.com/napi-rs/node-rs/pull/780 ](https://togithub.com/napi-rs/node-rs/pull/780 )
- feat(jsonwebtoken): expose decode header utility by [@​tada5hi](https://togithub.com/tada5hi ) in [https://github.com/napi-rs/node-rs/pull/795 ](https://togithub.com/napi-rs/node-rs/pull/795 )
- chore(\*): upgrade NAPI-RS cli and bindings by [@​Brooooooklyn](https://togithub.com/Brooooooklyn ) in [https://github.com/napi-rs/node-rs/pull/797 ](https://togithub.com/napi-rs/node-rs/pull/797 )
- feat(jsonwebtoken): support wasm32-wasi target by [@​Brooooooklyn](https://togithub.com/Brooooooklyn ) in [https://github.com/napi-rs/node-rs/pull/798 ](https://togithub.com/napi-rs/node-rs/pull/798 )
#### New Contributors
- [@​tada5hi](https://togithub.com/tada5hi ) made their first contribution in [https://github.com/napi-rs/node-rs/pull/777 ](https://togithub.com/napi-rs/node-rs/pull/777 )
**Full Changelog**: https://github.com/napi-rs/node-rs/compare/[@​node-rs/argon2](https://togithub.com/node-rs/argon2)[@​1](https://togithub.com/1).7.0...[@​node-rs/jsonwebtoken](https://togithub.com/node-rs/jsonwebtoken)[@​0](https://togithub.com/0).5.0
</details>
<details>
<summary>nrwl/nx (@​nx/vite)</summary>
### [`v18.0.7`](https://togithub.com/nrwl/nx/releases/tag/18.0.7 )
[Compare Source](https://togithub.com/nrwl/nx/compare/18.0.6...18.0.7 )
#### 18.0.7 (2024-03-04)
##### 🩹 Fixes
- **core:** target defaults should represent nx.json in source info ([#​22080](https://togithub.com/nrwl/nx/pull/22080 ))
- **nextjs:** Add spec files when creating a next app ([#​22079](https://togithub.com/nrwl/nx/pull/22079 ))
- **release:** skip lock file update if workspaces are not enabled ([#​22055](https://togithub.com/nrwl/nx/pull/22055 ))
- **remix:** ensure component-testing is exported correctly [#​22091](https://togithub.com/nrwl/nx/issues/22091 ) ([#​22095](https://togithub.com/nrwl/nx/pull/22095 ), [#​22091](https://togithub.com/nrwl/nx/issues/22091 ))
- **storybook:** handle main.js file correctly in storybook plugin ([#​22081](https://togithub.com/nrwl/nx/pull/22081 ))
- **testing:** calculate correct support file path in cypress e2e preset ([#​22096](https://togithub.com/nrwl/nx/pull/22096 ))
##### ❤️ Thank You
- Austin Fahsl [@​fahslaj](https://togithub.com/fahslaj )
- Colum Ferry [@​Coly010](https://togithub.com/Coly010 )
- Craigory Coppola [@​AgentEnder](https://togithub.com/AgentEnder )
- Leosvel Pérez Espinosa [@​leosvelperez](https://togithub.com/leosvelperez )
- Nicholas Cunningham [@​ndcunningham](https://togithub.com/ndcunningham )
### [`v18.0.6`](https://togithub.com/nrwl/nx/releases/tag/18.0.6 )
[Compare Source](https://togithub.com/nrwl/nx/compare/18.0.5...18.0.6 )
##### 18.0.6 (2024-02-29)
##### 🩹 Fixes
- **core:** nextjs-standalone generates package scripts consistent with create-next-app ([#​21996](https://togithub.com/nrwl/nx/pull/21996 ))
- **misc:** make sure to add e2e crystal plugin ([#​22041](https://togithub.com/nrwl/nx/pull/22041 ))
- **misc:** fix buildable libs utils calculating dependent projects from task graph ([#​22015](https://togithub.com/nrwl/nx/pull/22015 ))
- **node:** Increase timeout for CI ([#​22003](https://togithub.com/nrwl/nx/pull/22003 ))
- **nuxt:** fix storybook preview config path ([#​22020](https://togithub.com/nrwl/nx/pull/22020 ))
- **nuxt:** Add e2e-ci and serve-static targets ([#​22056](https://togithub.com/nrwl/nx/pull/22056 ))
- **release:** currentVersionResolver git-tag should prefer merged tags ([#​22082](https://togithub.com/nrwl/nx/pull/22082 ))
##### ❤️ Thank You
- Austin Fahsl [@​fahslaj](https://togithub.com/fahslaj )
- Jack Hsu [@​jaysoo](https://togithub.com/jaysoo )
- Katerina Skroumpelou [@​mandarini](https://togithub.com/mandarini )
- Leosvel Pérez Espinosa [@​leosvelperez](https://togithub.com/leosvelperez )
- Nicholas Cunningham [@​ndcunningham](https://togithub.com/ndcunningham )
</details>
<details>
<summary>open-telemetry/opentelemetry-js (@​opentelemetry/exporter-prometheus)</summary>
### [`v0.49.1`](7be35c7845...3920b158d0
)
[Compare Source](7be35c7845...3920b158d0
)
### [`v0.49.0`](828f2ed730...7be35c7845
)
[Compare Source](828f2ed730...7be35c7845
)
</details>
<details>
<summary>jotaijs/jotai-effect (jotai-effect)</summary>
### [`v0.6.0`](https://togithub.com/jotaijs/jotai-effect/releases/tag/v0.6.0 )
[Compare Source](https://togithub.com/jotaijs/jotai-effect/compare/v0.5.0...v0.6.0 )
#### What's Changed
- rethrow errors thrown during effectFn and cleanup by [@​dmaskasky](https://togithub.com/dmaskasky ) in [https://github.com/jotaijs/jotai-effect/pull/33 ](https://togithub.com/jotaijs/jotai-effect/pull/33 )
**Full Changelog**: https://github.com/jotaijs/jotai-effect/compare/v0.5.0...v0.6.0
</details>
<details>
<summary>yarnpkg/berry (yarn)</summary>
### [`v4.1.1`](52909a5e0d...6b7621f073
)
[Compare Source](52909a5e0d...6b7621f073
)
</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.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions ) if that's undesired.
---
- [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=-->
2024-03-05 03:46:56 +00:00
Cats Juice
358e1e99c5
feat(core): set journal's really created time ( #5968 )
...
closes #5958 ;
This makes the creation date of the journal correspond to the date, and the creation time is the real creation time.
2024-03-05 03:37:23 +00:00
Peng Xiao
3fcbfe4d30
fix(electron): electron updater issues ( #6005 )
...
- generate-yml.js does not filter files correctly
- add version to generated bundles
- change `.AppImage` to `.appimage`. See https://github.com/electron-userland/electron-builder/blob/master/packages/electron-updater/src/providers/Provider.ts#L88
2024-03-05 03:27:52 +00:00
EYHN
a9be19ce6c
fix(core): fix style break when scroll to block ( #6001 )
2024-03-04 11:43:10 +00:00
EYHN
d935cf9d4d
fix(core): dont break workspace when page load failed ( #5988 )
2024-03-04 11:32:56 +00:00
tzyoo
ee54e00a03
fix(core): upgrade dialog close button layout level ( #6004 )
2024-03-04 11:30:25 +00:00
Cats Juice
2275eee5b2
feat(core): resize and reorder split-view ( #5994 )
2024-03-04 11:19:39 +00:00
Peng Xiao
7b31363c51
fix(electron): do not open external links in the browser for internal links in electron ( #5997 )
2024-03-04 09:39:03 +00:00
EYHN
c599715963
feat(core): split right sidebar ( #5971 )
...
https://github.com/toeverything/AFFiNE/assets/13579374/c846c069-aa32-445d-b59b-b773a9b05ced
Now each view has a general container, the yellow area is the general container part, and the green part is the routing specific part.
![CleanShot 2024-03-01 at 11.47.35@2x.png ](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/g3jz87HxbjOJpXV3FPT7/9a9f6ad6-2207-42e5-ae66-f7426bc9f3fc.png )
2024-03-04 06:42:12 +00:00
Peng Xiao
e2a31ea1fc
fix(core): some ui style issues ( #5995 )
...
Increase page info toggle click area:
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/7f712008-c2db-4522-81b0-6c18d2aea421.png )
fix history modal page height
2024-03-04 03:57:45 +00:00
JimmFly
ffda9a0567
feat(core): separate runtimeConfig for e2e tests and deployment ( #5976 )
...
Prior to modification, it will function for both `deploy` and `e2e-test`. Consequently, `allowLocalWorkspace` is also set to `true` in the production environment.
https://github.com/toeverything/AFFiNE/actions/runs/8093473180/job/22116199541#step:5:120
2024-03-03 12:00:11 +00:00
Peng Xiao
a1ea19fcb7
fix: optimize history animation ( #5973 )
...
- adjust timing
- make sure card do not show the bottom border on transitioning
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/7a225ec1-eb33-45ab-bf27-646bb2519a83.mp4 ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/7a225ec1-eb33-45ab-bf27-646bb2519a83.mp4 ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/7a225ec1-eb33-45ab-bf27-646bb2519a83.mp4 ">Kapture 2024-03-01 at 10.56.09.mp4</video>
2024-03-01 06:08:08 +00:00
EYHN
de939bb6f6
fix(core): fix page mode scroll bar ( #5955 )
2024-03-01 04:46:15 +00:00
JimmFly
ff7e7f237f
fix(core): update src in video tag to correct URL ( #5974 )
...
In app.affine.pro the video is not displayed correctly.
<img width="1026" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/8e9d9bb2-f973-433e-88c9-bedfe0f55935 ">
2024-03-01 04:36:37 +00:00
EYHN
a231884d9e
fix(storybook): fix storybook test ( #5970 )
2024-03-01 02:30:04 +00:00
Peng Xiao
d4e78dd3d0
feat: add animation for history preview ( #5966 )
...
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/5ce45d13-1117-4853-a066-e8ab1446eb4f.mp4 ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/5ce45d13-1117-4853-a066-e8ab1446eb4f.mp4 ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/5ce45d13-1117-4853-a066-e8ab1446eb4f.mp4 ">Kapture 2024-02-29 at 18.54.15.mp4</video>
2024-02-29 14:08:21 +00:00
EYHN
78ce30db69
fix(core): fix editor sidebar ( #5965 )
2024-02-29 13:59:20 +00:00
Cats Juice
aaf048fcb8
chore(core): update journal's daily count label ( #5967 )
...
[tov-568](https://linear.app/affine-design/issue/TOV-568/journal-聚合的部分的名称需要修改一下 )
2024-02-29 13:50:09 +00:00
Peng Xiao
752c8580ae
fix: remove vite-tsconfig-paths ( #5960 )
...
It will cause storybook from running.
related to https://github.com/aleclarson/vite-tsconfig-paths/issues/132
We are not actually using `vite-tsconfig-paths` now because we rely on package.json's export field to do path mapping.
2024-02-29 07:58:41 +00:00
LongYinan
6f8a4d7bd5
chore: bump up all non-major dependencies ( #5897 )
...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@aws-sdk/client-s3](https://togithub.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3 ) ([source](https://togithub.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-s3 )) | [`3.515.0` -> `3.523.0`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-s3/3.515.0/3.523.0 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@aws-sdk%2fclient-s3/3.523.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@aws-sdk%2fclient-s3/3.523.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@aws-sdk%2fclient-s3/3.515.0/3.523.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@aws-sdk%2fclient-s3/3.515.0/3.523.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@napi-rs/cli](https://togithub.com/napi-rs/napi-rs ) | [`3.0.0-alpha.41` -> `3.0.0-alpha.43`](https://renovatebot.com/diffs/npm/@napi-rs%2fcli/3.0.0-alpha.41/3.0.0-alpha.43 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@napi-rs%2fcli/3.0.0-alpha.43?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@napi-rs%2fcli/3.0.0-alpha.43?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@napi-rs%2fcli/3.0.0-alpha.41/3.0.0-alpha.43?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@napi-rs%2fcli/3.0.0-alpha.41/3.0.0-alpha.43?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@nx/vite](https://nx.dev ) ([source](https://togithub.com/nrwl/nx/tree/HEAD/packages/vite )) | [`18.0.4` -> `18.0.5`](https://renovatebot.com/diffs/npm/@nx%2fvite/18.0.4/18.0.5 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@nx%2fvite/18.0.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@nx%2fvite/18.0.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@nx%2fvite/18.0.4/18.0.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@nx%2fvite/18.0.4/18.0.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>aws/aws-sdk-js-v3 (@​aws-sdk/client-s3)</summary>
### [`v3.523.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#35230-2024-02-27 )
[Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.521.0...v3.523.0 )
**Note:** Version bump only for package [@​aws-sdk/client-s3](https://togithub.com/aws-sdk/client-s3 )
### [`v3.521.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#35210-2024-02-23 )
[Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.515.0...v3.521.0 )
##### Features
- requestHandler ctor param pass-through ([#​5820](https://togithub.com/aws/aws-sdk-js-v3/issues/5820 )) ([9fec71d](9fec71d193
))
</details>
<details>
<summary>napi-rs/napi-rs (@​napi-rs/cli)</summary>
### [`v3.0.0-alpha.43`](https://togithub.com/napi-rs/napi-rs/releases/tag/%40napi-rs/cli%403.0.0-alpha.43 )
[Compare Source](https://togithub.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.42...@napi-rs/cli@3.0.0-alpha.43 )
##### What's Changed
- fix(cli): cleanup js binding template by [@​Brooooooklyn](https://togithub.com/Brooooooklyn ) in [https://github.com/napi-rs/napi-rs/pull/1984 ](https://togithub.com/napi-rs/napi-rs/pull/1984 )
**Full Changelog**: https://github.com/napi-rs/napi-rs/compare/[@​napi-rs/cli](https://togithub.com/napi-rs/cli)[@​3](https://togithub.com/3).0.0-alpha.42...[@​napi-rs/cli](https://togithub.com/napi-rs/cli)[@​3](https://togithub.com/3).0.0-alpha.43
### [`v3.0.0-alpha.42`](https://togithub.com/napi-rs/napi-rs/releases/tag/%40napi-rs/cli%403.0.0-alpha.42 )
[Compare Source](https://togithub.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.41...@napi-rs/cli@3.0.0-alpha.42 )
**Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.16.0...[@​napi-rs/cli](https://togithub.com/napi-rs/cli)[@​3](https://togithub.com/3).0.0-alpha.42
##### What's Changed
- chore: fix renovate path and dedupe electron versions by [@​Brooooooklyn](https://togithub.com/Brooooooklyn ) in [https://github.com/napi-rs/napi-rs/pull/1974 ](https://togithub.com/napi-rs/napi-rs/pull/1974 )
- refactor(cli): refactor js-binding to support easier bundling. by [@​everett1992](https://togithub.com/everett1992 ) in [https://github.com/napi-rs/napi-rs/pull/1957 ](https://togithub.com/napi-rs/napi-rs/pull/1957 )
##### New Contributors
- [@​everett1992](https://togithub.com/everett1992 ) made their first contribution in [https://github.com/napi-rs/napi-rs/pull/1957 ](https://togithub.com/napi-rs/napi-rs/pull/1957 )
**Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@2.15.4...[@​napi-rs/cli](https://togithub.com/napi-rs/cli)[@​3](https://togithub.com/3).0.0-alpha.42
</details>
<details>
<summary>nrwl/nx (@​nx/vite)</summary>
### [`v18.0.5`](https://togithub.com/nrwl/nx/releases/tag/18.0.5 )
[Compare Source](https://togithub.com/nrwl/nx/compare/18.0.4...18.0.5 )
#### 18.0.5 (2024-02-24)
##### 🩹 Fixes
- **angular:** do not add target defaults for the ng-packagr-lite executor when generating non-buildable library ([#​21935](https://togithub.com/nrwl/nx/pull/21935 ))
- **angular:** ensure generated editor tsconfig in apps only include runtime files ([#​21945](https://togithub.com/nrwl/nx/pull/21945 ))
- **core:** run migrations ordered by their target version ([#​21799](https://togithub.com/nrwl/nx/pull/21799 ))
- **core:** Update NxWelcome connect to cloud ([#​21830](https://togithub.com/nrwl/nx/pull/21830 ))
- **core:** propagate `verbose` flag when running `init` generator dur… ([#​21868](https://togithub.com/nrwl/nx/pull/21868 ))
- **core:** ensure migrate works with yarn PnP ([#​21824](https://togithub.com/nrwl/nx/pull/21824 ))
- **core:** align terminal output padding and remove leading arrow ([#​21809](https://togithub.com/nrwl/nx/pull/21809 ))
- **core:** read all targets from package json when defining target defaults ([#​21719](https://togithub.com/nrwl/nx/pull/21719 ))
- **core:** include nx/nuxt in migrations ([#​21885](https://togithub.com/nrwl/nx/pull/21885 ))
- **core:** do not use the new pty function for older versions of windows ([#​21854](https://togithub.com/nrwl/nx/pull/21854 ))
- **core:** normalize migration target versions when sorting migrations ([#​21967](https://togithub.com/nrwl/nx/pull/21967 ))
- **core:** target defaults application shouldn't include extra scripts ([#​21970](https://togithub.com/nrwl/nx/pull/21970 ))
- **core:** update generated README pages with more useful instructions ([#​21976](https://togithub.com/nrwl/nx/pull/21976 ))
- **devkit:** respect expectComments when parsing json ([#​21584](https://togithub.com/nrwl/nx/pull/21584 ))
- **graph:** fix open project with / in name ([#​21722](https://togithub.com/nrwl/nx/pull/21722 ))
- **js:** nx release-version resolve-version-spec should normalize fetchSpec ([#​21710](https://togithub.com/nrwl/nx/pull/21710 ))
- **js:** swc executor should support inlining on windows ([#​21801](https://togithub.com/nrwl/nx/pull/21801 ))
- **js:** set moduleResolution to Node10 so it is compatible with CommonJS module ([2dac233cf](https://togithub.com/nrwl/nx/commit/2dac233cf ))
- **linter:** fix eslint-plugin migration target version ([#​21966](https://togithub.com/nrwl/nx/pull/21966 ))
- **misc:** logs from rm-default-collection should render properly ([#​21953](https://togithub.com/nrwl/nx/pull/21953 ))
- **misc:** set nx property in root package.json when no replacing script in nx init ([#​21974](https://togithub.com/nrwl/nx/pull/21974 ))
- **nextjs:** Svg should work when svgr is true in next config ([#​21761](https://togithub.com/nrwl/nx/pull/21761 ))
- **nextjs:** Add missing e2e-ci target for cypress ([#​21805](https://togithub.com/nrwl/nx/pull/21805 ))
- **nuxt:** init generator should add [@​nx/vite](https://togithub.com/nx/vite ) to dependencies ([#​21911](https://togithub.com/nrwl/nx/pull/21911 ))
- **nuxt:** turn on autoimport ([#​21894](https://togithub.com/nrwl/nx/pull/21894 ))
- **nuxt:** tsconfig types and output dir ([#​21934](https://togithub.com/nrwl/nx/pull/21934 ))
- **react:** generate correctly when --js is used for module federation host/remote ([#​20119](https://togithub.com/nrwl/nx/pull/20119 ))
- **react:** full support custom secure host for module federation ([#​21777](https://togithub.com/nrwl/nx/pull/21777 ))
- **react:** ensure playwright configuration is using correct port in app gen ([#​21941](https://togithub.com/nrwl/nx/pull/21941 ))
- **react-native:** change gradlew to absolute path ([#​21725](https://togithub.com/nrwl/nx/pull/21725 ))
- **react-native:** add all flag to sync-deps ([#​21821](https://togithub.com/nrwl/nx/pull/21821 ))
- **release:** skip prompt for publish when no version created ([#​21769](https://togithub.com/nrwl/nx/pull/21769 ))
- **release:** use --first-parent to support merged repos ([#​21686](https://togithub.com/nrwl/nx/pull/21686 ))
- **release:** move github release creation to git tasks ([#​21510](https://togithub.com/nrwl/nx/pull/21510 ))
- **remix:** should add remix plugin to nx.json on init correctly ([#​21827](https://togithub.com/nrwl/nx/pull/21827 ))
- **remix:** the output path should respect the remix.config.js in crystal ([#​21842](https://togithub.com/nrwl/nx/pull/21842 ))
- **remix:** adjust remix start script when building ([#​21883](https://togithub.com/nrwl/nx/pull/21883 ))
- **remix:** typo in tsconfig.spec.json update led to invalid tsconfig ([#​21886](https://togithub.com/nrwl/nx/pull/21886 ))
- **repo:** update browser tools to fix ci ([#​21955](https://togithub.com/nrwl/nx/pull/21955 ))
- **testing:** jest should handle root jest.preset.cjs ([#​21746](https://togithub.com/nrwl/nx/pull/21746 ))
- **testing:** fix cypress project targets does not exist ([#​21785](https://togithub.com/nrwl/nx/pull/21785 ))
- **testing:** pin cypress version to avoid issue with verifying cypress ([#​21917](https://togithub.com/nrwl/nx/pull/21917 ))
- **testing:** ensure baseUrl is not passed to playwright cli ([#​21943](https://togithub.com/nrwl/nx/pull/21943 ))
- **testing:** playwright plugin enoent error ([#​21951](https://togithub.com/nrwl/nx/pull/21951 ))
- **testing:** add null checks when reading targets ([#​21952](https://togithub.com/nrwl/nx/pull/21952 ))
- **vite:** normalize vitest cli args in executor ([#​21870](https://togithub.com/nrwl/nx/pull/21870 ))
- **vite:** project conversion generator ([#​21646](https://togithub.com/nrwl/nx/pull/21646 ))
- **vite:** update vitest and use parseCLI ([#​21890](https://togithub.com/nrwl/nx/pull/21890 ))
- **vue:** fixing vue and nuxt welcome templates ([#​21792](https://togithub.com/nrwl/nx/pull/21792 ))
- **vue:** tailwind generator ignoring styleSheet option ([#​21840](https://togithub.com/nrwl/nx/pull/21840 ))
- **webpack:** resolve relative path for assets inputs ([#​21822](https://togithub.com/nrwl/nx/pull/21822 ))
- **webpack:** correctly handle paranthesis in PostCSS in url ([#​21884](https://togithub.com/nrwl/nx/pull/21884 ))
- **webpack:** surface original error when remotes fail to start ([#​21919](https://togithub.com/nrwl/nx/pull/21919 ))
##### ❤️ Thank You
- Austin Fahsl [@​fahslaj](https://togithub.com/fahslaj )
- Colum Ferry [@​Coly010](https://togithub.com/Coly010 )
- Craigory Coppola [@​AgentEnder](https://togithub.com/AgentEnder )
- Dan Roujinsky
- Edouard Bozon [@​edbzn](https://togithub.com/edbzn )
- Emily Xiong [@​xiongemi](https://togithub.com/xiongemi )
- Jack Hsu [@​jaysoo](https://togithub.com/jaysoo )
- Jonathan Cammisuli
- Julian Martin
- Katerina Skroumpelou [@​mandarini](https://togithub.com/mandarini )
- Leosvel Pérez Espinosa [@​leosvelperez](https://togithub.com/leosvelperez )
- Miroslav Jonaš [@​meeroslav](https://togithub.com/meeroslav )
- Nicholas Cunningham [@​ndcunningham](https://togithub.com/ndcunningham )
- Remco Krams
- Steven Nance [@​llwt](https://togithub.com/llwt )
- Tine Kondo [@​tinesoft](https://togithub.com/tinesoft )
- Vadim Goy
- Viktor Pöntinen
- Zachary DeRose [@​ZackDeRose](https://togithub.com/ZackDeRose )
</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.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions ) if that's undesired.
---
- [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMDAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=-->
2024-02-29 06:51:59 +00:00
regischen
d1e6b23e1a
feat: bump blocksuite ( #5953 )
2024-02-29 14:33:50 +08:00
EYHN
fa534869e1
feat(core): new onboarding template ( #5951 )
2024-02-29 06:02:32 +00:00
DarkSky
3432f355b0
feat: backend module awareness & optional request ( #5909 )
2024-02-28 08:29:37 +00:00
Peng Xiao
35454c3bfc
fix(core): polyfill resize-observer for development to avoid error overlay ( #5943 )
...
Brought a temporary solution from https://github.com/petyosi/react-virtuoso/issues/875#issuecomment-1962897033
2024-02-28 08:18:33 +00:00
liuyi
a38f7ee252
fix(server): sender passed to nextauth is never used ( #5938 )
2024-02-28 05:44:25 +00:00
Peng Xiao
27f2209e87
fix(core): date formatter timezone issue ( #5936 )
...
date seems not hornoring the locale browser's locale when parsing date string like "2024-02-28".
fixed by using dayjs instead.
Fix incorrect journal title issue
2024-02-28 04:27:32 +00:00
LongYinan
9e09166452
build: fix selfhost config ( #5930 )
2024-02-28 04:17:29 +00:00
Peng Xiao
a0364dd4ea
fix(core): minor page info style issues ( #5935 )
2024-02-28 03:45:51 +00:00
Peng Xiao
148807879b
refactor(component): use react-transition-state to simplify exit animation ( #5923 )
...
## **User description**
use react-transition-state to simplify exit animation
___
## **Type**
enhancement
___
## **Description**
- Integrated `react-transition-state` for managing animations in `ResizePanel` and `CMDKModal` components, simplifying the code and improving maintainability.
- Introduced a shared animation timeout variable to standardize animation durations across components.
- Added `react-transition-state` to dependencies to enable the new animation handling.
___
## **Changes walkthrough**
<table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>resize-panel.tsx</strong><dd><code>Integrate `react-transition-state` for Resize Panel Animations</code></dd></summary>
<hr>
packages/frontend/component/src/components/resize-panel/resize-panel.tsx
<li>Introduced <code>useTransition</code> hook from <code>react-transition-state</code> for managing <br>animations.<br> <li> Added a constant for animation timeout and applied it to the <br>transition.<br> <li> Utilized the transition state to toggle the open state of the resize <br>panel.<br>
</details>
</td>
<td><a href="https:/toeverything/AFFiNE/pull/5923/files#diff-a4d6e633862f63f97c167ff41ba62aff8aebf3e3b2f6e7ce13d5a0e22e8ff287">+12/-0</a> </td>
</tr>
<tr>
<td>
<details>
<summary><strong>modal.css.ts</strong><dd><code>Use Variable for Animation Timeout in Modal CSS</code> </dd></summary>
<hr>
packages/frontend/core/src/components/pure/cmdk/modal.css.ts
<li>Created a variable for animation timeout.<br> <li> Updated animation durations to use the new timeout variable.<br>
</details>
</td>
<td><a href="https:/toeverything/AFFiNE/pull/5923/files#diff-ba8935611b9c1695153d92d08ecb0f7dac73a6197f54ccda5a6e791902cd651d">+6/-3</a> </td>
</tr>
<tr>
<td>
<details>
<summary><strong>modal.tsx</strong><dd><code>Simplify CMDK Modal Animation with `react-transition-state`</code></dd></summary>
<hr>
packages/frontend/core/src/components/pure/cmdk/modal.tsx
<li>Replaced custom animation state management with <code>useTransition</code> hook.<br> <li> Removed old animation state logic and simplified the component.<br> <li> Added animation timeout variable and applied it to the transition.<br>
</details>
</td>
<td><a href="https:/toeverything/AFFiNE/pull/5923/files#diff-ab3fe66c9b1d3a691fafd1aebc9988e840fedfcd09b5b89570838a5a2a9469c9">+13/-33</a> </td>
</tr>
</table></td></tr><tr><td><strong>Dependencies</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>package.json</strong><dd><code>Add `react-transition-state` Dependency</code> </dd></summary>
<hr>
packages/frontend/core/package.json
- Added `react-transition-state` as a dependency.
</details>
</td>
<td><a href="https:/toeverything/AFFiNE/pull/5923/files#diff-23e0e5dc0ceb004a0a5d3d13e7d00545de7487535ca0e5eab4c5047f1e24eff0">+1/-0</a> </td>
</tr>
</table></td></tr></tr></tbody></table>
___
> ✨ **PR-Agent usage**:
>Comment `/help` on the PR to get a list of all available PR-Agent tools and their descriptions
2024-02-27 14:55:33 +00:00
liuyi
540d079308
ci: fix selfhost ( #5920 )
...
## **Type**
enhancement
___
## **Description**
- Introduced a new ESM module resolution setup using `ts-node` to enhance the development and deployment process.
- Implemented a dynamic loader script registration mechanism to facilitate ESM module loading.
- Simplified the predeploy script execution by refining environment variable handling and stdout configuration.
- Updated `package.json` to reflect changes in script commands for better ESM support and added necessary dependencies for `ts-node` and `typescript`.
___
## **Changes walkthrough**
<table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>loader.js</strong><dd><code>Introduce ESM Module Resolution via ts-node</code> </dd></summary>
<hr>
packages/backend/server/scripts/loader.js
<li>Introduced <code>ts-node</code> configuration for ESM module resolution.<br> <li> Exported a <code>resolve</code> function for module resolution.<br>
</details>
</td>
<td><a href="https:/toeverything/AFFiNE/pull/5920/files#diff-9ed793897a493633028d510db0742ff38d2d86471c54b17513d4354c51597ef8">+11/-0</a> </td>
</tr>
<tr>
<td>
<details>
<summary><strong>register.js</strong><dd><code>Implement Dynamic Loader Script Registration</code> </dd></summary>
<hr>
packages/backend/server/scripts/register.js
<li>Implemented dynamic registration of the loader script.<br> <li> Utilized <code>node:module</code> and <code>node:url</code> for script registration.<br>
</details>
</td>
<td><a href="https:/toeverything/AFFiNE/pull/5920/files#diff-64831012a09f2bc4bc5a611ddb8e0871b0e83588de6c5d4f2f5cb1dae8fff244">+4/-0</a> </td>
</tr>
<tr>
<td>
<details>
<summary><strong>self-host-predeploy.js</strong><dd><code>Simplify Predeploy Script Execution</code> </dd></summary>
<hr>
packages/backend/server/scripts/self-host-predeploy.js
<li>Simplified environment variable passing to <code>execSync</code>.<br> <li> Changed stdout handling to inherit from the parent process.<br>
</details>
</td>
<td><a href="https:/toeverything/AFFiNE/pull/5920/files#diff-bd7b0be14c198018c21dadda6945a779c57d13e4c8584ee62da4baa99d370664">+3/-5</a> </td>
</tr>
<tr>
<td>
<details>
<summary><strong>package.json</strong><dd><code>Update Scripts and Dependencies for ESM Support</code> </dd></summary>
<hr>
packages/backend/server/package.json
<li>Updated script commands for ESM compatibility.<br> <li> Added <code>ts-node</code> and <code>typescript</code> dependencies.<br> <li> Removed redundant <code>--es-module-specifier-resolution=node</code> flags.<br>
</details>
</td>
<td><a href="https:/toeverything/AFFiNE/pull/5920/files#diff-a6530c6fe539aaa49ff0a7a80bc4362c1d95c419fdd19125415dcc869b31a443">+6/-6</a> </td>
</tr>
</table></td></tr></tr></tbody></table>
___
> ✨ **PR-Agent usage**:
>Comment `/help` on the PR to get a list of all available PR-Agent tools and their descriptions
2024-02-27 07:22:21 +00:00
EYHN
606397e319
feat(core): workbench system ( #5837 )
2024-02-27 04:14:07 +00:00
EYHN
5cd488fe1d
refactor(core): remove collection atom ( #5832 )
2024-02-27 03:50:56 +00:00
EYHN
ad9b0303c4
refactor(core): refactor atom to use di ( #5831 )
...
To support multiple instances, this PR removes some atoms and implements them using the new DI system.
removed atom
- `pageSettingsAtom`
- `currentPageIdAtom`
- `currentModeAtom`
2024-02-27 03:50:53 +00:00
Peng Xiao
2295685590
fix: page info styles ( #5910 )
...
fix inconsistent styles compared to the one defined in figma
fix https://github.com/toeverything/AFFiNE/issues/5904
fix https://github.com/toeverything/AFFiNE/issues/5903
2024-02-26 14:11:24 +00:00
Peng Xiao
298afc7d74
feat(core): enable right sidepanel animation ( #5902 )
2024-02-26 09:04:04 +00:00
JimmFly
0be62d892d
refactor(core): use custom scrollbar for editor and adjust shared page style ( #5752 )
...
Close TOV-481
- Use a custom scrollbar component for editor
- Modified the header of the share page and added a new footer
2024-02-26 08:54:52 +00:00
JimmFly
e9f9eea80c
fix(core): handling error message when sending verify change email ( #5894 )
2024-02-26 08:32:48 +00:00
JimmFly
d3360f655e
chore: update i18n resources ( #5906 )
2024-02-26 07:53:45 +00:00
Peng Xiao
cc2d97e3b8
fix: right sidepanel open on focus ( #5901 )
...
fix TOV-614
Should not show sidepanel on focusing inner elemenets
2024-02-26 03:43:37 +00:00