Cats Juice
e7307d969c
chore(core): remove journal experimental flag ( #5698 )
2024-01-25 05:33:57 +00:00
Cats Juice
9aa421d5e1
fix(core): modify journal page title today style, add weekday tag ( #5687 )
...
fix [TOV-434](https://linear.app/affine-design/issue/TOV-434/修改-journal-中-「today」的字体大小和日期-title-大小 )
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/toeverything/AFFiNE/assets/39363750/ac0ab085-5ff7-4d27-a0b1-11d97fdd8074 ">
<img width="100%" alt="" src="https://github.com/toeverything/AFFiNE/assets/39363750/3b311130-ded2-4651-badd-65dd059b7bc5 ">
</picture>
2024-01-24 13:07:20 +00:00
Cats Juice
3f96b9778f
fix(core): change journal header week-date-picker's max-width ( #5688 )
...
Fix [TOV-444](https://linear.app/affine-design/issue/TOV-444/修改-journal-date-picker-max-width )
2024-01-24 12:54:34 +00:00
JimmFly
25897dc404
feat(workspace): add blob and storage limit ( #5535 )
...
close TOV-343 AFF-508 TOV-461 TOV-460 TOV-419
Add `isOverCapacity ` status to detect if blob usage exceeds limits.
Add `onCapacityChange` and `onBlobSet` to monitor if the storage or blob exceeds the capacity limit.
Global modals `LocalQuotaModal` and `CloudQuotaModal` have been added, with the upload size of the blob being limited within the modal components.
The notification component has been adjusted, now you can pass in `action` click events and `actionLabel` .
2024-01-24 07:34:51 +00:00
Chen
c566952e09
feat: bump blocksuite ( #5673 )
2024-01-24 15:13:12 +08: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
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
Cats Juice
8300df4a26
fix(core): correct typo in onboarding 'get start' ( #5666 )
2024-01-23 04:54:22 +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
f41b7d7e71
feat(component): react wrapper for blocksuite editor ( #5606 )
...
A React wrapper for blocksuite editor from title/meta/doc/edgless fragments.
This PR only **clones** the `AffineEditorContainer`'s existing behavior and make it easier for extension in affine later.
fix TOV-315
### Some core issues:
A customized version of `createComponent` from `@lit/react`. The [existing and solutions in the community](https://github.com/lit/lit/issues/4435 ) does not work well in our case.
Alternatively in this PR the approach we have is to create web component instances in React lifecycle and then append them to DOM. However this make it hard to wrap the exported Lit component's using React and therefore we will have an additional wrapper tag for the wrapped web component.
To mitigate the migration issue on using React instead of Lit listed on last day, we now use [a proxy to mimic the wrapped React component](https://github.com/toeverything/AFFiNE/pull/5606/files#diff-5b7f0ae7b52a08739d50e78e9ec803c26ff3d3e5437581c692add0de12d3ede5R142-R183 ) into an `AffineEditorContainer` instance.
2024-01-22 08:25:29 +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
Cats Juice
351f1b73b4
feat(core): add journal entrance for app-sidebar ( #5579 )
2024-01-18 14:40:35 +00:00
JimmFly
a7e8664959
fix(core): reserve space for the editor scrollbar ( #5625 )
...
Because the space for the scroll bar on the right is reserved, in order to make the editor symmetrical, padding corresponding to the width of the scroll bar is added to the left.
2024-01-18 12:44:27 +00:00
Peng Xiao
9a944048e8
feat(core): experimental features ui ( #5338 )
...
fix TOV-280
experimental features ui
- enabled in the workspace settings for a cloud workspace; only show for workspace owner + early access
- a disclaimer prompt will be shown before going to the next feature setting page
- for now only show the ai poc switch, which controls the display of the ai tab in editor's sidepanel
2024-01-18 07:53:15 +00:00
Cats Juice
cabedef426
feat(core): journal hooks and page header layout ( #5549 )
...
feat(core): split page header items
feat(core): journal page judgment and header layout
feat(core): Add journal today button and style changes to share menu
2024-01-18 07:17:14 +00:00
liuyi
b9f20877d0
feat(core): make password sigin default if user has one ( #5577 )
2024-01-17 11:13:58 +00:00
Cats Juice
2db3c933fa
refactor(component): move date-picker to ui, add story, support responsive ( #5468 )
...
- move to `component/ui`
- add `AFFiNEDatePicker` & `BlocksuiteDatePicker` story
- inline mode support
- responsive support
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/toeverything/AFFiNE/assets/39363750/320bef49-380f-40a2-b3b2-4b74dd2d8da4 ">
<img alt="" src="https://github.com/toeverything/AFFiNE/assets/39363750/fc9e7808-02fe-49a1-aa78-aea254fb1f9d ">
</picture>
2024-01-17 09:16:46 +00:00
JimmFly
4f4d057aad
refactor(core): replace WorkspaceSubPath in env package with the one in core package ( #5537 )
2024-01-16 08:26:11 +00:00
Peng Xiao
238d1ad44e
fix(component): add back lottie color hack for dark mode ( #5576 )
...
Not sure why but it seems the changes in https://github.com/toeverything/AFFiNE/pull/4953 are lost
2024-01-16 08:11:51 +00:00
JimmFly
baeb5cc732
feat(core): get cloud workspace usage limit from user quota ( #5518 )
2024-01-16 07:57:23 +00:00
Lewis Liu
94e24d1b82
style: import from './index' instead of '.' ( #5590 )
...
Co-authored-by: LongYinan <lynweklm@gmail.com >
2024-01-16 14:39:08 +08:00
regischen
3602f1cac0
feat: bump blocksuite ( #5575 )
2024-01-12 12:41:27 +08:00
EYHN
d1c2b2a7b0
fix(core): workspace not found after import ( #5571 )
...
close TOV-393
2024-01-11 09:47:24 +00:00
EYHN
5aee480c50
refactor(core): move page list to core ( #5556 )
2024-01-10 11:09:39 +00:00
Peng Xiao
275ea74772
chore(core): remove affine/cmdk package ( #5552 )
...
patch cmdk based on https://github.com/pengx17/cmdk/tree/patch-1
fix https://github.com/toeverything/AFFiNE/issues/5548
2024-01-10 05:25:37 +00:00
Peng Xiao
b86a5a2830
fix(core): sidebar extension sometimes not show ( #5513 )
2024-01-05 13:17:02 +00:00
JimmFly
971f2beed1
fix(core): disable quick search when the link-popup is visitable ( #5409 )
...
close AFF-471
2024-01-04 11:36:50 +00:00
JimmFly
7d886e44a6
feat(core): add cloud workspace member limit ( #5500 )
...
<img width="521" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/2cac78ef-07ed-4e06-b739-1279f913d0e1 ">
<img width="514" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/eed0db08-8550-4686-8ea1-251f1c4c7fee ">
2024-01-03 14:57:27 +00:00
Peng Xiao
a709624ebf
feat(core): page preview ui optimize ( #5442 )
...

fix TOV-92
No animations right now.
2024-01-03 03:30:43 +00:00
Peng Xiao
6cb62ed25d
feat: bump blocksuite ( #5453 )
...
Change history: https://github.com/toeverything/blocksuite/compare/e3abcbb...master
2024-01-03 02:10:19 +00:00
Peng Xiao
8dc3e3d65c
fix(core): add free plan prompt ( #5441 )
...
fix TOV-91

2024-01-03 01:50:32 +00:00
Peng Xiao
444de6d4ac
fix(core): adjust error boundary level ( #5493 )
...
Allowing showing page title for page detail when page throws error.

2024-01-02 22:48:19 +08:00
EYHN
104c21d84c
refactor(workspace): split workspace interface and implementation ( #5463 )
...
@affine/workspace -> (@affine/workspace, @affine/workspace-impl)
2024-01-02 10:58:01 +00:00
EYHN
9d0b3b4947
refactor(core): move workspace atoms to core ( #5459 )
...
@affine/workspace/atom -> @affine/core/modules/workspace
2024-01-02 10:06:48 +00:00
EYHN
4b217e6b89
refactor(core): move hooks to core ( #5458 )
...
* move @toeverything/hooks -> @affine/core/hooks
* delete @toeverything/hooks
hooks are all business-related logic and are deeply coupled with other parts.
Move them into the core and then reconstruct them by feature.
2024-01-02 08:05:46 +00:00
EYHN
6844b282ac
refactor(component): adjust active editor atom ( #5457 )
...
before:
set global `blocksuiteEditorAtom` state in `<BlocksuiteEditorImpl />`
after:
Rename `blocksuiteEditorAtom` to `activeBlocksuiteEditorAtom`
And move the logic of setting this atom to `<PageDetailEditor />`.
benefit:
* make BlocksuiteEditor pure
* keep @toeverything/component clear
* Clarify the purpose of `activeBlocksuiteEditorAtom`
2024-01-02 07:30:09 +00:00
Peng Xiao
b84494ef86
feat(core): optimize history list item ui ( #5440 )
...

fix TOV-90
2024-01-02 05:46:56 +00:00
Peng Xiao
9e092b9c15
fix(core): long page title issue in page history ( #5436 )
...

2023-12-29 07:27:02 +00:00
Peng Xiao
f65c5dbfa7
fix(core): upgrade page when previewing/reverting page snapshot ( #5435 )
2023-12-29 07:26:58 +00:00
JimmFly
954b751e7c
chore: adjust side bar empty item color ( #5422 )
2023-12-28 13:49:14 +00:00
EYHN
9d51f9596f
refactor(component): make component pure ( #5427 )
2023-12-28 09:57:26 +00:00
EYHN
0b9cd00fd3
refactor(core): adjust graphql hook ( #5339 )
2023-12-28 07:43:25 +00:00
LongYinan
3148f93ee7
style: add perf rules ( #5413 )
2023-12-28 05:09:30 +00:00
EYHN
4e861d8118
refactor(electron): create electron api package ( #5334 )
2023-12-27 06:38:37 +00:00
EYHN
265ee81666
refactor(infra): remove old plugin system ( #5411 )
...
plugin system need redesign
2023-12-27 02:49:59 +00:00
JimmFly
62fbab4f78
fix(core): avatars are not aligned ( #5404 )
2023-12-26 20:23:28 +08:00
Peng Xiao
285d2a7219
fix(core): trash page footer display issue ( #5402 )
...
Before

After

2023-12-26 08:07:17 +00:00
Peng Xiao
fafcfbce6d
fix(core): about setting blink issue ( #5399 )
2023-12-26 07:47:11 +00:00
Peng Xiao
c59a6a833c
fix(core): workpace list blink issue on open ( #5400 )
2023-12-26 07:37:41 +00:00