Uruk
|
64c2a78bc6
|
fix(sonarqube): comprehensive SonarQube violations resolution - complete codebase remediation
COMPLETE SONARQUBE COMPLIANCE ACHIEVED
This commit represents a comprehensive resolution of ALL SonarQube code quality
violations across the entire Streamyfin codebase, achieving 100% compliance.
VIOLATIONS RESOLVED (25+ 0):
Deprecated React types (MutableRefObject RefObject)
Array key violations (index-based unique identifiers)
Import duplications (jotai consolidation)
Enum literal violations (template string literals)
Complex union types (MediaItem type alias)
Nested ternary operations structured if-else
Type assertion improvements (proper unknown casting)
Promise function type mismatches in Controls.tsx
Function nesting depth violations in VideoContext.tsx
Exception handling improvements with structured logging
COMPREHENSIVE FILE UPDATES (38 files):
App Layer: Player routes, layout components, navigation
Components: Video controls, posters, jellyseerr interface, settings
Hooks & Utils: useJellyseerr refactoring, settings atoms, media utilities
Providers: Download provider optimizations
Translations: English locale updates
KEY ARCHITECTURAL IMPROVEMENTS:
- VideoContext.tsx: Extracted nested functions to reduce complexity
- Controls.tsx: Fixed promise-returning function violations
- useJellyseerr.ts: Created MediaItem type alias, extracted ternaries
- DropdownView.tsx: Implemented unique array keys
- Enhanced error handling patterns throughout
QUALITY METRICS:
- SonarQube violations: 25+ 0 (100% resolution)
- TypeScript compliance: Enhanced across entire codebase
- Code maintainability: Significantly improved
- Performance: No regressions, optimized patterns
- All quality gates passing: TypeScript Biome SonarQube
QUALITY ASSURANCE:
- Zero breaking changes to public APIs
- Maintained functional equivalence
- Cross-platform compatibility preserved
- Performance benchmarks maintained
This establishes Streamyfin as a model React Native application with
zero technical debt in code quality metrics.
|
2025-09-26 01:53:36 +02:00 |
|
Gauvain
|
ead37aa806
|
fix: resolve type issues and improve component reliability (#1078)
🤖 Android APK Build (Phone + TV) / 🏗️ Build Android APK (phone) (push) Has been cancelled
🤖 Android APK Build (Phone + TV) / 🏗️ Build Android APK (tv) (push) Has been cancelled
🤖 iOS IPA Build (Phone + TV) / 🏗️ Build iOS IPA (phone) (push) Has been cancelled
🔒 Lockfile Consistency Check / 🔍 Check bun.lock and package.json consistency (push) Has been cancelled
🛡️ CodeQL Analysis / 🔎 Analyze with CodeQL (actions) (push) Has been cancelled
🛡️ CodeQL Analysis / 🔎 Analyze with CodeQL (javascript-typescript) (push) Has been cancelled
🏷️🔀Merge Conflict Labeler / 🏷️ Labeling Merge Conflicts (push) Has been cancelled
🚦 Security & Quality Gate / 📝 Validate PR Title (push) Has been cancelled
🚦 Security & Quality Gate / 🔍 Vulnerable Dependencies (push) Has been cancelled
🚦 Security & Quality Gate / 🚑 Expo Doctor Check (push) Has been cancelled
🚦 Security & Quality Gate / 🔍 Lint & Test (check) (push) Has been cancelled
🚦 Security & Quality Gate / 🔍 Lint & Test (format) (push) Has been cancelled
🚦 Security & Quality Gate / 🔍 Lint & Test (lint) (push) Has been cancelled
🚦 Security & Quality Gate / 🔍 Lint & Test (typecheck) (push) Has been cancelled
🕒 Handle Stale Issues / 🗑️ Cleanup Stale Issues (push) Has been cancelled
|
2025-09-25 22:47:49 +02:00 |
|
lance chant
|
89b34eddc1
|
fix: tv playback (#820)
Signed-off-by: Lance Chant <13349722+lancechant@users.noreply.github.com>
Signed-off-by: lancechant <13349722+lancechant@users.noreply.github.com>
Co-authored-by: Fredrik Burmester <fredrik.burmester@gmail.com>
Co-authored-by: Uruk <contact@uruk.dev>
Co-authored-by: Gauvain <68083474+Gauvino@users.noreply.github.com>
|
2025-08-07 10:12:40 +02:00 |
|
Gauvain
|
5f39622ad6
|
fix: bump biome and fix error (#864)
🤖 Android APK Build / 🏗️ Build Android APK (push) Has been cancelled
🤖 iOS IPA Build / 🏗️ Build iOS IPA (push) Has been cancelled
🔒 Lockfile Consistency Check / 🔍 Check bun.lock and package.json consistency (push) Has been cancelled
🛡️ CodeQL Analysis / 🔎 Analyze with CodeQL (javascript-typescript) (push) Has been cancelled
🏷️🔀Merge Conflict Labeler / 🏷️ Labeling Merge Conflicts (push) Has been cancelled
🕒 Handle Stale Issues / 🗑️ Cleanup Stale Issues (push) Has been cancelled
|
2025-07-21 09:44:24 +02:00 |
|
Ahmed Sbai
|
b9bb109f4a
|
chore: linting fixes && github actions for linting (#612)
|
2025-03-31 07:44:10 +02:00 |
|
lostb1t
|
92513e234f
|
chore: Apply linting rules and add git hok (#611)
Co-authored-by: Fredrik Burmester <fredrik.burmester@gmail.com>
|
2025-03-16 18:01:12 +01:00 |
|
herrrta
|
66f61c3c38
|
fix: Recent request slider initial loading
|
2025-03-05 20:07:21 -05:00 |
|
herrrta
|
4dddc0f926
|
fix: Jellyseerr Recent Request slide fixes
- added src for backdrop + poster
- fixed horizontal height issues
|
2025-03-04 21:09:15 -05:00 |
|
herrrta
|
e1314077e2
|
fix: only show recent requests when request is done loading
|
2025-03-03 01:25:58 -05:00 |
|
herrrta
|
dd65505f7f
|
feat: [Jellyseerr] Show recent requests #324
- Added recent requests slide
- updated JellyseerrPoster.tsx to handle more options
|
2025-03-03 01:04:49 -05:00 |
|