-
-
Notifications
You must be signed in to change notification settings - Fork 894
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
New Media View - Loading indicators #2613
Comments
it is necessary ? |
Yes, otherwise there is no feedback on what's happening. |
@nextcloud/designers @marinofaggiana Regarding loading new metadata from the server, we need to have a loading indicator in a place that is always visible, like the toolbar. I think putting it here is a good solution: |
Some consideration about new media (the indicator in the image is perfect for view the activity):
in the searchOldMedia() and searchNewMedia() is used the : let updateMetadatas = NCManageDatabase.shared.updateMetadatas(metadatas, metadatasResult: metadatasResult, addCompareLivePhoto: false) this allows us to know whether there has been any variation from the result updateMetadatas, this can allow us to manage even just in memory without re-executing the whole query from the DB. Via the server, work is being done to make livephoto native, which will allow us to streamline the database work a lot in the future without having to put the results into an array but only handle the pointers. |
Related to: #2606
Old Media View had loading indicators for various actions, but the new one does not. The reason is the old indicators were part of a UIKit library, but we need to find a different solution for SwiftUI
There is a SwiftUI version of this lib, but after briefly trying it it didn't seem to work super well.
The text was updated successfully, but these errors were encountered: