feat: add post-download prompt with open book / back to listing options

After an OPDS download completes, show a prompt screen instead of
immediately returning to the catalog. The user can choose to open the
book for reading or go back to the listing. A live countdown (5s, fast
refresh) auto-selects the configured default; any button press cancels
the timer. A per-server "After Download" setting controls the default
action (back to listing for backward compatibility).

Made-with: Cursor
This commit is contained in:
cottongin
2026-03-02 15:27:53 -05:00
parent f955cf2fb4
commit 7eaced602f
8 changed files with 127 additions and 11 deletions

View File

@@ -427,6 +427,10 @@ enum class StrId : uint16_t {
STR_SELECT_FOLDER,
STR_DOWNLOAD_PATH,
STR_POSITION,
STR_DOWNLOAD_COMPLETE,
STR_OPEN_BOOK,
STR_BACK_TO_LISTING,
STR_AFTER_DOWNLOAD,
// Sentinel - must be last
_COUNT
};

View File

@@ -391,3 +391,7 @@ STR_SAVE_HERE: "Save Here"
STR_SELECT_FOLDER: "Select Folder"
STR_DOWNLOAD_PATH: "Download Path"
STR_POSITION: "Position"
STR_DOWNLOAD_COMPLETE: "Download Complete!"
STR_OPEN_BOOK: "Open Book"
STR_BACK_TO_LISTING: "Back to Listing"
STR_AFTER_DOWNLOAD: "After Download"