jellyflood/Shared/ViewModels
Joe Kribs 687cfa6b5f
[iOS] Media Item Menu | Refresh Metadata & Delete Item (#1310)
* [iOS] Creation of the enableItemEditor & enableItemDeletion settings. Creation of the ItemEditorView. Creation of Refresh/Deletion Logic and Buttons. Wrap buttons in permissions.

* You can make delete permissions without edit (admin) permissions. So, flip this so you can get to the edit page but editing is disabled if you're not an admin. The Delete option requires that the delete toggle is enabled and the user has permissions.

* Move deletion from the editView to the ItemView

* Delete from PagingLibraryView on Deletion

* Only enable delete if the user can delete something. Check deletion permission on Item level. Only allow editing for admins.

* Review Changes: ec33a6b63c

* wip

* Update RefreshMetadataButton.swift

* Update Shared/ViewModels/ItemEditorViewModel/RefreshMetadataViewModel.swift

Co-authored-by: Ethan Pippin <ethanpippin2343@gmail.com>

* Update Shared/Coordinators/ItemEditorCoordinator.swift

Co-authored-by: Ethan Pippin <ethanpippin2343@gmail.com>

* Reviews minus a learn more button

* LearnMoreAttempt v1

* Learn more v2 - Much better

* Learn More v3

* Learn More comments cleanup

* Learn More: https://github.com/jellyfin/Swiftfin/pull/1310#discussion_r1843149572

* clean up

* Remove Replace since it's already covered. Localize.

* clean up

---------

Co-authored-by: Ethan Pippin <ethanpippin2343@gmail.com>
2024-11-16 23:59:41 -07:00
..
AdminDashboard [iOS] Admin Dashboard - Migrate to Own Coordinator/Folder (#1300) 2024-11-04 14:14:22 -07:00
ItemEditorViewModel [iOS] Media Item Menu | Refresh Metadata & Delete Item (#1310) 2024-11-16 23:59:41 -07:00
ItemViewModel Item Views to `Stateful` (#997) 2024-04-01 00:48:41 -06:00
LibraryViewModel [iOS] Media Item Menu | Refresh Metadata & Delete Item (#1310) 2024-11-16 23:59:41 -07:00
MediaViewModel Fixing Live TV since the refactor (#806) 2024-04-14 22:29:46 -06:00
VideoPlayerManager Listen for AirPods connection changes (#1186) 2024-08-19 14:46:12 -06:00
ChannelLibraryViewModel.swift Live TV Updates (#1022) 2024-04-16 23:10:44 -06:00
ConnectToServerViewModel.swift Update ConnectToServerViewModel.swift (#1145) 2024-07-04 23:28:24 -06:00
DownloadListViewModel.swift Migrate to the latest version of Factory (#1097) 2024-07-01 19:58:59 -06:00
FilterViewModel.swift Refactor `PosterButton` and libraries, good `UICollectionView`s, proper orientation handling, and more (#905) 2024-03-11 08:09:30 -06:00
HomeViewModel.swift User/Server Sign In Redesign (#1045) 2024-05-14 23:42:41 -06:00
LiveVideoPlayerManager.swift Search Channels and Programs (#1037) 2024-04-19 15:55:47 -06:00
ProgramsViewModel.swift Poster Display and Button Refactor (#1038) 2024-04-23 11:22:07 -06:00
QuickConnectAuthorizeViewModel.swift User/Server Sign In Redesign (#1045) 2024-05-14 23:42:41 -06:00
ResetUserPasswordViewModel.swift [iOS] Admin Dashboard - User Passwords (#1312) 2024-11-15 15:14:59 -07:00
SearchViewModel.swift Search Channels and Programs (#1037) 2024-04-19 15:55:47 -06:00
SelectUserViewModel.swift [tvOS] Change password to be a SecureField and autosubmit on password comple… (#1090) 2024-10-06 02:24:28 -06:00
ServerCheckViewModel.swift User/Server Sign In Redesign (#1045) 2024-05-14 23:42:41 -06:00
ServerConnectionViewModel.swift [iOS] Admin Dashboard (#1230) 2024-10-04 21:15:12 -06:00
ServerLogsViewModel.swift [iOS] Admin Dashboard (#1230) 2024-10-04 21:15:12 -06:00
SettingsViewModel.swift Update lastSignedInUserID defaults to use new UserSignInState enum (#1209) 2024-09-02 01:00:25 -06:00
UserLocalSecurityViewModel.swift Refactor sign in policy (#1085) 2024-06-08 21:22:18 -06:00
UserProfileImageViewModel.swift User Profile Image Selection (#1061) 2024-05-22 13:45:48 +09:00
UserSignInViewModel.swift Refactor sign in policy (#1085) 2024-06-08 21:22:18 -06:00
VideoPlayerViewModel.swift User/Server Sign In Redesign (#1045) 2024-05-14 23:42:41 -06:00
ViewModel.swift Migrate to the latest version of Factory (#1097) 2024-07-01 19:58:59 -06:00