Commit Graph

6505 Commits

Author SHA1 Message Date
CatsJuice
8646221ee8
feat(infra): add ability to mount nodes to nearest FrameworkScope root (#7551)
![CleanShot 2024-07-19 at 12.52.08.gif](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/LakojjjzZNf6ogjOVwKE/dc5b8dc6-b7b2-4db2-83d5-7601c3f966d8.gif)
2024-07-26 03:19:27 +00:00
CatsJuice
22c36102b9
feat(core): move sidebar new page button beside quick-search (#7578)
close AF-1078
2024-07-26 03:04:10 +00:00
CatsJuice
a714961b20
feat(core): adjust subscription related mixpanel (#7536) 2024-07-26 02:49:15 +00:00
EYHN
549e7befed
fix(core): stuck when quick switch doc mode (#7599) 2024-07-25 12:21:21 +00:00
CatsJuice
11a2dc7d7f
feat(core): bump theme (#7587)
close AF-1108
2024-07-25 08:00:55 +00:00
L-Sun
662a3d4b76
refactor(core): use lit customelement decorator (#7560)
Close: [BS-585](https://linear.app/affine-design/issue/BS-585/更新affine侧lit自定义yuan素的写法)

### What changes:
- using `@customElement(xxx)` instead of `window.customElements.define(xxx)`
- remove `registerOutlinePanelComponents` and `registerFramePanelComponents`, Related PR https://github.com/toeverything/blocksuite/pull/7700
2024-07-25 07:45:41 +00:00
donteatfriedrice
dd6901fe15
feat: bump blocksuite (#7603)
## Features
- https://github.com/toeverything/BlockSuite/pull/7717 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7691 @L-Sun

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7720 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7719 @doouding

## Refactor
- https://github.com/toeverything/BlockSuite/pull/7703 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7694 @doouding
- https://github.com/toeverything/BlockSuite/pull/7700 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7716 @doodlewind

## Misc
2024-07-25 07:26:40 +00:00
forehalo
2b42f84815
ci: wrong installer version used (#7602) 2024-07-25 06:29:22 +00:00
Brooooooklyn
8f60626291
chore: custom telemetry endpoint (#7596) 2024-07-25 03:17:32 +00:00
akumatus
1871c15cd0 feat: custom the items of linked menu by configuration (#7554)
Close issue [BS-719](https://linear.app/affine-design/issue/BS-719) and [BS-791](https://linear.app/affine-design/issue/BS-791).
Related PR in [BlockSuite](https://github.com/toeverything/blocksuite/pull/7693).

### What Changed?
- Support config in BlockSpec
-  AFFiNE’s Custom @Menu
   - ignore docs in trash
   - ignore unedited journal
   - customized journal icon

![截屏2024-07-19 16.03.55.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/cdf6f198-8288-4152-8893-65f17bc9983c.png)

### What's next?
- getMenus returns an observable array
- Add commands field to BlockSpec and encapsulated insertLinkedNode into a command
2024-07-24 17:10:37 +00:00
LongYinan
20c4224e2d
build: fix undefined entry point (#7594) 2024-07-24 18:23:09 +08:00
forehalo
25b74467ce
fix(server): create dev user (#7592) 2024-07-24 10:01:53 +00:00
donteatfriedrice
9d446469f8
feat: support save chat to block (#7481) 2024-07-24 09:46:36 +00:00
EYHN
98281a6394
refactor(component): adjust confirm modal api (#7589) 2024-07-24 08:18:33 +00:00
EYHN
6ca7c41861
fix(component): button icon color (#7588) 2024-07-24 08:03:02 +00:00
CatsJuice
b1380ce81f
feat(core): adjust left-sidebar min-width to 248px (#7575)
close AF-1094
2024-07-24 02:43:25 +00:00
CatsJuice
091f5eec01
fix(core): remove hover state for ai-usage block in sidebar avtar menu (#7573)
fix AF-1059
2024-07-24 02:27:04 +00:00
akumatus
f89945e730 chore: bump blocksuite (#7579)
## Features
- https://github.com/toeverything/BlockSuite/pull/7693 @akumatus

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7713 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7710 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7709 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7707 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7689 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7699 @Saul-Mirone

## Refactor
- https://github.com/toeverything/BlockSuite/pull/7715 @doodlewind
- https://github.com/toeverything/BlockSuite/pull/7714 @doodlewind
- https://github.com/toeverything/BlockSuite/pull/7705 @doodlewind

## Misc
- https://github.com/toeverything/BlockSuite/pull/7712 @doodlewind
- https://github.com/toeverything/BlockSuite/pull/7711 @doodlewind
- https://github.com/toeverything/BlockSuite/pull/7706 @doodlewind
- https://github.com/toeverything/BlockSuite/pull/7592 @doouding
2024-07-23 15:24:57 +00:00
darkskygit
0dbed968a0
chore: add env for desktop test (#7582) 2024-07-23 15:10:08 +00:00
CatsJuice
b0ad36425d
fix(core): beliver plan should not show cancel subscription (#7576)
fix AF-1097
2024-07-23 10:54:22 +00:00
forehalo
dddbfe6473
feat(server): setup api for selfhost deployment (#7569) 2024-07-23 10:39:34 +00:00
forehalo
14fbeb7879
fix(server): should clean bill date if lifetime subscription (#7577) 2024-07-23 08:19:28 +00:00
Brooooooklyn
dc7eeedb24
ci: set the sentry release name as version number (#7574) 2024-07-23 08:05:05 +00:00
Cats Juice
d7cc546f58
fix(core): correct believer plan copy (#7571) 2024-07-23 10:11:07 +08:00
darkskygit
386d766597
fix: forked session query condition (#7568) 2024-07-22 12:28:05 +00:00
darkskygit
7d7399a9eb
chore: update name in one shot (#7567) 2024-07-22 11:03:41 +00:00
JimmFly
55db9f9719
feat(component): add animations to modal (#7474)
Add opening and closing animations to modal.

The usage of conditional rendering as shown below is not recommended:
```
open ? (
      <Modal
        open={open}
        ...
      />
    ) : null,
```

When the modal is closed, it gets removed from the DOM instantly without running any exit animations that might be defined in the Modal component.
2024-07-22 03:22:42 +00:00
JimmFly
e3c3d1ac69
fix(core): values in edit not saved when closing info modal (#7465)
Before the modification, when the modal is closed, if a value is being edited, the input's on blur event cannot be triggered to automatically save.

https://github.com/toeverything/AFFiNE/assets/102217452/60235cec-0022-4c4d-b213-28f2331a0c5b
2024-07-22 03:22:40 +00:00
Saul-Mirone
bd0279730c
chore: bump blocksuite canary (#7558)
## Features

## Bugfix

## Refactor
- https://github.com/toeverything/BlockSuite/pull/7697 @Saul-Mirone

## Misc
2024-07-20 09:14:16 +00:00
Saul-Mirone
988f3a39f8
chore: bump blocksuite again (#7557)
## Features

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7686 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7692 @Saul-Mirone

## Refactor

## Misc
2024-07-19 15:37:10 +00:00
JimmFly
f65380f847
feat(templates): add arrows stickers (#7518)
Add the arrow SVGs from [handy-arrows](https://github.com/Eronred/handy-arrows) to the template.
Thanks to [handy-arrows](https://github.com/Eronred/handy-arrows) for these beautiful SVGs.
2024-07-19 06:25:30 +00:00
donteatfriedrice
a62b7f0024
fix: chat panel ai onboarding title wrap (#7552)
[BS-896](https://linear.app/affine-design/issue/BS-896/ai-chat-onboarding-ui-折行-bug)
2024-07-19 05:55:21 +00:00
JimmFly
4512a1a91d
fix(core): cmdk unexpected highlighting style (#7538)
close PD-1428

https://github.com/user-attachments/assets/6bb02547-6030-474d-ada0-c5a49be309d6
2024-07-19 05:38:33 +00:00
JimmFly
af7d44164c
fix(core): bi-directional links responsive style (#7540)
close AF-1077
2024-07-19 05:22:34 +00:00
Saul-Mirone
6dbcb62da7
chore: bump blocksuite (#7546)
## Features
- https://github.com/toeverything/BlockSuite/pull/7659 @donteatfriedrice

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7682 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7641 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7685 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7680 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7679 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7676 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7675 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7670 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7672 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7668 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7664 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7665 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7662 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7658 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7654 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7648 @undefined
- https://github.com/toeverything/BlockSuite/pull/7653 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7651 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7647 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7671 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7656 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7643 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7666 @doodlewind
- https://github.com/toeverything/BlockSuite/pull/7645 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7637 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7639 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7636 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7633 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7630 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7629 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7627 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7625 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7623 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7599 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7621 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7619 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7614 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7613 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7611 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7609 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7594 @fundon
- https://github.com/toeverything/BlockSuite/pull/7593 @fundon

## Refactor
- https://github.com/toeverything/BlockSuite/pull/7634 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7616 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7617 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7603 @Saul-Mirone

## Misc
- https://github.com/toeverything/BlockSuite/pull/7604 @Saul-Mirone

## Features

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7688 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7690 @Saul-Mirone

## Refactor

## Misc
2024-07-19 05:06:26 +00:00
CatsJuice
239de4c283
feat(core): reuse select-page for edit collection pages-mode (#7548) 2024-07-19 04:47:48 +00:00
liuyi
544236f1a0
fix: separate public domain for beta assets (#7550) 2024-07-19 12:45:26 +08:00
darkskygit
145872b9f4
chore: refresh unnamed user (#7544) 2024-07-19 04:01:39 +00:00
forehalo
90c00b6db9
Revert "fix(server): wrong usage of optl (#6714)"
This reverts commit 4868f6e611.
2024-07-19 11:31:01 +08:00
darkskygit
585003640f
feat: improve workflow performance (#7539) 2024-07-18 10:37:27 +00:00
liuyi
9440dc8dd5
fix: separate beta and stable assets (#7543) 2024-07-18 10:32:40 +00:00
EYHN
9fe77baf05
feat(infra): better orm (#7502) 2024-07-18 10:14:12 +00:00
forehalo
133888d760
fix(core): remove useless logic of use favorite (#7533)
closes https://github.com/toeverything/AFFiNE/issues/7534
2024-07-18 08:08:24 +00:00
L-Sun
9160469a18
fix(core): can not preview image in shared page (#7466)
FIx BS-798
2024-07-18 06:33:52 +00:00
renovate
71ddb1f841
chore: bump up oxlint version to v0.6.1 (#7528)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [oxlint](https://oxc.rs) ([source](https://togithub.com/oxc-project/oxc/tree/HEAD/npm/oxlint)) | [`0.6.0` -> `0.6.1`](https://renovatebot.com/diffs/npm/oxlint/0.6.0/0.6.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/oxlint/0.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/oxlint/0.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/oxlint/0.6.0/0.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/oxlint/0.6.0/0.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>oxc-project/oxc (oxlint)</summary>

### [`v0.6.1`](4f26e51b74...697c0efdef)

[Compare Source](4f26e51b74...697c0efdef)

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMS40IiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-07-18 04:34:20 +00:00
CatsJuice
4f718cffbf
feat(core): subscribe changed notification and typeform link (#7522) 2024-07-18 04:20:21 +00:00
CatsJuice
b9d84fe007
fix(core): select page modal's list is not visiable (#7531)
fix AF-1076

![CleanShot 2024-07-18 at 10.18.41.gif](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/LakojjjzZNf6ogjOVwKE/9bff1f9e-f752-4cb2-87ad-0da62d69effa.gif)
2024-07-18 04:06:02 +00:00
renovate
ad970837ec
chore: bump up @blocksuite/icons version to v2.1.59 (#7525)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@blocksuite/icons](https://togithub.com/toeverything/icons) | [`2.1.58` -> `2.1.59`](https://renovatebot.com/diffs/npm/@blocksuite%2ficons/2.1.58/2.1.59) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2ficons/2.1.59?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2ficons/2.1.59?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2ficons/2.1.58/2.1.59?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2ficons/2.1.58/2.1.59?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>toeverything/icons (@&#8203;blocksuite/icons)</summary>

### [`v2.1.59`](961ed351ea...e3b1e36db1)

[Compare Source](961ed351ea...e3b1e36db1)

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMS40IiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-07-18 03:44:56 +00:00
Peng Xiao
d168128174
fix(core): workaround for center peek styles (#7532) 2024-07-18 11:43:42 +08:00
renovate
2919d4912c
chore: bump up react-i18next version to v15 (#7529)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [react-i18next](https://togithub.com/i18next/react-i18next) | [`^14.1.0` -> `^15.0.0`](https://renovatebot.com/diffs/npm/react-i18next/14.1.3/15.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/react-i18next/15.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-i18next/15.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-i18next/14.1.3/15.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-i18next/14.1.3/15.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>i18next/react-i18next (react-i18next)</summary>

### [`v15.0.0`](https://togithub.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#1500)

[Compare Source](https://togithub.com/i18next/react-i18next/compare/v14.1.3...v15.0.0)

-   use optional chaining, nullish coalescing and nullish coalescing assignment [1774](https://togithub.com/i18next/react-i18next/pull/1774)
-   Build config and optimizations [1769](https://togithub.com/i18next/react-i18next/pull/1769)
-   some dependency updates [1768](https://togithub.com/i18next/react-i18next/pull/1768)
-   use modern hasLoadedNamespace code (now requires at least i18next > v19.4.5 (introduced in june 2020))

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMS40IiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-07-18 03:09:34 +00:00