EYHN
81aae61394
fix(core): fix desktop e2e ( #5867 )
2024-02-22 16:12:23 +08:00
Peng Xiao
e08f58beea
chore: bump electron dependencies ( #5770 )
...
to include this fix https://github.com/electron/electron/pull/40994
2024-02-22 15:26:09 +08:00
EYHN
4560819f76
fix(core): fix 404 after signout (hotfix) ( #5865 )
2024-02-22 15:11:11 +08:00
liuyi
193c197a54
fix(core): window.open to a new origin will be blocked by browser ( #5856 )
2024-02-21 20:51:25 +08:00
Ayush Agrawal
8d141e5a81
feat: blocksuite integration for pageMode & pageUpdatedAt ( #5849 )
...
Co-authored-by: LongYinan <lynweklm@gmail.com >
2024-02-21 15:16:49 +08:00
Lye Hongtao
e04911315f
feat: move templates into AFFiNE ( #5750 )
...
Related to https://github.com/toeverything/blocksuite/pull/6156
### Change
Move the edgeless templates to AFFiNE. All templates are stored as zip files. Run `node build-edgeless.mjs` in `@affine/templates` to generate JSON-format templates and importing script. The template will be generated automatically during building and dev (`yarn dev`).
2024-02-21 15:10:47 +08:00
Ayush Agrawal
75d58679b6
chore: bump blocksuite ( #5852 )
2024-02-21 15:10:35 +08:00
Ayush Agrawal
2e6386e4cf
feat: bump blocksuite ( #5845 )
2024-02-21 15:09:33 +08:00
Ayush Agrawal
f345a61df0
feat: bump blocksuite ( #5817 )
2024-02-21 15:01:45 +08:00
Flrande
a6420fcd76
feat: bump blocksuite ( #5812 )
2024-02-21 15:00:43 +08:00
Yifeng Wang
fec406f7e8
feat: bump blocksuite ( #5767 )
...
Co-authored-by: LongYinan <lynweklm@gmail.com >
2024-02-21 14:57:05 +08:00
LongYinan
769398591b
fix: resolve deps and types issues after cherry-pick
2024-02-21 14:51:29 +08:00
JimmFly
e01569fff7
feat(core): add loading to quick search modal ( #5785 )
...
close AFF-285
add `useSyncEngineStatus` hooks
add loading style
<img width="977" alt="test1" src="https://github.com/toeverything/AFFiNE/assets/102217452/e8bf6714-e42b-4adf-a279-341ef5f5cfc0 ">
2024-02-21 14:40:30 +08:00
JimmFly
6bde2de783
feat(core): add starAFFiNE and issueFeedback modal ( #5718 )
...
close TOV-482
https://github.com/toeverything/AFFiNE/assets/102217452/da1f74bc-4b8d-4d7f-987d-f53da98d92fe
2024-02-21 14:23:09 +08:00
JimmFly
3513ced6cb
fix(core): match page preview and page title in page list ( #5840 )
...
close TOV-578
2024-02-21 14:21:05 +08:00
Adithyan
8dc9addc40
feat: Duplicate page in page list and clone naming improvements ( #5818 )
2024-02-21 14:20:38 +08:00
Muhammad Arsil
9d9f89ef2e
fix: cards overlapping issue ( #5727 )
...
Co-authored-by: EYHN <cneyhn@gmail.com >
2024-02-21 14:20:31 +08:00
Peng Xiao
6032b432f8
build(electron): generate latest-linux.yml ( #5822 )
2024-02-21 14:19:37 +08:00
Peng Xiao
5823787ded
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-21 14:19:23 +08:00
Whitewater
a5df5a7c8a
chore: skip sync when offline ( #5786 )
2024-02-21 14:17:20 +08:00
EYHN
d15ec0ff77
fix(workspace): fix sync handshake (hot-fix) ( #5797 )
2024-02-05 10:56:46 +08:00
EYHN
d2acd0385a
fix(core): prevent data loss (hot-fix) ( #5798 )
2024-02-05 10:54:51 +08:00
EYHN
1effb2f25f
fix(workspace): fix sync stuck ( #5762 ) ( #5772 )
2024-02-01 17:41:49 +08:00
Joooye_34
9189d26332
feat: support sign-in with subscription coupon ( #5768 )
2024-02-01 17:03:29 +08:00
Cats Juice
4257b5f3a4
fix(core): set createDate to journal's date when journal created ( #5701 )
2024-01-30 23:13:02 +08:00
Cats Juice
ea17e86032
feat(core): ignore empty journals for page lists ( #5744 )
2024-01-30 17:21:20 +08:00
LongYinan
588b3bcf33
chore: revert "chore: bump up @reforged/maker-appimage version to v4" ( #5736 )
...
link #5709
This reverts commit 59788aa334 .
2024-01-29 08:41:35 +00:00
Yifeng Wang
1cf902bdb6
feat: bump blocksuite ( #5735 )
2024-01-29 16:40:23 +08:00
LongYinan
0044be972f
chore: bump up @blocksuite/icons version to v2.1.44 ( #5732 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@blocksuite/icons](https://togithub.com/toeverything/icons ) | [`2.1.43` -> `2.1.44`](https://renovatebot.com/diffs/npm/@blocksuite%2ficons/2.1.43/2.1.44 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>toeverything/icons (@​blocksuite/icons)</summary>
### [`v2.1.44`](https://togithub.com/toeverything/icons/compare/13299f7ede53dfd75ec18b0d2ac0d33621b727ce...bc31d7096132890aa055ac3bdf632826b7734bc5 )
[Compare Source](https://togithub.com/toeverything/icons/compare/13299f7ede53dfd75ec18b0d2ac0d33621b727ce...bc31d7096132890aa055ac3bdf632826b7734bc5 )
</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 these updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=-->
2024-01-29 07:39:17 +00:00
LongYinan
25e8b8306f
fix: path issue on Windows ( #5725 )
2024-01-29 07:18:25 +00:00
DarkSky
070d5ca471
feat: impl unlimited features ( #5659 )
2024-01-26 08:28:54 +00:00
Yifeng Wang
04b9029d1b
feat: bump blocksuite ( #5720 )
...
Co-authored-by: xiaoxin <hongtao.lye@toeverything.info >
2024-01-26 16:27:58 +08:00
Cats Juice
387e292ed9
fix(core): journal title's day tag may be invalid ( #5703 )
...
Fix [TOV-470](https://linear.app/affine-design/issue/TOV-470/journal-invalid-date )
2024-01-26 07:55:35 +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
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
Cats Juice
6ca2043697
feat(component): optimize week-date-picker keyboard navigation ( #5684 )
2024-01-26 07:05:19 +00:00
Peng Xiao
e8a6b6ad5e
fix(core): bidi links rendering issue ( #5707 )
2024-01-26 06:07:04 +00:00
LongYinan
59788aa334
chore: bump up @reforged/maker-appimage version to v4 ( #5709 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@reforged/maker-appimage](https://togithub.com/SpacingBat3/ReForged ) | [`^3.3.1` -> `^4.0.0`](https://renovatebot.com/diffs/npm/@reforged%2fmaker-appimage/3.3.1/4.0.0 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>SpacingBat3/ReForged (@​reforged/maker-appimage)</summary>
### [`v4.0.0`](https://togithub.com/SpacingBat3/ReForged/compare/1657b037660a8e750b6d664d471fd6d6faa99d23...f829e7a954f981f0edba12c038f9db364e1ad172 )
[Compare Source](https://togithub.com/SpacingBat3/ReForged/compare/1657b037660a8e750b6d664d471fd6d6faa99d23...f829e7a954f981f0edba12c038f9db364e1ad172 )
### [`v3.3.2`](https://togithub.com/SpacingBat3/ReForged/compare/45d28765c288c261a24788b999a9122b249ca47f...1657b037660a8e750b6d664d471fd6d6faa99d23 )
[Compare Source](https://togithub.com/SpacingBat3/ReForged/compare/45d28765c288c261a24788b999a9122b249ca47f...1657b037660a8e750b6d664d471fd6d6faa99d23 )
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=-->
2024-01-26 02:41:08 +00:00
DarkSky
fdffe90892
fix: consume blob stream correctly ( #5706 )
...
- use correctly endpoint in r2
- consume blob stream correctly
2024-01-25 10:59:53 +00:00
LongYinan
db3891ba33
chore: bump up @blocksuite/icons version to v2.1.43 ( #5702 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@blocksuite/icons](https://togithub.com/toeverything/icons ) | [`2.1.42` -> `2.1.43`](https://renovatebot.com/diffs/npm/@blocksuite%2ficons/2.1.42/2.1.43 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>toeverything/icons (@​blocksuite/icons)</summary>
### [`v2.1.43`](https://togithub.com/toeverything/icons/compare/fe902db67e786028fdf90fee995c0e06769e139e...13299f7ede53dfd75ec18b0d2ac0d33621b727ce )
[Compare Source](https://togithub.com/toeverything/icons/compare/fe902db67e786028fdf90fee995c0e06769e139e...13299f7ede53dfd75ec18b0d2ac0d33621b727ce )
</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 these updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=-->
2024-01-25 08:56:39 +00:00
Cats Juice
e7307d969c
chore(core): remove journal experimental flag ( #5698 )
2024-01-25 05:33:57 +00:00
Joooye_34
bd8c7751db
chore: update base version to 0.12.0 ( #5695 )
2024-01-25 05:17:35 +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
ad1521fd81
feat(core): adjust member order ( #5685 )
...
close #5686
`Owner >> Unaccepted > Admin > Write > Read`
This algorithm contains two parts: firstly, it calculates the weight of the Member (calculateWeight), and then, it uses set weights to sort the Members (useMembers).
In the calculateWeight part, the computation of the weight involves three primary factors:
1. **Permission Level**: The `Owner` is given the highest weight of `4`, followed by `Admin` with a weight of `3`, then `Write` with a weight of `2`, and finally, `Read`, with a weight of `1`.
2. **Acceptance Status**: `Unaccepted` members have a higher weight, this weight is `1`.
3. The weight corresponding to the permission level, if the member does not exist, this weight is 0.
These three `factors` are stored in the factors array and then processed through the reduce function for weighted sum calculation. Among them, `factor * Math.pow(10, arr.length - 1 - index)` means the more significant weight factors (i.e., the earlier factors) will be assigned a higher value.
Sorting rules are primarily based on the weight values obtained from the calculateWeight function. If the weights are identical, it then sorts by name, here assuming the weight of the name being `null` is the highest. If the names are not `null`, they are sorted alphabetically.
2024-01-24 12:44:01 +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
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