MPA

From the to-do list: MPA V1.0: Older issues and tasks

✔ Sound library: Create offline collections and assign files

Comments

Pierre henri Seylan on February 26, 2018:

This task is about adding the possibility to create collections in offline mode, as well as adding files to an offline collection.

1. General:

Creating an offline collection should work in the same way as when creating a collection online.

2. Adding files:

There are 2 possibilities:
  • Adding existing files to the collection 
  • Adding newly imported files to the collection.
The later case is handled via the " add files" modal window, and via drag and drop to the collection image in the pack's view.

3. Prioritizing uploads:

When the app is back online, the collection and the new files will be uploaded to the server.

To avoid missing files, we should try to prioritize the upload tasks.

The Offline collections should be uploaded to the server once all the Offline files included in this collection have been uploaded.

We could also upload the offline collections once ALL the offline files have been uploaded, however if a user has not activated uploads since a long time, it is possible that 100's (if not 1000's) of offline files needs to be uploaded.
This could cause that the offline collections are never uploaded if the user decides to abort the uploading of all offline files, so i would prefer to upload the offline collections once  all related files have been uploaded.

Pierre henri Seylan on March 15, 2018:

Feedback:

1. Import files to new collection in offline mode (fixed):
The test case is:
  • importing new files to the personal library
  • list view
  • uploads are deactivated.
  • selecting "import to new collection"

Result:
The collection is created properly and the files are imported in the personal library.
However, the files are not bound to the created collection.

2. Adding files to an existing collection in offline mode:
The test case is: 
  • importing new files to the personal library
  • packs view (drag and drop on collection's image)
  • uploads are deactivated.

Result:
This is working properly, the files are correctly added to the collection

3. Re-activating uploads after adding offline files/collections: 
The test case is: 
  • Files have been added and collections created in offline mode following test cases 1 and 2 listed above
  • uploads are re-activated 

Results:

3.1 Sync icon: (fixed)

The app takes a while before starting the uploading of the new files.
Since we don't have visual feedback it is hard to know if it is a bug or if the app is working on preliminary steps to the synchronization.

Let's maybe add the sync icon to the top bar while the app is referencing the  files to upload?
We could add it at the same position as the progress bar (at the position of the orange circle)
The icon could be spinning and disappear once the uploads are starting (same sync icon as used in the sound items lists and import files panel) 


3.2 Offline collections uploading: (fixed)

Regarding the collections, i have checked the previous version of the website, and couldn't see the collections created offline.
All other collections created previously are visible there, so there is probably an issue with offline collections upload.

You can test this url:
http://white.soundslates.com/medialibrary
Login with: test/1234 (or your own account) 
Select the "packs" view