pengx17
a430367c36
fix(electron): remove active tab shadow ( #8284 )
...
fix AF-1390
2024-09-24 10:05:58 +08:00
CatsJuice
f9e0c1e57b
fix(core): remove openInfoModalAtom to avoid multiple modal opened in split-view ( #8329 )
...
close AF-1403
2024-09-23 03:51:48 +00:00
Saul-Mirone
35e232c61c
feat: migrate to blocksuite/affine ( #8332 )
...
Use `@blocksuite/affine` package for all blocksuite features in affine.
```ts
@blocksuite/store -> @blocksuite/affine/store
@blocksuite/global -> @blocksuite/affine/global
@blocksuite/block-std -> @blocksuite/affine/block-std
@blocksuite/blocks -> @blocksuite/affine/blocks
@blocksuite/presets -> @blocksuite/affine/presets
```
2024-09-20 10:55:47 +00:00
forehalo
39f60145fe
fix(core): circular dependency
2024-09-20 16:32:21 +08:00
Fangdun Tsai
849193b4ab
fix(core): should show block link icon first ( #8328 )
2024-09-20 07:39:51 +00:00
forehalo
ec7c63019f
fix(core): use openExternal in electron ( #8323 )
2024-09-20 07:05:12 +00:00
fundon
8d4cc6a1db
fix(core): block links in doc info ( #8324 )
...

2024-09-20 06:54:09 +00:00
EYHN
096f50b83b
chore(i18n): cleanup i18n file ( #8318 )
2024-09-20 06:25:17 +00:00
fundon
bed70cd51a
chore(core): add tests for toURLSearchParams ( #8322 )
2024-09-20 04:14:48 +00:00
fundon
661594aec8
feat(core): enhance share page with selector ( #8319 )
...
Closes [BS-1346](https://linear.app/affine-design/issue/BS-1346/白板上的-link-to-block-在只读模式下打开无法跳转和高亮 )
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/8ypiIKZXudF5a0tIgIzf/84bb27a9-608f-4cfc-a4c8-58de8aa5d791.mov ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/8ypiIKZXudF5a0tIgIzf/84bb27a9-608f-4cfc-a4c8-58de8aa5d791.mov ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/8ypiIKZXudF5a0tIgIzf/84bb27a9-608f-4cfc-a4c8-58de8aa5d791.mov ">Screen Recording 2024-09-20 at 06.21.45.mov</video>
2024-09-20 03:42:08 +00:00
forehalo
e3e15c6134
fix(core): rollback ai service ( #8321 )
...
closes #8320
2024-09-20 01:49:51 +00:00
EYHN
7184d8348f
fix(core): fix web login ( #8312 )
2024-09-19 16:24:05 +00:00
L-Sun
fc9e5fbb65
chore: bump blocksuite ( #8311 )
2024-09-19 10:07:20 +00:00
fundon
c47d44f569
chore(core): cancel block not found alert ( #8310 )
2024-09-19 09:18:17 +00:00
Cats Juice
a38f291a01
fix(core): adjust pop position of editing property menu in setting ( #8308 )
2024-09-19 15:17:53 +08:00
pengx17
f6cd029c18
fix(core): add switch button to switch-to-edgeless notification ( #8300 )
...
fix AF-1359
2024-09-19 06:37:21 +00:00
pengx17
a88e82a534
fix(core): collection filter list animation ( #8299 )
...
fix AF-1373
2024-09-19 06:37:19 +00:00
CatsJuice
0450fcea8b
fix(core): sidebar scrollbar is coverd by resize handle ( #8307 )
...
close AF-1236
2024-09-19 06:25:08 +00:00
fundon
6921c3073c
refactor(core): improve scroll anchoring logic ( #8269 )
...
Upstreams: https://github.com/toeverything/blocksuite/pull/8378
2024-09-19 02:58:11 +00:00
JimmFly
ee3c05904d
refactor(core): adjust error detail and add error component to routes ( #8234 )
...
close PD-1430
https://github.com/user-attachments/assets/9447eaa5-c8b3-4108-96f1-d67ab45f249d

2024-09-19 02:12:03 +00:00
forehalo
ed7fb3fb71
fix(core): only sign out previous account in web oauth ( #8290 )
2024-09-19 02:00:00 +00:00
CatsJuice
ce2ce26395
chore(core): reduce unnecessary layers ( #8292 )
...

2024-09-19 01:48:32 +00:00
fundon
bba9e79e59
fix(core): override LinkedDocBlockComponent initial state ( #8253 )
...
Upstreams: https://github.com/toeverything/blocksuite/pull/8354
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/8ypiIKZXudF5a0tIgIzf/f8214c18-2fb7-4cbe-9d0d-5302f520b676.mov ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/8ypiIKZXudF5a0tIgIzf/f8214c18-2fb7-4cbe-9d0d-5302f520b676.mov ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/8ypiIKZXudF5a0tIgIzf/f8214c18-2fb7-4cbe-9d0d-5302f520b676.mov ">Screen Recording 2024-09-13 at 20.27.38.mov</video>
2024-09-19 01:37:18 +00:00
CatsJuice
f4a19921c4
feat(core): extract DocDisplayMetaService to resolve doc icon/title ( #8226 )
...
AF-1315
2024-09-19 01:25:02 +00:00
fundon
f397815ad1
chore: bump blocksuite ( #8230 )
...
## 0.17.11
### Patch Changes
- [3c61be5](3c61be5ded ): - Refactor drag handle widget
- Split embed blocks to `@blocksuite/affine-block-embed`
- Fix latex selected state in edgeless mode
- Fix unclear naming
- Fix prototype pollution
- Fix portal interaction in affine modal
- Fix paste linked block on edgeless
- Add scroll anchoring widget
- Add highlight selection
2024-09-18 12:11:14 +00:00
JimmFly
67577ee66e
chore: adjust modal background color for peek view ( #8295 )
...
close AF-1391
2024-09-18 09:19:17 +00:00
akumatus
a0d6a28ff4
fix: default style of new document does not follow AFFiNE settings ( #8291 )
...
Close issue [BS-1377](https://linear.app/affine-design/issue/BS-1377 ).
### What changed?
- Add `initDocFromProps` function to initialize the document with specific props.
- Extract `docProps` from editor settings and pass it to `docsService.createDoc` function.
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/8082a8bd-ab3d-432c-9d3e-2f1d1a8398eb.mov ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/8082a8bd-ab3d-432c-9d3e-2f1d1a8398eb.mov ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/8082a8bd-ab3d-432c-9d3e-2f1d1a8398eb.mov ">录屏2024-09-18 16.13.43.mov</video>
2024-09-18 08:45:58 +00:00
JimmFly
544cdd3d56
fix(core): adjust app updater button style ( #8289 )
...
https://github.com/user-attachments/assets/6d6d9ff5-f3aa-466b-94f1-ce152b856cac
2024-09-18 08:19:57 +00:00
JimmFly
af5b9a3a23
fix(core): workspace sharing settings should not be displayed when there is no permission ( #8285 )
...
close AF-1222
2024-09-18 07:36:05 +00:00
EYHN
fab23d226d
refactor(core): clear build config ( #8268 )
...
remove build config
allowLocalWorkspace -> FeatureFlag
enablePreloading -> removed
enableNewSettingUnstableApi -> removed
enableExperimentalFeature -> removed
enableThemeEditor -> FeatureFlag
remove some unused code
2024-09-18 06:33:25 +00:00
fundon
46f8237a46
feat(core): add error notification for block not found ( #8254 )
...
Closes [BS-1416](https://linear.app/affine-design/issue/BS-1416/被删除的白板或者-page-里的-block,访问其-link-to-block,跳转之后没有-toast-提示 )
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/8ypiIKZXudF5a0tIgIzf/76e0e8d8-8685-41a2-abc8-79b330854a7e.mov ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/8ypiIKZXudF5a0tIgIzf/76e0e8d8-8685-41a2-abc8-79b330854a7e.mov ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/8ypiIKZXudF5a0tIgIzf/76e0e8d8-8685-41a2-abc8-79b330854a7e.mov ">Screen Recording 2024-09-13 at 21.09.20.mov</video>
2024-09-18 06:20:27 +00:00
pengx17
70fe7cfec4
fix(core): center peek width styles ( #8276 )
...
fix AF-1369
2024-09-18 05:22:10 +00:00
forehalo
315c20f8e5
fix(core): avoid side effects ( #8245 )
2024-09-18 03:45:20 +00:00
donteatfriedrice
22e1f9c66b
chore: clean up redundant ai preset utils ( #8275 )
2024-09-18 03:20:19 +00:00
pengx17
8d4bda1dcc
fix(core): enable cloud button should not take space by default ( #8270 )
...
before
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/6d818363-30df-4dee-84c1-69eee828f454.mp4 ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/6d818363-30df-4dee-84c1-69eee828f454.mp4 ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/6d818363-30df-4dee-84c1-69eee828f454.mp4 ">20240917-0548-21.8568797.mp4</video>
---
after
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/69c68a4d-d2ea-4439-9c3d-f4a328d76927.mp4 ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/69c68a4d-d2ea-4439-9c3d-f4a328d76927.mp4 ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/69c68a4d-d2ea-4439-9c3d-f4a328d76927.mp4 ">20240917-0549-00.5175618.mp4</video>
2024-09-18 02:10:46 +00:00
EYHN
3d80725c1a
refactor(core): move mobile components to core ( #8258 )
2024-09-14 05:51:14 +00:00
forehalo
ff15ea1eec
fix(core): avoid extra redirect proxy ( #8252 )
2024-09-14 01:36:00 +00:00
fundon
d2cb7b7683
chore(core): improve scroll anchoring ( #8132 )
...
Upstreams: https://github.com/toeverything/blocksuite/pull/8335
* set `padding` to `[20,20,100,20]`
* cancel smooth movement and scaling
* focus and zoom in on elements/blocks
2024-09-13 13:13:02 +00:00
pengx17
d2bd39a1c7
fix(core): importing template with default mode ( #8250 )
2024-09-13 12:54:21 +00:00
darkskygit
ae3f48d0cc
feat: skip rendering if value render is not defiend ( #8244 )
...
fix AF-1387
2024-09-13 12:42:22 +00:00
Saul-Mirone
bafed8ed01
chore: bump bs to 0.17.10 ( #8251 )
...
- e0d0016: - Fix database performance issue
- Fix frame panel display issue
- Fix editor settings for color with transparency
- Fix portal in modals
- Fix group selection rendering delay
- Remove unused and duplicated code
- Improve frame model
- Improve ParseDocUrl service
- Support custom max zoom
2024-09-13 12:13:22 +00:00
fundon
85448e2d6b
fix(core): should wrap link text ( #8249 )
...
Closes [BS-1418](https://linear.app/affine-design/issue/BS-1418/link-to-block-粘贴识别后,使用-undo-来撤销操作的效果不一样 )
https://github.com/user-attachments/assets/537cf8f4-cf13-466f-b68e-fc213891c548
2024-09-13 11:44:23 +00:00
EYHN
5e56ec65e3
refactor(core): adjust core struct ( #8218 )
...
packages/frontend/core/src
hooks -> components/hooks
atoms -> components/atoms
layouts -> components/layouts
providers -> components/providers
mixpanel -> @affine/track
~~shared~~
~~unexpected-application-state~~
2024-09-13 11:31:21 +00:00
darkskygit
fc7e7a37ee
feat: remove avatar for empty field ( #8246 )
2024-09-13 11:18:22 +00:00
EYHN
58db654b07
fix(core): share mode page reference ( #8238 )
2024-09-13 11:06:19 +00:00
pengx17
0a585a14a6
fix(core): reference node word break ( #8236 )
...
before:

---
after:

2024-09-13 10:54:22 +00:00
pengx17
2ac4a846f7
feat(core): copy event for image ( #8219 )
...
fix AF-1383
2024-09-13 10:28:28 +00:00
pengx17
b1e61245ee
fix: button tooltip should not show on showing image preview ( #8224 )
...
when showing image preview in modal, the following code
660060a765/packages/react/focus-scope/src/FocusScope.tsx (L143) will find the first tabbable element and focus, which will trigger the button's tooltip
Adding tabIndex to the image to fix this issue
2024-09-13 10:11:18 +00:00
EYHN
6fde967a6d
feat(core): remove loop animations ( #8242 )
2024-09-13 09:54:24 +00:00
pengx17
3c1cd6b648
fix(electron): pinned tab style ( #8232 )
...
fix PD-1687
2024-09-13 09:40:27 +00:00