Add Align Up/Down list reordering and naming-scheme Presets

Align Up/Down now swaps the selected file with its neighbor in the shared
item list (Original Files and New Names stay positionally paired, matching
the original FileBot's "align" buttons for manually lining up mismatched
lists).

Naming-scheme Presets: up to 9 saved expressions, one per digit slot,
persisted as presets.json (src-tauri/src/presets.rs, same load/save
pattern as settings.rs/history.rs). A new Presets panel lists all 9 slots
with Save Current / Apply / Clear, and a global 1-9 keydown handler applies
a slot instantly from anywhere in the app (ignored while a text field is
focused or a modal is open).
This commit is contained in:
Renamr Scaffold
2026-08-29 09:39:52 +00:00
parent 94eb26f778
commit 21d78b8f3a
5 changed files with 376 additions and 13 deletions
+4
View File
@@ -1,6 +1,7 @@
mod files;
mod history;
mod metadata;
mod presets;
mod settings;
use renamr_core::format::ExpressionFormat;
@@ -87,6 +88,9 @@ pub fn run() {
settings::save_tmdb_token,
history::list_rename_history,
history::undo_rename_batch,
presets::list_presets,
presets::save_preset,
presets::delete_preset,
files::pick_files,
files::pick_folder,
files::expand_dropped_paths,