Commit Graph

1158 Commits

Author SHA1 Message Date
L-Sun 9c8e8d74b6 chore(core): update full width layout padding of peekview (#8446)
Close [BS-1378](https://linear.app/affine-design/issue/BS-1378/center-peek-全宽布局padding错误), related to [AF-1052]( https://linear.app/affine-design/issue/AF-1052/embed-view-候选区域-full-screen-时显示异常,需要修改-padding)
2024-10-08 05:32:04 +00:00
fundon a2400f3851 refactor(core): optimize editor params synchronization (#8346) 2024-10-08 05:12:00 +00:00
CatsJuice 2569717e9b chore(mobile): adjust tab height (#8409) 2024-10-08 05:01:12 +00:00
forehalo e61ed98ac3 fix(core): avoid using serverUrlPrefix config (#8448) 2024-10-08 04:50:02 +00:00
JimmFly cc4be9c670 chore: update app updater button style (#8444)
close AF-1461
2024-10-08 04:39:01 +00:00
L-Sun afb21f734e fix(core): fix position of toc in peekview (#8441)
Close [BS-1536](https://linear.app/affine-design/issue/BS-1536/peekview中的toc没有fixed)
2024-10-08 02:44:33 +00:00
pengx17 a3dc074574 feat: ctrl click to open embeded doc in new tab (#8401)
fix AF-1176
depends on https://github.com/toeverything/blocksuite/pull/8478
2024-10-08 02:06:59 +00:00
JimmFly a3f8e6c852 refactor(core): refactor left sidebar to use di (#8385) 2024-09-27 09:32:25 +00:00
EYHN 4295f5e7c1 fix(core): open page info modal error (#8396) 2024-09-26 06:36:41 +00:00
JimmFly bd9ae3d80a fix(core): adjust the tracking point for copy sharing link (#8395)
close AF-1439
2024-09-26 03:27:18 +00:00
pengx17 abd57484ba fix: incorrect app sidebar fallback (#8392)
fix AF-1435
2024-09-25 10:15:26 +00:00
pengx17 76ff56a716 feat: add open info button to doc center peek (#8388)
fix AF-1229

![image](https://github.com/user-attachments/assets/3e7b43ad-43c6-4dfb-b737-5dffb1396b6b)
2024-09-25 09:11:25 +00:00
JimmFly 45f5c89cd8 fix(core): can not scroll when backlink list is too long (#8370)
close AF-1431
2024-09-25 04:28:09 +00:00
fundon 4daa959894 fix(core): block link recognition in self-hosted (#8340)
Part of [BS-1445](https://linear.app/affine-design/issue/BS-1445/点击-affine-link-时识别应用内链接,以触发应用内跳转)

<div class='graphite__hidden'>
          <div>🎥 Video uploaded on Graphite:</div>
            <a href="https://app.graphite.dev/media/video/8ypiIKZXudF5a0tIgIzf/fae580bc-7d30-4711-a70e-7a5cf26c76f1.mov">
              <img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/8ypiIKZXudF5a0tIgIzf/fae580bc-7d30-4711-a70e-7a5cf26c76f1.mov">
            </a>
          </div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/8ypiIKZXudF5a0tIgIzf/fae580bc-7d30-4711-a70e-7a5cf26c76f1.mov">Screen Recording 2024-09-21 at 10.50.12.mov</video>
2024-09-25 04:16:58 +00:00
CatsJuice e6feb17ac7 fix(mobile): cannot run locally (#8383) 2024-09-25 03:54:57 +00:00
JimmFly 2df2003bd7 fix(core): handle composition event for Input component (#8351)
close AF-1065
2024-09-25 02:02:23 +00:00
Yifeng Wang a77061e848 feat: add block visibility config (#8371) 2024-09-24 17:36:06 +08:00
CatsJuice 929124d9e2 chore(core): update pro plan description (#8367) 2024-09-24 07:08:43 +00:00
JimmFly a99b7fd857 chore: remove page settings from appearance settings (#8350) 2024-09-24 04:27:07 +00:00
JimmFly 75bc6df915 fix(core): unexpected routing history appears on the shared page (#8356)
close AF-1429

https://github.com/user-attachments/assets/a99cf79d-3615-4e0f-835c-2e66b1a34863
2024-09-24 04:02:07 +00:00
CatsJuice 9eae3de1ae fix(mobile): scroll optimization (#8362)
close AF-1421, AF-1418, AF-1423, AF-1358
2024-09-24 03:51:09 +00:00
pengx17 d0f04d22f5 fix(core): fix preview mode (#8349) 2024-09-24 02:17:08 +00:00
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)
![Screenshot 2024-09-20 at 14.43.16.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/8ypiIKZXudF5a0tIgIzf/b83212c8-c8c2-4fb8-8b03-b939a9741e0f.png)
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

![CleanShot 2024-09-13 at 13 28 52@2x](https://github.com/user-attachments/assets/8c6c3a1d-9af7-41df-9d33-b69684d54d6b)
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)
![CleanShot 2024-09-18 at 16.41.23@2x.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/LakojjjzZNf6ogjOVwKE/3e0a61e1-4339-4c98-b2f2-a6bf5f934590.png)
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](https://github.com/toeverything/blocksuite/commit/3c61be5dedcc1fc37d6f09ed2541b391584c0ded): - 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