mirror of
https://github.com/langgenius/dify.git
synced 2026-03-10 03:00:20 +08:00
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 |
||
|---|---|---|
| .. | ||
| (commonLayout) | ||
| (shareLayout) | ||
| account | ||
| activate | ||
| components | ||
| dev-preview | ||
| education-apply | ||
| forgot-password | ||
| init | ||
| install | ||
| oauth-callback | ||
| repos/[owner]/[repo]/releases | ||
| reset-password | ||
| signin | ||
| signup | ||
| styles | ||
| layout.tsx | ||
| page.module.css | ||
| page.tsx | ||
| routePrefixHandle.tsx | ||