linagora / linshare-mobile-flutter-app

Mobile application for LinShare - https://linshare.org/
GNU Affero General Public License v3.0
16 stars 16 forks source link

[Story] As an user, i want to sort files in Myspace #214

Closed dieptran88 closed 3 years ago

dieptran88 commented 3 years ago

Summary

Related EPIC

165

Definition

UC1. Sort by modification date • I choose Modification date as current sort criteria , and click again to switch the order by ascending or descending. • The bottom sheet closed, i can see the list of file is displayed by the selected order. Under each file I can see the modification date. • The device will save the latest sort and it will not change when I open other page or close app then come back. It only change when I choose other sort. • When there is any action that changes modification date of a file in the list, the order also changes accordingly as current sort (Rename, share, add new file...)

UC2. Sort by creation date • I choose Creation date as current sort criteria, and click again to switch the order by ascending or descending. • The bottom sheet closed, i can see the list of file is displayed by the selected order. Under each file I can see the creation date. • The device will save the latest sort and it will not change when I open other page or close app then come back. It only change when I choose other sort. • When there is a new file is added to the current list, it is also sorted by the Creation date as current sort

UC3. Sort by file size • I choose Size as current sort criteria, and click again to switch the order by ascending or descending. • The bottom sheet closed, i can see the list of file is displayed by the ascending/descending file size. • The device will save the latest sort and it will not change when I open other page or close app then come back. It only change when I choose other sort. • When there is a new file added to the current list, it is also sorted by the File size as current sort

UC4. Sort by file name

• I choose Name as current sort criteria, and click again to switch the order by ascending or descending. • The bottom sheet closed, i can see the list of file is sorted alphabetically by the selected ascending/descending. • The device will save the latest sort and it will not change when I open other page or close app then come back. It only change when I choose other sort. • When a file is renamed or a new file is added to the current list, it is also sorted by it’s name as current sort

UC4. Sort by sharing status

• I click Shared as current sort criteria, and click again to switch the order by ascending or descending. • The bottom sheet closed, i can see the list of file is sorted by shared (descending-arrow down) or not shared (ascending-arrow up). Within the shared files, the file will be sorted by the number of shares, then sorted by the modification date. • The device will save the latest sort and it will not change when I open other page or close app then come back It only change when I choose other sort. • When there is an action that change share status of a file (shared/ cancel shared/added new file) in the current list,the order also changes accordingly as current sort.

Back to Summary

Screenshots

None

Back to Summary

Misc

None

Back to Summary

dieptran88 commented 3 years ago

@qpnguyen199 Please add design link for this story

qpnguyen199 commented 3 years ago

Android: https://www.figma.com/file/NGap1XrsfXvsublLTjHEMn/LinShare-Android-App-Phuong?node-id=2240%3A20416 iOS: https://www.figma.com/file/sEBIXTIsTfTb1TKZvMnuGx/LinShare-iOS-App?node-id=3022%3A1

hoangdat commented 3 years ago

confirmed