[PR 16] Implement Session/Group Actions ViewModel Logic (E2.S*, E6.S*) #62

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

Summary

Implement remaining action methods in SessionListState ViewModel for session and group management logic.

Details

  • Implement methods: createNewSession, renameSession, deleteSession, assignSessionToGroup, startCreatingNewGroup, cancelCreatingNewGroup, updateNewGroupNameInput, createNewGroup, startRenamingGroup, cancelRenamingGroup, updateEditingGroupNameInput, saveRenamedGroup, deleteGroup.
  • Ensure all calls use viewModelScope.launch and handle Either results, updating state.

Dependencies

  • PR 14 (UiState and base ViewModels)
  • PR 12, 13 (Session/Group clients)
  • PRs 3, 4, 9 (Backend session/group updates)

Tests

  • Unit tests for these ViewModel methods.

Assignee

Maya

Labels

frontend, viewmodel, state, arrow, good first issue

## Summary Implement remaining action methods in SessionListState ViewModel for session and group management logic. ## Details - Implement methods: `createNewSession`, `renameSession`, `deleteSession`, `assignSessionToGroup`, `startCreatingNewGroup`, `cancelCreatingNewGroup`, `updateNewGroupNameInput`, `createNewGroup`, `startRenamingGroup`, `cancelRenamingGroup`, `updateEditingGroupNameInput`, `saveRenamedGroup`, `deleteGroup`. - Ensure all calls use `viewModelScope.launch` and handle `Either` results, updating state. ## Dependencies - PR 14 (UiState and base ViewModels) - PR 12, 13 (Session/Group clients) - PRs 3, 4, 9 (Backend session/group updates) ## Tests - Unit tests for these ViewModel methods. ## Assignee Maya ## Labels frontend, viewmodel, state, arrow, 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#62
No description provided.