dify/web/app/components/workflow/comment
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
..
comment-icon.tsx only author can move the comment position 2025-10-10 15:58:01 +08:00
comment-input.tsx fix comment input hoverd by comment content 2025-10-11 10:41:28 +08:00
comment-preview.tsx comment author avatar is the first avatar 2025-10-09 17:12:37 +08:00
cursor.tsx improve comment cursor move 2025-10-04 14:36:10 +08:00
index.tsx fix CI 2025-09-22 14:20:11 +08:00
mention-input.tsx feat: improve mention input loading state and prevent button flash on submit 2025-10-11 14:20:37 +08:00
thread.tsx refactor: separate loading states for comment operations 2025-10-11 14:34:35 +08:00