darkskygit
42e0563d2e
feat: filter out session create request for root doc ( #10187 )
2025-02-14 11:14:57 +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
Flrande
9dc81ecb99
fix(editor): increase edgeless text init min width ( #10051 )
2025-02-14 10:46:00 +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
darkskygit
981b4efecf
feat(server): worker improve ( #10176 )
...
fix AF-2225
2025-02-14 09:47:57 +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
Flrande
537012e7df
fix(editor): edgeless mindmap text button layer inder ( #10179 )
2025-02-14 05:18:57 +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
forehalo
dcc9c9a7ec
fix(server): should fallback to doc role permission if not specified ( #10166 )
2025-02-14 03:00:56 +00:00
Oleg
b82fc3bc10
feat(core): attach a pdf ( #10039 )
...
Co-authored-by: L-Sun <zover.v@gmail.com >
2025-02-14 10:22:32 +08:00
Alexey Lysenko
769547c2d5
fix(editor): support more divider markdown shortcut ( #10139 )
2025-02-14 10:13:40 +08:00
Flrande
4e488a1ba1
fix(editor): figma block ui issues ( #10167 )
2025-02-13 13:56:18 +00:00
L-Sun
3ada4bee0d
chore(editor): adjust min width of edgeless note ( #10153 )
...
Close [BS-2499](https://linear.app/affine-design/issue/BS-2499/所有notes最小宽度调整为218px )
### What changes
- adjusted min width of edgeless note
- placeholder show ellipsis in min edgeless note
- refactored somes button of `change-note-button.ts` with `isPageBlock`
2025-02-13 12:40:14 +00:00
Brooooooklyn
96bde3ceaf
chore(server): enhance log context and messages ( #10151 )
2025-02-13 12:24:12 +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
fengmk2
3ff721abe8
refactor(server): auto print full stack on logger.error ( #10161 )
2025-02-13 11:49:41 +00:00
darkskygit
899b1d60e0
feat: better error handle for sse endpoint ( #10155 )
...
fix CLOUD-123
2025-02-13 10:10:13 +00:00
L-Sun
a7de6edfef
fix(editor): overflow of dragging preview of note card in ToC ( #10160 )
...
Close [BS-2503](https://linear.app/affine-design/issue/BS-2503/长note拖拽时会带着右侧边栏标题一起移动 )
2025-02-13 09:55:11 +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
Brooooooklyn
312f9b1ecd
ci: split server tests ( #10141 )
2025-02-13 08:40:10 +00:00
forehalo
ab538ef9bb
fix(server): selfhost subscription customer portal creation ( #10149 )
2025-02-13 08:23:28 +00:00
JimmFly
ea95ff39c5
fix(core): show self hosted license seats ( #10146 )
2025-02-13 07:58:10 +00:00
forehalo
3f97203623
fix(server): wrong affine pro endpoint ( #10144 )
2025-02-13 07:41:08 +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
dbf1d0038a
fix(edtiro): hide toc drag indicator on edgeless note ( #10135 )
...
Close [BS-2497](https://linear.app/affine-design/issue/BS-2497/隐藏edgeless-only的toc的dnd-indicator )
2025-02-13 04:18:12 +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
Brooooooklyn
01b9aa91b2
chore(server): migrate depracated opentelemetry usage ( #10140 )
2025-02-13 04:02:07 +00:00
renovate
c4565b57ec
chore: bump up vite-plugin-istanbul version to v7 ( #10106 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vite-plugin-istanbul](https://redirect.github.com/ifaxity/vite-plugin-istanbul ) | [`^6.0.2` -> `^7.0.0`](https://renovatebot.com/diffs/npm/vite-plugin-istanbul/6.0.2/7.0.0 ) | [](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>ifaxity/vite-plugin-istanbul (vite-plugin-istanbul)</summary>
### [`v7.0.0`](https://redirect.github.com/iFaxity/vite-plugin-istanbul/releases/tag/v7.0.0 )
[Compare Source](https://redirect.github.com/ifaxity/vite-plugin-istanbul/compare/v6.0.2...v7.0.0 )
- fix!: corrected broken lockfile ([#​339](https://redirect.github.com/ifaxity/vite-plugin-istanbul/issues/339 )) ([213cd65](213cd65c3b ))
##### Features
- allow passing generatorOpts down to Babel ([#​323](https://redirect.github.com/ifaxity/vite-plugin-istanbul/issues/323 )) ([c58d180](c58d180a5f ))
##### BREAKING CHANGES
- previous pr made an api change
</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNjQuMSIsInVwZGF0ZWRJblZlciI6IjM5LjE2Ny4xIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2025-02-13 03:46:08 +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
Yifeng Wang
26de7a56fd
refactor(editor): remove redundant getOptional for gfx ( #10142 )
2025-02-13 11:27:20 +08:00
doouding
ed0b25def0
fix: drop indicator in center peek ( #10136 )
2025-02-13 02:53:07 +00:00
doouding
81ead5cd35
fix: database cross doc dragging ( #10126 )
2025-02-13 02:53:06 +00:00
pengx17
5be4d677da
feat(electron): app tabs width styles ( #10131 )
...
fix AF-2212
2025-02-13 02:36:05 +00:00
fengmk2
0ce4cc8609
refactor(server): add debug info on global exception log ( #10118 )
...
before

after

2025-02-13 02:20:02 +00:00
L-Sun
9a17422d36
fix(editor): wrong position of remote selection and at menu in edgeless ( #10137 )
...
Close [BS-2552](https://linear.app/affine-design/issue/BS-2552/menu-loading-时滚动,定位错误 ), [BS-2490](https://linear.app/affine-design/issue/BS-2490/note-block-的menu的输入阴影错位 ), [BS-2300](https://linear.app/affine-design/issue/BS-2300/at-menu的输入阴影在暗黑模式看不见 )
### What Changes
- fix the position of remote selection mask and @ menu input mask in edgeless
- fix the position of @ menu is no updated during edgeless viewport change
- update @ menu mask color in dark mode
### Before
https://github.com/user-attachments/assets/f44f618e-a791-497a-9f53-74824fe48dea
### After
https://github.com/user-attachments/assets/5d87b999-deae-4435-9b8b-4cdf55393395
2025-02-13 01:56:01 +00:00
doouding
f0a99851aa
fix: embed block style when dragging doc from sidebar doc list to edgeless ( #10122 )
v0.20.0-canary.8
2025-02-13 01:35:33 +00:00
doouding
40121b6ad5
feat: dragged blocks should set opacity ( #10119 )
2025-02-13 01:35:33 +00:00
Yifeng Wang
fc77c7d41a
refactor(editor): move worker renderer to presets with basic test ( #10127 )
2025-02-12 19:35:06 -06:00