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
Fangdun Tsai
8301d82548
fix(core): sync list titles in sidebar ( #6157 )
2024-03-18 14:39:28 +08:00
Fangdun Tsai
636fa503b8
feat: support esc shortcut on input-edit ( #6143 )
2024-03-16 13:13:37 +00:00
Fangdun Tsai
eec24db1a1
fix: use the esc shortcut to exit in create collection dialog ( #6138 )
2024-03-16 19:18:06 +08:00
Chen
a24320da68
feat: bump blocksuite ( #6123 )
2024-03-15 16:54:24 +08:00
EYHN
78f7e3a45e
fix(core): catch page load error ( #6134 )
2024-03-15 08:44:36 +00:00
EYHN
9ba47f43bb
fix(core): fix active view undefined ( #6131 )
...
close https://github.com/toeverything/AFFiNE/issues/6127 , #6132
2024-03-15 03:45:41 +00:00
EYHN
12c04a8575
feat(core): allow switch workspace in loading fallback ( #6129 )
2024-03-15 03:45:32 +00:00
EYHN
96c67afc11
fix(core): catch auth error ( #6128 )
2024-03-15 03:45:23 +00:00
Cats Juice
ee75b468e6
fix(core): shared page's present button not working ( #6117 )
2024-03-15 03:32:37 +00:00
Cats Juice
7fdb1f2d97
feat(core): adjust split view ui ( #6076 )
2024-03-14 06:41:29 +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
regischen
fddbb426a6
feat: bump blocksuite ( #6078 )
2024-03-13 17:04:21 +08:00
EYHN
05b79aae89
fix(core): fix tags includes missing error ( #6096 )
...
fix https://toeverything.sentry.io/issues/5059796018/events/0899e77a3f6842088568b4cc42b814d7/
2024-03-13 02:43:28 +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
e333b4d348
fix(core): make sidebar switch transition smooth ( #6085 )
2024-03-12 14:56:45 +00:00
liuyi
fb3a0e7b8f
refactor(server): auth ( #5895 )
...
Remove `next-auth` and implement our own Authorization/Authentication system from scratch.
## Server
- [x] tokens
- [x] function
- [x] encryption
- [x] AuthController
- [x] /api/auth/sign-in
- [x] /api/auth/sign-out
- [x] /api/auth/session
- [x] /api/auth/session (WE SUPPORT MULTI-ACCOUNT!)
- [x] OAuthPlugin
- [x] OAuthController
- [x] /oauth/login
- [x] /oauth/callback
- [x] Providers
- [x] Google
- [x] GitHub
## Client
- [x] useSession
- [x] cloudSignIn
- [x] cloudSignOut
## NOTE:
Tests will be adding in the future
2024-03-12 10:00:09 +00:00
regischen
5c1e904335
fix: linked doc jump ( #6074 )
2024-03-12 16:02:56 +08:00
Lye Hongtao
d5386bee41
fix: std might not be ready when onLoad invoked ( #6075 )
2024-03-12 16:02:42 +08:00
JimmFly
f832ada98c
fix(core): cannot scroll when dragging ( #6070 )
...
close TOV-671
2024-03-12 05:43:47 +00:00
EYHN
eca35ded2f
fix(core): fix page priority load ( #6072 )
...
When refactoring, I planned to put the logic of loading current pages priority in `PageManager.open`, but I forgot, so the current page will not be loaded priority.
But currently `PageManager.open` has been used in many places, but only one priority page can be set, so the logic of setting the priority page is still placed in the detail page.
2024-03-12 05:09:14 +00:00
EYHN
3672366fea
fix(core): fix missing windows controls ( #6067 )
...
fix #6064
2024-03-12 02:43:45 +00:00
Peng Xiao
716f679914
feat(electron): mica styles for windows ( #5802 )
...

2024-03-11 09:41:09 +00:00
JimmFly
b26efa4940
feat(core): add tag operation to tag list ( #5998 )
...
https://github.com/toeverything/AFFiNE/assets/102217452/11745733-0d7b-494b-97fd-33e40a240a02
2024-03-11 08:36:07 +00:00
EYHN
ba4637a6bd
fix(core): add view error boundary ( #6036 )
2024-03-11 07:09:47 +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
EYHN
5091174da2
fix(core): remove unexpected loading ( #6035 )
2024-03-09 15:01:18 +00:00
LongYinan
3aba2d220b
fix: backlinks jump ( #6034 )
...
Fix [AFF-656](https://linear.app/affine-design/issue/AFF-656/back-links-看起来都坏了 )
2024-03-06 11:06:02 +00:00
JimmFly
c7dd6778ac
fix(core): disable doc info and backlinks in readonly mode ( #6033 )
...
close AFF-671
<img width="1422" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/ef80b195-3d67-4751-82d9-12973f331798 ">
2024-03-06 10:07:20 +00:00
EYHN
633a5bab53
fix(core): fix cmdk not show current page ( #6031 )
2024-03-06 06:31:38 +00:00
Fangdun Tsai
5d63ca0bab
fix(core): canvas font loading in desktop ( #6025 )
2024-03-06 13:42:56 +08:00
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
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
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
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
Cats Juice
2275eee5b2
feat(core): resize and reorder split-view ( #5994 )
2024-03-04 11:19:39 +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.

2024-03-04 06:42:12 +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