Commit Graph

1481 Commits

Author SHA1 Message Date
pengx17
81029db6ce
feat: allow peek view to be closed by the caller && bump bs (#8542)
depends on https://github.com/toeverything/blocksuite/pull/8558
fix BS-1570
2024-10-28 09:16:35 +00:00
Cats Juice
06dda70319
feat(mobile): ios oauth & magic-link login (#8581)
Co-authored-by: EYHN <cneyhn@gmail.com>
2024-10-28 14:12:33 +08:00
CatsJuice
829361a910
fix(core): adjust onetime subscription ui for billing and pricing (#8591)
close AF-1534
2024-10-25 03:59:06 +00:00
pengx17
8f694aceb7
fix(core): redirect to old page after login via 404 page (#8588)
fix AF-1487

When visit a cloud worskapce page without login, we should allow the user to redirect back to that page after login.

The logic is only added for this case, including login with email magin link + google login. Login with password is already working without changes.
2024-10-25 03:43:00 +00:00
JimmFly
10963da706
refactor(core): improve editor gap appendParagraph function (#8567)
close AF-1257

Every time we clicked on an empty space at the bottom, a new Paragraph block was created.
Now we change it so that if there is already an empty Paragraph block at the bottom, we focus it instead of creating a new one.
2024-10-24 10:53:18 +00:00
pengx17
2fc27f41f0
fix(core): dont show config properties in peek view (#8594)
view service is undefined in center peek.
2024-10-24 09:18:13 +00:00
pengx17
4b6c4ed546
feat(core): doc database properties (#8520)
fix AF-1454

1. move inline tags editor to components
2. add progress component
3. adjust doc properties styles for desktop
4. subscribe bs database links and display in doc info
5. move update/create dates to doc info
6. a trivial e2e test

<div class='graphite__hidden'>
          <div>🎥 Video uploaded on Graphite:</div>
            <a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/eed266c1-fdac-4f0e-baa9-4aa00d14a2e8.mp4">
              <img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/eed266c1-fdac-4f0e-baa9-4aa00d14a2e8.mp4">
            </a>
          </div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/eed266c1-fdac-4f0e-baa9-4aa00d14a2e8.mp4">10月23日.mp4</video>
2024-10-24 07:38:45 +00:00
JimmFly
021587ffab
chore: add track event to toggle sidebar switch (#8582)
close AF-1530
2024-10-24 03:36:10 +00:00
forehalo
dc89b583ba
fix(core): let backend check whethere user can subscribe (#8573) 2024-10-23 02:01:26 +00:00
EYHN
542fde6c68
fix(infra): indexer missing data (#8578) 2024-10-23 01:44:24 +00:00
JimmFly
be3125b73d
feat(core): add tooltips to PropertyItem (#8564)
close AF-1512
2024-10-22 06:56:17 +00:00
EYHN
6ecdc8db7a
feat(infra): opti indexer performance (#8557) 2024-10-22 06:41:07 +00:00
JimmFly
5769d271e0
chore: adjust hover tooltips for sidebar switch (#8574)
close PD-1762
2024-10-22 05:22:16 +00:00
darkskygit
6f1535014d
feat(core): handle copilot errors (#8546) 2024-10-22 05:08:10 +00:00
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
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
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
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
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
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
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
4e640b4ffc
fix(core): journal nav button icon (#8517)
close AF-1494
2024-10-17 04:16:30 +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
野声
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
EYHN
e7dcf63c77
refactor(core): rename doc property component name (#8500) 2024-10-16 02:11:46 +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
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
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
CatsJuice
abc18eb7f9
chore: bump theme (#8478) 2024-10-14 23:58:25 +00:00
renovate
e7ebe0f2c0
chore: bump up oxlint version to v0.9.10 (#8354)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [oxlint](https://oxc.rs) ([source](https://redirect.github.com/oxc-project/oxc/tree/HEAD/npm/oxlint)) | [`0.9.6` -> `0.9.10`](https://renovatebot.com/diffs/npm/oxlint/0.9.6/0.9.10) | [![age](https://developer.mend.io/api/mc/badges/age/npm/oxlint/0.9.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/oxlint/0.9.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/oxlint/0.9.6/0.9.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/oxlint/0.9.6/0.9.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>oxc-project/oxc (oxlint)</summary>

### [`v0.9.10`](https://redirect.github.com/oxc-project/oxc/releases/tag/oxlint_v0.9.10): oxlint v0.9.10

[Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.9...oxlint_v0.9.10)

#### \[0.9.10] - 2024-10-08

-   [`95ca01c`](https://redirect.github.com/oxc-project/oxc/commit/95ca01c) cfg: \[**BREAKING**] Make BasicBlock::unreachable private ([#&#8203;6321](https://redirect.github.com/oxc-project/oxc/issues/6321)) (DonIsaac)

-   [`5a73a66`](https://redirect.github.com/oxc-project/oxc/commit/5a73a66) regular_expression: \[**BREAKING**] Simplify public APIs ([#&#8203;6262](https://redirect.github.com/oxc-project/oxc/issues/6262)) (leaysgur)

##### Features

-   [`f272137`](https://redirect.github.com/oxc-project/oxc/commit/f272137) editors/vscode: Clear diagnostics on file deletion ([#&#8203;6326](https://redirect.github.com/oxc-project/oxc/issues/6326)) (dalaoshu)
-   [`1a5f293`](https://redirect.github.com/oxc-project/oxc/commit/1a5f293) editors/vscode: Update VSCode extention to use project's language server ([#&#8203;6132](https://redirect.github.com/oxc-project/oxc/issues/6132)) (dalaoshu)
-   [`376cc09`](https://redirect.github.com/oxc-project/oxc/commit/376cc09) linter: Implement `no-throw-literal` ([#&#8203;6144](https://redirect.github.com/oxc-project/oxc/issues/6144)) (dalaoshu)
-   [`5957214`](https://redirect.github.com/oxc-project/oxc/commit/5957214) linter: Allow fixing in files with source offsets ([#&#8203;6197](https://redirect.github.com/oxc-project/oxc/issues/6197)) (camchenry)
-   [`a089e19`](https://redirect.github.com/oxc-project/oxc/commit/a089e19) linter: Eslint/no-else-return ([#&#8203;4305](https://redirect.github.com/oxc-project/oxc/issues/4305)) (yoho)
-   [`183739f`](https://redirect.github.com/oxc-project/oxc/commit/183739f) linter: Implement prefer-await-to-callbacks ([#&#8203;6153](https://redirect.github.com/oxc-project/oxc/issues/6153)) (dalaoshu)
-   [`ae539af`](https://redirect.github.com/oxc-project/oxc/commit/ae539af) linter: Implement no-return-assign ([#&#8203;6108](https://redirect.github.com/oxc-project/oxc/issues/6108)) (Radu Baston)

##### Bug Fixes

-   [`00df6e5`](https://redirect.github.com/oxc-project/oxc/commit/00df6e5) linter: Friendly diagnostic messages for `no-else-return` ([#&#8203;6349](https://redirect.github.com/oxc-project/oxc/issues/6349)) (DonIsaac)
-   [`71ad5d3`](https://redirect.github.com/oxc-project/oxc/commit/71ad5d3) linter: `no-else-return` fixer fails when `else` has no trailing whitespace ([#&#8203;6348](https://redirect.github.com/oxc-project/oxc/issues/6348)) (DonIsaac)
-   [`9e9808b`](https://redirect.github.com/oxc-project/oxc/commit/9e9808b) linter: Fix regression when parsing ts in vue files ([#&#8203;6336](https://redirect.github.com/oxc-project/oxc/issues/6336)) (Boshen)
-   [`93c6db6`](https://redirect.github.com/oxc-project/oxc/commit/93c6db6) linter: Improve docs and diagnostics message for no-else-return ([#&#8203;6327](https://redirect.github.com/oxc-project/oxc/issues/6327)) (DonIsaac)
-   [`e0a3378`](https://redirect.github.com/oxc-project/oxc/commit/e0a3378) linter: Correct false positive in `unicorn/prefer-string-replace-all` ([#&#8203;6263](https://redirect.github.com/oxc-project/oxc/issues/6263)) (H11)
-   [`ea28ee9`](https://redirect.github.com/oxc-project/oxc/commit/ea28ee9) linter: Improve the fixer of `prefer-namespace-keyword` ([#&#8203;6230](https://redirect.github.com/oxc-project/oxc/issues/6230)) (dalaoshu)
-   [`f6a3450`](https://redirect.github.com/oxc-project/oxc/commit/f6a3450) linter: Get correct source offsets for astro files ([#&#8203;6196](https://redirect.github.com/oxc-project/oxc/issues/6196)) (camchenry)
-   [`be0030c`](https://redirect.github.com/oxc-project/oxc/commit/be0030c) linter: Allow whitespace control characters in `no-control-regex` ([#&#8203;6140](https://redirect.github.com/oxc-project/oxc/issues/6140)) (camchenry)
-   [`e7e8ead`](https://redirect.github.com/oxc-project/oxc/commit/e7e8ead) linter: False positive in `no-return-assign` ([#&#8203;6128](https://redirect.github.com/oxc-project/oxc/issues/6128)) (DonIsaac)

##### Performance

-   [`ac0a82a`](https://redirect.github.com/oxc-project/oxc/commit/ac0a82a) linter: Reuse allocator when there are multiple source texts ([#&#8203;6337](https://redirect.github.com/oxc-project/oxc/issues/6337)) (Boshen)
-   [`50a0029`](https://redirect.github.com/oxc-project/oxc/commit/50a0029) linter: Do not concat vec in `no-useless-length-check` ([#&#8203;6276](https://redirect.github.com/oxc-project/oxc/issues/6276)) (camchenry)

##### Documentation

-   [`7ca70dd`](https://redirect.github.com/oxc-project/oxc/commit/7ca70dd) linter: Add docs for `ContextHost` and `LintContext` ([#&#8203;6272](https://redirect.github.com/oxc-project/oxc/issues/6272)) (camchenry)
-   [`a949ecb`](https://redirect.github.com/oxc-project/oxc/commit/a949ecb) linter: Improve docs for `eslint/getter-return` ([#&#8203;6229](https://redirect.github.com/oxc-project/oxc/issues/6229)) (DonIsaac)
-   [`14ba263`](https://redirect.github.com/oxc-project/oxc/commit/14ba263) linter: Improve docs for `eslint-plugin-import` rules ([#&#8203;6131](https://redirect.github.com/oxc-project/oxc/issues/6131)) (dalaoshu)

##### Refactor

-   [`40932f7`](https://redirect.github.com/oxc-project/oxc/commit/40932f7) cfg: Use IndexVec for storing basic blocks ([#&#8203;6323](https://redirect.github.com/oxc-project/oxc/issues/6323)) (DonIsaac)
-   [`642725c`](https://redirect.github.com/oxc-project/oxc/commit/642725c) linter: Rename vars from `ast_node_id` to `node_id` ([#&#8203;6305](https://redirect.github.com/oxc-project/oxc/issues/6305)) (overlookmotel)
-   [`8413175`](https://redirect.github.com/oxc-project/oxc/commit/8413175) linter: Move shared function from utils to rule ([#&#8203;6127](https://redirect.github.com/oxc-project/oxc/issues/6127)) (dalaoshu)
-   [`ba9c372`](https://redirect.github.com/oxc-project/oxc/commit/ba9c372) linter: Make jest/vitest rule mapping more clear ([#&#8203;6273](https://redirect.github.com/oxc-project/oxc/issues/6273)) (camchenry)
-   [`82b8f21`](https://redirect.github.com/oxc-project/oxc/commit/82b8f21) linter: Add schemars and serde traits to AllowWarnDeny and RuleCategories ([#&#8203;6119](https://redirect.github.com/oxc-project/oxc/issues/6119)) (DonIsaac)
-   [`ea908f7`](https://redirect.github.com/oxc-project/oxc/commit/ea908f7) linter: Consolidate file loading logic ([#&#8203;6130](https://redirect.github.com/oxc-project/oxc/issues/6130)) (DonIsaac)
-   [`db751f0`](https://redirect.github.com/oxc-project/oxc/commit/db751f0) linter: Use regexp AST visitor in `no-control-regex` ([#&#8203;6129](https://redirect.github.com/oxc-project/oxc/issues/6129)) (camchenry)
-   [`3aa7e42`](https://redirect.github.com/oxc-project/oxc/commit/3aa7e42) linter: Use RegExp AST visitor for `no-hex-escape` ([#&#8203;6117](https://redirect.github.com/oxc-project/oxc/issues/6117)) (camchenry)
-   [`9d5b44a`](https://redirect.github.com/oxc-project/oxc/commit/9d5b44a) linter: Use regex visitor in `no-regex-spaces` ([#&#8203;6063](https://redirect.github.com/oxc-project/oxc/issues/6063)) (camchenry)
-   [`0d44cf7`](https://redirect.github.com/oxc-project/oxc/commit/0d44cf7) linter: Use regex visitor in `no-useless-escape` ([#&#8203;6062](https://redirect.github.com/oxc-project/oxc/issues/6062)) (camchenry)
-   [`eeb8873`](https://redirect.github.com/oxc-project/oxc/commit/eeb8873) linter: Use regex visitor in `no-empty-character-class` ([#&#8203;6058](https://redirect.github.com/oxc-project/oxc/issues/6058)) (camchenry)

##### Testing

-   [`d883562`](https://redirect.github.com/oxc-project/oxc/commit/d883562) linter: Invalid `eslint/no-unused-vars` options ([#&#8203;6228](https://redirect.github.com/oxc-project/oxc/issues/6228)) (DonIsaac)

### [`v0.9.9`](https://redirect.github.com/oxc-project/oxc/blob/HEAD/npm/oxlint/CHANGELOG.md#099---2024-09-27)

[Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.8...oxlint_v0.9.9)

##### Bug Fixes

-   [`01b9c4b`](https://redirect.github.com/oxc-project/oxc/commit/01b9c4b) npm/oxlint: Make bin/oxc_language_server an executable ([#&#8203;6066](https://redirect.github.com/oxc-project/oxc/issues/6066)) (Boshen)

### [`v0.9.8`](https://redirect.github.com/oxc-project/oxc/releases/tag/oxlint_v0.9.8): oxlint v0.9.8

[Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.7...oxlint_v0.9.8)

#### \[0.9.8] - 2024-09-24

##### Bug Fixes

-   [`e3c8a12`](https://redirect.github.com/oxc-project/oxc/commit/e3c8a12) linter: Fix panic in sort-keys ([#&#8203;6017](https://redirect.github.com/oxc-project/oxc/issues/6017)) (Boshen)
-   [`4771492`](https://redirect.github.com/oxc-project/oxc/commit/4771492) linter: Fix `import/no_cycle` with `ignoreTypes` ([#&#8203;5995](https://redirect.github.com/oxc-project/oxc/issues/5995)) (Boshen)

##### Performance

-   [`5ae3f36`](https://redirect.github.com/oxc-project/oxc/commit/5ae3f36) linter: `no-fallthrough`: Use string matching instead of Regex for default comment pattern ([#&#8203;6008](https://redirect.github.com/oxc-project/oxc/issues/6008)) (camchenry)
-   [`65d8f9e`](https://redirect.github.com/oxc-project/oxc/commit/65d8f9e) linter, ast-tools, coverage: Use `FxHashSet` instead of `std::collections::HashSet` ([#&#8203;6001](https://redirect.github.com/oxc-project/oxc/issues/6001)) (Cam McHenry)
-   [`2b17003`](https://redirect.github.com/oxc-project/oxc/commit/2b17003) linter, prettier, diagnostics: Use `FxHashMap` instead of `std::collections::HashMap` ([#&#8203;5993](https://redirect.github.com/oxc-project/oxc/issues/5993)) (camchenry)

### [`v0.9.7`](https://redirect.github.com/oxc-project/oxc/blob/HEAD/npm/oxlint/CHANGELOG.md#097---2024-09-23)

[Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.9.6...oxlint_v0.9.7)

##### Refactor

-   [`ba7b01f`](https://redirect.github.com/oxc-project/oxc/commit/ba7b01f) linter: Add `LinterBuilder` ([#&#8203;5714](https://redirect.github.com/oxc-project/oxc/issues/5714)) (DonIsaac)

</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:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
2024-10-11 10:13:38 +00:00
JimmFly
040956279a
fix(core): sidebar can not be collapsed on mobile (#8475)
close AF-1474
2024-10-11 08:13:38 +00:00
renovate
e6bbd48164
chore: bump up @blocksuite/icons version to v2.1.68 (#8459)
This PR contains the following updates:

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

---

### Release Notes

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

### [`v2.1.68`](4bdeb1d0ae...10046ca695)

[Compare Source](4bdeb1d0ae...10046ca695)

</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:eyJjcmVhdGVkSW5WZXIiOiIzOC45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzguMTE1LjEiLCJ0YXJnZXRCcmFuY2giOiJjYW5hcnkiLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
2024-10-11 06:37:38 +00:00
CatsJuice
db4d8ddf0b
feat(core): bump theme, update workspace card color variables, add active status (#8467)
close AF-1468
2024-10-11 01:03:38 +00:00
CatsJuice
29a31110cd
feat(core): onetime subscription ui (#8462) 2024-10-10 10:12:43 +00:00
forehalo
69fb5c06f4
feat(server): support onetime payment subscription (#8369) 2024-10-10 10:12:40 +00:00
forehalo
9043e6607e
refactor(i18n): lazy load languages (#8456)
closes AF-1397
2024-10-10 09:03:06 +00:00
CatsJuice
17fec8928f
feat(core): emoji as doc icon support with feature flag (#8348)
close AF-1412

Adjusted the priority of the public doc icon:

1. block-reference
2. journal
3. page reference
4. **emoji** (*new)
5. default
2024-10-10 04:14:31 +00:00
renovate[bot]
6e9db761a4
chore: bump up @blocksuite/affine version to v0.17.18 (#8468)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-10 12:14:03 +08:00
JimmFly
5213431d51
feat(core): show floating sidebar when hovering sidebar swtich (#8393)
web:

https://github.com/user-attachments/assets/3cafe094-7938-4241-8d57-cfd5ccaadf25

client:

https://github.com/user-attachments/assets/ca218a45-de92-4e0a-ad83-c0f47aee2962
2024-10-09 03:48:17 +00:00
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
renovate[bot]
4e30f75c64
chore: bump up @blocksuite/affine version to v0.17.17 (#8403)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-26 20:36:31 +08: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
renovate[bot]
2c25efa1ba
chore: bump up @blocksuite/affine version to v0.17.16 (#8372)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 07:53:57 +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
forehalo
e0f1fe4110
chore: bump base version to 0.17.0 2024-09-20 15:48:21 +08:00
renovate[bot]
cfd09b6634
chore: bump up blocksuite to v0.17.14 (#8326)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Mirone <Saul-Mirone@outlook.com>
2024-09-20 07:44:19 +00: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