Saul-Mirone
e13f9d3885
feat: enable new dnd flag ( #9194 )
2024-12-18 05:53:08 +00:00
liuyi
b0e64fe516
chore: remove legacy tests ( #9183 )
2024-12-17 17:06:28 +08:00
EYHN
b36b398957
fix(infra): memory leak ( #9013 )
2024-12-16 16:55:49 +00:00
fundon
0945381d7b
chore: improve links test cases ( #9148 )
2024-12-16 04:03:06 +00:00
renovate
7c2f0064ae
chore: bump up @blocksuite/affine version to v0.19.0 ( #9140 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@blocksuite/affine](https://redirect.github.com/toeverything/blocksuite ) ([source](https://redirect.github.com/toeverything/blocksuite/tree/HEAD/packages/affine/all ), [changelog](https://redirect.github.com/toeverything/blocksuite/blob/master/packages/blocks/CHANGELOG.md )) | [`0.18.7` -> `0.19.0`](https://renovatebot.com/diffs/npm/@blocksuite%2faffine/0.18.7/0.19.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>toeverything/blocksuite (@​blocksuite/affine)</summary>
### [`v0.19.0`](https://redirect.github.com/toeverything/blocksuite/blob/HEAD/packages/affine/all/CHANGELOG.md#0190 )
[Compare Source](https://redirect.github.com/toeverything/blocksuite/compare/v0.18.7...v0.19.0 )
##### Minor Changes
- [`d7ec057`](https://redirect.github.com/toeverything/blocksuite/commit/d7ec057 ): Blocksuite minor release.
</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:eyJjcmVhdGVkSW5WZXIiOiIzOS41OC4xIiwidXBkYXRlZEluVmVyIjoiMzkuNTguMSIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
2024-12-13 06:58:42 +00:00
devin-ai-integration
e100d252b2
fix(core): add null checks for timeout refs and event listeners for React 19 compatibility ( #9116 )
...
## Description
- Add null checks before clearTimeout calls in colorful-fallback.tsx, edgeless.dialog.tsx, and local.dialog.tsx
- Fix event listener cleanup in unfolding.tsx
- Update tsconfig.jsx to use react-jsx transform
## Testing
- [x] Verified type safety improvements for React 19 compatibility
- [x] Ensured proper cleanup of event listeners and timeouts
- [x] Confirmed no unintended side effects from the changes
Link to Devin run: https://app.devin.ai/sessions/2e790f3ea0d84402837ec6c3c6f83e4c
2024-12-12 09:43:42 +00:00
pengx17
30d6793978
feat(core): add journal search results to bs doc search ( #9052 )
...
fix AF-1842
2024-12-12 02:25:00 +00:00
pengx17
dc7d128252
feat(core): allow bs snapshot dragging targets ( #9093 )
...
fix AF-1924, AF-1848, AF-1928, AF-1931
dnd between affine & editor
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/dff3ceb1-dc82-4222-9b55-13be80b28b2f.mp4 ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/dff3ceb1-dc82-4222-9b55-13be80b28b2f.mp4 ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/dff3ceb1-dc82-4222-9b55-13be80b28b2f.mp4 ">20241210-1217-49.8960381.mp4</video>
2024-12-11 08:12:01 +00:00
pengx17
9ddcdb8e50
test(core): test case for dragging from bs editor to sidebar ( #9057 )
...
fix AF-1904
2024-12-09 03:31:05 +00:00
fundon
0bafc35aad
feat: linked doc supports aliases ( #9009 )
...
Closes: [AF-1882](https://linear.app/affine-design/issue/AF-1882/实现-generatedocurlservice )
Upstreams: https://github.com/toeverything/blocksuite/pull/8806
2024-12-09 03:12:09 +00:00
L-Sun
f7d20880af
test(core): add tests for card view with edgeless mode link ( #8887 )
...
Close [BS-1881](https://linear.app/affine-design/issue/BS-1881/page内的edgeless-embed-缩放和坐标定位不太对 ), [BS-1907](https://linear.app/affine-design/issue/BS-1907/mode=edgeless的cardview转成embed,丢失了mode信息 ), related PR https://github.com/toeverything/blocksuite/pull/8785 , https://github.com/toeverything/blocksuite/pull/8790
This PR adds a test for the fit-to-content feature of the viewport for the embed doc block in edgeless mode.
2024-12-04 08:59:33 +00:00
pengx17
31bab2507e
feat: enhance markdown preview for backlinks ( #8956 )
...
fix AF-1770
fix AF-1771
---
fix: doc link middlewares
feat: markdown renderer
feat: allow multiple backlink for a single doc
feat: showing correct doc ref link
feat: trim long para & ident lists
feat: list indentition fix
feat: database/latext handling
feat: other block types handling
fix: lint
2024-12-02 10:29:44 +00:00
pengx17
83c587f8ad
feat(core): at menu journal entries ( #8877 ) ( #8935 )
...
fix AF-1790
fix AF-1774
added `DateSelectorDialog` for selecting a date through blocksuite;
added `AtMenuConfigService` for constructing the at menu config
fix AF-1776
fix PD-1942
resubmitted to replace #8877
2024-11-27 03:08:11 +00:00
Fangdun Tsai
f4abe39689
feat(core): pdf preview ( #8569 )
...
Co-authored-by: forehalo <forehalo@gmail.com >
2024-11-12 19:12:31 +08:00
fundon
a5bcfb0b14
fix: reference parameters and add test cases ( #8740 )
...
Upstreams: https://github.com/toeverything/blocksuite/pull/8689
Closes: AF-1650
2024-11-12 09:23:57 +00:00
JimmFly
6fe2e42490
feat(core): add page width property ( #8775 )
...
close AF-1655
2024-11-12 02:58:14 +00:00
donteatfriedrice
c323e5ae93
feat: use custom @ import dialog ( #8723 )
...
[BS-1747](https://linear.app/affine-design/issue/BS-1747/[ui]-通过导入的ui还是旧的,需要更新 )
2024-11-08 01:53:29 +00:00
EYHN
902635e60f
refactor(core): desktop project struct ( #8334 )
2024-11-05 11:00:33 +08:00
JimmFly
0469675d88
feat(core): add tooltips to the doc properties in the sidebar ( #8684 )
...
close AF-1597
2024-11-04 07:20:33 +00:00
JimmFly
c2ebf0b822
fix(core): handle uncaught ai flag ( #8663 )
2024-11-01 17:18:21 +08:00
darkskygit
7a201984e9
feat(server): add real-world prompt test for copilot apis ( #8629 )
...
fix AF-1432, PD-1176
2024-11-01 07:05:12 +00:00
JimmFly
10b1f233d9
feat(core): add edgelessTheme property and edgelessDefault theme setting ( #8614 )
...
close AF-1430 AF-1471
https://github.com/user-attachments/assets/d997ac6c-ce94-4fa4-ab34-29b36c7796ea
2024-11-01 03:58:02 +00:00
JimmFly
0f9d11fd5c
feat(core): add createdBy property to default property ( #8642 )
...
close AF-1563
2024-10-31 05:01:52 +00:00
LongYinan
c08b02caba
Revert "feat: copilot frontend e2e ( #7694 )"
...
This reverts commit d71852789f .
2024-10-31 12:08:57 +08:00
darkskygit
d71852789f
feat: copilot frontend e2e ( #7694 )
2024-10-29 08:56:37 +00:00
JimmFly
10963da706
refactor(core): improve editor gap appendParagraph function ( #8567 )
...
close AF-1257
Every time we clicked on an empty space at the bottom, a new Paragraph block was created.
Now we change it so that if there is already an empty Paragraph block at the bottom, we focus it instead of creating a new one.
2024-10-24 10:53:18 +00:00
pengx17
4b6c4ed546
feat(core): doc database properties ( #8520 )
...
fix AF-1454
1. move inline tags editor to components
2. add progress component
3. adjust doc properties styles for desktop
4. subscribe bs database links and display in doc info
5. move update/create dates to doc info
6. a trivial e2e test
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/eed266c1-fdac-4f0e-baa9-4aa00d14a2e8.mp4 ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/eed266c1-fdac-4f0e-baa9-4aa00d14a2e8.mp4 ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/eed266c1-fdac-4f0e-baa9-4aa00d14a2e8.mp4 ">10月23日.mp4</video>
2024-10-24 07:38:45 +00:00
EYHN
7cd4028176
feat(core): adjust doc property style ( #8561 )
2024-10-21 09:41:45 +00:00
EYHN
42b3e069f9
feat(core): use contain strict optimizing performance ( #8553 )
2024-10-21 06:42:08 +00:00
JimmFly
d1783b6f8c
feat(core): prevent the floating sidebar from showing immediately after the sidebar is closed ( #8531 )
...
close PD-1763
https://github.com/user-attachments/assets/a8346098-5f87-4297-bdb6-885f5486ce78
2024-10-21 05:26:02 +00:00
CatsJuice
8f92be926b
feat(core): new "is journal" page property ( #8525 )
...
close AF-1450, AF-1451, AF-14552
2024-10-18 10:03:08 +00:00
JimmFly
bfb8d582ed
feat(core): set doc mode and primary doc mode separately ( #8359 )
...
https://github.com/user-attachments/assets/98c282f2-4c53-475f-bf10-936a626c2630
2024-10-17 13:48:45 +00:00
EYHN
24e0c5797c
refactor(core): doc property ( #8465 )
...
doc property upgraded to use orm.
The visibility of the property are simplified to three types: `always show`, `always hide`, `hide when empty`, and the default is `always show`.

Added a sidebar view to manage properties

new property ui in workspace settings

Property lists can be collapsed

2024-10-15 10:17:12 +00:00
CatsJuice
db4d8ddf0b
feat(core): bump theme, update workspace card color variables, add active status ( #8467 )
...
close AF-1468
2024-10-11 01:03:38 +00:00
forehalo
9043e6607e
refactor(i18n): lazy load languages ( #8456 )
...
closes AF-1397
2024-10-10 09:03:06 +00:00
JimmFly
5213431d51
feat(core): show floating sidebar when hovering sidebar swtich ( #8393 )
...
web:
https://github.com/user-attachments/assets/3cafe094-7938-4241-8d57-cfd5ccaadf25
client:
https://github.com/user-attachments/assets/ca218a45-de92-4e0a-ad83-c0f47aee2962
2024-10-09 03:48:17 +00:00
L-Sun
afb21f734e
fix(core): fix position of toc in peekview ( #8441 )
...
Close [BS-1536](https://linear.app/affine-design/issue/BS-1536/peekview中的toc没有fixed )
2024-10-08 02:44:33 +00:00
pengx17
a3dc074574
feat: ctrl click to open embeded doc in new tab ( #8401 )
...
fix AF-1176
depends on https://github.com/toeverything/blocksuite/pull/8478
2024-10-08 02:06:59 +00:00
EYHN
096f50b83b
chore(i18n): cleanup i18n file ( #8318 )
2024-09-20 06:25:17 +00:00
fundon
6921c3073c
refactor(core): improve scroll anchoring logic ( #8269 )
...
Upstreams: https://github.com/toeverything/blocksuite/pull/8378
2024-09-19 02:58:11 +00:00
fundon
f397815ad1
chore: bump blocksuite ( #8230 )
...
## 0.17.11
### Patch Changes
- [3c61be5](3c61be5ded ): - Refactor drag handle widget
- Split embed blocks to `@blocksuite/affine-block-embed`
- Fix latex selected state in edgeless mode
- Fix unclear naming
- Fix prototype pollution
- Fix portal interaction in affine modal
- Fix paste linked block on edgeless
- Add scroll anchoring widget
- Add highlight selection
2024-09-18 12:11:14 +00:00
pengx17
2ac4a846f7
feat(core): copy event for image ( #8219 )
...
fix AF-1383
2024-09-13 10:28:28 +00:00
Saul-Mirone
56f4634c1f
chore: bump bs with new extension api ( #8042 )
2024-09-02 10:32:22 +00:00
darkskygit
d93d39e29d
feat: add editor record ( #7938 )
...
fix CLOUD-58, CLOUD-61, CLOUD-62, PD-1607, PD-1608
2024-09-02 09:37:39 +00:00
EYHN
b96ad57568
feat(core): import template ( #8000 )
2024-08-29 04:01:35 +00:00
JimmFly
03b2cda845
refactor(core): move fontFamily and fullWidthLayout to editor settings ( #7988 )
2024-08-28 02:35:24 +00:00
EYHN
3db95bafa2
feat(core): use new print pdf api ( #7932 )
2024-08-21 10:06:22 +00:00
EYHN
c822594882
feat(core): mode in query string ( #7904 )
2024-08-16 10:59:43 +00:00
L-Sun
620d20710a
chore: bump bs ( #7899 )
...
Bump blocksuite from https://github.com/toeverything/blocksuite/pull/7934
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7985 @L-Sun
## Misc
- https://github.com/toeverything/BlockSuite/pull/7971 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7965 @doouding
2024-08-16 08:46:16 +00:00
JimmFly
ba5ba71f35
chore: add test for all collection and all tag ( #7687 )
2024-08-13 08:19:54 +00:00