Commit Graph

4195 Commits

Author SHA1 Message Date
EYHN
b8cb504fa4
feat(core): adjust app sidebar (#8572) 2024-10-22 04:55:05 +00:00
JimmFly
8c0ee0f52b
fix(core): clicking change mode in the menu should switch both view and mode (#8562)
close AF-1524
2024-10-22 03:29:06 +00:00
CatsJuice
ed511f8d29
fix(component): correct notification theme when theme toggled (#8570)
close AF-1526
2024-10-22 03:15:33 +00:00
CatsJuice
21d3b5084a
refactor(mobile): use separate explorer components for mobile (#8503)
close AF-1488

- remove dnd related logic
- separate styles
- remove empty status, always show a `New` button in each level of tree
2024-10-22 03:01:04 +00:00
Brooooooklyn
97ccf7f3e4
fix(ios): set testflight version number correctly (#8565) 2024-10-22 02:31:03 +00:00
CatsJuice
64f97806bb
fix(core): free cloud and ai onetime payment adaptation (#8558)
close AF-1515, AF-1516
2024-10-22 02:18:04 +00:00
darkskygit
054c0ef9f1
feat: isolate user content (#8568)
fix AF-1513
2024-10-22 02:05:03 +00:00
EYHN
7cd4028176
feat(core): adjust doc property style (#8561) 2024-10-21 09:41:45 +00:00
EYHN
42b3e069f9
feat(core): use contain strict optimizing performance (#8553) 2024-10-21 06:42:08 +00:00
JimmFly
a25bb0d80f
feat(core): keep the sidebar instance when the sidebar is collapsed (#8560)
close AF-1507 AF-1506 AF-1479

https://github.com/user-attachments/assets/627242e3-f6f9-44c5-b0c8-87806cbb8489
2024-10-21 06:28:31 +00:00
github-actions[bot]
2c90a95092
chore(i18n): sync translations (#8543)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-10-21 06:27:46 +00:00
forehalo
1ed9775c45
fix(core): global error handler should be registered outside webpack runtime (#8556) 2024-10-21 05:58:05 +00:00
EYHN
db374f7feb
feat(core): build config for ios android (#8555) 2024-10-21 05:39:04 +00:00
JimmFly
d1783b6f8c
feat(core): prevent the floating sidebar from showing immediately after the sidebar is closed (#8531)
close PD-1763

https://github.com/user-attachments/assets/a8346098-5f87-4297-bdb6-885f5486ce78
2024-10-21 05:26:02 +00:00
JimmFly
90ef12eaca
fix(core): sidebar shakes unexpectedly during init on mobile (#8506)
https://github.com/user-attachments/assets/4b2791fb-073b-4653-bf2b-d04653bde3c8
2024-10-21 05:13:27 +00:00
JimmFly
3ca052c55f
chore: adjust style of CloudUserAvatar (#8548)
close PD-1774

![CleanShot 2024-10-18 at 17 59 52@2x](https://github.com/user-attachments/assets/ac73fa27-25ab-4136-9008-7abde4491f92)
2024-10-19 13:37:06 +00:00
JimmFly
675a010dfc
fix(core): prevent floating sidebar from disappearing unexpectedly (#8477)
close AF-1475

Fixed an issue where you couldn't create collection or use the rename function in the floating sidebar.

https://github.com/user-attachments/assets/41c2b6a8-8fc9-4f8b-ab51-bd7ce2a58738
2024-10-19 13:24:08 +00:00
EYHN
01c3a3b4c0
feat(infra): collect more data to indexer (#8528) 2024-10-19 20:22:26 +08:00
CatsJuice
8f92be926b
feat(core): new "is journal" page property (#8525)
close AF-1450, AF-1451, AF-14552
2024-10-18 10:03:08 +00:00
Brooooooklyn
714a87c2c0
feat(mobile): iOS app testflight (#8501) 2024-10-18 09:30:38 +00:00
renovate
ce341a9a30
chore: bump up @blocksuite/icons version to v2.1.69 (#8545)
This PR contains the following updates:

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

---

### Release Notes

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

### [`v2.1.69`](10046ca695...1c43c2b2e4)

[Compare Source](10046ca695...1c43c2b2e4)

</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:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMjAuMSIsInVwZGF0ZWRJblZlciI6IjM4LjEyMC4xIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-10-18 08:20:03 +00:00
liuyi
9b31183bd1
feat(core): add global error handler (#8509) 2024-10-18 14:34:13 +08:00
github-actions[bot]
4b77f6ed34
chore(i18n): sync translations (#8527)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: forehalo <forehalo@gmail.com>
2024-10-18 06:13:58 +00:00
darkskygit
fa554b1054
feat: add copilot metrics (#8455)
fix CLOUD-73
2024-10-18 03:30:02 +00:00
renovate
a8c28a7935
chore: bump up is-mobile version to v5 (#8519)
This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>juliangruber/is-mobile (is-mobile)</summary>

### [`v5.0.0`](https://redirect.github.com/juliangruber/is-mobile/releases/tag/v5.0.0)

[Compare Source](https://redirect.github.com/juliangruber/is-mobile/compare/v4.0.0...v5.0.0)

-   fix: add support for Redmi mobile ([#&#8203;46](https://redirect.github.com/juliangruber/is-mobile/issues/46))  [`fcae560`](https://redirect.github.com/juliangruber/is-mobile/commit/fcae560)
-   Bump braces from 3.0.2 to 3.0.3 ([#&#8203;45](https://redirect.github.com/juliangruber/is-mobile/issues/45))  [`eaf1499`](https://redirect.github.com/juliangruber/is-mobile/commit/eaf1499)
-   add `tea.yaml`  [`6a1cd5c`](https://redirect.github.com/juliangruber/is-mobile/commit/6a1cd5c)
-   add SECURITY.md  [`39bfa4b`](https://redirect.github.com/juliangruber/is-mobile/commit/39bfa4b)
-   Bump got and np ([#&#8203;43](https://redirect.github.com/juliangruber/is-mobile/issues/43))  [`11ff396`](https://redirect.github.com/juliangruber/is-mobile/commit/11ff396)
-   Bump word-wrap from 1.2.3 to 1.2.4 ([#&#8203;42](https://redirect.github.com/juliangruber/is-mobile/issues/42))  [`e969a77`](https://redirect.github.com/juliangruber/is-mobile/commit/e969a77)

</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:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMjAuMSIsInVwZGF0ZWRJblZlciI6IjM4LjEyMC4xIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-10-17 14:54:07 +00:00
forehalo
76cfadf4e5
chore(core): remove deprecated intl polyfill (#8526) 2024-10-17 14:28:15 +00:00
JimmFly
8d3a543a81
fix(core): unexpected double-click behavior when selecting multiple options on all doc pages (#8461)
close AF-968
2024-10-17 14:15:05 +00:00
JimmFly
2f2e03d3f9
feat(core): close the floating sidebar when creating and opening a doc (#8535)
close AF-1478

https://github.com/user-attachments/assets/5a2a27f3-7df3-4119-9a1a-1372353e4413
2024-10-17 14:02:09 +00:00
JimmFly
bfb8d582ed
feat(core): set doc mode and primary doc mode separately (#8359)
https://github.com/user-attachments/assets/98c282f2-4c53-475f-bf10-936a626c2630
2024-10-17 13:48:45 +00:00
forehalo
7dae5c5dd5
feat(core): simplify subscribe page param (#8518)
AF-1481
2024-10-17 07:05:00 +00:00
forehalo
b7fac5acb8
fix(server): no more selfhost paths (#8530)
closes #8521
2024-10-17 06:53:01 +00:00
EYHN
ee641f0377
fix(infra): fix built in property order error (#8524) 2024-10-17 05:15:09 +00:00
forehalo
4e640b4ffc
fix(core): journal nav button icon (#8517)
close AF-1494
2024-10-17 04:16:30 +00:00
github-actions[bot]
1f950ff858
chore(i18n): sync translations (#8505)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: forehalo <forehalo@gmail.com>
2024-10-17 04:15:48 +00:00
donteatfriedrice
11aa6f63b2
refactor: move chat block to affine (#8368)
[BS-898](https://linear.app/affine-design/issue/BS-898/move-ai-chat-block-to-affine)

Should be merged after https://github.com/toeverything/blocksuite/pull/8420 merged and bumped.
2024-10-16 12:40:30 +00:00
EYHN
140ac723e6
refactor(core): adapter to new journal and property (#8508)
remove old WorkspacePropertyAdapter
add JournalService
2024-10-16 08:46:38 +00:00
pengx17
72e1489c62
fix(electron): tab max width (#8507)
fix PD-1727
2024-10-16 08:32:27 +00:00
github-actions[bot]
49570b796d
New Crowdin Translations (#8389)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: forehalo <forehalo@gmail.com>
2024-10-16 05:15:02 +00:00
野声
f393f89a3f
fix(server): blank screen on mobile (#8460)
Co-authored-by: forehalo <forehalo@gmail.com>
2024-10-16 13:12:40 +08:00
JimmFly
82916e8264
feat(core): make AI functions follow server configuration (#8374) 2024-10-16 13:03:56 +08:00
DarkSky
075cedabf7
fix: message attachment merge (#8498) 2024-10-16 12:57:53 +08:00
EYHN
e7dcf63c77
refactor(core): rename doc property component name (#8500) 2024-10-16 02:11:46 +00:00
pengx17
c0601e04fb
fix(electron): shell missing i18n init (#8499) 2024-10-15 10:30:03 +00:00
EYHN
24e0c5797c
refactor(core): doc property (#8465)
doc property upgraded to use orm.

The visibility of the property are simplified to three types: `always show`, `always hide`, `hide when empty`, and the default is `always show`.

![CleanShot 2024-10-14 at 15 34 52](https://github.com/user-attachments/assets/748b8b80-061f-4d6a-8579-52e59df717c2)

Added a sidebar view to manage properties
![CleanShot 2024-10-14 at 15 35 58](https://github.com/user-attachments/assets/bffa9b1a-a1a5-4708-b2e8-4963120f3af9)

new property ui in workspace settings
![CleanShot 2024-10-14 at 15 36 44](https://github.com/user-attachments/assets/572d8dcc-9b3d-462a-9bcc-5f5fa8e622da)

Property lists can be collapsed
![CleanShot 2024-10-14 at 15 37 59](https://github.com/user-attachments/assets/2b20be1a-8141-478a-8fe7-405aff6d04fd)
2024-10-15 10:17:12 +00:00
darkskygit
13b24eb823
feat: refresh captcha correctly (#8491)
fix AF-1482
2024-10-15 09:10:28 +00:00
renovate
3d3a66c3ed
chore: bump up electron version to v33 (#8495)
This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>electron/electron (electron)</summary>

### [`v33.0.0`](https://redirect.github.com/electron/electron/compare/v32.2.0...v33.0.0)

[Compare Source](https://redirect.github.com/electron/electron/compare/v32.2.0...v33.0.0)

### [`v32.2.0`](https://redirect.github.com/electron/electron/releases/tag/v32.2.0): electron v32.2.0

[Compare Source](https://redirect.github.com/electron/electron/compare/v32.1.2...v32.2.0)

### Release Notes for v32.2.0

#### Fixes

-   Fixed a crash when calling `focus` on a `WebView`'s `webContents`. [#&#8203;43934](https://redirect.github.com/electron/electron/pull/43934) <span style="font-size:small;">(Also in [31](https://redirect.github.com/electron/electron/pull/43933), [33](https://redirect.github.com/electron/electron/pull/43932))</span>
-   Fixed a potential issue accessing a child window document when overriding browserWindow creation via `setWindowOpenHandler`. [#&#8203;43877](https://redirect.github.com/electron/electron/pull/43877) <span style="font-size:small;">(Also in [31](https://redirect.github.com/electron/electron/pull/43878), [33](https://redirect.github.com/electron/electron/pull/43816))</span>
-   Fixed an issue where an exception could be thrown on BrowserView after its owner BrowserWindow was closed. [#&#8203;44001](https://redirect.github.com/electron/electron/pull/44001) <span style="font-size:small;">(Also in [31](https://redirect.github.com/electron/electron/pull/43999), [33](https://redirect.github.com/electron/electron/pull/44000))</span>
-   Fixed closing a window with more than one attached sheet on macOS. [#&#8203;43954](https://redirect.github.com/electron/electron/pull/43954) <span style="font-size:small;">(Also in [31](https://redirect.github.com/electron/electron/pull/43953), [33](https://redirect.github.com/electron/electron/pull/43952))</span>
-   Fixed potential use-after-free during view removal on macOS. [#&#8203;43923](https://redirect.github.com/electron/electron/pull/43923) <span style="font-size:small;">(Also in [31](https://redirect.github.com/electron/electron/pull/43924), [33](https://redirect.github.com/electron/electron/pull/43922))</span>

#### Other Changes

-   Ensured that the `sender-id` hint is set when creating desktop notifications on DBus. [#&#8203;43950](https://redirect.github.com/electron/electron/pull/43950) <span style="font-size:small;">(Also in [31](https://redirect.github.com/electron/electron/pull/43951), [33](https://redirect.github.com/electron/electron/pull/43949))</span>
-   Updated Chromium to 128.0.6613.178. [#&#8203;44086](https://redirect.github.com/electron/electron/pull/44086)
-   Updated Node.js to v20.18.0. [#&#8203;44116](https://redirect.github.com/electron/electron/pull/44116)

</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:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMjAuMSIsInVwZGF0ZWRJblZlciI6IjM4LjEyMC4xIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-10-15 07:18:28 +00:00
pengx17
c484cad7b2
fix(mobile): handle touch event correctly (#8496)
related:

radix-ui has a hack for dealing with touch event on mobile devices. we may not want to stop propagation for event that is not being handled, even for links

74b182b401/packages/react/dismissable-layer/src/DismissableLayer.tsx (L243-L261)
2024-10-15 05:56:23 +00:00
pengx17
3d3864fa5b
build(electron): use live origin http protocol instead of file:// (#8464)
fix AF-1428
2024-10-15 05:42:52 +00:00
Don Isaac
9970138009
chore(oxlint): configure rule categories in oxlint.json (#8494)
Co-authored-by: LongYinan <lynweklm@gmail.com>
2024-10-15 11:20:21 +08:00
野声
691e1c22c2
feat(admin): allow config unlimited copilot (#8487)
Co-authored-by: LongYinan <lynweklm@gmail.com>
2024-10-15 10:11:04 +08:00