jellyflood/Swiftfin/Views
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
..
AdminDashboardView [iOS] Admin Dashboard - User Passwords (#1312) 2024-11-15 15:14:59 -07:00
AppSettingsView Some More Cleanup, Reset User Settings (#1060) 2024-05-17 13:10:40 +09:00
ChannelLibraryView Fix iOS 15 Poster Buttons (#1172) 2024-08-08 10:01:23 -06:00
DownloadTaskView [iOS] Admin Dashboard (#1230) 2024-10-04 21:15:12 -06:00
HomeView Add 'Enable Rewatching' and ' Max days' to Next Up (#1258) 2024-10-07 15:02:18 -06:00
ItemEditorView [iOS] Media Item Menu | Refresh Metadata & Delete Item (#1310) 2024-11-16 23:59:41 -07:00
ItemView [iOS] Media Item Menu | Refresh Metadata & Delete Item (#1310) 2024-11-16 23:59:41 -07:00
MediaView Cleanup (#1077) 2024-05-28 16:23:58 +09:00
PagingLibraryView [iOS] Admin Dashboard (#1230) 2024-10-04 21:15:12 -06:00
ProgramsView Cleanup (#1077) 2024-05-28 16:23:58 +09:00
ResetUserPasswordView [iOS] Admin Dashboard - User Passwords (#1312) 2024-11-15 15:14:59 -07:00
SelectUserView Server Selection Menu Indicator (#1267) 2024-10-10 09:50:16 +09:00
SettingsView [iOS] Media Item Menu | Refresh Metadata & Delete Item (#1310) 2024-11-16 23:59:41 -07:00
UserSignInView Customizable Device Profiles (#1169) 2024-09-02 15:33:02 -06:00
VideoPlayer Resolve some todos (#1295) 2024-10-29 11:17:56 -06:00
AboutAppView.swift Generic Button to Input from an Alert (#1273) 2024-10-15 00:42:42 -06:00
AppIconSelectorView.swift Fix App Icon picker Xcode16/iOS 18 (#1243) 2024-10-04 17:36:27 -06:00
AppLoadingView.swift User/Server Sign In Redesign (#1045) 2024-05-14 23:42:41 -06:00
ConnectToServerView.swift Cleanup video player settings (#1084) 2024-06-09 11:32:37 -06:00
DownloadListView.swift Fix LiveTV Navigation, fix Media Views, remove CollectionView from iOS (#995) 2024-03-15 09:51:22 -06:00
EditServerView.swift [iOS] Admin Dashboard (#1230) 2024-10-04 21:15:12 -06:00
FilterView.swift User/Server Sign In Redesign (#1045) 2024-05-14 23:42:41 -06:00
FontPickerView.swift Some Cleanup (#1216) 2024-08-30 09:05:56 -06:00
ItemOverviewView.swift User/Server Sign In Redesign (#1045) 2024-05-14 23:42:41 -06:00
MediaSourceInfoView.swift Some More Cleanup, Reset User Settings (#1060) 2024-05-17 13:10:40 +09:00
MediaStreamInfoView.swift Refactor `PosterButton` and libraries, good `UICollectionView`s, proper orientation handling, and more (#905) 2024-03-11 08:09:30 -06:00
QuickConnectView.swift Resolve some todos (#1295) 2024-10-29 11:17:56 -06:00
SearchView.swift Cleanup (#1077) 2024-05-28 16:23:58 +09:00
ServerCheckView.swift User/Server Sign In Redesign (#1045) 2024-05-14 23:42:41 -06:00