[documentPage] Add new sort options and a search feature
Bug #1450837 reported by
Stefano Verzegnassi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Document Viewer App |
Fix Released
|
Wishlist
|
Stefano Verzegnassi |
Bug Description
As soon as lp:~verzegnassi-stefano/ubuntu-docviewer-app/plugins-renaming is merged, DocViewer will use a SortFilterModel component in order to provide a sorted list of available documents.
This will allow us to easily implement some sorting options, and the ability to search a specific document in the list.
We will have to provide the following options:
- Sort by date (which is the current sort behaviour)
- Sort by name
- Sort by size
Of course, we should also provide an option to switch from an ascending order to a descending order, and vice versa.
Related branches
lp:~verzegnassi-stefano/ubuntu-docviewer-app/document-page-filters
- Alan Pope πΊπ§π± π¦ (community): Approve
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
-
Diff: 848 lines (+540/-62)11 files modifiedpo/com.ubuntu.docviewer.pot (+81/-20)
src/app/graphics/settings_alt.svg (+138/-0)
src/app/qml/documentPage/DocumentGridView.qml (+8/-0)
src/app/qml/documentPage/DocumentListDelegate.qml (+36/-11)
src/app/qml/documentPage/DocumentListView.qml (+46/-14)
src/app/qml/documentPage/DocumentPage.qml (+17/-6)
src/app/qml/documentPage/DocumentPageDefaultHeader.qml (+27/-8)
src/app/qml/documentPage/DocumentPageSearchHeader.qml (+57/-0)
src/app/qml/documentPage/SearchEmptyState.qml (+32/-0)
src/app/qml/documentPage/SortSettingsDialog.qml (+57/-0)
src/app/qml/ubuntu-docviewer-app.qml (+41/-3)
summary: |
- [documentPage] Add filters and search feature + [documentPage] Add new sort options and a search feature |
Changed in ubuntu-docviewer-app: | |
status: | Triaged → In Progress |
assignee: | nobody → Stefano Verzegnassi (verzegnassi-stefano) |
Changed in ubuntu-docviewer-app: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed into lp:ubuntu-docviewer-app at revision 152, scheduled for release in ubuntu- docviewer- app, milestone 2014-10-30