CatsJuice
f369a8dca0
feat(core): add link to template tutorial ( #10189 )
2025-02-17 06:34:59 +00:00
aki-chang-dev
642559df4b
fix(android): edge to edge compatibility for capacitor7 ( #10191 )
2025-02-17 04:42:02 +00:00
EYHN
691daaa7e8
fix(core): fix the permission check in peek view ( #10213 )
2025-02-17 03:51:54 +00:00
akumatus
9418a89ae9
feat(core): auto collapse ai chips ( #10209 )
...
Support issue [BS-2545](https://linear.app/affine-design/issue/BS-2545 ).
Automatically collapse the AI chips when starting a new chat.

2025-02-17 03:38:07 +00:00
CatsJuice
04cb303535
fix(core): prevent text wrapping in starter bar badge ( #10157 )
2025-02-16 08:31:11 +00:00
CatsJuice
b5ba17c464
chore(core): disallow closing auth modal for clicking outside and escape ( #10156 )
2025-02-16 08:14:12 +00:00
akumatus
631c8b8145
refactor(core): lazy create copilot session and context ( #10170 )
2025-02-14 14:48:46 +00:00
donteatfriedrice
5a42edf076
fix(core): copy more button style ( #10196 )
...
[AF-2228](https://linear.app/affine-design/issue/AF-2228/ui-bug-retry-和-copy-的按钮颜色不一致 )
2025-02-14 13:22:27 +00:00
donteatfriedrice
e6b570e613
feat(core): support network search in chat block center peek ( #10186 )
...
[BS-2582](https://linear.app/affine-design/issue/BS-2582/chat-block-center-peek-支持-network-search )
2025-02-14 12:43:31 +00:00
Saul-Mirone
d111f8ac88
feat(editor): add WidgetViewExtension ( #10180 )
...
Closes: [BS-2282](https://linear.app/affine-design/issue/BS-2282/replace-widgetviewmapextension-with-widgetextension )
2025-02-14 11:00:01 +00:00
JimmFly
9048b38069
fix(core): adjust share menu ( #10164 )
...
close AF-2218 AF-2215 AF-2221
2025-02-14 10:32:12 +00:00
JimmFly
36800f2d24
fix(core): adjust the redirection path for retrying payments when self-hosting ( #10181 )
2025-02-14 10:18:00 +00:00
forehalo
cc6fdef10e
chore(electron): remove offline mode ( #10152 )
...
close AF-2177
2025-02-14 10:04:01 +00:00
akumatus
1bf1832211
refactor(core): get copilot sessions api ( #10168 )
...
Fix issue [BS-2575](https://linear.app/affine-design/issue/BS-2575 ).
### What Changed?
- Refactor `getCopilotSessions` api.
- Add `docId` parameter.
- Add `action` parameter.
2025-02-14 06:57:58 +00:00
pengx17
f20e3f6d8f
feat(electron): show a warning for drop folder to split view ( #10178 )
...
fix PD-2310

2025-02-14 06:42:56 +00:00
L-Sun
9d08f446cc
refactor(editor): remove redundant edgeless icons ( #10169 )
...
Continue [BS-2240](https://linear.app/affine-design/issue/BS-2240/%E6%B8%85%E7%90%86%E9%87%8D%E5%A4%8D%E7%9A%84icon )
This PR removes `icons/edgeless.ts` and refactor with `@blocksuite/icons` for reducing redundant icons
2025-02-14 05:03:26 +00:00
pengx17
1f6ac4b1fe
feat(electron): split view drag indicator bg ( #10175 )
...
fix PD-2309
2025-02-14 03:43:54 +00:00
akumatus
79d5f55471
feat(core): move context docs to user prompt ( #10162 )
...
Fix issue [BS-2522](https://linear.app/affine-design/issue/BS-2522 ).
### Why make this change?
If the user data contains illegal content, carrying the user data in the system prompt will run the risk of having the account banned.
### What Changed?
- Move the `Context Documents` to the user prompt.
- Add `withPrompt` in `QueryChatHistoriesInput` options.
- Get chat histories without prompt messages.
- Omit document context when saving messages to the `aiSessionMessage` db.
2025-02-13 12:08:13 +00:00
donteatfriedrice
40c6e42ab8
fix(core): edgeless text ai action should generate image correctly ( #10158 )
...
[BS-2570](https://linear.app/affine-design/issue/BS-2570/edgeless-text-没有被正确的作为上下文放入-app )
2025-02-13 09:38:13 +00:00
CatsJuice
887bbcf641
chore(core): add feature flag for ios AI button ( #10150 )
...
close AF-2209, AF-2104
2025-02-13 09:10:14 +00:00
CatsJuice
7c04ef4f4e
fix(component): loading in button should be white for primary variant ( #10073 )
...
close AF-2178
2025-02-13 08:55:11 +00:00
JimmFly
ea95ff39c5
fix(core): show self hosted license seats ( #10146 )
2025-02-13 07:58:10 +00:00
aki-chang-dev
31ca8f25b6
fix(android): fix status bar style ( #10147 )
2025-02-13 07:14:11 +00:00
akumatus
35cbbb3c4b
fix(core): ai context gql file ( #10145 )
2025-02-13 06:57:12 +00:00
CatsJuice
39182b5fc6
fix(core): do not show starter bar for doc in history modal ( #10107 )
2025-02-13 06:15:09 +00:00
CatsJuice
d3e0cd1369
chore(core): use fadeBottom animation for center peek ( #10072 )
...
close AF-2184, AF-2186

2025-02-13 05:58:10 +00:00
CatsJuice
473f8bd167
feat(core): hide starter-bar for template ( #10112 )
2025-02-13 05:41:11 +00:00
CatsJuice
85addad18f
feat(core): persist right-sidebar open state and resize width ( #10120 )
2025-02-13 05:25:09 +00:00
Saul-Mirone
9321ce94a7
refactor(editor): remove global types in config ( #10143 )
...
Closes: [BS-2554](https://linear.app/affine-design/issue/BS-2554/remove-global-types-in-block-config )
2025-02-13 04:35:35 +00:00
L-Sun
011c18de8b
fix(editor): hide collpased content during dragging note ( #10133 )
...
Close [BS-2531](https://linear.app/affine-design/issue/BS-2531/%E6%8B%96%E5%8A%A8%E6%8A%98%E5%8F%A0%E7%9A%84note%E6%97%B6%EF%BC%8C%E4%B8%8D%E6%98%BE%E7%A4%BA%E9%9A%90%E8%97%8F%E5%86%85%E5%AE%B9 ), [BS-2536](https://linear.app/affine-design/issue/BS-2536/page-block%E9%A1%B6%E9%83%A8toolbar )
2025-02-13 04:18:11 +00:00
akumatus
d17f5651f1
feat(core): add with your docs label to ai answer ( #10124 )
...
Fix issue [BS-2425](https://linear.app/affine-design/issue/BS-2425 ).

2025-02-13 03:28:27 +00:00
pengx17
5be4d677da
feat(electron): app tabs width styles ( #10131 )
...
fix AF-2212
2025-02-13 02:36:05 +00:00
github-actions[bot]
e4e06f35bb
chore(i18n): sync translations ( #10026 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-12 12:18:24 +00:00
aki-chang-dev
6730122108
feat(android): implement capacitor/keyboard plugin ( #10125 )
2025-02-12 11:28:56 +00:00
donteatfriedrice
30612de1ad
fix(core): wrap code in ai chat ( #10108 )
...
[BS-2540](https://linear.app/affine-design/issue/BS-2540/ai-chat-中-code-block-需要默认换行 )
2025-02-12 09:43:52 +00:00
donteatfriedrice
e350ba4a9c
test: enable chat block e2e test ( #10111 )
2025-02-12 09:26:52 +00:00
akumatus
58fed5928b
feat: add doc copilot context api ( #10103 )
...
### What Changed?
- Add graphql APIs.
- Provide context and session service in `AIProvider`.
- Rename the state from `embedding` to `processing`.
- Reafctor front-end session create, update and save logic.
Persist the document selected by the user:
[录屏2025-02-08 11.04.40.mov <span class="graphite__hidden">(uploaded via Graphite)</span> <img class="graphite__hidden" src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/195a85f2-43c4-4e49-88d9-6b5fc4f235ca.mov " />](https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/195a85f2-43c4-4e49-88d9-6b5fc4f235ca.mov )
2025-02-12 08:33:07 +00:00
forehalo
53fdb1e8a5
refactor(server): workspace doc query ( #10042 )
2025-02-12 08:13:07 +00:00
forehalo
9dcce43360
refactor(core): auth ui ( #10101 )
...
close AF-2202 AF-2203
2025-02-12 07:39:09 +00:00
pengx17
a589ce151e
fix(electron): split view indicator should show menu on click ( #10089 )
...
fix AF-2208
2025-02-12 07:04:00 +00:00
renovate
0bc2fdb8a4
chore: bump up @blocksuite/icons version to v2.2.3 ( #10114 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@blocksuite/icons](https://redirect.github.com/toeverything/icons ) | [`2.2.2` -> `2.2.3`](https://renovatebot.com/diffs/npm/@blocksuite%2ficons/2.2.2/2.2.3 ) | [](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>toeverything/icons (@​blocksuite/icons)</summary>
### [`v2.2.3`](837a202601...fa7773d6f0 )
[Compare Source](837a202601...fa7773d6f0 )
</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNjQuMSIsInVwZGF0ZWRJblZlciI6IjM5LjE2NC4xIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2025-02-12 06:27:49 +00:00
akumatus
94811d5e3b
feat(core): enable ai network search ( #10110 )
...
Fix issue [AF-2182](https://linear.app/affine-design/issue/AF-2182 ).
2025-02-12 04:05:08 +00:00
DarkSky
88a3a2d13b
feat(server): self-hosted worker ( #10085 )
2025-02-12 08:01:57 +08:00
donteatfriedrice
19f0eb1931
fix(core): use patched preview spec builder in ai chat ( #10090 )
...
[BS-2526](https://linear.app/affine-design/issue/BS-2526/chat-panel-里的-footnote-popup-需要支持交互 )
2025-02-11 15:11:54 +00:00
L-Sun
54d194afe7
fix(editor): set edgeless note style will override collapse state ( #10098 )
...
Close [BS-2489](https://linear.app/affine-design/issue/BS-2489/%E6%94%B9%E5%8F%98note-style%E4%BC%9A%E9%87%8D%E7%BD%AEcollapse%E7%8A%B6%E6%80%81 )
2025-02-11 14:29:25 +00:00
L-Sun
42bdae16fb
fix(editor): only render emoji in page block header ( #10096 )
2025-02-11 14:29:23 +00:00
akumatus
9ca2133e34
fix(core): input not automatically focused ( #10050 )
...
Fix issue [AF-2161](https://linear.app/affine-design/issue/AF-2161 ).
2025-02-11 13:43:41 +00:00
L-Sun
401ce70153
refactor(core): remove the unused compareDate field from DocDisplayIconOptions ( #10095 )
2025-02-11 13:26:43 +00:00
Saul-Mirone
6b78d2dcf2
refactor(editor): reduce getService ( #10100 )
2025-02-11 12:26:02 +00:00
Saul-Mirone
dbf0f9dc20
refactor(editor): remove global types in edgeless ( #10092 )
...
Closes: [BS-2553](https://linear.app/affine-design/issue/BS-2553/remove-global-types-in-edgeless )
2025-02-11 12:09:44 +00:00