This pull request introduces several improvements and refactors to the frontend codebase, primarily focused on enhancing remote path mapping management for download clients and improving developer experience through more robust debugging support. The most significant changes are grouped below by theme.
Remote Path Mapping Management:
- Replaced the
RemotePathMappingsManagercomponent inDownloadClientFormModal.vuewith a dropdown selector, allowing users to assign one or more remote path mappings directly to a download client. Also, remote path mappings are now loaded dynamically when editing a client, and their IDs are stored in the client settings. [1] [2] [3] [4] - Updated the API endpoints in
api.tsto use/remotepathmappingsinstead of/remotepath, ensuring consistency and future-proofing the remote path mapping feature. - Extended the
DownloadClientConfigurationand introduced a newDownloadClientSettingstype intypes/index.tsto provide typed access to client settings, including optionalremotePathMappingIds. - In
SettingsView.vue, added a visual display of remote path mappings assigned to each download client, and implemented a confirmation modal for deleting remote path mappings. [1] [2]
Developer Experience & Debugging:
- Improved window object debugging references throughout the codebase (
search.ts,SearchView.vue, etc.) by using a safer and more explic...
Automated canary build