[PR 22] Implement Message Actions UI (Edit, Delete, Reply, Copy) (E3.S*) #68

Closed
opened 2025-06-25 00:12:11 +00:00 by rwachters · 0 comments
rwachters commented 2025-06-25 00:12:11 +00:00 (Migrated from github.com)

Summary

Add UI elements to message items for edit, delete, reply, and copy actions.

Details

  • Add UI elements (icons on hover, context menu) to message items to trigger actions.
  • Implement "Reply" action triggering chatState.startReplyTo.
  • Implement "Delete" action triggering chatState.deleteMessage (with confirmation dialog).
  • Implement "Edit" action triggering chatState.startEditing.
  • Implement inline editing UI when chatState.editingMessage is set (input field, Save/Cancel buttons triggering chatState.saveEditing/cancelEditing).
  • Integrate copy to clipboard logic for message content.

Dependencies

  • PR 20 (Chat Area UI)
  • PR 15 (ChatState ViewModel actions)
  • Clipboard logic PR

Tests

  • Manual and automated UI tests for message actions and context menus.

Assignee

Maya

Labels

frontend, compose, ui, viewmodel, good first issue

## Summary Add UI elements to message items for edit, delete, reply, and copy actions. ## Details - Add UI elements (icons on hover, context menu) to message items to trigger actions. - Implement "Reply" action triggering `chatState.startReplyTo`. - Implement "Delete" action triggering `chatState.deleteMessage` (with confirmation dialog). - Implement "Edit" action triggering `chatState.startEditing`. - Implement inline editing UI when `chatState.editingMessage` is set (input field, Save/Cancel buttons triggering `chatState.saveEditing`/`cancelEditing`). - Integrate copy to clipboard logic for message content. ## Dependencies - PR 20 (Chat Area UI) - PR 15 (ChatState ViewModel actions) - Clipboard logic PR ## Tests - Manual and automated UI tests for message actions and context menus. ## Assignee Maya ## Labels frontend, compose, ui, viewmodel, good first issue
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Torvian.eu/chatbot#68
No description provided.