P3: rename accounts, one set of period defaults, tax categories warn or refuse (defects 15, 16, 8)
check / check (push) Canceled after 0s
check / check (push) Canceled after 0s
books.rename_account; account names trimmed, bounded, refused when a sibling's or TIN-shaped; books.show refuses what its target ignores. A report asked for without dates covers this fiscal year so far, everywhere (one rule for tools, descriptions and the viewer; the IIF and CPA package keep their own dates). policy.require_tax_category warns or refuses; a Form 4797 gain is shown apart on every return. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01T3gXMVt7XJPi6ens1or9Dj
This commit is contained in:
69 files changed
+8063
-570
No files matched your search
@@ -1,6 +1,7 @@
|
||||
//! Screenshots of every screen, for eyes. Set `SHOT_BOOKS` to a books dir
|
||||
//! (containing `books-data/`, its settings in its journal) and `SHOT_DIR` to
|
||||
//! where the PNGs go; without them this test does nothing.
|
||||
//! where the PNGs go; without them this test does nothing. `SHOT_REGISTER=all`
|
||||
//! shows an account's register on every date instead of its default.
|
||||
|
||||
use egui_kittest::Harness;
|
||||
use ledger_gui::nav::{ReportKind, Route};
|
||||
@@ -153,6 +154,12 @@ fn screenshots() {
|
||||
if std::env::var("SHOT_LIVE").is_ok() {
|
||||
harness.state_mut().show_live_label();
|
||||
}
|
||||
// SHOT_REGISTER=all: a register showing every date (after "Show
|
||||
// all dates"); otherwise it opens on the default period.
|
||||
if std::env::var("SHOT_REGISTER").is_ok_and(|r| r == "all") {
|
||||
harness.state_mut().state_mut().accounts.range =
|
||||
ledger_gui::pages::accounts::RegisterRange::All;
|
||||
}
|
||||
harness.run_steps(4);
|
||||
let ctx = harness.ctx.clone();
|
||||
harness.state_mut().settle(&ctx);
|
||||
|
||||
Reference in new issue
Block a user