JimmFly
2988dc284e
chore: adjust input style ( #9217 )
2024-12-20 04:18:34 +00:00
CatsJuice
729c37977e
chore(component): update button and input border color ( #9141 )
2024-12-16 04:16:49 +00:00
akumatus
b0ca3c6d58
fix(core): linked doc named input box has excessive desire to select all ( #8861 )
...
Fix issue [AF-1706](https://linear.app/affine-design/issue/AF-1706 ).
2024-11-20 06:25:36 +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
CatsJuice
4cbf4b74d6
feat(mobile): explorer create/rename operation ( #8628 )
...
close AF-1560
2024-11-04 05:28:05 +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
083123cdfb
fix(component): adjust renaming style ( #7654 )
2024-07-31 02:26:34 +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
L-Sun
09201d42a0
chore: bump up @blocksuite/icons version ( #7233 )
2024-06-18 17:07:11 +08:00
JimmFly
d43fcdcdd6
fix(core): unexpected autofill style in dark mode ( #7130 )
...
before:
<img width="395" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/028a6dcf-2b8f-465a-99e7-5ef147079b5c ">
after:
<img width="420" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/1ae1b75d-bb64-4b2c-9021-8fb7bb41460b ">
2024-06-04 02:21:28 +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
pengx17
1f97437320
fix(core): input overflow issue ( #6748 )
2024-04-30 13:18:20 +08:00
EYHN
f2adbdaba4
style: enable import-x/no-duplicates ( #6279 )
2024-03-25 03:55:33 +00:00
Peng Xiao
9f74cb32ea
fix(component): input focus implementation ( #6086 )
2024-03-12 15:07:48 +00:00
Peng Xiao
546d96c5c9
feat(core): workspace properties setting ( #5739 )
...
the property settings in workspace settings
2024-02-22 09:37:46 +00:00
Peng Xiao
7d951a975f
fix(core): replace most --affine with cssVar ( #5728 )
...
using a [babel plugin](https://gist.github.com/pengx17/49e24ae8a5a609bdaff122ee8c679d1c ) to transform all var(--affine-xxx) to cssVar
Some issues:
- tried ast-grep but it seems to be not easy to add imports conditionally
- current work does not work well with ts with types because babel will strip them out
2024-02-01 09:33:11 +00:00
Lewis Liu
94e24d1b82
style: import from './index' instead of '.' ( #5590 )
...
Co-authored-by: LongYinan <lynweklm@gmail.com >
2024-01-16 14:39:08 +08: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
Cats Juice
d911d21d1c
feat(component): add storybook ( #5079 )
2023-12-04 08:32:19 +00:00
JimmFly
97d189f1c8
fix(component): adjust autofill style ( #4773 )
2023-10-31 15:30:35 +00:00
Peng Xiao
817463c40e
feat(component): checkbox ( #4665 )
2023-10-20 03:46:44 +00:00
Joooye_34
bed9310519
refactor(infra): directory structure ( #4615 )
2023-10-18 15:30:08 +00:00