Remove TaskStatus enum and related extensions, refactor BoardService and BoardResponse models for improved API integration, and update BoardViewModel to handle card movements between columns. Adjust UI components to reflect these changes and enhance error handling for card operations.
This commit is contained in:
@@ -2,13 +2,9 @@ class BoardStrings {
|
||||
BoardStrings._();
|
||||
|
||||
static const String boardTitle = 'My Board';
|
||||
static const String toDo = 'To Do';
|
||||
static const String inProgress = 'In Progress';
|
||||
static const String done = 'Done';
|
||||
static const String emptyListText = 'No tasks found';
|
||||
static const String deadlineLabel = 'Deadline';
|
||||
static const String readyLabel = 'Ready';
|
||||
static const String incompleteLabel = 'Incomplete';
|
||||
static String taskMovedMessage(String oldStatus, String newStatus) =>
|
||||
'Task moved from $oldStatus to $newStatus';
|
||||
static const String moveFailed = 'Could not move card';
|
||||
static String cardMovedMessage(String fromColumn, String toColumn) =>
|
||||
'Card moved from $fromColumn to $toColumn';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user