Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS & tvOS] Error Cleanup #1357

Merged
merged 3 commits into from
Dec 11, 2024
Merged

Conversation

JPKribs
Copy link
Member

@JPKribs JPKribs commented Dec 11, 2024

Summary

This PR finds all instances where isPresentingError is used as a State. I'm using this to to find where errors are presented via an alert and I am replacing them with the new errorMessage(error). In addition to this, I updated a couple typos like Uplicates vs Duplicates. Finally, I tried to Mark the classes and break up the variables to try and make everything more readable.

The primary goal of this is the errors so if the MARKs are unwanted I can remove those.

Here is an example of why I wanted to get all of these on the same page. Left is current. Right is updated. Should make this easier to maintain as well!
Screenshot 2024-12-10 at 18 00 06

@JPKribs JPKribs marked this pull request as draft December 11, 2024 01:27
@JPKribs
Copy link
Member Author

JPKribs commented Dec 11, 2024

Drafting real quick. Going to localize everything in those views while I'm touching them.

Edit: Okay! All localized!

@JPKribs JPKribs marked this pull request as ready for review December 11, 2024 02:26
Copy link
Member

@LePips LePips left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Always for some cleanup.

@LePips LePips merged commit 8f05169 into jellyfin:main Dec 11, 2024
4 checks passed
@JPKribs JPKribs deleted the adminDashboardErrors branch December 11, 2024 14:23
ddrccw added a commit to ddrccw/Swiftfin that referenced this pull request Jan 26, 2025
* upstream/main: (392 commits)
  [tvOS] Add pin prompt to sign-in screen (jellyfin#1383)
  [iOS] Admin Dashboard - User Access Tags (jellyfin#1377)
  [Meta] 2025 Disclaimer (jellyfin#1381)
  [tvOS] Delete User from User Selection Screen (jellyfin#1359)
  [iOS] Media Item Menu - Identify Media Item (jellyfin#1369)
  [iOS] Admin Dashboard - User Profiles (jellyfin#1328)
  [iOS] Select all Users When Editing (jellyfin#1373)
  [Meta] Automatic String Organization (jellyfin#1372)
  [iOS & tvOS] Unused Localization Cleanup (jellyfin#1362)
  [tvOS] SelectServerView Change to Menu (jellyfin#1363)
  [tvOS] Update ConnectToServerView & UserSignInView (jellyfin#1365)
  Trim Fastlane Options (jellyfin#1367)
  Update Fastlane Runner (jellyfin#1366)
  [iOS & tvOS] Localize Existing Strings (jellyfin#1361)
  [iOS] Admin Dashboard - User Access Schedules (jellyfin#1358)
  [iOS] Admin Dashboard - Parental Ratings (jellyfin#1353)
  [iOS & tvOS] Error Cleanup (jellyfin#1357)
  update (jellyfin#1356)
  Fix possible duplicate ids (jellyfin#1354)
  [tvOS] Media Item Menu - Refresh / Delete Items (jellyfin#1348)
  ...

Signed-off-by: ddrccw <[email protected]>
@JPKribs JPKribs added the enhancement New feature or request label Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants