feat(rust): a Rust server's next wipe (module-rust phase 16, M18) #52
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/rust-phase-16-next-wipe"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
M18, built to
android/PLAN.mdand docsmodules/rust/PLAN.md§32 (D130, D131).RustServerDto.nextWipe: { at, source }?is null both when the operator set no schedule and against a module older than phase 16. Either way nothing is drawn.nextWipeWhen()inRustFormat.ktis pure, with tests for zones and for an absent instant. A DTO test covers present, null and absent.Checks:
testDebugUnitTest lintDebug assembleDebuggreen locally.Walked on emulator
s22_ultraagainst the phase-16 module: the list and the header match the API,/wipeand the web. Against the phase-15 module, which sends no field, neither shows a line and nothing breaks.🤖 Generated with Claude Code
https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
RustServerDto gains nextWipe { at, source }, null both when the operator set no schedule and against a module older than phase 16. The server list row and the server screen's header read "Next wipe Thu 1 Oct, 19:00 · in 6 days" in the phone's own zone, and "(rescheduled)" for a one-off date the operator set. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY