EYHN
3e547ce4cc
fix(core): hidden modals when workspace fallback ( #6301 )
2024-03-25 13:52:08 +00:00
JimmFly
1ff6af85f5
feat(core): add page group and display properties ( #6228 )
...
close TOV-23
https://github.com/toeverything/AFFiNE/assets/102217452/c05474de-b73c-40ab-9f18-cc43bb9fd828
2024-03-25 07:53:33 +00:00
EYHN
f2adbdaba4
style: enable import-x/no-duplicates ( #6279 )
2024-03-25 03:55:33 +00:00
EYHN
7ce2bfbf0b
style: no import infra submodule ( #6278 )
2024-03-25 03:55:29 +00:00
EYHN
2b42a75e5a
style: enable rxjs/finnish ( #6276 )
...
chore(infra): use finnish notation for observables
do rename
2024-03-24 17:04:51 +00:00
JimmFly
532d655ffb
feat(core): add confirm modal for delete tag action ( #6268 )
2024-03-23 12:03:14 +00:00
EYHN
34703a3b7d
feat(infra): new doc sync engine ( #6205 )
...
https://github.com/toeverything/AFFiNE/blob/eyhn/feat/new-sync/packages/common/infra/src/workspace/engine/doc/README.md
2024-03-22 16:43:26 +00:00
Fangdun Tsai
69cb8b0f60
chore(core): disable onborading on the web ( #6222 )
2024-03-22 18:05:36 +08:00
EYHN
75355867c7
feat(core): save user habits in right sidebar ( #6262 )
...
Closes #6237
2024-03-22 07:32:59 +00:00
JimmFly
9030ca511e
refactor(core): refactor tag to use di ( #6079 )
...
use case
```
const tagService = useService(TagService);
const tags = useLiveData(tagService.tags);
const currentTagLiveData = tagService.tagByTagId(tagId);
const currentTag = useLiveData(currentTagLiveData);
```
2024-03-19 08:39:15 +00:00
EYHN
12c04a8575
feat(core): allow switch workspace in loading fallback ( #6129 )
2024-03-15 03:45:32 +00:00
Cats Juice
ee75b468e6
fix(core): shared page's present button not working ( #6117 )
2024-03-15 03:32:37 +00:00
regischen
fddbb426a6
feat: bump blocksuite ( #6078 )
2024-03-13 17:04:21 +08: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
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
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
5d8dea084c
fix(core): fix journal missing after refresh ( #6022 )
2024-03-05 11:42:09 +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
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
regischen
d1e6b23e1a
feat: bump blocksuite ( #5953 )
2024-02-29 14:33:50 +08: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
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
Whitewater
228b0d789d
feat: add shared page filter to all pages ( #5540 )
...
Co-authored-by: EYHN <cneyhn@gmail.com >
2024-02-23 16:07:13 +08:00
EYHN
3f7f78c8f4
fix(core): fix app boot speed ( #5885 )
2024-02-23 07:07:03 +00:00
LongYinan
35842ae1c5
fix(core): fix 404 after signout ( #5866 )
...
CherryPick https://github.com/toeverything/AFFiNE/pull/5865
2024-02-22 08:30:41 +00:00
Cats Juice
390fb90a8b
feat(core): ignore empty journal for global useBlockSuitePageMeta hook ( #5715 )
...
[TOV-494](https://linear.app/affine-design/issue/TOV-494/空-journal-的隐藏处理 )
2024-02-22 08:09:33 +00:00
JimmFly
c353b0d30f
chore: replace ambiguous "page" with "doc" ( #5761 )
...
close TOV-532
2024-02-21 12:47:17 +00:00
liuyi
85be45a79c
fix(core): window.open to a new origin will be blocked by browser ( #5856 )
2024-02-21 12:35:25 +00:00
Ayush Agrawal
11b3184537
feat: blocksuite integration for pageMode & pageUpdatedAt ( #5849 )
...
Co-authored-by: LongYinan <lynweklm@gmail.com >
2024-02-21 15:03:02 +08:00
Cats Juice
3fe9d834de
feat(core): replace page filter, journal's date-picker with new one ( #5675 )
2024-02-20 13:53:41 +00:00
Adithyan
afe59a864d
feat: Duplicate page in page list and clone naming improvements ( #5818 )
2024-02-20 16:44:25 +08:00
LongYinan
51680da33b
fix(core): prevent data loss (hot-fix) ( #5798 ) ( #5800 )
2024-02-05 03:53:32 +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
EYHN
329fc19852
refactor(infra): migrate to new infra ( #5565 )
2024-01-30 07:16:39 +00:00
JimmFly
18068f4ae2
feat(core): add collection and tag filters to all pages ( #5567 )
...
close TOV-69
Added the `filterMode` parameter to the `/all` route.
Abstracted the `PageList` and associated components into more universal ones.
Added the `useTagMetas` hook to get and update the workspace tags.
https://github.com/toeverything/AFFiNE/assets/102217452/7595944d-a056-40c2-8d89-d8df9e901a4b
2024-01-26 07:42:47 +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
c2a978f0f2
fix: create page button offset issue on non-windows desktop app ( #5669 )
...
fix TOV-428
2024-01-24 02:56:04 +00:00
DarkSky
8bbe2e3bb1
feat: use custom image/preview link ( #5584 )
...
dep toeverything/blocksuite#5969
2024-01-23 08:53:57 +00:00
Peng Xiao
ecdb5b3407
fix(core): properties adapter reactivitiy issue ( #5661 )
2024-01-23 01:41:44 +00:00
Peng Xiao
0ed26f51af
feat(core): adopt editor features for journal ( #5638 )
2024-01-22 08:25:31 +00:00
Peng Xiao
735e1cb117
feat(core): page info adapter for journal ( #5561 )
...
Page info adapter + schema.
Adapted for journal features.

2024-01-22 08:25:27 +00:00
JimmFly
353b27d796
refactor(component): adapt the questionnaire component to the desktop client ( #5514 )
...
close TOV-240
Windows desktop:
<img width="1145" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/6b12a6bd-c020-4d02-a366-e97e1afd1e10 ">
MacOS desktop:
<img width="1187" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/9a3c909c-b283-4ddc-a187-3db12b26a7f5 ">
Web:
<img width="1438" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/e8e04258-9275-470d-a3f8-5d18f5b29eb3 ">
2024-01-19 10:07:18 +00:00
Cats Juice
f4b26a16f8
feat(core): journal sidebar conflict block ( #5574 )
2024-01-18 14:05:15 +00:00