forehalo
0b9d30b55a
refactor: rename all page query to doc ( #10019 )
2025-02-07 11:40:59 +00:00
donteatfriedrice
0df94b8e35
fix(core): typo ( #10022 )
...
[BS-2532](https://linear.app/affine-design/issue/BS-2532/typo-tidy-a-article-with-ai-mindmap-action-tidy-an-article-with-xxxxx )
2025-02-07 11:09:00 +00:00
donteatfriedrice
b38389c670
feat(core): add tooltip for import dialog snapshot item ( #10013 )
...
[PD-2132](https://linear.app/affine-design/issue/PD-2132/import-导入优化:snapshot-需要一个问号,解释文档 )
2025-02-07 10:23:59 +00:00
JimmFly
d5a626d9c3
feat(core): optimize team workspace member management ( #9737 )
...
close AF-2106 AF-2077 AF-2089
feat(core): handle need more seat status
feat(core): prevent invite members when team plan is canceled
2025-02-07 10:08:00 +00:00
CatsJuice
85d916f1eb
feat(mobile): create from template on mobile ( #9968 )
2025-02-07 09:52:59 +00:00
CatsJuice
527878a55c
chore(core): allow to rename and add multiple template property ( #9972 )
2025-02-07 09:36:58 +00:00
CatsJuice
b4f078b9c9
feat(core): add deleted state for sidebar journal template ( #9980 )
2025-02-07 09:09:58 +00:00
CatsJuice
f13aac7331
chore(core): adjust starter-bar badge size ( #9976 )
2025-02-07 08:01:58 +00:00
pengx17
3f0a9f4433
feat(core): index table block types ( #9989 )
...

fix BS-2520
2025-02-07 04:04:27 +00:00
JimmFly
e68bdbde3e
feat(core): add self host team plan ( #9569 )
2025-02-07 03:35:24 +00:00
pengx17
61d2cec913
fix(core): remove suspense from image preview ( #9981 )
2025-02-07 02:30:22 +00:00
L-Sun
891d9df0b1
feat(editor): show doc title in page block ( #9975 )
...
Close [BS-2392](https://linear.app/affine-design/issue/BS-2392/page-block-需要显示文章title )
### What Changes
- Add `<doc-title>` to edgeless page block (a.k.a the first page visible note block)
- Refactors:
- Move `<doc-title>` to `@blocksuite/affine-component`, but you can aslo import it from `@blocksuite/preset`
- Extract `<edgeless-note-mask>` and `<edgeless-note-background>` from `<affine-edgeless-note>` to a seperate file
- Rewrite styles of `<affine-edgeless-note>` with `@vanilla-extract/css`
https://github.com/user-attachments/assets/a0c03239-803e-4bfa-b30e-33b919213b12
2025-02-06 21:18:28 +00:00
pengx17
86de184593
fix(electron): split view drag indicator tooltip ( #9979 )
...
fix PD-2244
2025-02-06 16:14:54 +00:00
pengx17
d7da12597a
fix(core): use divider component to replace height dividers ( #9986 )
2025-02-06 10:37:05 +00:00
pengx17
5066f50c4f
fix(editor): should focus the textarea will clicking the chat input box ( #9983 )
...

Clicking outside of the textarea should also focuses the textarea
2025-02-06 10:20:05 +00:00
renovate
31d251d44f
chore: Lock file maintenance ( #9654 )
...
This PR contains the following updates:
| Update | Change |
|---|---|
| lockFileMaintenance | All locks refreshed |
🔧 This Pull Request updates lock files to use the latest dependency versions.
---
### Configuration
📅 **Schedule**: Branch creation - "* 0-3 * * 1" (UTC), 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.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions ) if that's undesired.
---
- [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzOS45Mi4wIiwidXBkYXRlZEluVmVyIjoiMzkuOTIuMCIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
2025-02-06 04:11:07 +00:00
JimmFly
2ed03eaed7
fix(core): workspace storage rows are displayed unexpectedly ( #9539 )
...
close AF-2066
2025-02-05 23:58:01 +08:00
pengx17
d3400fbe89
fix(core): local blobs are not being deleted when gc in unused blobs settings ( #9960 )
2025-02-05 13:01:18 +00:00
donteatfriedrice
9cae1c3a28
fix(core): copilot client should throw right ai error ( #9958 )
...
[BS-2488](https://linear.app/affine-design/issue/BS-2488/copilot-client-需要正确返回错误类型 )
2025-02-05 12:46:13 +00:00
forehalo
4ed03c9f0e
feat(i18n): introduce server error i18n ( #9953 )
...
close AF-2054
2025-02-05 12:30:19 +00:00
renovate
14fbb8b059
chore: bump up oxlint version to v0.15.9 ( #9922 )
...
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.15.8` -> `0.15.9`](https://renovatebot.com/diffs/npm/oxlint/0.15.8/0.15.9 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>oxc-project/oxc (oxlint)</summary>
### [`v0.15.9`](https://redirect.github.com/oxc-project/oxc/releases/tag/oxlint_v0.15.9 ): oxlint v0.15.9
[Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.15.8...oxlint_v0.15.9 )
#### \[0.15.9] - 2025-02-01
##### Features
- [`1a41181`](https://redirect.github.com/oxc-project/oxc/commit/1a41181 ) linter: Implement `eslint/prefer-object-spread` ([#​8216](https://redirect.github.com/oxc-project/oxc/issues/8216 )) (tbashiyy)
- [`adb8ebd`](https://redirect.github.com/oxc-project/oxc/commit/adb8ebd ) linter: Implement no-useless-call rule ([#​8789](https://redirect.github.com/oxc-project/oxc/issues/8789 )) (keita hino)
- [`3790933`](https://redirect.github.com/oxc-project/oxc/commit/3790933 ) linter: Add vitest/prefer-lowercase-title rule ([#​8152](https://redirect.github.com/oxc-project/oxc/issues/8152 )) (Tyler Earls)
- [`e8e6917`](https://redirect.github.com/oxc-project/oxc/commit/e8e6917 ) linter: Unicorn/switch-cases-braces support options ([#​8704](https://redirect.github.com/oxc-project/oxc/issues/8704 )) (1zumii)
##### Bug Fixes
- [`8ce21d1`](https://redirect.github.com/oxc-project/oxc/commit/8ce21d1 ) linter: Can't disable `no-nested-ternary` rule anymore ([#​8600](https://redirect.github.com/oxc-project/oxc/issues/8600 )) (dalaoshu)
- [`e929f26`](https://redirect.github.com/oxc-project/oxc/commit/e929f26 ) linter: Output `LintCommandInfo` for `CliRunResult::LintNoFilesFound` ([#​8714](https://redirect.github.com/oxc-project/oxc/issues/8714 )) (Sysix)
- [`4f30a17`](https://redirect.github.com/oxc-project/oxc/commit/4f30a17 ) linter: Unicorn/switch-case-braces mangles code when applying fix ([#​8758](https://redirect.github.com/oxc-project/oxc/issues/8758 )) (Tyler Earls)
- [`9cc9d5f`](https://redirect.github.com/oxc-project/oxc/commit/9cc9d5f ) linter: `ignorePatterns` does not work when files are provided as command arguments ([#​8590](https://redirect.github.com/oxc-project/oxc/issues/8590 )) (dalaoshu)
- [`1de6f85`](https://redirect.github.com/oxc-project/oxc/commit/1de6f85 ) linter: No-lone-blocks erroring on block statements containing comments ([#​8720](https://redirect.github.com/oxc-project/oxc/issues/8720 )) (Tyler Earls)
- [`77ef61a`](https://redirect.github.com/oxc-project/oxc/commit/77ef61a ) linter: Fix diagnostic spans for `oxc/no-async-await` ([#​8721](https://redirect.github.com/oxc-project/oxc/issues/8721 )) (camchenry)
- [`f15bdce`](https://redirect.github.com/oxc-project/oxc/commit/f15bdce ) linter: Catch `Promise` in `typescript/array-type` rule ([#​8702](https://redirect.github.com/oxc-project/oxc/issues/8702 )) (Rintaro Itokawa)
- [`5041cb3`](https://redirect.github.com/oxc-project/oxc/commit/5041cb3 ) vscode: Fix commands by reverting commit `259a47b` ([#​8819](https://redirect.github.com/oxc-project/oxc/issues/8819 )) (Alexander S.)
##### Performance
- [`d318238`](https://redirect.github.com/oxc-project/oxc/commit/d318238 ) linter: Remove sorting of rules in cache ([#​8718](https://redirect.github.com/oxc-project/oxc/issues/8718 )) (camchenry)
##### Documentation
- [`57b7ca8`](https://redirect.github.com/oxc-project/oxc/commit/57b7ca8 ) ast: Add documentation for all remaining JS AST methods ([#​8820](https://redirect.github.com/oxc-project/oxc/issues/8820 )) (Cam McHenry)
##### Refactor
- [`c2fdfc4`](https://redirect.github.com/oxc-project/oxc/commit/c2fdfc4 ) linter: Correctly handle loose options for `eslint/eqeqeq` ([#​8798](https://redirect.github.com/oxc-project/oxc/issues/8798 )) (dalaoshu)
- [`0aeaedd`](https://redirect.github.com/oxc-project/oxc/commit/0aeaedd ) linter: Support loose options for `eslint/eqeqeq` ([#​8790](https://redirect.github.com/oxc-project/oxc/issues/8790 )) (dalaoshu)
- [`194a5ff`](https://redirect.github.com/oxc-project/oxc/commit/194a5ff ) linter: Remove `LintResult` ([#​8712](https://redirect.github.com/oxc-project/oxc/issues/8712 )) (Sysix)
- [`4a2f2a9`](https://redirect.github.com/oxc-project/oxc/commit/4a2f2a9 ) linter: Move default `all_rules` output to trait ([#​8710](https://redirect.github.com/oxc-project/oxc/issues/8710 )) (Sysix)
- [`741fb40`](https://redirect.github.com/oxc-project/oxc/commit/741fb40 ) linter: Move stdout outside LintRunner ([#​8694](https://redirect.github.com/oxc-project/oxc/issues/8694 )) (Sysix)
- [`10e5920`](https://redirect.github.com/oxc-project/oxc/commit/10e5920 ) linter: Move finishing default diagnostic message to `GraphicalReporter` ([#​8683](https://redirect.github.com/oxc-project/oxc/issues/8683 )) (Sysix)
- [`9731c56`](https://redirect.github.com/oxc-project/oxc/commit/9731c56 ) oxlint: Move output from `CliRunResult::InvalidOption` to outside and use more Enums for different invalid options ([#​8778](https://redirect.github.com/oxc-project/oxc/issues/8778 )) (Sysix)
- [`fe45bee`](https://redirect.github.com/oxc-project/oxc/commit/fe45bee ) oxlint: Create different `CliRunResult` instead of passing `ExitCode` to it ([#​8777](https://redirect.github.com/oxc-project/oxc/issues/8777 )) (Sysix)
- [`2378fef`](https://redirect.github.com/oxc-project/oxc/commit/2378fef ) oxlint: Move ConfigFileInit output outside CliRunResult, exit code 1 when it fails ([#​8776](https://redirect.github.com/oxc-project/oxc/issues/8776 )) (Sysix)
- [`f4cecb5`](https://redirect.github.com/oxc-project/oxc/commit/f4cecb5 ) oxlint: Remove unused `CliRunResult::PathNotFound` ([#​8775](https://redirect.github.com/oxc-project/oxc/issues/8775 )) (Sysix)
##### Testing
- [`ad35e82`](https://redirect.github.com/oxc-project/oxc/commit/ad35e82 ) linter: Use snapshot testing instead of LintResult ([#​8711](https://redirect.github.com/oxc-project/oxc/issues/8711 )) (Sysix)
- [`bf895eb`](https://redirect.github.com/oxc-project/oxc/commit/bf895eb ) linter: Add diagnostic format test snapshots ([#​8696](https://redirect.github.com/oxc-project/oxc/issues/8696 )) (Alexander S.)
- [`34d3d72`](https://redirect.github.com/oxc-project/oxc/commit/34d3d72 ) linter: Add snapshot tester for cli ([#​8695](https://redirect.github.com/oxc-project/oxc/issues/8695 )) (Sysix)
- [`0bf2bcf`](https://redirect.github.com/oxc-project/oxc/commit/0bf2bcf ) oxlint: Test two real rules with same name but from different plugins ([#​8821](https://redirect.github.com/oxc-project/oxc/issues/8821 )) (dalaoshu)
- [`2b83b71`](https://redirect.github.com/oxc-project/oxc/commit/2b83b71 ) oxlint: Improve disabling "no-nested-ternary" tests ([#​8814](https://redirect.github.com/oxc-project/oxc/issues/8814 )) (Alexander S.)
- [`45648e7`](https://redirect.github.com/oxc-project/oxc/commit/45648e7 ) oxlint: Fix InvalidOptionTsConfig tests for windows ([#​8791](https://redirect.github.com/oxc-project/oxc/issues/8791 )) (Alexander S.)
- [`48bfed9`](https://redirect.github.com/oxc-project/oxc/commit/48bfed9 ) oxlint: Ignore windows path mismatch (Boshen)
- [`6f4a023`](https://redirect.github.com/oxc-project/oxc/commit/6f4a023 ) oxlint: Remove "--print-config" test ([#​8792](https://redirect.github.com/oxc-project/oxc/issues/8792 )) (Sysix)
- [`55c2025`](https://redirect.github.com/oxc-project/oxc/commit/55c2025 ) oxlint: Add `CliRunResult` to snapshot ([#​8780](https://redirect.github.com/oxc-project/oxc/issues/8780 )) (Sysix)
</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNDUuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE0NS4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2025-02-05 10:54:57 +00:00
forehalo
7826e2b7c8
refactor(server): use feature model ( #9932 )
2025-02-05 10:27:26 +00:00
EYHN
ee0cfe4dc7
feat(nbstore): share worker between workspaces ( #9947 )
2025-02-05 07:57:03 +00:00
Saul-Mirone
972d76d685
refactor(editor): use spec builder to unify the extend of editor extensions ( #9916 )
2025-02-05 07:40:55 +00:00
doouding
02122098c7
fix: drag block issue ( #9902 )
...
### Changed
- Added support for changing the preview offset during dragging.
- Fixed the preview rendering for embed block and surface-ref block
- Resolved an issue where the host element might be reused in certain cases, which could cause unexpected behavior
- Moved viewport-related constants and methods to a more appropriate location
2025-02-05 07:25:53 +00:00
Saul-Mirone
0553ae72b5
refactor(editor): remove deprecated editor slot ( #9908 )
2025-02-04 12:56:41 +00:00
Saul-Mirone
f3f6e8c6ac
refactor(editor): remove attachment and image block service ( #9909 )
2025-01-28 20:53:23 +00:00
Saul-Mirone
17bf75e843
refactor(editor): remove dependency of command global types ( #9903 )
...
Closes: [BS-2216](https://linear.app/affine-design/issue/BS-2216/remove-global-types-in-command )
2025-01-27 12:28:46 +00:00
pengx17
4b549e0484
fix(electron): optimize find in page in electron (2) ( #9901 )
...
1. find in page should have higher z-index than other modals
2. fix focused texts are not automatically being used as the default input value for searching
2025-01-27 07:58:16 +00:00
pengx17
ffbec1633e
fix(electron): optimize find in page in electron ( #9900 )
...
fix AF-2168
When using find in page (cmd+f) in electron, the popup should not prevent the user from interacting with the main content.
Also fixed some minor ui issues
2025-01-27 07:19:12 +00:00
Oleg
e3fac97b9b
fix(web): minor bug fixes ( #9696 )
...
Co-authored-by: Mirone <Saul-Mirone@outlook.com >
2025-01-27 14:21:41 +09:00
pengx17
a5c8356376
chore(electron): split view tracking events ( #9896 )
...
fix AF-2037
2025-01-27 02:40:08 +00:00
pengx17
0d2c2ea21e
fix(core): tag input keyboard control enhancements ( #9881 )
...
fix AF-2166
2025-01-25 14:35:49 +00:00
donteatfriedrice
4b553d153a
feat(core): update chat error style ( #9885 )
...
[BS-2487](https://linear.app/affine-design/issue/BS-2487/报错样式更新 )
2025-01-24 12:39:10 +00:00
zzj3720
5a5779c05a
feat(editor): simple table block ( #9740 )
...
close: BS-2122, BS-2125, BS-2124, BS-2420, PD-2073, BS-2126, BS-2469, BS-2470, BS-2478, BS-2471
2025-01-24 10:07:57 +00:00
L-Sun
3f4311ff1c
chore(editor): add RTL experiement flag for editor ( #9882 )
2025-01-24 08:23:24 +00:00
pengx17
791484a46c
fix(core): some style issues ( #9875 )
...
fix AF-2158, AF-2159
It seems the input hack for modal is no longer needed
2025-01-24 05:06:59 +00:00
pengx17
6a74107010
fix(core): some storage setting enhancements ( #9877 )
...
fix AF-2157, AF-2155, AF-2156
1. add shift selection for grid blob card
2. various style issues
3. unused blobs list will also wait for workspace syncing
2025-01-24 04:35:54 +00:00
donteatfriedrice
c0eb735890
fix(core): extract text blocks markdown from doc ( #9879 )
...
[AF-2162](https://linear.app/affine-design/issue/AF-2162/ai-提取-markdown-内容不完整 )
2025-01-24 04:18:53 +00:00
akumatus
95cf2e047f
feat(core): cite source documents in the AI answer ( #9863 )
...
Support issue [BS-2424](https://linear.app/affine-design/issue/BS-2424 ).
### What changed?
- Add relevant document prompt templates.
- Add citation rules in system prompts.
- Change message `params` type to `Record<string, any>`
- Add unit test.
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/ec24e664-039e-4fab-bd26-b3312f011daf.mov ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/ec24e664-039e-4fab-bd26-b3312f011daf.mov ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/ec24e664-039e-4fab-bd26-b3312f011daf.mov ">录屏2025-01-23 10.40.38.mov</video>
2025-01-24 04:04:01 +00:00
pengx17
48c26017ae
fix(core): database properties in info flickering issue ( #9872 )
...
fix af-2123
2025-01-24 03:46:24 +00:00
L-Sun
79fe687b1a
fix(editor): render title in page block header using DocDisplayMetaService ( #9878 )
...
https://github.com/user-attachments/assets/24490a58-ef66-404a-b9cd-1e94d84c6f58
2025-01-23 12:51:55 +00:00
pengx17
6ac6a8d6d6
feat(core): unused blob management in settings ( #9795 )
...
fix AF-2144, PD-2064, PD-2065, PD-2066
2025-01-23 07:12:17 +00:00
CatsJuice
a16b57db48
feat(core): make sidebar others collapsible ( #9862 )
2025-01-23 03:17:15 +00:00
pengx17
088ae0ac0a
feat(electron): backup panel ( #9738 )
...
fix PD-2071, PD-2059, PD-2069, PD-2068
2025-01-22 22:52:31 +08:00
akumatus
862a9d0bc4
feat: use footnote for perplexity search results ( #9851 )
...
Support issue [BS-2475](https://linear.app/affine-design/issue/BS-2475 ).

2025-01-22 10:54:01 +00:00
pengx17
08f6a22d44
fix(core): linkpreview and imageproxy url should be prefixed with server url ( #9838 )
...
fix AF-2150
2025-01-22 09:31:05 +00:00
CatsJuice
f7f1a6ee11
chore(core): update oauth icons ( #9796 )
2025-01-22 07:49:58 +00:00
forehalo
5828eb53b6
feat(core): support one time password ( #9798 )
2025-01-22 07:33:10 +00:00
pengx17
4c665594d6
fix(editor): ref on click slots should not be global ( #9830 )
...
fix AF-2129
2025-01-22 05:20:55 +00:00