Commit Graph

3973 Commits

Author SHA1 Message Date
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
darkskygit
95738e796f
fix: client captcha (#8186) 2024-09-10 09:34:21 +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
forehalo
0add8917f9
feat(server): enable share og information for docs (#7794) 2024-09-10 04:03:52 +00:00
darkskygit
34eac4c24e
feat: improve ai query performance (#8170) 2024-09-09 09:39:28 +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
forehalo
32f673fa3d
perf(server): index lower user email (#8167) 2024-09-09 04:43:59 +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
darkskygit
2a135d8a93
feat: add index for snapshots (#8163) 2024-09-08 13:49:41 +00:00
forehalo
57083905ff
fix(core): strict client oauth parameters check (#8159) 2024-09-08 12:44:47 +00:00
forehalo
63e1fce3ca
perf(server): accelerate user workspace permission queries (#8161) 2024-09-08 12:04:00 +00:00
forehalo
87e9ff01b5
perf(server): avoid filter doc snapshot by non-indexed updatedAt (#8160) 2024-09-08 12:03:55 +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
forehalo
4de9d94c80
chore(core): publish editor settings in beta (#8149) 2024-09-06 11:54:26 +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
be4df0f8ac
fix(server): created user in update table should not have defualt value (#8134) 2024-09-06 06:42:04 +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