Commit Graph

853 Commits

Author SHA1 Message Date
EYHN
e5baa81a50
chore: bump blocksuite (#6673) 2024-04-23 08:39:23 +00:00
pengx17
f1b03989fa
fix: error handling in sse (#6663) 2024-04-23 03:46:49 +00:00
EYHN
c425cfa598
chore: bump blocksuite (#6666)
## Features
- https://github.com/toeverything/BlockSuite/pull/6842 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6836 @regischen

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/6837 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6803 @lawvs
- https://github.com/toeverything/BlockSuite/pull/6843 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6838 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6834 @regischen
- https://github.com/toeverything/BlockSuite/pull/6835 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6831 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6827 @golok727
- https://github.com/toeverything/BlockSuite/pull/6828 @regischen

## Refactor

## Misc
2024-04-23 01:38:23 +00:00
regischen
a20a3fbbf8
feat: provide closeStream (#6659)
Upstream https://github.com/toeverything/blocksuite/pull/6836
2024-04-22 14:35:13 +00:00
CatsJuice
6ec97b27c4
feat(core): open desktop directly in subscription landing page (#6661) 2024-04-22 14:21:58 +00:00
CatsJuice
e13024580d
feat(core): add ai subscription landing page (#6657) 2024-04-22 09:03:27 +00:00
EYHN
d36b5e14aa
feat(core): try cloud link (#6660) 2024-04-22 08:51:02 +00:00
EYHN
b7ade43c2e
feat(core): adjust help island style (#6651) 2024-04-22 08:27:28 +00:00
EYHN
ab7282213b
feat(core): adjust workspace avatar style (#6652)
![CleanShot 2024-04-22 at 12 13 04@2x](https://github.com/toeverything/AFFiNE/assets/13579374/225966de-6c2f-4bdc-a460-b96d15447808)
2024-04-22 08:16:41 +00:00
EYHN
9fd3f29d1b
fix(core): fix home page init cloud (#6654) 2024-04-22 08:05:20 +00:00
forehalo
e8bcb75602
fix(server): use post request to consume magic link token (#6656) 2024-04-22 07:15:26 +00:00
CatsJuice
d7e08215d7
feat(core): show login modal if not logged in when using ai (#6632)
![CleanShot 2024-04-22 at 09.05.42.gif](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/LakojjjzZNf6ogjOVwKE/61b35d07-5d5a-4df9-859b-17cf7a9c20cf.gif)
2024-04-22 03:26:01 +00:00
renovate
efe3b0537e
chore: bump up electron version to v30 (#6573)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>electron/electron (electron)</summary>

### [`v30.0.0`](https://togithub.com/electron/electron/compare/v29.3.0...v30.0.0)

[Compare Source](https://togithub.com/electron/electron/compare/v29.3.0...v30.0.0)

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI5My4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-04-22 03:13:26 +00:00
pengx17
1dda0fd34c
feat: add mixpanel tracking for ai (#6643) 2024-04-20 05:43:35 +00:00
renovate
5077003e84
chore: bump up storybook-dark-mode version to v4 (#6136)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [storybook-dark-mode](https://togithub.com/hipstersmoothie/storybook-dark-mode) | [`^3.0.3` -> `^4.0.0`](https://renovatebot.com/diffs/npm/storybook-dark-mode/3.0.3/4.0.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/storybook-dark-mode/4.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/storybook-dark-mode/4.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/storybook-dark-mode/3.0.3/4.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/storybook-dark-mode/3.0.3/4.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>hipstersmoothie/storybook-dark-mode (storybook-dark-mode)</summary>

### [`v4.0.1`](https://togithub.com/hipstersmoothie/storybook-dark-mode/blob/HEAD/CHANGELOG.md#v401-Mon-Mar-18-2024)

[Compare Source](https://togithub.com/hipstersmoothie/storybook-dark-mode/compare/v4.0.0...v4.0.1)

🎉 This release contains work from a new contributor! 🎉

Thank you, Lauri Luotola ([@&#8203;leiit](https://togithub.com/leiit)), for all your work!

##### 🐛 Bug Fix

-   Fix `useDarkMode` to use correct channel [#&#8203;266](https://togithub.com/hipstersmoothie/storybook-dark-mode/pull/266) ([@&#8203;leiit](https://togithub.com/leiit))

##### 🔩 Dependency Updates

-   Update dependency [@&#8203;storybook/icons](https://togithub.com/storybook/icons) to v1.2.9 [#&#8203;253](https://togithub.com/hipstersmoothie/storybook-dark-mode/pull/253) ([@&#8203;renovate\[bot\]](https://togithub.com/renovate\[bot]))

##### Authors: 2

-   [@&#8203;renovate\[bot\]](https://togithub.com/renovate\[bot])
-   Lauri Luotola ([@&#8203;leiit](https://togithub.com/leiit))

***

### [`v4.0.0`](https://togithub.com/hipstersmoothie/storybook-dark-mode/blob/HEAD/CHANGELOG.md#v400-Fri-Mar-15-2024)

[Compare Source](https://togithub.com/hipstersmoothie/storybook-dark-mode/compare/v3.0.3...v4.0.0)

🎉 This release contains work from new contributors! 🎉

Thanks for all your work!

❤️ Sergey Kozlov ([@&#8203;dartess](https://togithub.com/dartess))

❤️ Rohan Poojary ([@&#8203;RohanPoojary1107](https://togithub.com/RohanPoojary1107))

##### 💥 Breaking Change

-   Storybook 8 [#&#8203;251](https://togithub.com/hipstersmoothie/storybook-dark-mode/pull/251) ([@&#8203;dartess](https://togithub.com/dartess))

##### ⚠️ Pushed to `master`

-   update auto ([@&#8203;hipstersmoothie](https://togithub.com/hipstersmoothie))

##### 📝 Documentation

-   Update addons import in readme code examples [#&#8203;243](https://togithub.com/hipstersmoothie/storybook-dark-mode/pull/243) ([@&#8203;RohanPoojary1107](https://togithub.com/RohanPoojary1107))

##### Authors: 3

-   Andrew Lisowski ([@&#8203;hipstersmoothie](https://togithub.com/hipstersmoothie))
-   Rohan Poojary ([@&#8203;RohanPoojary1107](https://togithub.com/RohanPoojary1107))
-   Sergey Kozlov ([@&#8203;dartess](https://togithub.com/dartess))

***

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjMwMS40IiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=-->
2024-04-19 13:59:11 +00:00
CatsJuice
13e2a3dbae
fix(core): remove sidebar user avatar menu item's rightArrow icon (#6633) 2024-04-19 13:47:28 +00:00
forehalo
098e717688
chore(server): remove useless free subscription enum (#6634) 2024-04-19 13:34:59 +00:00
darkskygit
657a5250ad
feat: update chat prompt (#6639)
fix AFF-878
fix AFF-852 (maybe)
2024-04-19 12:34:02 +00:00
pengx17
94a70a5f3a
chore: bump blocksuite (#6635)
## Features
- https://github.com/toeverything/BlockSuite/pull/6825 @regischen

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/6828 @regischen
- https://github.com/toeverything/BlockSuite/pull/6823 @fundon
- https://github.com/toeverything/BlockSuite/pull/6822 @fundon
- https://github.com/toeverything/BlockSuite/pull/6826 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6794 @fundon
- https://github.com/toeverything/BlockSuite/pull/6821 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6781 @doouding
- https://github.com/toeverything/BlockSuite/pull/6820 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6819 @regischen
- https://github.com/toeverything/BlockSuite/pull/6817 @donteatfriedrice

## Refactor

## Misc
2024-04-19 09:50:17 +00:00
pengx17
6d5dbbd7f4
fix: move toTextStream to affine (#6628) 2024-04-19 07:59:24 +00:00
EYHN
a2fa9149ff
feat(templates): add stickers (#6629) 2024-04-19 06:47:29 +00:00
EYHN
4085cc6728
fix(core): fix subscribe link for pro plan (#6627) 2024-04-19 06:36:38 +00:00
JimmFly
9d412d22cb
fix(core): drag and drop files into doc (#6630)
close #6625
2024-04-19 06:25:17 +00:00
pengx17
8c0732ddf1
fix: handle 401 errors (#6611)
upstream https://github.com/toeverything/blocksuite/pull/6809
2024-04-19 03:51:41 +00:00
pengx17
99bf7c79d1
chore: bump blocksuite (#6626)
## Features
- https://github.com/toeverything/BlockSuite/pull/6809 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6787 @Flrande
- https://github.com/toeverything/BlockSuite/pull/6774 @donteatfriedrice

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/6817 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6811 @regischen
- https://github.com/toeverything/BlockSuite/pull/6814 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6813 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6812 @doouding
- https://github.com/toeverything/BlockSuite/pull/6815 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6808 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6804 @regischen
- https://github.com/toeverything/BlockSuite/pull/6797 @regischen
- https://github.com/toeverything/BlockSuite/pull/6802 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/6801 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6798 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6795 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6790 @lawvs
- https://github.com/toeverything/BlockSuite/pull/6778 @zkwolf
- https://github.com/toeverything/BlockSuite/pull/6792 @fundon

## Refactor

## Misc
- https://github.com/toeverything/BlockSuite/pull/6807 @c0sc0s
- https://github.com/toeverything/BlockSuite/pull/6806 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/6800 @fourdim
2024-04-19 03:51:38 +00:00
CatsJuice
7970d9b8c9
feat(core): add local ai onboarding dialog (#6600) 2024-04-18 15:48:20 +00:00
EYHN
6a23fe37a7
feat(core): reduce profile loading time (#6616) 2024-04-18 15:23:12 +00:00
pengx17
c3438fde21
fix(core): always create message for ai (#6620) 2024-04-18 15:09:36 +00:00
darkskygit
b3b9e9a056
chore: cleanup outdated api (#6604) 2024-04-18 14:42:46 +00:00
EYHN
a537f8eb0b
fix(electron): cookie expires too short (#6615) 2024-04-18 13:41:56 +00:00
EYHN
09832dc940
feat(core): add subscribe link (#6610) 2024-04-18 13:28:32 +00:00
fundon
5437c6567b
fix(component): banner should not affect the editor layout (#6605)
https://github.com/toeverything/AFFiNE/assets/27926/6aacb16c-02ca-4693-afe8-628bef507811
2024-04-18 13:16:10 +00:00
CatsJuice
9cb6dcd93d
feat(core): check user's subscription at ai onboarding stage (#6608) 2024-04-18 11:28:06 +00:00
pengx17
e232b0b285
fix: should not swallow copilot errors (#6609) 2024-04-18 09:59:31 +00:00
soumyasen10
19f8407d7f
fix: disable default save page as (#6548)
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2024-04-18 16:19:03 +08:00
forehalo
d9e6561762
feat(server): add created timestamp to history (#6607) 2024-04-18 07:06:47 +00:00
pengx17
5fc56a20ac
feat: adopt createMessage upload api (#6596) 2024-04-18 06:55:29 +00:00
Peng Xiao
10653eccbc
fix: provide user info for copilot (#6606) 2024-04-18 11:10:17 +08:00
DarkSky
ccb3bed91e
feat: add blob upload support for copilot (#6584) 2024-04-17 14:05:38 +00:00
pengx17
e806169f60
fix(core): missing copilot param (#6602) 2024-04-17 13:27:16 +00:00
pengx17
f9f0490190
fix(core): provide photoengine (#6574) 2024-04-17 13:27:11 +00:00
pengx17
03a7f9939e
fix: ai error handling (#6588)
upstream: https://github.com/toeverything/blocksuite/pull/6775
2024-04-17 13:27:05 +00:00
pengx17
09a984d113
chore: bump blocksuite (#6601)
## Features
- https://github.com/toeverything/BlockSuite/pull/6763 @doouding
- https://github.com/toeverything/BlockSuite/pull/6780 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/6775 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6765 @donteatfriedrice

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/6792 @fundon
- https://github.com/toeverything/BlockSuite/pull/6791 @fundon
- https://github.com/toeverything/BlockSuite/pull/6776 @fundon
- https://github.com/toeverything/BlockSuite/pull/6779 @Flrande
- https://github.com/toeverything/BlockSuite/pull/6771 @fundon
- https://github.com/toeverything/BlockSuite/pull/6769 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/6768 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6758 @Flrande
- https://github.com/toeverything/BlockSuite/pull/6743 @fourdim
- https://github.com/toeverything/BlockSuite/pull/6762 @regischen

## Refactor
- https://github.com/toeverything/BlockSuite/pull/6786 @regischen
- https://github.com/toeverything/BlockSuite/pull/6764 @pengx17
- https://github.com/toeverything/BlockSuite/pull/6772 @fundon

## Misc
- https://github.com/toeverything/BlockSuite/pull/6766 @fourdim
2024-04-17 13:27:00 +00:00
JimmFly
bcee1bbd81
feat(component): adjust notify styles (#6578)
Change the styles of `notify.error`, `notify.warning`, and `notify.success` from `alert` to `normal`
Add custom `iconColor` option
2024-04-17 12:36:42 +00:00
JimmFly
8b66c1d752
fix(component): retrieve lost scroll bars in editor (#6597)
close TOV-805
close #6589
2024-04-17 11:59:12 +00:00
EYHN
f86646b931
feat(core): enrich pwa manifest.json (#6599) 2024-04-17 19:14:25 +08:00
EYHN
ed96c4ece4
fix(core): fix navigate not working (#6594)
navigate sometimes doesn't work

It seems that we shouldn't pass the parent component's navigate function to the child component, but adding an effect to delay the child component rendering seems to work.
2024-04-17 16:43:29 +08:00
EYHN
6ca174bb14
fix(core): revalidate subscription info when open ai usage panel 2024-04-17 15:54:01 +08:00
EYHN
06fda3b62c
feat(infra): framework 2024-04-17 15:09:09 +08:00
forehalo
ab17a05df3
fix(core): give page reference correct link (#6587) 2024-04-17 03:56:24 +00:00