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
2df2003bd7
fix(core): handle composition event for Input component ( #8351 )
...
close AF-1065
2024-09-25 02:02:23 +00:00
CatsJuice
26fd9a4a1c
feat(component): add autoFocusConfirmButton for confirm-modal ( #7801 )
...
close #5813
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/LakojjjzZNf6ogjOVwKE/aff35b76-9f73-4d15-b2cb-c25b03e2e2c3.mp4 ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/LakojjjzZNf6ogjOVwKE/aff35b76-9f73-4d15-b2cb-c25b03e2e2c3.mp4 ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/LakojjjzZNf6ogjOVwKE/aff35b76-9f73-4d15-b2cb-c25b03e2e2c3.mp4 ">CleanShot 2024-08-09 at 11.25.46.mp4</video>
2024-08-09 05:50:22 +00:00
CatsJuice
12a2f929f8
fix(component): stop renaming modal propagation & input auto focus ( #7653 )
...
close AF-1125
2024-07-31 02:26:30 +00:00
EYHN
6bc5337307
refactor(core): adjust modal animation ( #7606 )
...
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/g3jz87HxbjOJpXV3FPT7/529d6c3f-4b23-43ac-84cc-171713d3dc72.mp4 ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/g3jz87HxbjOJpXV3FPT7/529d6c3f-4b23-43ac-84cc-171713d3dc72.mp4 ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/g3jz87HxbjOJpXV3FPT7/529d6c3f-4b23-43ac-84cc-171713d3dc72.mp4 ">CleanShot 2024-07-25 at 20.04.01.mp4</video>
When a modal is closed, sometimes its components are completely unmounted from the component tree, making it difficult to animate. This pr defining a custom element as the container of ReactDOM.portal, rewriting the `removeChild` function, and use `startViewTransition` when ReactDOM calls it to implement the animation.
# Save Input
Some inputs use blur event to save data, but when they are unmounted, blur event will not be triggered at all. This pr changes blur event to native addEventListener, which will be called after the DOM element is unmounted, so as to save data in time.
2024-07-26 08:39:34 +00:00
EYHN
54da85ec62
feat(core): init organize ( #7456 )
2024-07-26 04:35:32 +00:00
pengx17
2ca77d9170
refactor: find in page ( #7086 )
...
- refactor rxjs data flow
- use canvas text to mitigate searchable search box input text issue
2024-05-28 06:19:53 +00:00
Peng Xiao
9f74cb32ea
fix(component): input focus implementation ( #6086 )
2024-03-12 15:07:48 +00:00
JimmFly
38617abc17
fix(component): fix incorrect input component width and height styling ( #5292 )
...
after:
https://github.com/toeverything/AFFiNE/assets/102217452/5d8f51c5-c7a6-4ec8-b2b0-7f1391f045c7
2023-12-19 08:27:46 +00:00
JimmFly
f4a52c031f
feat(core): support sidebar page item dnd ( #5132 )
...
Added the ability to drag page items from the `all pages` view to the sidebar, including `favourites,` `collection` and `trash`. Page items in `favourites` and `collection` can also be dragged between each other. However, linked subpages cannot be dragged.
Additionally, an operation menu and ‘add’ button have been provided for the sidebar’s page items, enabling the addition of a subpage, renaming, deletion or removal from the sidebar.
On the code front, the `useSidebarDrag` hooks have been implemented for consolidating drag events. The functions `getDragItemId` and `getDropItemId` have been created, and they accept type and ID to obtain itemId.
https://github.com/toeverything/AFFiNE/assets/102217452/d06bac18-3c28-41c9-a7d4-72de955d7b11
2023-12-12 16:04:58 +00:00
Joooye_34
bed9310519
refactor(infra): directory structure ( #4615 )
2023-10-18 15:30:08 +00:00