mirror of
https://github.com/Steffo99/todocolors.git
synced 2024-11-25 01:34:18 +00:00
Don't store board grouping on the server
This commit is contained in:
parent
2f3cc201c7
commit
919c8d6ebf
1 changed files with 0 additions and 16 deletions
|
@ -10,8 +10,6 @@ use uuid::Uuid;
|
||||||
pub enum BoardChange {
|
pub enum BoardChange {
|
||||||
/// Set the board's title.
|
/// Set the board's title.
|
||||||
Title(String),
|
Title(String),
|
||||||
/// Set the board's grouping.
|
|
||||||
Group(BoardGrouping),
|
|
||||||
/// Create, update, or delete the [`Task`] with the given [`Uuid`].
|
/// Create, update, or delete the [`Task`] with the given [`Uuid`].
|
||||||
Task(Uuid, Option<Task>),
|
Task(Uuid, Option<Task>),
|
||||||
}
|
}
|
||||||
|
@ -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.
|
/// A task that can be displayed on the board.
|
||||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||||
pub struct Task {
|
pub struct Task {
|
||||||
|
|
Loading…
Reference in a new issue