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
pengx17
720a596559
fix(infra): increase eventemitter listener count ( #9799 )
2025-01-22 12:15:20 +08:00
pengx17
defb0de4dd
feat(core): reorg workspace settings ( #9718 )
...
fix AF-2118
2025-01-22 03:11:27 +00:00
Xun Sun
2db9cc3922
fix(core): set state isLoading to false after email changing is confirmed ( #9824 )
2025-01-22 09:47:23 +08:00
L-Sun
29995e498a
feat(editor): add start-with-ai button for empty doc ( #9836 )
...
Close [BS-2391](https://linear.app/affine-design/issue/BS-2391/bs-ai-toolbar-空状态下添加-actions-列表 )
https://github.com/user-attachments/assets/cbded517-2d3d-4a75-b144-644e2b03f68a
2025-01-21 16:00:49 +00:00
pengx17
d4aeac5d35
fix(electron): split view reorder shaking ( #9828 )
...
fix AF-2097
2025-01-21 15:02:22 +00:00
pengx17
24fce7a708
fix(core): peek view backgroud ( #9825 )
...
fix bs-2416
2025-01-21 11:37:15 +00:00
akumatus
a3164b4ccf
feat(core): support ai doc search panel ( #9831 )
...
Support issue [BS-2351](https://linear.app/affine-design/issue/BS-2351 ) and [BS-2461](https://linear.app/affine-design/issue/BS-2461 ).
## What changed?
- Add `chat-panel-add-popover` component.
- Refactor part of `AtMenuConfigService` into `DocSearchMenuService`.
- Add signal `content` property to `DocChip` interface for markdown content update.
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/ff1d69b3-edd6-4d33-a01d-8b16e5192af7.mov ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/ff1d69b3-edd6-4d33-a01d-8b16e5192af7.mov ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/ff1d69b3-edd6-4d33-a01d-8b16e5192af7.mov ">录屏2025-01-21 18.46.29.mov</video>
2025-01-21 11:20:19 +00:00
CatsJuice
ba508ffd6b
chore(core): replace outlined template icon ( #9784 )
2025-01-21 11:03:11 +00:00
renovate
b299bb89fa
chore: bump up @capacitor/browser version to v7 ( #9812 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@capacitor/browser](https://redirect.github.com/ionic-team/capacitor-plugins ) | [`^6.0.4` -> `^7.0.0`](https://renovatebot.com/diffs/npm/@capacitor%2fbrowser/6.0.5/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>ionic-team/capacitor-plugins (@​capacitor/browser)</summary>
### [`v7.0.0`](https://redirect.github.com/ionic-team/capacitor-plugins/releases/tag/%40capacitor/app%407.0.0 )
[Compare Source](https://redirect.github.com/ionic-team/capacitor-plugins/compare/@capacitor/browser@6.0.5...@capacitor/browser@7.0.0 )
**Note:** Version bump only for package [@​capacitor/app](https://redirect.github.com/capacitor/app )
</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMDcuMCIsInVwZGF0ZWRJblZlciI6IjM5LjEwNy4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2025-01-21 08:24:06 +00:00
L-Sun
7400cf225f
refactor(editor): highlight selected cards of TOC based on signal ( #9807 )
...
Close [BS-2314](https://linear.app/affine-design/issue/BS-2314/添加打开toc时,将note-block-高亮 ), [BS-1868](https://linear.app/affine-design/issue/BS-1868/toc-里面-note之间顺序可拖动性,在page和edgeless里面是不同的,这个是设计的行为么 ?)
This PR refactor the highlight logic of note cards of TOC panel:
- notes block selected in edgeless note
- notes block covered by text or block selection in page mode
- note cards selected in TOC for dragging
Other changes:
- remove not used codes
- add tests for highlight note cards
2025-01-21 07:50:57 +00:00
renovate
6470d83248
chore: bump up @capacitor/app version to v7 ( #9811 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@capacitor/app](https://redirect.github.com/ionic-team/capacitor-plugins ) | [`^6.0.2` -> `^7.0.0`](https://renovatebot.com/diffs/npm/@capacitor%2fapp/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>ionic-team/capacitor-plugins (@​capacitor/app)</summary>
### [`v7.0.0`](https://redirect.github.com/ionic-team/capacitor-plugins/releases/tag/%40capacitor/app%407.0.0 )
[Compare Source](https://redirect.github.com/ionic-team/capacitor-plugins/compare/@capacitor/app@6.0.2...@capacitor/app@7.0.0 )
**Note:** Version bump only for package [@​capacitor/app](https://redirect.github.com/capacitor/app )
</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMDcuMCIsInVwZGF0ZWRJblZlciI6IjM5LjEwNy4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2025-01-21 07:34:11 +00:00
CatsJuice
46ee235674
chore(core): replace add icon of section in sidebar ( #9787 )
2025-01-21 05:36:44 +00:00
L-Sun
d2bde09ef6
fix(core): avoid multiple append right sidebar tab lit component ( #9806 )
...
This PR fixed that the TOC panel and frame panel will be connect and disconnect repeatly on the same instance. Similar issue: https://github.com/toeverything/AFFiNE/pull/9019#discussion_r1872635745
2025-01-21 02:32:35 +00:00
doodlewind
14ca171a18
chore(web): bump theme ( #9801 )
2025-01-20 13:51:24 +00:00
Saul-Mirone
fa5e6e1f45
fix: remove bs shared and components in affine ( #9792 )
2025-01-20 09:41:06 +00:00
forehalo
cb53baca89
fix(electron): export and import ( #9767 )
2025-01-20 08:48:03 +00:00
Saul-Mirone
2b3da1f0e9
fix: remove global, store and std in affine packages ( #9785 )
2025-01-20 06:14:46 +00:00
CatsJuice
1a18aeb22e
fix(core): make journal template selector fixed at bottom in sidebar ( #9783 )
2025-01-20 04:35:11 +00:00
donteatfriedrice
4bd43a698c
refactor(editor): refactor linkPreviewer as an extension and remove bookmark service ( #9754 )
...
[BS-2427](https://linear.app/affine-design/issue/BS-2427/移除-bookmark-block-service ) [BS-2418](https://linear.app/affine-design/issue/BS-2418/linkpreviewer-重构成插件 )
2025-01-20 04:18:00 +00:00
fundon
4aabcaaa60
chore(core): update fill color of shape ( #9674 )
...
part of: https://github.com/toeverything/AFFiNE/pull/9633
* updates fill color in `shape.json`
2025-01-20 03:22:11 +00:00
JimmFly
601c0dd16c
fix(core): center peek and history dialog does not display custom fonts ( #9274 )
...
close AF-1806
2025-01-20 03:00:13 +00:00
JimmFly
9004c45eed
feat(core): add copy link button to local share menu ( #9271 )
...
close AF-1838
2025-01-20 02:40:10 +00:00