Story: Infrastructure features
Table of Contents
This page documents a story in Sprint 05. It captures the goal, current status, acceptance criteria, and the tasks that compose it.
Goal
Two small but visible infrastructure features: a detached default for new MDI sub-windows, and a proper database-configuration mechanism across console and Qt.
Status
| Field | Value |
|---|---|
| State | DONE |
| Parent sprint | Sprint 05 |
| Now | Completed 2025-11-20. |
| Waiting on | None. |
| Next | None. |
| Last touched | 2025-11-20 |
Acceptance
- Detached vs attached default selectable as a setting; persists across sessions.
- Database configuration unified: CLI flags + env vars + config file, same mechanism in console and Qt UI.
Tasks
| Task | State | Start | End | Description |
|---|---|---|---|---|
| Add a detached mode | DONE | 2025-11-20 | 2025-11-20 | Default sub-window mode setting (attached / detached) so new windows respect the user's preference. |
| Implement database configuration | DONE | 2025-11-20 | 2025-11-20 | Replace hard-coded database settings with configuration: CLI flags + env vars + config file, in both console and Qt UI. |
Decisions
- One config mechanism for console and Qt
- keeps deployment documentation simple.
Out of scope
- A GUI for editing the config file.
See also
- Postgres-backed currency persistence (sprint 03) — first half of the database-config work landed there.