pengx17
9381757982
fix(electron): wayland build ( #6404 )
...

2024-04-01 07:14:49 +00:00
pengx17
23cb309714
fix: onboarding app should also setup app storage config ( #6427 )
2024-04-01 07:04:39 +00:00
pengx17
b15ae21c45
fix(electron): optimize bundle size by removing unused dependencies ( #6415 )
...
Should greatly reduce the size of helper.js and could speed up the time on starting the client app.
fix https://github.com/toeverything/AFFiNE/issues/6312
Before:

After:

2024-03-30 09:06:10 +00:00
pengx17
f41d587d65
chore: upgrade cmdk to 1.0.0 ( #6401 )
...
Also include the command score into our own repo for some tweaks.
Might fix https://github.com/toeverything/AFFiNE/issues/6322
2024-03-30 08:00:21 +00:00
pengx17
c7e10c2283
feat(core): fav item reordering ( #6302 )
2024-03-29 04:04:27 +00:00
pengx17
35af526eb2
feat: allow collections to be added to favorites ( #6288 )
2024-03-29 04:04:17 +00:00
pengx17
5490944d04
refactor(core): favorite adapter ( #6285 )
...
1. abstraction over favourites that supports different type of resources
2. sorting abstraction
2024-03-29 04:04:08 +00:00
pengx17
0abd24654d
fix(electron): appimage wayland support ( #6371 )
...
Turns out the only solution for now is to patch the AppRun script in the AppImage using https://github.com/toeverything/electron-forge-maker-appimage/blob/master/scripts/patch-apprun.sh
fix #6340 , fix #6252
Some references:
- https://github.com/audacity/audacity/issues/2498
- https://github.com/develar/app-builder/issues/104
2024-03-29 02:47:20 +00:00
pengx17
e53744b740
fix: should use fullscreen to control where to place macos window controls ( #6351 )
2024-03-28 03:40:46 +00:00
pengx17
d4c7d58b00
fix: use overflow: clip instead of js to prevent scrolling with pgup/pgdown ( #6338 )
2024-03-27 07:07:22 +00:00
pengx17
5ca17c155a
fix(core): editor pgup/pgdn issues ( #6331 )
...
fix https://github.com/toeverything/AFFiNE/issues/6232
2024-03-27 04:47:32 +00:00
pengx17
095f8c2359
fix: button should have its font-family inherited ( #6311 )
2024-03-26 03:57:59 +00:00
pengx17
e9bc24bf37
fix(electron): possible issue on openning two main windows ( #6307 )
...
fix https://github.com/toeverything/AFFiNE/issues/6303
fetching `getWindowAdditionalArguments` requires forking a new process & handshake, which could be time consuming
2024-03-26 03:29:37 +00:00
pengx17
1c9d899831
fix: runtime issue for electron app ( #6306 )
...
Looks like we need to be careful to share common libraries between electron (nodejs) & web

2024-03-26 02:04:13 +00:00
pengx17
00092c9955
fix(electron): fix electron build ( #6305 )
2024-03-25 15:57:22 +00:00
pengx17
2a019d4fae
fix(core): storybook stability for date ( #6300 )
2024-03-25 09:50:48 +00:00
pengx17
578d4c9775
fix(core): image preview flaky ( #6292 )
2024-03-25 02:46:31 +00:00
pengx17
64c011c72f
fix(electron): set referer and origin headers for electron ( #6289 )
2024-03-25 01:23:18 +00:00
pengx17
62a6075675
fix(core): do not ensure properties on read ( #6263 )
2024-03-23 12:15:06 +00:00
pengx17
3c6983ee49
fix(core): storybook build issue ( #6274 )
...
1. es2022 is required and should be set separately in storybook.
2. @blocksuite/icons versions are not consistent across packages.
2024-03-23 06:33:25 +00:00
Brooooooklyn
85ee22329c
fix(electron): add icon for AppImage build ( #6257 )
...
1. the icon is fixed in `/Applications`: https://github.com/toeverything/electron-forge-maker-appimage/commit/128b8c22f9b2e088ce4f88057749b0a8cd55ca98#diff-a694a3e854f53b066e34ec310e05bd18b4944c016455f6963f54a351784d5fa6L91
2. the App's icon MUST be 64x64 png and set via `setIcon`

2024-03-21 14:29:02 +00:00
EYHN
d03c72a0a8
fix(electron): linux crash on exiting presentation mode ( #6253 )
2024-03-21 09:54:48 +00:00
Brooooooklyn
18224a83d1
chore(electron): bump @napi-rs/macos-alias ( #6240 )
...
fix dmg background missing issue https://github.com/Brooooooklyn/macos-alias/pull/3
2024-03-21 06:53:14 +00:00
pengx17
f4ede22b93
fix(core): change cursor when hovering the area blow editor ( #6226 )
2024-03-21 02:00:37 +00:00
pengx17
8b2b2646bc
fix: move traffic lights based on zoom level ( #6201 )
...
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/f75d1f6f-18f4-4dff-8174-67223f5f9807.mp4 ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/f75d1f6f-18f4-4dff-8174-67223f5f9807.mp4 ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/f75d1f6f-18f4-4dff-8174-67223f5f9807.mp4 ">Kapture 2024-03-19 at 18.05.20.mp4</video>
2024-03-21 02:00:35 +00:00
EYHN
08b610bbad
fix(electron): menu item position on Mac when fullscreen ( #6200 )
...
fix https://github.com/toeverything/AFFiNE/issues/6155
2024-03-20 16:45:14 +00:00
pengx17
a8a1074a8a
feat(electron): add isMaximized flag to html ( #6199 )
...
to make some special ui rules for desktop
2024-03-20 13:20:19 +00:00
pengx17
65ab6c89bf
fix(electron): optimize electron open/close on mac ( #6224 )
...
1. never close main window on mac to allow it to be quickly open
1. make the browser show a bit faster
2. brought up app window when clicking some menu items
2024-03-20 11:02:22 +00:00
pengx17
7adb89f134
feat(core): open new page on meta-clicking a page link ( #6220 )
2024-03-20 05:38:39 +00:00
Peng Xiao
fce4484a85
fix(core): tag size in docs view ( #6197 )
2024-03-19 08:53:08 +00:00
Peng Xiao
0695544073
fix(core): page info should use sans font (inter) ( #6196 )
2024-03-19 08:53:00 +00:00
Peng Xiao
5693d90451
e2e(core): add test for split view ( #6133 )
2024-03-18 07:04:06 +00:00
Peng Xiao
dc8f351051
refactor(component): render react element into lit ( #6124 )
...
See docs in https://insider.affine.pro/share/af3478a2-9c9c-4d16-864d-bffa1eb10eb6/oL1ifjA4rKv7HRn5nYzIF
This PR also enables opening split view by ctrl-click a page link in a doc.
2024-03-18 07:04:02 +00:00
Peng Xiao
e896f19f1a
fix(electron): disable mica for windows for now ( #6165 )
...
Upstream https://github.com/electron/electron/issues/41073
2024-03-18 06:52:40 +00:00
Peng Xiao
386bd033af
fix(electron): add dedicated api for opening external links in the default browser ( #6166 )
2024-03-18 06:41:48 +00:00
Peng Xiao
e35f6dca0e
fix: update docs ( #6094 )
2024-03-15 02:33:55 +00:00
Peng Xiao
d2bad68b74
feat(core): move blocksuite flags to experimental features ( #6113 )
2024-03-14 05:24:47 +00:00
Peng Xiao
dd9a253772
feat(core): add split view to experimental features settings ( #6093 )
2024-03-14 05:13:04 +00:00
Peng Xiao
e116a82c24
fix(component): an input display issue in confirm dialog ( #6102 )
...
fix the following issue of `input`

2024-03-13 11:40:34 +00:00
Peng Xiao
e8f83a237d
fix(core): vitest on windows ( #6100 )
2024-03-13 04:32:39 +00:00
Peng Xiao
20bce48132
fix: experimental settings sometimes not show ( #6090 )
2024-03-13 02:07:51 +00:00
Peng Xiao
3f27b7e5f7
fix(core): adjust suspense loading for some components ( #6088 )
...
Adjust setting & user info popover suspense to make them a little bit more responsive
2024-03-12 15:18:43 +00:00
Peng Xiao
9f74cb32ea
fix(component): input focus implementation ( #6086 )
2024-03-12 15:07:48 +00:00
Peng Xiao
e333b4d348
fix(core): make sidebar switch transition smooth ( #6085 )
2024-03-12 14:56:45 +00:00
Peng Xiao
4e79d720df
docs(server): update docs for running server locally ( #6080 )
2024-03-12 09:33:52 +00:00
Peng Xiao
1c5279747b
fix(server): migration script running on windows ( #6077 )
2024-03-12 16:19:48 +08:00
Peng Xiao
83e1217f61
fix(server): server startup on windows ( #6071 )
2024-03-12 06:41:42 +00:00
Peng Xiao
716f679914
feat(electron): mica styles for windows ( #5802 )
...

2024-03-11 09:41:09 +00:00
Peng Xiao
c93077f643
fix: divider styles issue ( #6058 )
...
Using height: 1 as divider may have some display issues on Chrome. No idea why yet.

2024-03-11 06:04:55 +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
55ecd92722
fix(electron): windows distribution name ( #6014 )
2024-03-05 07:53:30 +00:00
Peng Xiao
63e82cca78
build: remove incorrect project dep ( #6016 )
2024-03-05 07:44:13 +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
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
Peng Xiao
e2a31ea1fc
fix(core): some ui style issues ( #5995 )
...
Increase page info toggle click area:

fix history modal page height
2024-03-04 03:57:45 +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
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
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
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
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
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
Peng Xiao
39d177c507
build: codesigning dmg ( #5921 )
...
fix https://github.com/toeverything/AFFiNE/issues/5898
2024-02-27 06:35:46 +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
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
Peng Xiao
7d73145a69
fix: page info -> info ( #5892 )
...
fix AFF-607
2024-02-23 14:14:43 +00:00
Peng Xiao
c16e4d4464
fix: page properties flaky tests ( #5893 )
2024-02-23 14:14:41 +00:00
Peng Xiao
9e7406e0a1
chore: downgrade react-virtuoso to 4.6.3 ( #5896 )
...
temp workaround for https://github.com/petyosi/react-virtuoso/issues/1039

2024-02-23 13:55:11 +00:00
Peng Xiao
db1d0dcf52
fix(electron): autohide menu bar on linux ( #5890 )
2024-02-23 09:27:29 +00:00
Peng Xiao
745110c799
fix: page info ui issue on journal page ( #5887 )
2024-02-23 07:55:44 +00:00
Peng Xiao
7ec3f7a042
feat(core): add shortcut for openning settings ( #5883 )
...
fix https://github.com/toeverything/AFFiNE/issues/5881
2024-02-23 06:29:49 +00:00
Peng Xiao
bef72029a0
fix: keyboard shortcut style in cmdk ( #5882 )
...

2024-02-23 06:29:46 +00:00
Peng Xiao
c22216c71a
fix: fix image preview modal story ( #5879 )
2024-02-23 06:07:46 +00:00
Peng Xiao
0bbecec2fb
fix(electron): add back bundle test for appimage ( #5876 )
...
In an attempt to fix AppImage build test, I incorrectly removed the script.
This PR add it back.
2024-02-23 04:36:15 +00:00
Peng Xiao
8b1d7219be
chore(electron): bump @pengx17/electron-forge-maker-appimage to fix appimage build ( #5875 )
...
It looks like I did not publish the correct `@pengx17/electron-forge-maker-appimage`, which will result in failed build for AppImage
2024-02-23 04:36:06 +00:00
Peng Xiao
2df8f29b64
refactor(core): use fractional indexing for sorting ( #5809 )
...
use https://github.com/rocicorp/fractional-indexing to enable better sorting logic for crdt app
2024-02-22 09:38:00 +00:00
Peng Xiao
372b4da884
test(core): add tests for page info ui ( #5769 )
...

2024-02-22 09:37:55 +00:00
Peng Xiao
bb8e601f82
feat(core): tags inline editor ( #5748 )
...
tags inline editor and some refactor
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/439da1e3-30a9-462a-b7b4-c8e7c3b5ef17.mp4 ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/439da1e3-30a9-462a-b7b4-c8e7c3b5ef17.mp4 ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/439da1e3-30a9-462a-b7b4-c8e7c3b5ef17.mp4 ">Kapture 2024-01-31 at 23.29.11.mp4</video>
fix AFF-467
fix AFF-468
fix AFF-472
fix AFF-466
2024-02-22 09:37:50 +00:00
Peng Xiao
546d96c5c9
feat(core): workspace properties setting ( #5739 )
...
the property settings in workspace settings
2024-02-22 09:37:46 +00:00
Peng Xiao
58ea2fbc4c
fix(core): editor container grow to full height ( #5743 )
2024-02-22 06:20:40 +00:00
Peng Xiao
a120eb90ab
fix(core): journal display on cmdk ( #5723 )
...

2024-02-22 06:09:18 +00:00
Peng Xiao
d97304e9eb
feat(core): page info ui ( #5729 )
...
this PR includes the main table view in the page detail page
2024-02-22 05:58:15 +00:00
Peng Xiao
3881164854
build(electron): generate latest-linux.yml ( #5822 )
2024-02-19 14:25:02 +00:00
Peng Xiao
20f7473e20
fix(electron): linux login issues ( #5821 )
...
Looks like there are some issues using `@reforged/maker-appimage`:
- deep link not working properly (cannot login)
- cannot be installed via AppImageLauncher, which is required to enable deep link on linux
I forked saleae/electron-forge-maker-appimage into https://github.com/toeverything/electron-forge-maker-appimage to fix these issues
See changes: https://github.com/saleae/electron-forge-maker-appimage/compare/master...toeverything:electron-forge-maker-appimage:master?w=1
To enable login on Linux, the app must be installed via AppImageLauncher.

fix https://github.com/toeverything/AFFiNE/issues/4978
fix https://github.com/toeverything/AFFiNE/issues/4466
2024-02-19 14:24:59 +00:00
Peng Xiao
d1c4e6141a
refactor(component): cmdk ordering ( #5722 )
...
Replace internal CMDK command filtering/sorting logic.
The new implementation includes the following for command scoring:
- categories weights
- highlighted fragments
- original command score value
The new logic should be much cleaner and remove some hacks in the original implementation.
Not sure if this is optimal yet. Could be changed later.
fix https://github.com/toeverything/AFFiNE/issues/5699
2024-02-16 13:20:24 +00:00
Peng Xiao
005c02f148
fix(core): flaky tests ( #5804 )
2024-02-06 03:20:54 +00:00
Peng Xiao
afccf3d8c9
feat(core): add an option to throttle cpu in e2e ( #5803 )
...
To debug e2e flakyness locally
2024-02-06 03:20:49 +00:00
Peng Xiao
5ca0d65241
test(core): config e2e output dir ( #5783 )
2024-02-05 04:10:17 +00:00
Peng Xiao
7d951a975f
fix(core): replace most --affine with cssVar ( #5728 )
...
using a [babel plugin](https://gist.github.com/pengx17/49e24ae8a5a609bdaff122ee8c679d1c ) to transform all var(--affine-xxx) to cssVar
Some issues:
- tried ast-grep but it seems to be not easy to add imports conditionally
- current work does not work well with ts with types because babel will strip them out
2024-02-01 09:33:11 +00:00
Peng Xiao
df8e8051c3
chore: bump electron dependencies ( #5770 )
...
to include this fix https://github.com/electron/electron/pull/40994
2024-02-01 08:53:20 +00:00
Peng Xiao
b867dcbdeb
fix: add padding between editor and link panel ( #5713 )
...
Fix [AFF-561](https://linear.app/affine-design/issue/AFF-561/bi-directional-link-与文本编辑区域的-top-padding )
2024-01-26 07:32:22 +00:00
Peng Xiao
e8a6b6ad5e
fix(core): bidi links rendering issue ( #5707 )
2024-01-26 06:07:04 +00:00
Peng Xiao
a687e7c0ed
fix(core): workspace feature should be workspace specific ( #5677 )
...
fix TOV-429
2024-01-24 03:07:51 +00:00
Peng Xiao
994ab96688
fix(playground): storybook story load issue ( #5672 )
...
Since the properties adapter now depends on whenLoaded status of the ydoc, we may need to explicitly mark doc as emit if the workspace is created without using a provider.
2024-01-24 02:56:07 +00:00
Peng Xiao
c2a978f0f2
fix: create page button offset issue on non-windows desktop app ( #5669 )
...
fix TOV-428
2024-01-24 02:56:04 +00:00
Peng Xiao
f62b67de61
fix(core): should set lang when locale changes ( #5679 )
...
this + https://github.com/toeverything/design/pull/110 should fix #5591
fix TOV-457
Reason: HTML requires `lang` to be set to render the correct CJK glyphs.
https://heistak.github.io/your-code-displays-japanese-wrong
<img width="692" alt="image" src="https://github.com/toeverything/AFFiNE/assets/584378/1d350219-5157-42cb-8e98-76d92d55b41e ">
2024-01-24 02:43:22 +00:00
Peng Xiao
65b538ee45
chore: bump @toeverything/theme ( #5680 )
2024-01-24 02:43:19 +00:00
Peng Xiao
ecdb5b3407
fix(core): properties adapter reactivitiy issue ( #5661 )
2024-01-23 01:41:44 +00:00
Peng Xiao
03b60a63cd
fix: remove incorrect commit ( #5660 )
2024-01-23 01:41:39 +00:00