Commit Graph

1328 Commits

Author SHA1 Message Date
EYHN
e54be7dc02
feat(core): loading ui for favorite and organize (#7700) 2024-08-02 07:17:01 +00:00
donteatfriedrice
94c5effdd5 fix: should save chat to block when doc mode (#7697)
[BS-1033](https://linear.app/affine-design/issue/BS-1033/在page模式下尝试存chat-block,被告知失败,预期是切换到白板模式直接操作成功)
2024-08-02 13:14:15 +08:00
donteatfriedrice
62fc7e2f4d fix: support chat in different doc (#7693)
fix:
[BS-990](https://linear.app/affine-design/issue/BS-990/避免centerpeek中发起的会话,等待ai返回时,页面失去响应)
[BS-1005](https://linear.app/affine-design/issue/BS-1005/chat-block无法被copy-paste到别的文档中,duplicate全篇文档后,可以center-peek)
2024-08-02 13:14:15 +08:00
donteatfriedrice
f7798a00c1 feat: patch edgeless clipboard to support cuntom block copy paste (#7689)
fix: [BS-1005](https://linear.app/affine-design/issue/BS-1005/chat-block无法被copy-paste到别的文档中,duplicate全篇文档后,可以center-peek)

related: https://github.com/toeverything/blocksuite/pull/7797
2024-08-02 13:14:14 +08:00
donteatfriedrice
2cfe9e8b9e
feat: bump blocksuite (#7698)
## Features
- https://github.com/toeverything/BlockSuite/pull/7801 @akumatus

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7811 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7808 @doouding
- https://github.com/toeverything/BlockSuite/pull/7813 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7803 @fundon
- https://github.com/toeverything/BlockSuite/pull/7809 @Flrande

## Refactor

## Misc
- https://github.com/toeverything/BlockSuite/pull/7815 @doodlewind
2024-08-02 03:20:08 +00:00
pengx17
bfff10e25e
feat(electron): app tabs dnd (#7684)
<div class='graphite__hidden'>
          <div>🎥 Video uploaded on Graphite:</div>
            <a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/cd84e155-9f2e-4d12-a933-8673eb6bc6cb.mp4">
              <img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/cd84e155-9f2e-4d12-a933-8673eb6bc6cb.mp4">
            </a>
          </div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/cd84e155-9f2e-4d12-a933-8673eb6bc6cb.mp4">Kapture 2024-07-31 at 19.39.30.mp4</video>

fix AF-1149
fix PD-1513
fix PD-1515
2024-08-02 02:02:03 +00:00
L-Sun
4719ffadc6
chore: bump blocksuite (#7696)
## Features
- https://github.com/toeverything/BlockSuite/pull/7807 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7786 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7797 @donteatfriedrice

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7814 @fundon
- https://github.com/toeverything/BlockSuite/pull/7812 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7792 @fundon
- https://github.com/toeverything/BlockSuite/pull/7788 @fundon
- https://github.com/toeverything/BlockSuite/pull/7805 @doouding
- https://github.com/toeverything/BlockSuite/pull/7810 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7802 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7804 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7799 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7753 @CatsJuice
- https://github.com/toeverything/BlockSuite/pull/7798 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7796 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7793 @doouding
- https://github.com/toeverything/BlockSuite/pull/7795 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7791 @fundon
- https://github.com/toeverything/BlockSuite/pull/7747 @doouding
- https://github.com/toeverything/BlockSuite/pull/7785 @fundon
- https://github.com/toeverything/BlockSuite/pull/7784 @akumatus

## Misc
- https://github.com/toeverything/BlockSuite/pull/7800 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7790 @fourdim
2024-08-02 01:29:10 +00:00
pengx17
07409b8a91
refactor(electron): tab title/icon update logic (#7675)
fix AF-1122
fix AF-1136
2024-08-01 16:43:18 +00:00
CatsJuice
e60b2d64e5
fix(core): new no children status for explorer (#7686)
close AF-1140
2024-08-01 09:41:13 +00:00
CatsJuice
8816d2a639
feat(core): adjust explorer section style, persist collapsable state (#7679)
close AF-1124,AF-1129,AF-1134,AF-1144
2024-08-01 09:41:09 +00:00
EYHN
553fbed60f
feat(core): add globalcontext info to mixpanel track (#7681) 2024-08-01 09:29:31 +00:00
EYHN
bb767a6cdc
fix(component): modal overlap issue (#7691) 2024-08-01 08:03:21 +00:00
L-Sun
33fc00f8c7
chore(core): set read-only mode on mobile device (#7651)
Close [BS-795](https://linear.app/affine-design/issue/BS-795/affine-mobile-设置只读模式)

- Set read-only mode on mobile device
- Add mobile only support read-only warning toast
- remove `user-select: none` so that user can select text in read-only mode
2024-08-01 05:22:50 +00:00
donteatfriedrice
3a0241340c
fix: optimize ai chat block position calculation (#7683)
[BS-977](https://linear.app/affine-design/issue/BS-977/新生成的分支chat-block应该采用类似mindmap新节点的的定位方式,避免互相遮盖)
2024-08-01 01:37:23 +00:00
L-Sun
2093685385
chore: bump blocksuite (#7680) 2024-07-31 21:57:51 +08:00
darkskygit
49529b7e63
fix: make chat button click event work fine (#7658)
fix PD-1504
2024-07-31 09:24:54 +00:00
fundon
48e17fad02
feat(core): experience function color picker (#7677) 2024-07-31 09:07:29 +00:00
pengx17
280e24934a
fix(electron): window theme issue after exiting presentation (#7671) 2024-07-31 07:03:32 +00:00
pengx17
6b8f99c013
fix: using width atom for syncing app headers position (#7666)
may use global state to replace these sidebar state atoms

fix AF-1109
2024-07-31 07:03:30 +00:00
pengx17
812fdd27b5
fix: tab label overflow style when there is only one tab (#7665)
before
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/d610e543-db1d-4671-a9f4-a31480f26dd7.png)

after
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/ab1c53b7-8cdd-443b-9371-fdf9bb6c85ae.png)
2024-07-31 07:03:28 +00:00
donteatfriedrice
e1e1b29afb
fix: cannot clean chat panel histories (#7673) 2024-07-31 04:14:06 +00:00
donteatfriedrice
52a95af828
fix: ai chat block added later should be with higher index (#7660)
[BS-1000](https://linear.app/affine-design/issue/BS-1000/更好地处理新增内容的层级)
2024-07-31 03:16:34 +00:00
CatsJuice
ede576061d
fix(core): adjust sidebar explorer empty status (#7657)
Close AF-1126,AF-1132
2024-07-31 02:41:53 +00:00
CatsJuice
083123cdfb
fix(component): adjust renaming style (#7654) 2024-07-31 02:26:34 +00:00
CatsJuice
12a2f929f8
fix(component): stop renaming modal propagation & input auto focus (#7653)
close AF-1125
2024-07-31 02:26:30 +00:00
CatsJuice
c1b26473a9
chore(core): update sidebar all-docs icon (#7626)
close AF-1079
2024-07-31 02:13:02 +00:00
Saul-Mirone
c7217ed443
chore: bump blocksuite 240730 (#7662)
## Features
- https://github.com/toeverything/BlockSuite/pull/7761 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7755 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7598 @Flrande

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7769 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7766 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7767 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7726 @siyou
- https://github.com/toeverything/BlockSuite/pull/7765 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7763 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7764 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7760 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7742 @fundon
- https://github.com/toeverything/BlockSuite/pull/7754 @fundon
- https://github.com/toeverything/BlockSuite/pull/7756 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7752 @zzj3720

## Refactor
- https://github.com/toeverything/BlockSuite/pull/7758 @doodlewind
- https://github.com/toeverything/BlockSuite/pull/7750 @doodlewind
- https://github.com/toeverything/BlockSuite/pull/7746 @fundon

## Misc
- https://github.com/toeverything/BlockSuite/pull/7744 @Saul-Mirone
2024-07-31 01:38:53 +00:00
pengx17
cd823fe118
fix(electron): app flicker issue (#7663)
fix AF-1117
2024-07-30 14:19:10 +00:00
EYHN
b343f975fb
feat(core): add track events for sidebar (#7659) 2024-07-30 13:22:22 +00:00
EYHN
ab92efcfc0
feat(core): improve mixpanel (#7652)
move @affine/core/utils/mixpanel -> @affine/core/mixpanel

now you can debug mixpanel on browser devtool

![CleanShot 2024-07-30 at 17.32.48@2x.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/g3jz87HxbjOJpXV3FPT7/083c1286-39fd-4569-b4d2-e6e84cf2e797.png)
2024-07-30 13:22:17 +00:00
pengx17
ea7066d02c
fix: icon color active style (#7656)
fix PD-1500
2024-07-30 11:51:17 +00:00
pengx17
d80c80ecdd
fix: remove shadow for bordered main container (#7655)
fix PD-1498
2024-07-30 11:38:23 +00:00
EYHN
482b5da02f
fix(core): fix layout overflow (#7647) 2024-07-30 07:03:07 +00:00
liuyi
fcf0ecbaa2
feat(server): runtime service config (#7644) 2024-07-30 14:58:24 +08:00
liuyi
67248316bd
fix(core): scrolling break client style in bordered container (#7650) 2024-07-30 14:57:02 +08:00
liuyi
dd47c14c65
fix(core): wrong padding position when ai panel is active (#7648) 2024-07-30 13:47:17 +08:00
pengx17
4a2d400087
chore(electron): remove unused ipc code (#7636)
fix AF-1120
2024-07-30 04:12:06 +00:00
pengx17
157cc97a65
test(electron): add test cases for electron tabs (#7635)
fix AF-1000
2024-07-29 11:05:24 +00:00
pengx17
1efc1d0f5b
feat(electron): multi tabs support (#7440)
use https://www.electronjs.org/docs/latest/api/web-contents-view to serve different tab views
added tabs view manager in electron to handle multi-view actions and events.

fix AF-1111
fix AF-999
fix PD-1459
fix AF-964
PD-1458
2024-07-29 11:05:22 +00:00
L-Sun
622715d2f3
feat(core): outline viewer (quick toc) (#7614)
Close: [BS-949](https://linear.app/affine-design/issue/BS-949/outline-viewer-加入到affine)

Details  are in this PR: https://github.com/toeverything/blocksuite/pull/7704
2024-07-29 10:19:57 +00:00
EYHN
1b4d65fd64
fix(core): optimize sidebar tag performance (#7633) 2024-07-29 09:57:40 +00:00
EYHN
a0cbf05da8
fix(core): sidebar renaming bug (#7632) 2024-07-29 09:57:37 +00:00
EYHN
0472ffe569
feat(core): support sidebar collapse (#7630) 2024-07-29 09:57:33 +00:00
donteatfriedrice
c5cf8480fc
feat: add event tracker for ai chat block (#7637)
[BS-940](https://linear.app/affine-design/issue/BS-940/ai-chat-block-相关埋点)

related: https://github.com/toeverything/blocksuite/pull/7733
2024-07-29 09:42:29 +00:00
donteatfriedrice
ab11f09b83
feat: bump blocksuite (#7634)
## Features
- https://github.com/toeverything/BlockSuite/pull/7704 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7733 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7585 @fundon

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7749 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7745 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7737 @fundon
- https://github.com/toeverything/BlockSuite/pull/7734 @fundon
- https://github.com/toeverything/BlockSuite/pull/7735 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7730 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7718 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7723 @Flrande

## Refactor
- https://github.com/toeverything/BlockSuite/pull/7738 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7731 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7732 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7724 @doouding
- https://github.com/toeverything/BlockSuite/pull/7725 @doodlewind

## Misc
- https://github.com/toeverything/BlockSuite/pull/7748 @doodlewind
- https://github.com/toeverything/BlockSuite/pull/7721 @fundon
- https://github.com/toeverything/BlockSuite/pull/7729 @fundon
- https://github.com/toeverything/BlockSuite/pull/7728 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7595 @fundon
2024-07-29 08:42:22 +00:00
CatsJuice
5c62a2b2f5
feat(core): add doc/tag/collection to folders via menu (#7631)
close AF-993,AF-995,AF-997,AF-998
2024-07-29 07:30:20 +00:00
CatsJuice
b9c0119d2c
fix(core): adjust believer card dark mode style (#7623) 2024-07-29 07:15:17 +00:00
CatsJuice
214f5fa94d
fix(core): sidebar node content should ellipsis when overflowed (#7627) 2024-07-29 06:59:16 +00:00
EYHN
e6f0847ec3
fix(core): make indexer faster (#7629) 2024-07-29 06:43:13 +00:00
renovate
94a55cde62
chore: bump up @blocksuite/icons version to v2.1.61 (#7541)
[![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.60` -> `2.1.61`](https://renovatebot.com/diffs/npm/@blocksuite%2ficons/2.1.60/2.1.61) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2ficons/2.1.61?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2ficons/2.1.61?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2ficons/2.1.60/2.1.61?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2ficons/2.1.60/2.1.61?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/icons](https://togithub.com/toeverything/icons) | [`2.1.59` -> `2.1.61`](https://renovatebot.com/diffs/npm/@blocksuite%2ficons/2.1.59/2.1.61) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2ficons/2.1.61?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2ficons/2.1.61?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2ficons/2.1.59/2.1.61?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2ficons/2.1.59/2.1.61?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

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

### [`v2.1.61`](aba7bbbbc1...280d3edea6)

[Compare Source](aba7bbbbc1...280d3edea6)

</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 was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-07-29 03:20:32 +00:00