# refactor\(reset\): isolate countdown and label logic \(\#260\) · lucenx/codexbar-plasma

[View on GitCafe](https://git.cafe/lucenx/codexbar-plasma/commit/12a4c85ddd0be7f65f85dcda1a39494800d11317)

Repository: [lucenx/codexbar-plasma](https://git.cafe/lucenx/codexbar-plasma)

Visibility: public

Requested revision: 12a4c85ddd0be7f65f85dcda1a39494800d11317

Requested commit: 12a4c85ddd0be7f65f85dcda1a39494800d11317

Commit: 12a4c85ddd0be7f65f85dcda1a39494800d11317

Tree: 8b20700d7830f7d40436ac3cf67b5a58de3cc5e4

Author: Simone

Committer: GitHub

## Message

```
refactor(reset): isolate countdown and label logic (#260)

Extract reset timestamp parsing, countdown rounding, and label recognition into ResetPresentation. QML supplies the live clock, translates semantic units, and formats absolute dates locally. Preserve existing timestamp precedence and display fallbacks.

Document module ownership and direct/integration coverage. Review confirms README, usage, translations, schema, metadata, and TODO remain current. No user-visible behavior change requires a changelog entry.

Verification: full make check passed in KDE neon with strict imports and no skips, including 1326 Qt cases and 96 Python tests. Package build and isolated installed/upgrade runtime checks passed for live relative countdowns and absolute local dates.
```

## Parents

- [dbba1e5d20549c553b46be1e61dc39f4671a9614](https://git.cafe/lucenx/codexbar-plasma/commit/dbba1e5d20549c553b46be1e61dc39f4671a9614?format=markdown)

[Source at this commit](https://git.cafe/lucenx/codexbar-plasma/tree/12a4c85ddd0be7f65f85dcda1a39494800d11317?format=markdown)
