Commit Graph

31 Commits

Author SHA1 Message Date
CatsJuice
b7d05d2078
feat(core): new empty states for doc/collection/tag (#8197)
AF-1329, AF-1330
2024-09-11 10:48:52 +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
JimmFly
31561d8203
chore: bump theme version (#8184) 2024-09-10 09:05:30 +00:00
forehalo
d31565eb98
ci(mobile): typecheck (#8166) 2024-09-09 02:59:50 +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
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
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
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
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
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
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
pengx17
2ac803c73f
feat(mobile): sign in page (#8039)
fix AF-1237
2024-09-04 03:58:54 +00:00
forehalo
52c9da67f0
refactor(auth): authenticate user in main window (#8032) 2024-09-03 09:03:47 +00:00
renovate
bd8c844e75
chore: bump up figma-squircle version to v1 (#8047)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [figma-squircle](https://redirect.github.com/phamfoo/figma-squircle) | [`^0.3.1` -> `^1.0.0`](https://renovatebot.com/diffs/npm/figma-squircle/0.3.1/1.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/figma-squircle/1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/figma-squircle/1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/figma-squircle/0.3.1/1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/figma-squircle/0.3.1/1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>phamfoo/figma-squircle (figma-squircle)</summary>

### [`v1.0.0`](https://redirect.github.com/phamfoo/figma-squircle/releases/tag/v1.0.0)

[Compare Source](https://redirect.github.com/phamfoo/figma-squircle/compare/v0.3.1...v1.0.0)

-   Target es2022  [`700c8f2`](https://redirect.github.com/phamfoo/figma-squircle/commit/700c8f2)

</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-03 08:28:03 +00:00
CatsJuice
ad110078ac
feat(mobile): setting page ui (#8048)
AF-1275
2024-09-03 03:27:18 +00:00
Saul-Mirone
56f4634c1f
chore: bump bs with new extension api (#8042) 2024-09-02 10:32:22 +00:00
pengx17
61e37d8873
test(mobile): basic e2e tests (#8031)
fix AF-1289

1. tested on 'webkit'
2. a few baseline test cases
2024-09-02 10:20:24 +00:00
pengx17
df34e2cdf7
fix(mobile): close menu when detail page navigate away (#8027) 2024-08-31 04:42:32 +00:00
JimmFly
f99988afa6
feat(core): bump blocksuite/icons (#8024) 2024-08-30 03:42:52 +00:00
pengx17
adf314d594
fix(mobile): adjust peek view style for mobile (#8003)
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/c3a04128-0309-4df6-ab6d-0a5129483c73.png)
2024-08-29 16:45:22 +00:00
pengx17
7ae141bd9e
feat(mobile): add mobile detail page (#7993)
fix AF-1241
2024-08-29 16:45:22 +00:00
CatsJuice
f1bb1fc9b8
feat(mobile): search page ui (#8012)
feat(mobile): search page ui

fix(core): quick search tags performance issue
2024-08-29 09:05:23 +00:00
CatsJuice
3ce92f2abc
feat(mobile): all docs page ui impl (#7976) 2024-08-29 06:09:48 +00:00
CatsJuice
db76780bc9
feat(mobile): mobile index page UI (#7959) 2024-08-29 06:09:47 +00:00
EYHN
b96ad57568
feat(core): import template (#8000) 2024-08-29 04:01:35 +00:00
EYHN
9ea4aaaf37
refactor(infra): remove setimmediate (#7975) 2024-08-26 11:57:24 +00:00
pengx17
5acf1b5309
feat: init mobile entry (#7905) 2024-08-21 13:17:35 +00:00