feat(kanban): prove accessible local reorder
req: client_local/013\nreq: accessibility/002\nreq: accessibility/003\nreq: accessibility/004\nreq: accessibility/006\nreq: milestone/001
This commit is contained in:
@@ -1117,6 +1117,22 @@ where
|
||||
key: Some(key.to_string()),
|
||||
}
|
||||
}
|
||||
|
||||
pub fn move_before(self, key: K, before: K) -> Effect {
|
||||
Effect::Move {
|
||||
target: ResourceRef::unscoped(self.id),
|
||||
key: key.to_string(),
|
||||
before: Some(before.to_string()),
|
||||
}
|
||||
}
|
||||
|
||||
pub fn move_to_end(self, key: K) -> Effect {
|
||||
Effect::Move {
|
||||
target: ResourceRef::unscoped(self.id),
|
||||
key: key.to_string(),
|
||||
before: None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Eq, PartialEq, Hash)]
|
||||
|
||||
Reference in New Issue
Block a user