lyzno1
0632557d91
feat: use inline delete confirm for comment reply deletion(second time)
2025-10-11 18:37:41 +08:00
lyzno1
44be7d4c51
Revert "feat: use inline delete confirm for comment reply deletion"
...
This reverts commit a077a3f609 .
2025-10-11 18:24:15 +08:00
lyzno1
a077a3f609
feat: use inline delete confirm for comment reply deletion
2025-10-11 18:06:31 +08:00
lyzno1
79beb25530
feat: add tooltips and improve delete button styling in CommentThread
...
- Add compact tooltips to Delete, Resolve, Previous, and Next buttons
- Change delete button hover to red background and text
- Use existing i18n translations for tooltip content
2025-10-11 15:22:37 +08:00
lyzno1
b47b228164
fix: align dropdown menu styles with design specs in CommentThread
...
- Update background to blur variant with backdrop filter
- Change border radius from lg to xl (12px)
- Add rounded corners to menu items to prevent hover overflow
2025-10-11 15:10:57 +08:00
lyzno1
be91db14d9
fix: add hover effect to first message in CommentThread
...
Wrap the root comment message with the same hover container as replies to ensure consistent hover behavior across all messages.
2025-10-11 15:08:27 +08:00
lyzno1
120893209e
fix: align CommentPreview styles with design specs
...
- Update border radius to 24px with 3px bottom-left corner
- Change border width to 0.5px
- Add backdrop blur effect with bg-blur variant
- Replace custom shadow with standard shadow-lg
- Maintain proper Tailwind utility class usage
2025-10-11 15:02:06 +08:00
lyzno1
9d93fda471
refactor: separate loading states for comment operations
...
Separate loading states to distinguish between different operations:
- activeCommentDetailLoading: loading comment details, delete/resolve operations
- replySubmitting: sending new replies
- replyUpdating: editing existing replies
Changes:
- Add replySubmitting and replyUpdating states to comment store
- Restore full-screen loading overlay for comment detail loading
- Use inline spinner (RiLoader2Line) in send/save buttons for reply operations
- Update loading state usage in handleCommentReply and handleCommentReplyUpdate
- Pass separated loading states from workflow index to CommentThread component
Benefits:
- UI clarity: different loading states have appropriate visual feedback
- Better UX: users can still navigate while sending replies
- Clear separation of concerns: each operation has its own loading state
2025-10-11 14:34:35 +08:00
lyzno1
00dab7ca5f
feat: improve mention input loading state and prevent button flash on submit
2025-10-11 14:20:37 +08:00
lyzno1
a4add403fb
Fix MentionInput layout and improve comment hover styling
2025-10-11 14:20:37 +08:00
lyzno1
e9cdc96c74
feat: prevent duplicate @ insertion in mention input with visual feedback
2025-10-11 14:20:37 +08:00
lyzno1
6af1fea232
fix: update mention button icon color for better visibility in light mode
2025-10-11 14:20:37 +08:00
lyzno1
45d5d9e44f
fix: mention input cannot scroll
2025-10-11 14:20:36 +08:00
lyzno1
376a084aca
refactor: use PortalToFollowElem for dropdown with scroll handling
...
- Replace inline dropdown with PortalToFollowElem to prevent container overflow
- Use z-[100] for dropdown to ensure proper stacking
- Remove redundant outside click handler (handled by PortalToFollowElem)
- Add scroll event listener to auto-close dropdown when scrolling
- Dropdown now renders via portal outside message container
2025-10-11 14:20:36 +08:00
lyzno1
d1f42d47fe
fix: improve dropdown menu hover and positioning
2025-10-11 14:20:36 +08:00
lyzno1
64b8fd87ad
fix: improve dropdown menu positioning and z-index
2025-10-11 14:20:36 +08:00
lyzno1
364be48248
feat: add smooth scroll to comment thread
2025-10-11 14:20:36 +08:00
hjlarry
69cab0817f
fix comment input hoverd by comment content
2025-10-11 10:41:28 +08:00
hjlarry
832dabc8a4
only author can move the comment position
2025-10-10 15:58:01 +08:00
hjlarry
a1712df7c2
comment author avatar is the first avatar
2025-10-09 17:12:37 +08:00
hjlarry
a40e11cb3e
only can edit own replies
2025-10-09 17:02:39 +08:00
hjlarry
2310145937
comment reply auto scoll down to bottom
2025-10-09 15:50:23 +08:00
hjlarry
33d4c95470
can update comment position
2025-10-05 10:17:04 +08:00
hjlarry
659cbc05a9
fix mention-input in the bottom of the browser
2025-10-04 21:24:27 +08:00
hjlarry
6ce65de2cd
fix merged main issues
2025-10-04 21:11:59 +08:00
hjlarry
bf71300635
improve comment cursor move
2025-10-04 14:36:10 +08:00
hjlarry
37ecd4a0bc
fix @ input problem
2025-10-04 13:39:00 +08:00
hjlarry
c4e7cb75cd
cache the mentioned users
2025-10-04 11:22:02 +08:00
hjlarry
86a9a51952
add comment preview
2025-09-24 12:54:54 +08:00
hjlarry
4188c9a1dd
fix dark theme
2025-09-24 10:08:33 +08:00
hjlarry
d5dd73cacf
add i18n for comment
2025-09-23 16:19:04 +08:00
hjlarry
31cba28e8a
improve comment cursor icon
2025-09-23 15:28:22 +08:00
hjlarry
47aba1c9f9
fix style
2025-09-23 14:41:34 +08:00
hjlarry
0f3f8bc0d9
make mention input can display name different color
2025-09-23 11:38:38 +08:00
hjlarry
e0df12c212
fix mentioned names color
2025-09-23 11:24:17 +08:00
hjlarry
eb448d9bb8
fix avatar background color
2025-09-23 11:09:02 +08:00
hjlarry
0ba77f13db
fix avatar inset
2025-09-23 10:46:18 +08:00
hjlarry
068fa3d0e3
fix CI
2025-09-22 14:20:11 +08:00
hjlarry
81c6e52401
Merge remote-tracking branch 'origin/p254' into p284
2025-09-18 15:14:55 +08:00
hjlarry
6432d98469
improve the icon display on canvas
2025-09-18 11:49:43 +08:00
hjlarry
e8683bf957
fix comment cursor position
2025-09-18 09:17:45 +08:00
hjlarry
4653981b6b
not display more icon when in edit mode
2025-09-17 20:45:54 +08:00
hjlarry
e2547413d3
fix edit input mouse pos
2025-09-17 20:40:59 +08:00
hjlarry
ea17f41b5b
refactor reply code
2025-09-17 20:29:23 +08:00
hjlarry
29178d8adf
can edit and delete a reply
2025-09-17 17:44:09 +08:00
hjlarry
7e86ead574
upgrade style
2025-09-17 16:41:10 +08:00
hjlarry
72debcb228
refactor mention input
2025-09-17 16:28:47 +08:00
hjlarry
72737dabc7
fix at can't click bug
2025-09-17 14:50:05 +08:00
hjlarry
f6e5cb4381
improve comment detail
2025-09-17 14:34:36 +08:00
hjlarry
ffad3b5fb1
comment detail window fix height
2025-09-17 13:45:56 +08:00