mirror of https://github.com/langgenius/dify.git
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 |
||
|---|---|---|
| .. | ||
| workflow | ||
| index.ts | ||