library: choose several games and copy them into a new database (task 42)

This commit is contained in:
vrubelroman 2026-11-27 14:04:39 +03:00
parent 57a63fa455
commit 8522f30c28
13 changed files with 2050 additions and 59 deletions

View file

@ -51,6 +51,8 @@ pub struct Caps {
/// The reference tab (what was played here in the databases) and the search of a
/// position in a database (not in the light web version).
pub reference: bool,
/// Several chosen games copied into a new database in the background (task 42).
pub batch_copy: bool,
}
/// The features of this platform.
@ -66,6 +68,7 @@ pub const CAPS: Caps = Caps {
training: true,
download_pgn: false,
reference: true,
batch_copy: true,
};
/// The features of this platform: the light web version (`docs/decisions.md`, «Веб-версия»).
@ -81,6 +84,7 @@ pub const CAPS: Caps = Caps {
training: false,
download_pgn: true,
reference: false,
batch_copy: false,
};
/// The program's settings (`~/.config/chesspenguin`; in a browser, its storage).