From e8a35f2ba3704a6e9c01dbcfbd18f4d874892a33 Mon Sep 17 00:00:00 2001 From: Abhinav A <71514966+abhixdd@users.noreply.github.com> Date: Sun, 26 Oct 2025 00:45:33 +0530 Subject: [PATCH] Add download history feature with search and export (#336) * Add download history feature * fix: Add History to hamburger menu on all pages * feat: Improve download history security and reliability * fix: enhance file path security and simplify theme handling for history page * fix: history list spacing fixed and close button color changed * fix: code indentation fix * fix: minor codes changes for more efficiency * fix: add error catch for show-file * fix: Remove duplicate app.whenReady() for download history initialization * feat: added translation for history page --- html/compressor.html | 1 + html/history.html | 728 +++++++++++++++++++++++++++++++++++++++ html/index.html | 1 + html/playlist.html | 1 + html/playlist_new.html | 1 + main.js | 99 +++++- src/compressor.js | 7 + src/history.js | 206 +++++++++++ src/playlist.js | 6 + src/playlist_new.js | 6 + src/renderer.js | 19 + src/translate_history.js | 18 + translations/en.json | 24 +- 13 files changed, 1113 insertions(+), 4 deletions(-) create mode 100644 html/history.html create mode 100644 src/history.js create mode 100644 src/translate_history.js diff --git a/html/compressor.html b/html/compressor.html index 6ee545f..d91a351 100644 --- a/html/compressor.html +++ b/html/compressor.html @@ -20,6 +20,7 @@ Homepage Download Playlist Preferences + History About Theme: + + + +
+ +
+ + + +
+ +
+ + + + + + + + diff --git a/html/index.html b/html/index.html index 2490506..7d96d41 100644 --- a/html/index.html +++ b/html/index.html @@ -65,6 +65,7 @@ Preferences Compressor + History About Theme: diff --git a/html/playlist_new.html b/html/playlist_new.html index dfe6806..1abb051 100644 --- a/html/playlist_new.html +++ b/html/playlist_new.html @@ -33,6 +33,7 @@