CatsJuice
|
1fdfa834a0
|
feat(core): responsive detail page header (#7263)
|
2024-06-20 05:47:43 +00:00 |
|
EYHN
|
b4212d54ed
|
chore(core): delete center peek feature flag (#7281)
|
2024-06-20 04:24:47 +00:00 |
|
fundon
|
671fa1149d
|
feat(core): continue with AI (#7253)
Closes: [AFF-1251](https://linear.app/affine-design/issue/AFF-1251/continue-with-ai-的-action-的入口区分-open-with-ai) [BS-515](https://linear.app/affine-design/issue/BS-515/添加白板选区的-continue-with-ai-支持) [AFF-1256](https://linear.app/affine-design/issue/AFF-1256/continue-with-ai-当只有不支持的-block-时,需要特殊处理) [AF-919](https://linear.app/affine-design/issue/AF-919/内容为空时,不需要显示-start-with-this-doc)
* add the selected element to the candidate card list
* select the candidate card to hide the candidate card list and add quote into input
* close quote to show the candidate card list
* show only the three newest candidates
* **`Start with this doc`**: Currently only determines if a document has content after the first load
https://github.com/toeverything/AFFiNE/assets/27926/d19c8ab6-37eb-495f-9c38-e579b2f57000
https://github.com/toeverything/AFFiNE/assets/27926/3ba654c3-6af4-4662-a641-17cfe2ed5ff7
|
2024-06-20 04:05:11 +00:00 |
|
EYHN
|
e8fdce514f
|
chore: bump blocksuite (#7280)
## Features
- https://github.com/toeverything/BlockSuite/pull/7377 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7374 @Flrande
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7381 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7379 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7373 @doouding
## Refactor
## Misc
|
2024-06-20 03:52:20 +00:00 |
|
pengx17
|
a085e507b4
|
chore: add event tracking for billing (#7277)
fix AFF-1226
|
2024-06-20 03:33:07 +00:00 |
|
regischen
|
ddf72733e1
|
feat: add ai-is-land (#7259)
|
2024-06-20 02:52:14 +00:00 |
|
L-Sun
|
0d711667a8
|
chore: adjust order of slash menu items (#7278)
Before -> After
<p float="left">
<img src="https://github.com/toeverything/AFFiNE/assets/20479050/b3937947-7c7c-4463-ae05-87b8f2694989" width="45%" />
<img src="https://github.com/toeverything/AFFiNE/assets/20479050/e886c20d-e436-4190-aebf-a6b7d711b61e" width="45%" />
</p>
|
2024-06-20 02:33:18 +00:00 |
|
EYHN
|
7c0a686cd9
|
refactor(i18n): new hook api (#7273)
# NEW HOOK API
`useI18n`: same as `useAFFiNEI18N`, with additional APIs
```ts
import { useI18n } from '@affine/i18n'
const i18n = useI18n()
i18n['hello world']() -> 你好世界
```
# NEW GLOBAL i18n Instance
`I18n`: use i18n capabilities outside of React
```ts
import { I18n } from '@affine/i18n'
I18n['hello world']() -> 你好世界
```
# NEW TYPES
`I18nKeys` -> all i18n keys
`I18nString` -> An i18n message (key&options)
transfer and store i18n text outside of React
```ts
const msg: I18nString = {
key: 'helloworld',
options: {
arg1: '123'
}
}
I18n.t(msg) -> 你好世界123
```
before:
```ts
registerCommand('open-page', {
name: t('command.open-page')
// ^- translation happens here,
})
```
after:
```ts
registerCommand('open-page', {
name: { key: 'command.open-page' }
// ^- store I18nString here, translate when the command render to UI
})
```
|
2024-06-20 02:19:41 +00:00 |
|
pengx17
|
5b0f56399c
|
fix(electron): remove duplicate change log open (#7276)
|
2024-06-19 13:43:46 +00:00 |
|
forehalo
|
d34c5c42ef
|
feat(server): allow customize server external url (#7270)
closes https://github.com/toeverything/AFFiNE/issues/7252
|
2024-06-19 12:03:36 +00:00 |
|
akumatus
|
9746ddb5e0
|
fix: remove useless padding css style (#7274)
Fix issue [BS-581](https://linear.app/affine-design/issue/BS-581).Remove the extra 100px padding of embed doc.

|
2024-06-19 11:29:28 +00:00 |
|
CatsJuice
|
f9903fd748
|
fix(core): can't enter presentation again in share page (#7262)
Fix [TOV-916](https://linear.app/affine-design/issue/TOV-916/分享页面的-present-按钮在第二次进入演示模式时未生效)
|
2024-06-19 09:21:23 +00:00 |
|
CatsJuice
|
98e35384a6
|
feat(component): helper function observeResize to observe size change via global ResizeObserver (#7241)
```ts
import { observeResize } from "@affine/component";
useEffect(() => {
const dispose = observeResize(element entry => {
console.log(entry.contentRect);
});
return () => dispose();
}, []);
```
|
2024-06-19 09:04:56 +00:00 |
|
regischen
|
be36e033f2
|
chore: bump blocksuite (#7272)
## Features
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7375 @regischen
- https://github.com/toeverything/BlockSuite/pull/7371 @donteatfriedrice
## Refactor
## Misc
|
2024-06-19 08:10:18 +00:00 |
|
L-Sun
|
84ad23625f
|
chore: remove tree shaking (#7271)
remove `sideEffects` field from `frontend/core/packages.json`
|
2024-06-19 07:57:05 +00:00 |
|
EYHN
|
bcc66422fd
|
refactor(i18n): i18n utils tools (#7251)
|
2024-06-19 07:38:20 +00:00 |
|
doouding
|
b379aa0a91
|
feat: bump bs (#7266)
## Features
- https://github.com/toeverything/BlockSuite/pull/7366 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7360 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7350 @Flrande
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7372 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7365 @CatsJuice
- https://github.com/toeverything/BlockSuite/pull/7369 @doouding
- https://github.com/toeverything/BlockSuite/pull/7367 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7364 @CatsJuice
- https://github.com/toeverything/BlockSuite/pull/7356 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7335 @doouding
- https://github.com/toeverything/BlockSuite/pull/7362 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7361 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7359 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7358 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7344 @fundon
## Refactor
## Misc
- https://github.com/toeverything/BlockSuite/pull/7370 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7368 @Saul-Mirone
|
2024-06-19 06:56:25 +00:00 |
|
doouding
|
314fa064ab
|
fix: peek view on synced doc (#7265)
|
2024-06-19 06:41:08 +00:00 |
|
akumatus
|
bbf796faaf
|
fix: icon of page reference node (#7255)
- Use `EdgelessIcon` if linked document mode is edgeless
- Update reference icon when document mode changes
https://github.com/toeverything/AFFiNE/assets/12724894/40db8930-dd7f-4154-ad0a-b1eea97d23db
|
2024-06-19 06:28:50 +00:00 |
|
L-Sun
|
fa1e7c6be0
|
fix: cycle import (#7264)
Sometimes the GitHub Action (Lint) will fail.

|
2024-06-19 05:19:17 +00:00 |
|
L-Sun
|
d84eea85b6
|
fix: ai slide render initialize error (#7261)
Need add `collection.meta.initialize()` in AI slide render.
Similar codes:
b3ec3a2b3e/packages/frontend/core/src/blocksuite/presets/ai/utils/markdown-utils.ts (L177-L195)
|
2024-06-19 04:26:57 +00:00 |
|
L-Sun
|
501fa0bb91
|
fix(core): ai lit element import (#7257)
Fix ai lit component import error.
f57a665819/packages/frontend/core/package.json (L13-L16)
|
2024-06-19 04:26:49 +00:00 |
|
regischen
|
dddfcdbabb
|
fix: chat more popper position (#7260)
|
2024-06-19 04:11:08 +00:00 |
|
donteatfriedrice
|
ce9a3c82ee
|
feat: remove new image actions feature flag (#7256)
|
2024-06-19 03:13:19 +00:00 |
|
JimmFly
|
6c3e13316e
|
feat(i18n): update resources and add Swedish language (#7247)
close AFF-1279
|
2024-06-19 02:47:05 +00:00 |
|
akumatus
|
4edf0b1d85
|
fix: add patch doc mode service (#7249)
|
2024-06-18 10:16:44 +00:00 |
|
L-Sun
|
09201d42a0
|
chore: bump up @blocksuite/icons version (#7233)
|
2024-06-18 17:07:11 +08:00 |
|
EYHN
|
390852f8be
|
chore(server): lint ignore error gen file (#7245)
|
2024-06-18 08:48:19 +00:00 |
|
EYHN
|
98258b0211
|
feat(core): show sync state at doc info (#7244)
|
2024-06-18 08:35:22 +00:00 |
|
JimmFly
|
ea718d30e9
|
refactor(core): replace the Modal of the FindInPage component with Dialog (#7149)
In order to customize the opening and closing styles, the Modal were replaced.
https://github.com/toeverything/AFFiNE/assets/102217452/ece774ea-634c-4723-bace-7926f003497c
|
2024-06-18 07:46:22 +00:00 |
|
L-Sun
|
b3ec3a2b3e
|
refactor(core): migrate ai preset to AFFiNE (#7219)
## TL;DR
Move `@blocksuite/presets/ai` to AFFiNE. After this PR is merged, you can use AI features from `@affine/core/blocksuite/presets/ai`.
|
2024-06-18 07:31:06 +00:00 |
|
Brooooooklyn
|
0fe672efa5
|
feat(admin): init project (#7197)
|
2024-06-18 06:01:13 +00:00 |
|
forehalo
|
d216606193
|
fix(server): wrong doc manager config (#7239)
|
2024-06-18 05:17:18 +00:00 |
|
L-Sun
|
9b89c9ed38
|
chore: bump up blocksuite version (#7243)
## Features
- https://github.com/toeverything/BlockSuite/pull/7330 @CatsJuice
- https://github.com/toeverything/BlockSuite/pull/7348 @zzj3720
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7338 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7353 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7351 @lawvs
- https://github.com/toeverything/BlockSuite/pull/7357 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7355 @akumatus
## Misc
- https://github.com/toeverything/BlockSuite/pull/7352 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7349 @pengx17
|
2024-06-18 04:29:55 +00:00 |
|
pengx17
|
006c260e5f
|
feat: add isNewDoc flag to quick search api (#7232)
|
2024-06-18 04:07:55 +00:00 |
|
Yuji Oshiro
|
e3bd8562b8
|
feat(electron): add documentation button in help menu bar (#7199)
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
|
2024-06-17 22:13:06 +08:00 |
|
donteatfriedrice
|
e14e110f03
|
feat: bump blocksuite (#7237)
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7346 @donteatfriedrice
## Refactor
- https://github.com/toeverything/BlockSuite/pull/7322 @L-Sun
## Misc
- https://github.com/toeverything/BlockSuite/pull/7347 @L-Sun
|
2024-06-17 12:27:04 +00:00 |
|
EYHN
|
e2dbac6bf8
|
chore: bump blocksuite (#7235)
## Features
- https://github.com/toeverything/BlockSuite/pull/7340 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7334 @EYHN
- https://github.com/toeverything/BlockSuite/pull/7339 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7328 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7324 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7297 @pengx17
- https://github.com/toeverything/BlockSuite/pull/7318 @CatsJuice
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7343 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7345 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7341 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7342 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7329 @CatsJuice
- https://github.com/toeverything/BlockSuite/pull/7337 @fundon
- https://github.com/toeverything/BlockSuite/pull/7333 @fundon
- https://github.com/toeverything/BlockSuite/pull/7326 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7325 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7323 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7312 @golok727
- https://github.com/toeverything/BlockSuite/pull/7317 @CatsJuice
- https://github.com/toeverything/BlockSuite/pull/7319 @akumatus
## Refactor
- https://github.com/toeverything/BlockSuite/pull/7327 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7320 @Flrande
## Misc
- https://github.com/toeverything/BlockSuite/pull/7303 @fundon
- https://github.com/toeverything/BlockSuite/pull/7321 @Saul-Mirone
|
2024-06-17 10:55:40 +00:00 |
|
liuyi
|
54fc1197ad
|
feat(server): introduce user friendly server errors (#7111)
|
2024-06-17 11:30:58 +08:00 |
|
pengx17
|
5307a55f8a
|
feat: add importWorkspaceSnapshot for testing (#7224)
|
2024-06-14 09:33:13 +00:00 |
|
pengx17
|
7062790488
|
fix: edgeless object creation events (#7206)
related to AFF-1154
upstream: https://github.com/toeverything/blocksuite/pull/7297
|
2024-06-14 08:46:09 +00:00 |
|
donteatfriedrice
|
22ec26440b
|
feat: add block action bar control for event tracker (#7210)
|
2024-06-14 03:09:07 +00:00 |
|
fundon
|
729631ea72
|
refactor(core): image preview toolbar UI (#7207)
Closes: [AFF-1257](https://linear.app/affine-design/issue/AFF-1257/image-preview-toolbar)
* refactor logic
* update UI style
<img width="617" alt="Screenshot 2024-06-13 at 07 21 52" src="https://github.com/toeverything/AFFiNE/assets/27926/1edc6476-0103-4214-8ef2-41b37d95287b">
<img width="760" alt="Screenshot 2024-06-13 at 07 21 33" src="https://github.com/toeverything/AFFiNE/assets/27926/83d27ab2-143f-4bdd-a932-396289c598ec">
|
2024-06-14 02:02:46 +00:00 |
|
pengx17
|
33762423bb
|
fix: page reference should wrap (#7218)
|
2024-06-13 13:15:47 +00:00 |
|
pengx17
|
3189f42e76
|
chore: bump blocksuite (#7217)
## Features
- https://github.com/toeverything/BlockSuite/pull/7281 @CatsJuice
- https://github.com/toeverything/BlockSuite/pull/7280 @CatsJuice
- https://github.com/toeverything/BlockSuite/pull/7282 @EYHN
- https://github.com/toeverything/BlockSuite/pull/7306 @doouding
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7301 @fundon
- https://github.com/toeverything/BlockSuite/pull/7311 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7310 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7302 @fundon
- https://github.com/toeverything/BlockSuite/pull/7309 @doouding
- https://github.com/toeverything/BlockSuite/pull/7308 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7294 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7299 @fundon
## Refactor
- https://github.com/toeverything/BlockSuite/pull/7296 @L-Sun
## Misc
- https://github.com/toeverything/BlockSuite/pull/7300 @fundon
- https://github.com/toeverything/BlockSuite/pull/7307 @Saul-Mirone
|
2024-06-13 13:15:43 +00:00 |
|
Brooooooklyn
|
19dd724f50
|
fix(electron): downgrade electron version (#7215)

|
2024-06-13 09:19:37 +00:00 |
|
akumatus
|
24cb0d3757
|
refactor: add docsService for blocksuite to change and observe doc mode (#7200)
This PR provide `DocModeService` to manage document mode, which is used by blocksuite.
### What Changed?
- Add document mode apis from `DocService` and `DocsService`
- Remove useless `pageService.getEditorMode` and `pageService.slots.editorModeSwitch` api
[Related PR in blocksuite](https://github.com/toeverything/blocksuite/pull/7288)
[Bump Blocksuite](https://github.com/toeverything/AFFiNE/pull/7209)
> ## Features
> * [feat(presets): support different tracker control for actions blocksuite#7285](https://github.com/toeverything/blocksuite/pull/7285) @donteatfriedrice
> * [feat(edgeless): add default color and editing border for edgeless text blocksuite#7278](https://github.com/toeverything/blocksuite/pull/7278) @Flrande
> * [feat(blocks): center peek entries blocksuite#7275](https://github.com/toeverything/blocksuite/pull/7275) @pengx17
>
> ## Bugfix
> * [fix(blocks): affine-embed-synced-doc-block peek on dblclick blocksuite#7284](https://github.com/toeverything/blocksuite/pull/7284) @pengx17
> * [fix(edgeless): edgeless text rect should automatically update when changing font blocksuite#7292](https://github.com/toeverything/blocksuite/pull/7292) @Flrande
> * [fix(edgeless): align panel not work blocksuite#7293](https://github.com/toeverything/blocksuite/pull/7293) @Flrande
> * [fix(blocks): filterable list unexpected hover style blocksuite#7291](https://github.com/toeverything/blocksuite/pull/7291) @golok727
> * [fix(blocks): slash menu unexpected hover style blocksuite#7290](https://github.com/toeverything/blocksuite/pull/7290) @golok727
> * [fix(blocks): bookmark block error on undo or delete while loading blocksuite#7276](https://github.com/toeverything/blocksuite/pull/7276) @golok727
> * [fix(presets): chat input max-height blocksuite#7283](https://github.com/toeverything/blocksuite/pull/7283) @fundon
> * [fix(presets): get image blob from selection blocksuite#7286](https://github.com/toeverything/blocksuite/pull/7286) @donteatfriedrice
> * [fix(blocks): connectors resize and rotate blocksuite#7256](https://github.com/toeverything/blocksuite/pull/7256) @fundon
>
> ## Refactor
> * [refactor: add DocModeService for doc mode get, set, toogle and observe change blocksuite#7288](https://github.com/toeverything/blocksuite/pull/7288) @akumatus
> * [refactor(edgeless): rewrite auto-connect component as a widget blocksuite#7287](https://github.com/toeverything/blocksuite/pull/7287) @doouding
>
> ## Misc
> * [test: fix flaky blocksuite#7295](https://github.com/toeverything/blocksuite/pull/7295) @L-Sun
> * [style(page): adjust heading font-weight and letter-spacing blocksuite#7277](https://github.com/toeverything/blocksuite/pull/7277) @CatsJuice
> * [chore: apply member ordering rule blocksuite#7279](https://github.com/toeverything/blocksuite/pull/7279) @Saul-Mirone
---
|
2024-06-13 16:53:42 +08:00 |
|
doouding
|
a3ca41fd6a
|
fix: surface-ref peek view (#7208)
### Change
Add ref to `SurfaceRefPeekView`. It provide `fitViewportToTarget` method to fit the `surface-ref` content.
Related to [AFF-1200](https://linear.app/affine-design/issue/AFF-1200/center-peek-frame-rendering-issue).
|
2024-06-13 07:05:14 +00:00 |
|
renovate
|
3bf80d86d8
|
chore: bump up @blocksuite/icons version to v2.1.55 (#7202)
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@blocksuite/icons](https://togithub.com/toeverything/icons) | [`2.1.54` -> `2.1.55`](https://renovatebot.com/diffs/npm/@blocksuite%2ficons/2.1.54/2.1.55) | [](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.1.55`](baef47745e...6013339ba9)
[Compare Source](baef47745e...6013339ba9)
</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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
|
2024-06-13 03:39:03 +00:00 |
|
doouding
|
ec8b2cc32a
|
feat: bump bs (#7198)
## Features
- https://github.com/toeverything/BlockSuite/pull/7264 @CatsJuice
- https://github.com/toeverything/BlockSuite/pull/7182 @CatsJuice
- https://github.com/toeverything/BlockSuite/pull/7181 @CatsJuice
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7273 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7272 @doouding
- https://github.com/toeverything/BlockSuite/pull/7263 @doouding
- https://github.com/toeverything/BlockSuite/pull/7252 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7261 @fundon
## Refactor
- https://github.com/toeverything/BlockSuite/pull/7271 @golok727
## Misc
- https://github.com/toeverything/BlockSuite/pull/7274 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7266 @Saul-Mirone
|
2024-06-12 05:50:58 +00:00 |
|