Commit Graph

1700 Commits

Author SHA1 Message Date
renovate
7f4b069f5e
chore: bump up @chromatic-com/storybook version to v2 (#8178)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@chromatic-com/storybook](https://redirect.github.com/chromaui/addon-visual-tests) | [`^1` -> `^2.0.0`](https://renovatebot.com/diffs/npm/@chromatic-com%2fstorybook/1.8.0/2.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@chromatic-com%2fstorybook/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@chromatic-com%2fstorybook/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@chromatic-com%2fstorybook/1.8.0/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@chromatic-com%2fstorybook/1.8.0/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>chromaui/addon-visual-tests (@&#8203;chromatic-com/storybook)</summary>

### [`v2.0.0`](https://redirect.github.com/chromaui/addon-visual-tests/blob/HEAD/CHANGELOG.md#v200-Mon-Sep-09-2024)

[Compare Source](https://redirect.github.com/chromaui/addon-visual-tests/compare/v1.9.0...v2.0.0)

##### 💥 Breaking Change

-   Align with Storybook 8.2 core package layout [#&#8203;330](https://redirect.github.com/chromaui/addon-visual-tests/pull/330) ([@&#8203;ndelangen](https://redirect.github.com/ndelangen) [@&#8203;ghengeveld](https://redirect.github.com/ghengeveld))

##### Authors: 2

-   Gert Hengeveld ([@&#8203;ghengeveld](https://redirect.github.com/ghengeveld))
-   Norbert de Langen ([@&#8203;ndelangen](https://redirect.github.com/ndelangen))

***

### [`v1.9.0`](https://redirect.github.com/chromaui/addon-visual-tests/blob/HEAD/CHANGELOG.md#v190-Fri-Sep-06-2024)

[Compare Source](https://redirect.github.com/chromaui/addon-visual-tests/compare/v1.8.0...v1.9.0)

##### 🚀 Enhancement

-   Relay client-side fetch requests to the server using the Storybook channel API [#&#8203;331](https://redirect.github.com/chromaui/addon-visual-tests/pull/331) ([@&#8203;ghengeveld](https://redirect.github.com/ghengeveld))

##### Authors: 1

-   Gert Hengeveld ([@&#8203;ghengeveld](https://redirect.github.com/ghengeveld))

***

</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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41OS4yIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
2024-09-13 03:51:36 +00:00
Saul-Mirone
445acfa323
chore: bump bs (#8227) 2024-09-13 02:10:16 +00:00
fundon
39a5d8e64f
fix(core): reference link icon (#8223)
Closes [AF-1384](https://linear.app/affine-design/issue/AF-1384/edgeless-reference-icon-在fail版本中显示不正确)
2024-09-12 11:56:07 +00:00
pengx17
4b920a867c
fix(electron): app fallback styles (#8225) 2024-09-12 11:21:29 +00:00
pengx17
d2b482bcb2
fix(electron): incorrect path to root dir (#8220) 2024-09-12 09:00:18 +00:00
fundon
8a9d9b42a3
feat(core): support block links on cmdk (#8192)
Upstreams: https://github.com/toeverything/blocksuite/pull/8260
Closes: [BS-1323](https://linear.app/affine-design/issue/BS-1323/粘贴-link-to-block-到-link-弹窗,不符合预期)
2024-09-12 08:25:28 +00:00
JimmFly
2cba8a4ccd
fix(core): title could not be changed when creating a new doc (#8203)
Before change, the title could not be modified from outside the editor without refreshing:

https://github.com/user-attachments/assets/536acba1-4e31-418a-bc1a-8578e3128bba

after:

https://github.com/user-attachments/assets/30a4b270-b8b1-4787-acef-0ab2a72a8f74
2024-09-12 07:55:23 +00:00
EYHN
cc5a6e6d40
refactor: new project struct (#8199)
packages/frontend/web -> packages/frontend/apps/web
packages/frontend/mobile -> packages/frontend/apps/mobile
packages/frontend/electron -> packages/frontend/apps/electron
2024-09-12 07:42:57 +00:00
L-Sun
7c4eab6cd3
fix(core): add edit entry for mobile edition (#8173) 2024-09-12 06:48:22 +00:00
JimmFly
8e71815e46
fix(component): windows client does not have app controls on some pages (#8176)
close AF-1266
2024-09-12 06:35:55 +00:00
EYHN
3999b04cf1
feat(core): download template from snapshot url (#8211) 2024-09-12 06:21:52 +00:00
akumatus
456aa047cb
fix: missing font in text preview of editor settings (#8213)
Close issue [BS-1394](https://linear.app/affine-design/issue/BS-1394).

Add `FontConfigExtension` to `edgeless:preview` spec.
2024-09-12 04:40:17 +00:00
doouding
393dcfec78
feat: bump bs (#8212)
https://github.com/toeverything/blocksuite/pull/8311
2024-09-12 04:28:14 +00:00
pengx17
24bf1beac8
fix(electron): devtools open in detach mode (#8200)
fix AF-1380
2024-09-12 03:20:19 +00:00
CatsJuice
8bf0458ef4
fix(mobile): remove all focus style for link and button (#8208) 2024-09-12 03:07:31 +00:00
Saul-Mirone
ba81b1a9ca
chore: bump bs (#8204) 2024-09-11 12:04:26 +00:00
fundon
b74dd1c92e
feat(core): support block links on Bi-Directional Links (#8169)
Clsoes [AF-1348](https://linear.app/affine-design/issue/AF-1348/修复-bi-directional-links-里面的链接地址)

* Links to the current document should be ignored on `Backlinks`
* Links to the current document should be ignored on `Outgoing links`

https://github.com/user-attachments/assets/dbc43cea-5aca-4c6f-886a-356e3a91c1f1
2024-09-11 11:08:12 +00:00
CatsJuice
b7d05d2078
feat(core): new empty states for doc/collection/tag (#8197)
AF-1329, AF-1330
2024-09-11 10:48:52 +00:00
akumatus
f12655655e
feat: add mindmap and connector settings (#8198)
### What changed?
- Add `connector` label settings.
- Add `mindmap` style settings.
- Add skeleton loading placeholder.

<div class='graphite__hidden'>
          <div>🎥 Video uploaded on Graphite:</div>
            <a href="https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/31159d74-ef62-4c7f-b1d9-cde73047cf29.mov">
              <img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/31159d74-ef62-4c7f-b1d9-cde73047cf29.mov">
            </a>
          </div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/31159d74-ef62-4c7f-b1d9-cde73047cf29.mov">录屏2024-09-11 16.30.17.mov</video>
2024-09-11 09:17:11 +00:00
EYHN
85aa73bcf6
fix(core): disconnect ws when user logout (#8188) 2024-09-11 07:55:42 +00:00
EYHN
d93c3b3719
feat(core): user data db (#7930) 2024-09-11 07:55:37 +00:00
EYHN
498a69af53
feat(core): move enable ai to feature flag (#8195) 2024-09-11 07:42:07 +00:00
EYHN
8c191e6baa
feat(core): preview template & snapshot import (#8193) 2024-09-11 07:11:33 +00:00
EYHN
f009371e06
fix(core): fix menu shaking (#8187) 2024-09-11 03:42:13 +00:00
forehalo
7a546ff8a1
feat(core): add auth metrics (#8194)
close AF-849
2024-09-11 03:28:32 +00:00
CatsJuice
81ab8ac8b3
feat(mobile): pwa and browser theme-color optimization (#8168)
[AF-1325](https://linear.app/affine-design/issue/AF-1325/优化-pwa-体验), [AF-1317](https://linear.app/affine-design/issue/AF-1317/优化:-pwa-的顶部-status-bar-颜色应与背景保持一致), [AF-1318](https://linear.app/affine-design/issue/AF-1318/优化:pwa-的底部应当有符合设备安全高度的padding), [AF-1321](https://linear.app/affine-design/issue/AF-1321/更新一下-fail-的-pwa-icon)

- New `<SafeArea />` ui component
- New `useThemeColorV1` / `useThemeColorV2` hook:
    - to modify `<meta name="theme-color" />` with given theme key
2024-09-11 02:20:59 +00:00
L-Sun
9038592715
fix(core): disable append paragraph in shared page editor (#8191)
Disable append paragraph function for readonly or shared page editor.

### Before

![CleanShot 2024-09-10 at 22.26.04@2x.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/MyRfgiN4RuBxJfrza3SG/3ab206a2-8e30-4212-9d5d-3073ec489644.png)
2024-09-10 15:33:52 +00:00
L-Sun
6ce6cb33ef
feat(core): add outline viewer for share page (#8190) 2024-09-10 14:00:17 +00:00
Saul-Mirone
daa9d9ff5c
chore: bump bs (#8189) 2024-09-10 13:48:08 +00:00
JimmFly
9ccf517e06
chore: adjust the border color of Point component (#8185)
close AF-1367
2024-09-10 09:22:34 +00:00
JimmFly
31561d8203
chore: bump theme version (#8184) 2024-09-10 09:05:30 +00:00
donteatfriedrice
9dfd366382
fix: ai error message tip would be cut off (#8183)
Use `<affine-tooltip>` component that updates the float position when it might be clipped。

Fix: [BS-1386](https://linear.app/affine-design/issue/BS-1386/[bug]-tooltip-位置错误)
2024-09-10 08:12:05 +00:00
JimmFly
4c0d0ab8de
fix(core): page jumps unexpectedly when clicking the collection operation (#8182)
close AF-1371

https://github.com/user-attachments/assets/9cc25790-8755-458c-94ac-a8d1b584c428
2024-09-10 06:38:33 +00:00
EYHN
0cdc486f1f
fix(core): reduce state refresh (#8181) 2024-09-10 06:21:15 +00:00
pengx17
fb76fdfca3
fix(core): menu not scrollable when opening in modal (#8179)
fix AF-1360

When menu (with modal = false) is rendered in Modal, the [RemoveScroll utility wrapped by Modal](660060a765/packages/react/dialog/src/Dialog.tsx (L203)) will prevent menu from scrolling.

The reason why menu is scrollable within a dialog is because it is also wrapped a RemoveScroll [when modal is on. ](660060a765/packages/react/menu/src/Menu.tsx (L305))

In this fix, added a `useWithinModal` utility hook so that menu will automatically assign noportal mode for menu when it is rendered inside of a modal.
2024-09-10 06:09:00 +00:00
JimmFly
9d343bdaa6
feat(core): add enable url preview to workspace settings (#8089) 2024-09-10 04:04:06 +00:00
Brooooooklyn
fe1eefdbb2
feat: init renderer server (#8088) 2024-09-10 04:03:59 +00:00
JimmFly
b48cc825e0
fix(core): unexpected jump when clicking save tag (#8171)
close AF-1285

https://github.com/user-attachments/assets/1ec4adf5-4340-4e94-9e56-6a05e7a65f18
2024-09-09 07:54:56 +00:00
JimmFly
a7ecfea3b5
fix(core): disable border thickness setting when no border is selected (#8152)
close AF-1351
2024-09-09 03:25:04 +00:00
fundon
6b266e3a1b
fix(core): link copying and pasting (#8157)
Related to: https://github.com/toeverything/blocksuite/pull/8233
2024-09-09 03:11:20 +00:00
forehalo
d31565eb98
ci(mobile): typecheck (#8166) 2024-09-09 02:59:50 +00:00
forehalo
57083905ff
fix(core): strict client oauth parameters check (#8159) 2024-09-08 12:44:47 +00:00
Saul-Mirone
32d3769201
chore: bump bs (#8153) 2024-09-07 04:08:22 +00:00
CatsJuice
87ed358f2e
fix(mobile): adjust mobile ui (#8112)
close AF-1274, AF-1320, AF-1333
2024-09-06 13:40:10 +00:00
JimmFly
817306ea2a
chore: sort font weight options (#8151)
close PD-1684
2024-09-06 11:41:18 +00:00
pengx17
487154ed3b
fix(core): nav item line-height with Emoji (#8148) 2024-09-06 11:28:22 +00:00
forehalo
817842cf72
fix(core): oauth links should have origin prefix in desktop (#8150) 2024-09-06 11:16:19 +00:00
Saul-Mirone
84ebe62edc
chore: bump bs to lts (#8147) 2024-09-06 10:54:19 +00:00
JimmFly
e822bbd2dd
fix(core): deleted doc should not appear in tag pages (#8143)
close AF-1206
2024-09-06 10:40:03 +00:00
JimmFly
7fe8d7e96f
fix(core): adjust editor settings preview style (#8146)
close PD-1680 PD-1682 PD-1683

https://github.com/user-attachments/assets/49ed9ffe-8e8f-403d-91a0-e42b7f4ffb04
2024-09-06 10:06:19 +00:00
pengx17
cd5c512a5f
fix(electron): auto update check on windows (#8137)
turns out activate event is only available on macos
2024-09-06 09:41:25 +00:00
pengx17
d089470bbf
feat(electron): electron shell skeleton (#8127)
fix AF-1331
<div class='graphite__hidden'>
          <div>🎥 Video uploaded on Graphite:</div>
            <a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/e09203aa-f143-42f8-bd39-e5078d07ada2.mp4">
              <img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/e09203aa-f143-42f8-bd39-e5078d07ada2.mp4">
            </a>
          </div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/e09203aa-f143-42f8-bd39-e5078d07ada2.mp4">1.mp4</video>

missing
- per split view skeleton
- per route skeleton
2024-09-06 09:25:20 +00:00
akumatus
16bb00ed78
fix: load snapshot files in parallel (#8145) 2024-09-06 09:12:57 +00:00
forehalo
bffc294620
fix(core): oauth popup blocked in safari (#8144)
fix(core): oauth popup blocked in safari

fix(core): standarize auth routes

fix AF-1352
2024-09-06 08:26:27 +00:00
forehalo
64d2b926a2
fix(server): remove default auth redirect url (#8140) 2024-09-06 06:26:59 +00:00
JimmFly
a027cef457
fix(core): some fonts are unavailable (#8139)
close AF-1349 AF-1347
2024-09-06 05:08:12 +00:00
fundon
7d93fae1dd
fix(core): inlineEditor on rich-text may be null (#8131)
See 3d3d9d7862/packages/affine/components/src/rich-text/rich-text.ts (L348-L350)
https://github.com/toeverything/blocksuite/blob/master/packages/affine/components/src/rich-text/rich-text.ts#L36
2024-09-06 03:50:05 +00:00
EYHN
702c03539f
fix(core): fix member list fallback size (#8133) 2024-09-06 02:38:30 +00:00
EYHN
74cd175d37
feat(core): invoice service (#8124) 2024-09-05 23:56:58 +08:00
akumatus
9cbe416c2c
feat(core): shape editor settings (#8122)
<div class='graphite__hidden'>
          <div>🎥 Video uploaded on Graphite:</div>
            <a href="https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/cdf4f95c-15b4-4eac-be57-26974f9ca02b.mov">
              <img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/cdf4f95c-15b4-4eac-be57-26974f9ca02b.mov">
            </a>
          </div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/cdf4f95c-15b4-4eac-be57-26974f9ca02b.mov">录屏2024-09-05 21.20.31.mov</video>
2024-09-05 15:24:37 +00:00
EYHN
f4db4058f8
feat(core): make permission and invoice offline available (#8123) 2024-09-05 15:11:27 +00:00
JimmFly
8be67dce82
fix(core): remove joined workspace icon from current worksapce card (#8117)
close PD-1669
2024-09-05 14:58:29 +00:00
fundon
017e89f458
fix(core): should be bound to the correct object (#8121)
<img width="795" alt="Screenshot 2024-09-05 at 18 05 35" src="https://github.com/user-attachments/assets/46f277e9-9be6-4f71-b765-fc442a3a9c64">
2024-09-05 14:46:04 +00:00
pengx17
d3f50a2e38
feat(core): expose skip login button to web (#8115)
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/634cce16-bba2-480f-9126-94b22a782a9a.png)

Allow user skip login page on client
2024-09-05 14:33:22 +00:00
JimmFly
d0010a1d11
chore: add i18n support for ai confirm modal (#8116) 2024-09-05 14:20:40 +00:00
JimmFly
10fe79a9a8
chore: remove deprecated admin panel (#8120) 2024-09-05 14:07:34 +00:00
akumatus
4bbb94c32d
feat(core): bump blocksuite (#8114) 2024-09-05 13:54:56 +00:00
JimmFly
5083fe3cfd
feat(core): update i18n resources (#8119) 2024-09-05 12:37:06 +00:00
fundon
de1a51bf7c
fix(core): should open a new tab with parameters (#8118)
Closes [AF-1343](https://linear.app/affine-design/issue/AF-1343/点击-center-peek-右侧的按钮时,应该携带参数)
2024-09-05 10:30:39 +00:00
pengx17
7621758c76
fix(electron): tune offline mode filter (#8113) 2024-09-05 10:08:56 +00:00
JimmFly
5c67f98e90
fix(admin): nav bar incorrectly active state (#7870) 2024-09-05 09:35:22 +00:00
pengx17
d5ecf503c2
fix(mobile): journal button should not show for edgeless (#8110) 2024-09-05 09:16:26 +00:00
pengx17
2a2a969394
feat(mobile): add share button (#8109) 2024-09-05 09:16:25 +00:00
EYHN
691bfed185
feat(core): selector for editorSetting hooks (#8108) 2024-09-05 08:44:11 +00:00
JimmFly
3837c84791
feat(core): temporarily add page mode editor settings to appearance settings (#8090)
Will remove it when editor settings is released.

![CleanShot 2024-09-04 at 18 19 29@2x](https://github.com/user-attachments/assets/2b2b75ff-acbf-4ca9-ae60-292e73663e13)
2024-09-05 08:30:01 +00:00
fundon
059030fbeb
fix(core): link generation for selected blocks (#8087)
Closes [BS-1321](https://linear.app/affine-design/issue/BS-1321/copy-link-to-selected-block)

https://github.com/user-attachments/assets/6102fc7f-9551-4dd4-83b1-758dd0a946f0
2024-09-05 07:47:40 +00:00
akumatus
19a7d1eb92
feat(core): observe editor settings change and update edgeless editor (#8105)
<div class='graphite__hidden'>
          <div>🎥 Video uploaded on Graphite:</div>
            <a href="https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/cfdd0578-274c-42e3-9ef5-5528e8b25306.mov">
              <img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/cfdd0578-274c-42e3-9ef5-5528e8b25306.mov">
            </a>
          </div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/cfdd0578-274c-42e3-9ef5-5528e8b25306.mov">录屏2024-09-05 14.32.41.mov</video>
2024-09-05 07:30:20 +00:00
JimmFly
f452414952
fix(core): hide the footer that blocks the toolbar in shared page (#8091)
close PD-1405 CLOUD-64

https://github.com/user-attachments/assets/f6ed2dfc-d238-41d8-abaf-684193a080ff
2024-09-05 07:14:23 +00:00
CatsJuice
03c2051926
feat(component): startScopedViewTranstion func to support scoped view transition (#8093)
AF-1293
2024-09-05 06:45:29 +00:00
CatsJuice
73dd1d3326
fix(mobile): fixed all docs header, remove doc card tags layout strategy (#8104)
close AF-1326
2024-09-05 06:29:18 +00:00
renovate
24acce2eac
chore: bump up @blocksuite/icons version to v2.1.67 (#8006)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@blocksuite/icons](https://redirect.github.com/toeverything/icons) | [`2.1.66` -> `2.1.67`](https://renovatebot.com/diffs/npm/@blocksuite%2ficons/2.1.66/2.1.67) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2ficons/2.1.67?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2ficons/2.1.67?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2ficons/2.1.66/2.1.67?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2ficons/2.1.66/2.1.67?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

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

### [`v2.1.67`](8842286f0a...4bdeb1d0ae)

[Compare Source](8842286f0a...4bdeb1d0ae)

</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://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
2024-09-05 05:41:33 +00:00
Yifeng Wang
b711b087c5
docs: add electron build troubleshooting (#8102) 2024-09-05 13:39:01 +08:00
fundon
2bdf8c6ef3
chore(core): track copy block to link action (#8056)
part of [BS-1254](https://linear.app/affine-design/issue/BS-1254/增加-block-reference-的埋点)
2024-09-05 03:21:25 +00:00
akumatus
5f3dd867ad
feat(core): support snapshot preview in editor settings (#8094)
<div class='graphite__hidden'>
          <div>🎥 Video uploaded on Graphite:</div>
            <a href="https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/a991f7d2-f9c6-4241-a24b-b8c01cb86af3.mov">
              <img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/a991f7d2-f9c6-4241-a24b-b8c01cb86af3.mov">
            </a>
          </div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/a991f7d2-f9c6-4241-a24b-b8c01cb86af3.mov">录屏2024-09-04 22.26.47.mov</video>
2024-09-05 02:58:54 +00:00
pengx17
b680c1839b
fix(core): edit tag should not jump to its detail (#8070)
fix AF-1324
2024-09-05 02:46:07 +00:00
pengx17
1cac2f6ccd
feat(core): add journal navigation tracking (#8046)
fix AF-1314
2024-09-05 02:31:58 +00:00
CatsJuice
06552a1120
fix(mobile): explorer node touch optimization (#8101)
close AF-1338
2024-09-05 02:18:28 +00:00
pengx17
93ae724c66
chore(electron): downgrade electron to v31 (#8095)
fix AF-1337
it seems the way how we load web worker file in electron no longer works.
created an upstream issue in https://github.com/electron/electron/issues/43556
2024-09-05 01:30:26 +00:00
pengx17
989e8830f7
fix(mobile): workspace selector not close on click outside (#8096) 2024-09-04 16:57:57 +00:00
pengx17
0ae5673aaa
feat(electron): add offline mode (#8086)
fix AF-1334

It seems `session.enableNetworkEmulation({ offline: true });` does not work - https://github.com/electron/electron/issues/21250

implemented using an in-house solution.

When turned on:

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/6805735b-1006-4e51-be46-c047b0f1a82c.png)
2024-09-04 10:46:43 +00:00
CatsJuice
51bc40d2a8
fix(mobile): header will be clipped when modal opened and page scrolled (#8079)
close AF-1332

This issue is caused by radix, it will set `overflow: hidden` to body when modal opened. And header is implemented with `position: sticky`.

> **why not use `position: fixed` for header?**
>
> We need to handle `padding-top` manually to avoid content covered by header.
2024-09-04 09:36:18 +00:00
EYHN
2524491bd1
fix(env): is mobile flag (#8005)
only 'mobile' entry has isMobile = true flag
2024-09-04 09:21:36 +00:00
JimmFly
f688c057eb
feat(core): impl AI switch (#8018)
close PD-1658

https://github.com/user-attachments/assets/2f3d1d26-1879-4d95-b80c-7c0965cefbd0
2024-09-04 08:44:05 +00:00
EYHN
eb16c273ee
feat(core): apply default doc mode setting (#8083) 2024-09-04 08:31:36 +00:00
EYHN
01b2339173
refactor(core): better block link (#8082) 2024-09-04 08:13:22 +00:00
EYHN
2799e8cd43
fix(electron): fix ci (#8085) 2024-09-04 08:00:09 +00:00
EYHN
fb64bc7e55
feat(core): indexer upgrade (#8062) 2024-09-04 07:31:03 +00:00
EYHN
51f3566bec
fix(core): fix menu bugs (#8074) 2024-09-04 07:19:09 +00:00
pengx17
01e6370dd2
fix(electron): use CTRL+= to zoom in on windows (#8081)
fix AF-1291
2024-09-04 04:23:55 +00:00
pengx17
2ac803c73f
feat(mobile): sign in page (#8039)
fix AF-1237
2024-09-04 03:58:54 +00:00