Steps can now be ordered (via drag and drop)

This commit is contained in:
Greg Burri 2025-01-15 01:37:49 +01:00
parent e355800f98
commit b86cded45d
8 changed files with 316 additions and 112 deletions

View file

@ -435,7 +435,7 @@ pub async fn set_group_comment(
}
#[debug_handler]
pub async fn set_group_orders(
pub async fn set_groups_order(
State(connection): State<db::Connection>,
Extension(user): Extension<Option<model::User>>,
ExtractRon(ron): ExtractRon<common::ron_api::SetGroupOrders>,
@ -483,7 +483,7 @@ pub async fn set_step_action(
}
#[debug_handler]
pub async fn set_step_orders(
pub async fn set_steps_order(
State(connection): State<db::Connection>,
Extension(user): Extension<Option<model::User>>,
ExtractRon(ron): ExtractRon<common::ron_api::SetStepOrders>,