akumatus
c95e6ec518
feat(core): support copy as image in electron app ( #8939 )
...
Close issue [AF-1785](https://linear.app/affine-design/issue/AF-1785 ).
### What changed?
- Support copy as image in electron app:
- Select the whole mindmap if any of the mindmap nodes is selected.
- Hide unselected overlap elements before taking a snapshot.
- Fit the selected elements to the screen.
- Add CSS style to hide irrelevant dom nodes, like widgets, whiteboard background and so on.
- Due to the usage of Shadow Dom in our code, not all node styles can be controlled. Thus this PR use `-2px` padding for `affine:frame` snapshots.
- Using electron `capturePage` API to take a snapshot of selected elements.
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/c1b7b772-ddf8-4a85-b670-e96af7bd5cc0.mov ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/c1b7b772-ddf8-4a85-b670-e96af7bd5cc0.mov ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/c1b7b772-ddf8-4a85-b670-e96af7bd5cc0.mov ">录屏2024-11-27 16.11.03.mov</video>
2024-11-28 03:58:04 +00:00
Saul-Mirone
f780316f8b
feat: add feature flag for new dnd ( #8949 )
2024-11-28 03:42:02 +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
JimmFly
31c806ef7e
fix(core): handle the situation where the app cannot be opened after logging in ( #8915 )
...
Added buttons to open the web version of AFFiNE and download the latest client to handle the situation where the application cannot be opened after logging in.

2024-11-25 11:04:20 +00:00
Chen
b87c3840f3
chore(core): remove snapshot import export feature flag ( #8865 )
2024-11-20 07:06:20 +00:00
donteatfriedrice
6f5c61b8b6
feat(core): update import entry in all page and page list ( #8814 )
2024-11-14 06:41:01 +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
JimmFly
68573aa35e
chore: fix typos ( #8789 )
2024-11-12 08:36:19 +00:00
pengx17
fa82842cd7
fix(mobile): doc property styles ( #8760 )
...
fix AF-1582
fix AF-1671
- mobile doc info dialog styles
- added ConfigModal for editing property values in modal, including:
- workspace properties: text, number, tags
- db properties: text, number, label, link
2024-11-12 07:11:00 +00:00
JimmFly
2ee2cbfe36
feat(core): add i18n to descriptions of experimental feature ( #8788 )
...
close AF-1554 AF-1556 OPE-185
2024-11-12 06:53:46 +00:00
pengx17
cc9a23e424
fix(core): revise open app card text ( #8783 )
...
fix AF-1669
2024-11-12 03:16:10 +00:00
JimmFly
6fe2e42490
feat(core): add page width property ( #8775 )
...
close AF-1655
2024-11-12 02:58:14 +00:00
donteatfriedrice
713551fbf1
feat: add import snapshot option to import dialog ( #8778 )
2024-11-12 02:40:57 +00:00
pengx17
35f3fc7b5d
feat(electron): spellcheck setting ( #8730 )
...
fix AF-1647
2024-11-11 13:03:33 +00:00
CatsJuice
c4e65c754e
feat(mobile): jouranl daily activity and conflict operations ( #8779 )
...
close AF-1662
2024-11-11 09:31:31 +00:00
CatsJuice
add8c56c69
chore(core): adjust billing payment methods copywriting, close AF-1638 ( #8733 )
2024-11-07 07:37:05 +00:00
pengx17
727130ec97
fix(core): add open in app hint text ( #8728 )
...
fix AF-1625
2024-11-07 04:10:34 +00:00
JimmFly
59264b9996
feat(core): add tooltips to sidebar resize handle ( #8717 )
...
close PD-1865

2024-11-06 06:19:38 +00:00
forehalo
01228117e3
feat(core): update connector shortcut ( #8690 )
...
fix AF-1580
2024-11-05 10:29:36 +00:00
pengx17
e7732d0e18
fix(core): update prompt texts for opening new doc ( #8696 )
...
fix AF-1590
2024-11-05 07:31:00 +00:00
EYHN
902635e60f
refactor(core): desktop project struct ( #8334 )
2024-11-05 11:00:33 +08:00
pengx17
fd7d112235
fix(core): open in app card wording ( #8677 )
2024-11-04 07:58:07 +00: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
CatsJuice
cdaac5602c
feat(mobile): manage docs/tags/collections in explorer ( #8649 )
...
close AF-1564, AF-1542
2024-11-04 05:28:06 +00:00
CatsJuice
4cbf4b74d6
feat(mobile): explorer create/rename operation ( #8628 )
...
close AF-1560
2024-11-04 05:28:05 +00:00
Peng Xiao
ecbf5a95fa
fix: open in app card style ( #8667 )
2024-11-01 18:42:09 +08: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
pengx17
0f8b273134
feat(core): open app in electron app entry ( #8637 )
...
fix PD-208
fix PD-210
fix PD-209
fix AF-1495
2024-10-31 06:16:32 +00:00
donteatfriedrice
ba3aa7f153
feat: add snapshot import export config ( #8584 )
...
[BS-1470](https://linear.app/affine-design/issue/BS-1470/提供-snapshot-导入导出开关 )
2024-10-31 05:18:14 +00:00
donteatfriedrice
afcf595626
feat: add import modal ( #8599 )
...
[BS-1471](https://linear.app/affine-design/issue/BS-1471/新的-import-dialog-ui )
2024-10-31 04:09:43 +00:00
pengx17
835fdc33c0
feat(core): add open link in app to doc menu ( #8597 )
...
add "open in desktop app" menu item for editor
fix AF-1547
2024-10-29 13:55:13 +08: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
JimmFly
be3125b73d
feat(core): add tooltips to PropertyItem ( #8564 )
...
close AF-1512
2024-10-22 06:56:17 +00:00
CatsJuice
21d3b5084a
refactor(mobile): use separate explorer components for mobile ( #8503 )
...
close AF-1488
- remove dnd related logic
- separate styles
- remove empty status, always show a `New` button in each level of tree
2024-10-22 03:01:04 +00:00
CatsJuice
64f97806bb
fix(core): free cloud and ai onetime payment adaptation ( #8558 )
...
close AF-1515, AF-1516
2024-10-22 02:18:04 +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
29a31110cd
feat(core): onetime subscription ui ( #8462 )
2024-10-10 10:12:43 +00:00
pengx17
76ff56a716
feat: add open info button to doc center peek ( #8388 )
...
fix AF-1229

2024-09-25 09:11:25 +00:00
EYHN
096f50b83b
chore(i18n): cleanup i18n file ( #8318 )
2024-09-20 06:25:17 +00:00
fundon
c47d44f569
chore(core): cancel block not found alert ( #8310 )
2024-09-19 09:18: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
JimmFly
a1fe7c8ef6
chore: update i18n rescources ( #8301 )
2024-09-19 02:12:04 +00:00
JimmFly
ee3c05904d
refactor(core): adjust error detail and add error component to routes ( #8234 )
...
close PD-1430
https://github.com/user-attachments/assets/9447eaa5-c8b3-4108-96f1-d67ab45f249d

2024-09-19 02:12:03 +00:00
JimmFly
af5b9a3a23
fix(core): workspace sharing settings should not be displayed when there is no permission ( #8285 )
...
close AF-1222
2024-09-18 07:36:05 +00:00
fundon
46f8237a46
feat(core): add error notification for block not found ( #8254 )
...
Closes [BS-1416](https://linear.app/affine-design/issue/BS-1416/被删除的白板或者-page-里的-block,访问其-link-to-block,跳转之后没有-toast-提示 )
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/8ypiIKZXudF5a0tIgIzf/76e0e8d8-8685-41a2-abc8-79b330854a7e.mov ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/8ypiIKZXudF5a0tIgIzf/76e0e8d8-8685-41a2-abc8-79b330854a7e.mov ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/8ypiIKZXudF5a0tIgIzf/76e0e8d8-8685-41a2-abc8-79b330854a7e.mov ">Screen Recording 2024-09-13 at 21.09.20.mov</video>
2024-09-18 06:20:27 +00:00
CatsJuice
b7d05d2078
feat(core): new empty states for doc/collection/tag ( #8197 )
...
AF-1329, AF-1330
2024-09-11 10:48:52 +00:00
EYHN
498a69af53
feat(core): move enable ai to feature flag ( #8195 )
2024-09-11 07:42:07 +00:00
EYHN
8c191e6baa
feat(core): preview template & snapshot import ( #8193 )
2024-09-11 07:11:33 +00:00