From the to-do list: MPA V1.0: Older issues and tasks
✔ Sound library: handling of nested folders
(Completed by Pierre henri Seylan on January 27, 2018)
Comments
Pierre henri Seylan on January 23, 2018:
Recently we have added the support for folders in the sound library. however i have noticed that in some cases, the folders cannot be opened, mostly in the case of nested folders, for example:
when a folder is in a pack/collection
when a folder is inside a folder
1. Nested folders:
here we should allow to open a folder which is inside a folder. The sub level of folders nesting is unlimited. Also, we should add the navigation history in the nav bar:
The folders names should be added in the nav bar with the linking to the folders, like it is currently done. For example if there are 3 nested folders, the nav bar will display (for the 3rd folder level)
NOTE: You should ignore the case when too many folders appear in the nav bar, another developer will add a special case on the UI when doing some fine tuning
2. Folders in collections:
When a folder is added to a collection, we should handle it in the following way if possible:
All files of the folder are added to the collection
This depends if the current and new API structure will allow such a behavior, if not possible please let me know
Karim Alabtakh on January 25, 2018:
-the "nested folders" part is done. - the "folders in collections" part should be done on the server side. btw, when adding this task for web developers you need to clarify if only the first layer files will be added or also the nested files in nested folders
Pierre henri Seylan on January 25, 2018:
OK, just a detail to adjust: The tittles in the header are now displayed on 2 lines. We should display them only on 1 line
Comments
Pierre henri Seylan on January 23, 2018:
however i have noticed that in some cases, the folders cannot be opened, mostly in the case of nested folders, for example:
1. Nested folders:
here we should allow to open a folder which is inside a folder.
The sub level of folders nesting is unlimited.
Also, we should add the navigation history in the nav bar:
The folders names should be added in the nav bar with the linking to the folders, like it is currently done.
For example if there are 3 nested folders, the nav bar will display (for the 3rd folder level)
sound library > personal > folder 1 > folder 2 > folder 3
NOTE: You should ignore the case when too many folders appear in the nav bar, another developer will add a special case on the UI when doing some fine tuning
2. Folders in collections:
When a folder is added to a collection, we should handle it in the following way if possible:
- All files of the folder are added to the collection
This depends if the current and new API structure will allow such a behavior, if not possible please let me knowKarim Alabtakh on January 25, 2018:
- the "folders in collections" part should be done on the server side.
btw, when adding this task for web developers you need to clarify if only the first layer files will be added or also the nested files in nested folders
Pierre henri Seylan on January 25, 2018:
The tittles in the header are now displayed on 2 lines.
We should display them only on 1 line