pengx17
|
51848ff6c3
|
fix(electron): allow close pinned tab (#7732)
|
2024-08-05 08:03:12 +00:00 |
|
pengx17
|
5f52547d9e
|
fix(electron): tab title/icon default state (#7731)
|
2024-08-05 07:39:51 +00:00 |
|
pengx17
|
561fa46232
|
fix(electron): add i18n setup for shell (#7728)
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/1ef2a050-c372-4b8f-8bf0-b1e557e11f29.png)
|
2024-08-05 06:52:14 +00:00 |
|
renovate[bot]
|
7a66212568
|
chore: bump up oxlint version to v0.7.0 (#7727)
|
2024-08-05 14:46:59 +08:00 |
|
pengx17
|
51ca7657d8
|
feat(electron): new tab/split view entries (#7708)
fix AF-1146
|
2024-08-05 05:37:50 +00:00 |
|
L-Sun
|
bd31c8388c
|
fix(core): update outline viewer style (#7641)
## What changes
- Update responsive style and fix some bug of outline viewer (https://github.com/toeverything/blocksuite/pull/7759)
- Change left and right padding of full-width editor from `15px` to `72px`
- Hide outline viewer when side outline panel is opened ([BS-987](https://linear.app/affine-design/issue/BS-987/逻辑-bug-toc-入口和-toc-侧边栏共存))
- Add entries of outline panel and frame panel in more menu of detail page header ( [BS-996](https://linear.app/affine-design/issue/BS-996/page-mode-下的-page-option-缺少-view-table-of-contents-的入口) , [BS-1006](https://linear.app/affine-design/issue/BS-1006/edgeless-mode-的-page-options-里缺少-view-all-frames))
- Add outline viewer to dock peek preview ( [BS-995](https://linear.app/affine-design/issue/BS-995/center-peek-里缺少-quick-toc-的入口) )
- Add more e2e tests for outline viewer
|
2024-08-05 03:57:48 +00:00 |
|
L-Sun
|
545bd032a7
|
fix(core): app height exceeds viewport of mobile (#7706)
TL;DR
use `100dvh` instead of `100vh`.
https://stackoverflow.com/a/72245072
PS: The `100dvh` is tested in Firefox in macOS
## Before
iPad
<img src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/MyRfgiN4RuBxJfrza3SG/c81548ed-7ca0-4f88-af7c-cce498958a28.png" width="250">
Phone
<img src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/MyRfgiN4RuBxJfrza3SG/4559554d-6f3f-445f-82c1-39a0dc2eb664.png" width="250">
## After
iPad
<img src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/MyRfgiN4RuBxJfrza3SG/51fe97f9-f488-432c-9866-20524efd08de.png" width="250">
Phone
<img src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/MyRfgiN4RuBxJfrza3SG/a05cce56-38a5-47df-a0c6-f757d94ef6b8.png" width="250">
|
2024-08-05 03:42:15 +00:00 |
|
pengx17
|
e3878ae8bf
|
build(electron): nightly build issue for windows (#7649)
ref https://github.com/toeverything/AFFiNE/actions/runs/10156494874/job/28085093900
|
2024-08-05 03:28:02 +00:00 |
|
pengx17
|
c0c5c83dad
|
fix(electron): should activate the target tab when closing other tabs (#7704)
fix PD-1520
|
2024-08-05 03:11:55 +00:00 |
|
pengx17
|
cbdcfdc2d8
|
fix(electron): duplicate tab views issue (#7703)
fix PD-1523
|
2024-08-05 03:11:52 +00:00 |
|
pengx17
|
741ff2379e
|
fix(electron): reload view in tab context menu issue (#7702)
fix PD-1524
|
2024-08-05 03:11:50 +00:00 |
|
pengx17
|
9307acf0de
|
fix(core): ctrl/cmd + click on add page button opens in new tab (#7701)
fix PD-1521
|
2024-08-05 03:11:47 +00:00 |
|
pengx17
|
0468355593
|
test(electron): adjust expect timeout for CI (#7707)
|
2024-08-05 03:11:44 +00:00 |
|
CatsJuice
|
249f3471c9
|
feat(component): shortcut style for tooltip (#7721)
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/LakojjjzZNf6ogjOVwKE/2e68337c-91f1-4ea7-8426-7fb33be02081.png)
- New `shortcut` prop for `<Tooltip />`
- single key
```tsx
<Tooltip shortcut="T" />
```
- multiple
```tsx
<Tooltip shortcut={["⌘", "K"]} />
```
- Round tooltip's arrow
- Use new design system colors
- Replace some usage
- App sidebar switch
- Editor mode switch
- New tab (new)
|
2024-08-05 02:57:24 +00:00 |
|
CatsJuice
|
3d855647c7
|
refactor(component): refactor the implementation of Button and IconButton (#7716)
## Button
- Remove props withoutHoverStyle
refactor hover impl with independent layer, so that hover-color won't affect the background even if is overridden outside
- Update `type` (renamed to `variant`):
- remove `processing` and `warning`
- rename `default` with `secondary`
- Remove `shape` props
- Remove `icon` and `iconPosition`, replaced with `prefix: ReactNode` and `suffix: ReactNode`
- Integrate tooltip for more convenient usage
- New Storybook document
- Focus style
## IconButton
- A Wrapper base on `<Button />`
- Override Button size and variant
- size: `'12' | '14' | '16' | '20' | '24' | number`
These presets size are referenced from the design system.
- variant: `'plain' | 'solid' | 'danger' | 'custom'`
- Inset icon via Button 's prefix
## Fix
- fix some button related issues
- close AF-1159, AF-1160, AF-1161, AF-1162, AF-1163, AF-1158, AF-1157
## Storybook
![CleanShot 2024-08-03 at 14.57.20@2x.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/LakojjjzZNf6ogjOVwKE/f5a76110-35d0-4082-a940-efc12bed87b0.png)
|
2024-08-05 02:57:23 +00:00 |
|
donteatfriedrice
|
10deed94e3
|
fix: center peek message role (#7723)
|
2024-08-05 02:43:58 +00:00 |
|
EYHN
|
f108b95704
|
feat(core): tuning for better search (#7713)
|
2024-08-05 02:29:50 +00:00 |
|
EYHN
|
ad26102815
|
fix(core): fix scroll block into view (#7712)
|
2024-08-05 02:29:49 +00:00 |
|
EYHN
|
05448f50af
|
fix(core): wrong display of 404 page (#7711)
|
2024-08-02 10:40:58 +00:00 |
|
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 |
|
pengx17
|
854718db0e
|
test(electron): enable trace file for desktop tests (#7692)
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/e8d87ee7-cea6-4188-80a7-1a64f6c74eca.webm">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/e8d87ee7-cea6-4188-80a7-1a64f6c74eca.webm">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/e8d87ee7-cea6-4188-80a7-1a64f6c74eca.webm">e02e866a6496b210b8883798d82783d8.webm</video>
one failed run but no valuable result
|
2024-08-02 04:07:33 +00: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 |
|
pengx17
|
10e78d617e
|
build(electron): re-enable windows signing (#7682)
ref https://github.com/toeverything/AFFiNE/pull/7645
|
2024-07-31 10:00:19 +00: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 |
|
forehalo
|
4ec89ebd69
|
chore(server): standardize server db names and columns (#7674)
|
2024-07-31 07:59:23 +00:00 |
|
forehalo
|
c6d4985cba
|
fix: wrong public path for stable env (#7676)
|
2024-07-31 07:19:32 +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 |
|