github therobbiedavis/Listenarr 0.1.22
Canary 0.1.22

latest releases: 0.2.45, 0.2.44, 0.2.40...
pre-releaseone month ago

This pull request updates authentication configuration handling and improves test reliability and code clarity in the frontend. The most important changes include making authentication config parsing more robust, updating how password visibility is toggled in the settings UI, and ensuring tests properly set up dependencies and use more reliable state checks.

Authentication configuration handling:

  • Updated the startup config parsing in App.vue to accept both camelCase and PascalCase variants of authenticationRequired from the backend, improving compatibility with different API responses.
  • Changed the value persisted for authenticationRequired in SettingsView.vue to use explicit string values 'true' or 'false' instead of 'Enabled'/'Disabled', making the UI and backend expectations more consistent.

Password visibility toggle improvements:

  • Refactored the password visibility toggle in SettingsView.vue to use a dedicated toggleShowPassword function, avoiding template assignment edge cases and improving maintainability.
  • Updated the password toggle button to use the new function and added a data-test attribute for easier testing.

Test reliability and setup:

  • Enhanced SettingsView.spec.ts tests to properly set up Pinia and Vue Router instances, and switched to direct state checks for password visibility, resulting in more robust and reliable tests.
  • Added missing imports to library.spec.ts for consistent test setup.

Automated canary build

  • Version: 0.1.22
  • Commit: ac72710
  • Original PR: #54

Don't miss a new Listenarr release

NewReleases is sending notifications on new releases.