Add custom workflow operation toggles, improve output step summary
This commit is contained in:
@@ -16,7 +16,7 @@ pub fn build_output_page(state: &AppState) -> adw::NavigationPage {
|
||||
.margin_end(24)
|
||||
.build();
|
||||
|
||||
// Operation summary
|
||||
// Operation summary - dynamically updated when this step is shown
|
||||
let summary_group = adw::PreferencesGroup::builder()
|
||||
.title("Operation Summary")
|
||||
.description("Review your processing settings before starting")
|
||||
@@ -36,9 +36,14 @@ pub fn build_output_page(state: &AppState) -> adw::NavigationPage {
|
||||
.title("Output Directory")
|
||||
.build();
|
||||
|
||||
let default_output = state.output_dir.borrow()
|
||||
.as_ref()
|
||||
.map(|p| p.display().to_string())
|
||||
.unwrap_or_else(|| "processed/ (subfolder next to originals)".to_string());
|
||||
|
||||
let output_row = adw::ActionRow::builder()
|
||||
.title("Output Location")
|
||||
.subtitle("processed/ (subfolder next to originals)")
|
||||
.subtitle(&default_output)
|
||||
.activatable(true)
|
||||
.action_name("win.choose-output")
|
||||
.build();
|
||||
|
||||
Reference in New Issue
Block a user