From 919c8d6ebff198e457566b1ee33cdd2e6d214d74 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 1 Aug 2023 17:29:05 +0200 Subject: [PATCH] Don't store board grouping on the server --- todored/src/task.rs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/todored/src/task.rs b/todored/src/task.rs index bf8097d..d268f5e 100644 --- a/todored/src/task.rs +++ b/todored/src/task.rs @@ -10,8 +10,6 @@ use uuid::Uuid; pub enum BoardChange { /// Set the board's title. Title(String), - /// Set the board's grouping. - Group(BoardGrouping), /// Create, update, or delete the [`Task`] with the given [`Uuid`]. Task(Uuid, Option), } @@ -41,20 +39,6 @@ impl BoardChange { } } -/// A possible grouping of a board's tasks. -#[derive(Clone, Debug, Serialize, Deserialize)] -#[non_exhaustive] -pub enum BoardGrouping { - /// Group tasks by icon. - Icon, - /// Group tasks by importance. - Importance, - /// Group tasks by priority. - Priority, - /// Group tasks by status. - Status, -} - /// A task that can be displayed on the board. #[derive(Clone, Debug, Serialize, Deserialize)] pub struct Task {