jellyfin / jellyfin-web

Web Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
2.41k stars 1.28k forks source link

Refactor getDeviceName() for readability #6319

Open kepper104 opened 1 week ago

kepper104 commented 1 week ago

Refactored a long if-else into a cleaner, easier to extend mapping

Changes

Issues No GitHub issue previously associated, found it on SonarCloud

jellyfin-bot commented 1 week ago

Cloudflare Pages deployment

Latest commit 049c8ed
Status ✅ Deployed!
Preview URL https://ba9aab0d.jellyfin-web.pages.dev
Type 🔀 Preview

View build logs

sonarcloud[bot] commented 23 hours ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud