dify/web/app/components/workflow/store/workflow
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
..
debug lint: fix issue of no-unused-vars (#23375) 2025-08-05 11:12:30 +08:00
chat-variable-slice.ts chore: slice workflow store (#17254) 2025-04-01 16:02:52 +08:00
comment-slice.ts refactor: separate loading states for comment operations 2025-10-11 14:34:35 +08:00
env-variable-slice.ts chore: slice workflow store (#17254) 2025-04-01 16:02:52 +08:00
form-slice.ts chore: slice workflow store (#17254) 2025-04-01 16:02:52 +08:00
help-line-slice.ts chore: slice workflow store (#17254) 2025-04-01 16:02:52 +08:00
history-slice.ts chore: slice workflow store (#17254) 2025-04-01 16:02:52 +08:00
index.ts Merge remote-tracking branch 'origin/p254' into p284 2025-09-18 15:14:55 +08:00
layout-slice.ts feat: persist debug-and-preview panel width in localstorage (#21434) 2025-06-24 20:34:11 +08:00
node-slice.ts Chore/slice workflow (#18351) 2025-04-18 13:59:12 +08:00
panel-slice.ts refactor cursor and add hide comment 2025-09-23 22:13:02 +08:00
tool-slice.ts feat: the frontend part of mcp (#22131) 2025-07-10 14:14:02 +08:00
version-slice.ts chore: slice workflow store (#17254) 2025-04-01 16:02:52 +08:00
workflow-draft-slice.ts Merge remote-tracking branch 'origin/p254' into p284 2025-09-18 15:14:55 +08:00
workflow-slice.ts Merge remote-tracking branch 'myori/main' into p284 2025-10-04 15:28:29 +08:00