BUG: Download client filter on active downloads tab is not selectable due to element ID mismatch #38
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The download client filter dropdown on the active downloads tab is completely non-functional.
Cause
There is a total mismatch between the HTML element IDs defined in
public/index.htmland the IDs queried in the frontend JS (client/src/ui/filters.js):download-client-filter-btnbut HTML usesdownload-client-dropdown-btn.download-client-filter-dropdownbut HTML usesdownload-client-dropdown.download-client-filter-listbut HTML usesdownload-client-options.download-client-filter-countbut HTML usesdownload-client-selected-text.This causes all UI event binding and option rendering to silently fail as the elements are not found.
Proposed Fix
Align the IDs in
client/src/ui/filters.js(orpublic/index.html) so they match perfectly, ensure click and checkbox events are properly handled, and rebuild the client package using Vite.Resolved in commit a006cb4a by aligning the DOM element query IDs in filters.js, implementing the Select All / Deselect All event listeners, and rebuilding the client production bundle.