EYHN
9493bd99f9
refactor(infra): move currentPageAtom to core ( #5332 )
...
Remove `currentPageAtom` from `infra` to `frontend/core.`
2023-12-25 03:34:28 +00:00
EYHN
e1bd13a018
refactor(core): remove adapter ( #5324 )
...
workspace adapter is no longer used.
2023-12-25 03:34:22 +00:00
EYHN
05025bf59a
refactor(core): remove outline plugin and layout atom ( #5326 )
...
@affine/outline is no longer used, this PR deletes this plugin and deletes the code that is no longer used
2023-12-25 03:24:13 +00:00
regischen
a10aeca820
feat: bump blocksuite ( #5386 )
2023-12-22 18:04:05 +08:00
EYHN
8b28761a8a
fix(component): fix workspace input ( #5381 )
2023-12-22 08:26:14 +00:00
EYHN
77d239ff81
fix(workspace): leave workspace correctly ( #5379 )
2023-12-22 16:17:59 +08:00
Cats Juice
1ce4dd0497
fix(core): hide onboarding paper segments gap ( #5384 )
2023-12-22 15:49:43 +08:00
EYHN
aa74b0617c
fix(workspace): dont upgrade subdoc on cloud ( #5382 )
2023-12-22 15:48:54 +08:00
Joooye_34
46f824c4e9
fix: input style priority ( #5383 )
2023-12-22 15:48:28 +08:00
EYHN
f11ea7570a
fix(core): maxWait for sync progress debounce ( #5377 )
2023-12-22 03:28:24 +00:00
Flrande
a08edfd6d9
feat: bump blocksuite ( #5374 )
2023-12-22 03:17:57 +00:00
DarkSky
06912c6885
fix: websocket prefix ( #5372 )
2023-12-21 15:52:05 +00:00
Joooye_34
ec7f73f168
chore: catch and ignore page upgrade error ( #5373 )
2023-12-21 14:27:07 +00:00
Joooye_34
cfb77e8243
chore: fix about version in client ( #5371 )
2023-12-21 14:15:22 +00:00
DarkSky
aa4d42b36c
feat: use baseurl from server config ( #5369 )
2023-12-21 12:52:38 +00:00
Joooye_34
9fbd9b39d6
ci: set version correctly and remove nightly build workflow ( #5367 )
2023-12-21 10:00:12 +00:00
Cats Juice
aeec68b0d7
fix(core): onboading tooltip next button always shows ( #5363 )
2023-12-21 08:09:37 +00:00
Joooye_34
fb1ed90ecc
ci: use setup version action to init version ( #5365 )
...
1. Create setup version action to unify version initialization
2. Split tag event from release desktop
3. Add schedule to daily deploy and desktop release
2023-12-21 07:58:16 +00:00
LongYinan
cc73124259
chore: bump up @react-hookz/web version to v24 ( #5359 )
...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@react-hookz/web](https://togithub.com/react-hookz/web ) | [`^23.1.0` -> `^24.0.0`](https://renovatebot.com/diffs/npm/@react-hookz%2fweb/23.1.0/24.0.1 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@react-hookz%2fweb/24.0.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@react-hookz%2fweb/24.0.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@react-hookz%2fweb/23.1.0/24.0.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@react-hookz%2fweb/23.1.0/24.0.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>react-hookz/web (@​react-hookz/web)</summary>
### [`v24.0.1`](https://togithub.com/react-hookz/web/blob/HEAD/CHANGELOG.md#2401-2023-12-20 )
[Compare Source](https://togithub.com/react-hookz/web/compare/v24.0.0...v24.0.1 )
##### Bug Fixes
- change build so development and distributed imports match ([6383cdd](6383cdd558
))
### [`v24.0.0`](https://togithub.com/react-hookz/web/blob/HEAD/CHANGELOG.md#2400-2023-12-20 )
[Compare Source](https://togithub.com/react-hookz/web/compare/v23.1.0...v24.0.0 )
##### Features
- switch package to module type ([#​1472](https://togithub.com/react-hookz/web/issues/1472 )) ([50921ef](50921efda5
))
##### BREAKING CHANGES
- Hooks are now distrubutes as JS built form TS with target ESNext and ESM module resolution. There is no more sense to distribute CJS version as package is ESM-only.
Consequent of above - no more esm and cjs subfolders - hooks are importable from index.js or its own directory which don't have a prefix anymore, thanks to exports directive. All of below examples will lead to same result, choose any on your taste:
import { useFirstMountState } from '[@​react-hookz/web](https://togithub.com/react-hookz/web )';
import { useFirstMountState } from '@​react-hookz/web/';
import { useFirstMountState } from '@​react-hookz/web/useFirstMountState/';
import { useFirstMountState } from '@​react-hookz/web/useFirstMountState/index.js';
Thought is seems not to have subfolder, it is only due to exports directive, in real it is
@​react-hookz/web/dist/useFirstMountState/index.js.
Pakage uses imports directive to define path alias #root - it stays so even in distributed code, thus, some may be affected in case their bundler configured to somehow handle such alias. Those developer shoud configure import rewriter not to handle node_modules or [@​react-hookz/web](https://togithub.com/react-hookz/web ) package exclusively.
Side-effect for current PR - documentation is broken, as storybook 6 is not working within ESM packages and I'm planning to switch to another domenting engine anyway.
</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=-->
2023-12-21 07:45:32 +00:00
Cats Juice
c2db8b356c
feat(electron): handle onboarding-window moved between screens ( #5345 )
2023-12-21 15:44:21 +08:00
LongYinan
eaa62df2dd
chore: bump up eslint-plugin-unicorn version to v50 ( #5362 )
...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [eslint-plugin-unicorn](https://togithub.com/sindresorhus/eslint-plugin-unicorn ) | [`^49.0.0` -> `^50.0.0`](https://renovatebot.com/diffs/npm/eslint-plugin-unicorn/49.0.0/50.0.0 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-unicorn/50.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-plugin-unicorn/50.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-plugin-unicorn/49.0.0/50.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-unicorn/49.0.0/50.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>sindresorhus/eslint-plugin-unicorn (eslint-plugin-unicorn)</summary>
### [`v50.0.0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v50.0.0 )
[Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v49.0.0...v50.0.0 )
##### New rules
- [`no-unnecessary-polyfills`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unnecessary-polyfills.md ) ([#​1717](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1717 )) [`6788d86`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/6788d86 )
##### Improvements
- Support ESLint's new config system ([#​1886](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/1886 )) [`65711f9`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/65711f9 )
- `no-useless-undefined`: Add `checkArrowFunctionBody` option ([#​2232](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2232 )) [`9d7048c`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/9d7048c )
- `prefer-negative-index`: Check `TypedArray#subarray()` ([#​2237](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2237 )) [`6708a30`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/6708a30 )
- `no-useless-undefined`: Ignore React state setters ([#​2223](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2223 )) [`42881ba`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/42881ba )
- `prefer-module`: Allow `module` as TSTypeParameter name ([#​2213](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2213 )) [`8f61f7c`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/8f61f7c )
##### Fixes
- `string-content`: Fix JSX autofix for newlines, etc. ([#​2222](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2222 )) [`b95e75e`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/b95e75e )
</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=-->
2023-12-21 07:23:11 +00:00
JimmFly
332a5c6685
chore(core): temporarily hide export png and pdf in edgeless ( #5364 )
2023-12-21 07:13:05 +00:00
Cats Juice
34c1d2a674
feat(core): responsive for onboarding ( #5361 )
...
fix(core): use light-theme for onboarding back button
feat(core): responsive for onboarding
2023-12-21 04:27:49 +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
EYHN
fcc3e9e069
feat(core): add syncing progress ( #5356 )
...
![CleanShot 2023-12-20 at 16.54.30@2x.png ](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/g3jz87HxbjOJpXV3FPT7/318a2d3c-14ea-48db-907a-881886d605e7.png )
2023-12-20 09:25:06 +00:00
JimmFly
9981c24120
fix(core): escape special characters for cmdk item values ( #5353 )
...
![image](https://github.com/toeverything/AFFiNE/assets/102217452/301ef02e-f0df-4a1b-843f-240cad44af0f )
2023-12-20 08:20:21 +00:00
Joooye_34
a4f31df192
chore: update basic version to 0.11.0 ( #5355 )
2023-12-20 08:10:42 +00:00
Joooye_34
80eeb2ddc7
feat: only follow serverUrlPrefix
at redirect to client ( #5295 ) ( #5354 )
...
feat: only follow `serverUrlPrefix` at redirect to client (#5295 )
fix: use secure websocket (#5297 )
2023-12-20 07:52:57 +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
DarkSky
33a589a8ba
feat: onboarding electron redirect ( #5327 )
2023-12-19 13:54:43 +00:00
DarkSky
8ea910a2bb
feat: onboarding page ( #5277 )
2023-12-19 13:54:41 +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
197d1d4136
feat(core): adjust ui for new design ( #5322 )
...
feat(core): add bg and hover state for onboarding
feat(core): adjust onboarding styles for web
feat(core): add get started page for onboarding
2023-12-19 10:28:11 +00:00
LongYinan
07f10f55bf
fix: cargo deps security alert ( #5340 )
...
- Close https://github.com/toeverything/AFFiNE/security/dependabot/55
2023-12-19 10:17:03 +00:00
LongYinan
6ca725343a
chore: bump up ses version to v1 ( #5282 )
...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [ses](https://togithub.com/Agoric/SES-shim/tree/master/packages/ses#readme ) ([source](https://togithub.com/endojs/endo )) | [`^0.18.8` -> `^1.0.0`](https://renovatebot.com/diffs/npm/ses/0.18.8/1.0.0 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/ses/1.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/ses/1.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/ses/0.18.8/1.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/ses/0.18.8/1.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>endojs/endo (ses)</summary>
### [`v1.0.0`](https://togithub.com/endojs/endo/compare/ses@0.18.8...ses@1.0.0 )
[Compare Source](https://togithub.com/endojs/endo/compare/ses@0.18.8...ses@1.0.0 )
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy44Ny4yIiwidXBkYXRlZEluVmVyIjoiMzcuOTMuMSIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSJ9-->
2023-12-19 09:41:44 +00:00
Peng Xiao
d03567f689
fix(electron): onboarding display issue on Windows ( #5320 )
2023-12-19 09:32:12 +00:00
Peng Xiao
128f8066c3
fix(electron): main window should be opened first before destroying onboard window ( #5319 )
...
The issue listed on the title will prevent main window from showing on windows.
2023-12-19 09:22:44 +00:00
Cats Juice
e10609276d
feat(core): add toggle workspace dialog ( #5312 )
2023-12-19 09:12:26 +00:00
3720
b9345e8d21
fix(core): collections initialized logic ( #5310 )
...
Collections YArray should be initialized only when the user operates on it, local state can't be trusted
2023-12-19 09:02:01 +00:00
Cats Juice
55818539af
feat(core): basic page/edgeless toggle animation ( #5283 )
2023-12-19 08:48:54 +00:00
JimmFly
4b0ca06d80
feat(core): adjust empty favourites style ( #5323 )
...
close TOV-147
2023-12-19 08:37:35 +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
Cats Juice
d9f1cc60b9
feat(core): onboarding paper unfolding animation ( #5264 )
2023-12-19 07:18:06 +00:00
Cats Juice
841385666e
feat(core): onboarding paper enter animation ( #5248 )
2023-12-19 07:18:00 +00:00
Cats Juice
15dd20ef48
feat(electron): onboarding at first launch logic for client and web ( #5183 )
...
- Added a simple abstraction of persistent storage class.
- Different persistence solutions are provided for web and client.
- web: stored in localStorage
- client: stored in the application directory as `.json` file
- Define persistent app-config schema
- Add a new hook that can interactive with persistent-app-config reactively
2023-12-19 07:17:54 +00:00
DarkSky
e0d328676d
feat: add quota for old users ( #5318 )
2023-12-19 07:06:26 +00:00