pengx17
fad49bb070
feat(editor): audio block ( #10947 )
...
AudioMedia entity for loading & controlling a single audio media
AudioMediaManagerService: Global audio state synchronization across tabs
AudioAttachmentService + AudioAttachmentBlock for manipulating AttachmentBlock in affine - e.g., filling transcription (using mock endpoint for now)
Added AudioBlock + AudioPlayer for rendering audio block in affine (new transcription block whose renderer is provided in affine)
fix AF-2292
fix AF-2337
2025-03-20 12:46:15 +00:00
EYHN
0015bfbaf2
refactor(core): adjust sentry config ( #10631 )
2025-03-05 11:18:06 +00:00
pengx17
9f3a304885
feat(electron): more desktop app related shortcuts ( #9724 )
...
fix AF-2126, AF-2124
- Add CMD+M for minimize the app.
- Enhance how CMD+W works. Close the following in order, stop if any one is closed:
- peek view
- split view
- tab
- otherwise, hide the app
2025-01-16 06:50:08 +00:00
forehalo
c0ed74dfed
chore: standardize tsconfig ( #9568 )
2025-01-08 04:07:56 +00:00
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
pengx17
47243247b9
fix(electron): respect locale for spellchecker ( #8844 )
...
may fix #8837 .
fix AF-1712
MacOS automatically do spellcheck based on given text. This only works for Win/Linux.

2024-11-20 06:44:36 +00:00
pengx17
35f3fc7b5d
feat(electron): spellcheck setting ( #8730 )
...
fix AF-1647
2024-11-11 13:03:33 +00:00
pengx17
029654f45e
fix(electron): share page in electron issues ( #8703 )
...
fix AF-1592
fix AF-1612
2024-11-05 11:46:03 +00:00
EYHN
cc5a6e6d40
refactor: new project struct ( #8199 )
...
packages/frontend/web -> packages/frontend/apps/web
packages/frontend/mobile -> packages/frontend/apps/mobile
packages/frontend/electron -> packages/frontend/apps/electron
2024-09-12 07:42:57 +00:00