IssueReportHistoryRepository

What this device has filed recently, kept so that one person cannot flood the issue tracker: a short cooldown after every report, and the same report refused for a day.

The history outlives the sheet and the process, so closing and reopening the reporter does not lift either guard. It holds a hash of each report and a timestamp, never the text or the email.

Both calls are main-safe and never throw for storage: the guard is a courtesy to maintainers, and a history that cannot be read or written must not stop anyone reporting a bug.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun recordSubmission(title: String, description: String)

Records a filed report, which starts the cooldown and refuses the same report for a day.

Link copied to clipboard
abstract suspend fun refusalFor(title: String, description: String): IssueReportRefusal?

Why a report with title and description cannot be sent now, or null when it can.