Sort installed tab by date installed [$20]

Bug #1512912 reported by Danielle Foré
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
AppCenter
In Progress
Undecided
Rubén Reina

Bug Description

Especially since we're currently not sorting out libraries, I think it would be more helpful to sort by date installed than alphabetically.

Tags: bounty

Related branches

Revision history for this message
Yuly Nesterov (inpr1se) wrote : Re: Sort installed tab by date installed [$15]
summary: - Sort installed tab by date installed
+ Sort installed tab by date installed [$15]
Maxim Taranov (png2378)
summary: - Sort installed tab by date installed [$15]
+ Sort installed tab by date installed [$20]
tags: added: bounty
Changed in appcenter:
status: New → Confirmed
Changed in appcenter:
status: Confirmed → In Progress
Revision history for this message
Rubén Reina (ruben-reina-dev) wrote :

I have examined the PackageKit documentation and the API does not expose the installation date of the apps in the system. Due to this, we cannot sort the installed apps list by installation date.

Maybe we can ask elementary OS in another way for the installation date of every app but the current coded core do not allow this (Package class do not store installation date).

Revision history for this message
Rubén Reina (ruben-reina-dev) wrote :

A possible solution is being investigated...

Revision history for this message
Rubén Reina (ruben-reina-dev) wrote :

I have almost finished the work for the Core and the Views. I will upload the branch for review on Monday.

Changed in appcenter:
assignee: nobody → Rubén Reina (ruben-reina-dev)
Revision history for this message
Rubén Reina (ruben-reina-dev) wrote :

Installed apps list is now sorted by installation date. Other apps lists such searches and list of apps for a category remain sorted alphabetically.

Changes in core:
 - Client now queries in an optimized way the list of PackageKit transactions meanwhile obtaining the packages list in order to find installed applications date. With this change we can know the installation date of each installed application, this information is added to the Pk.Package object. To achieve this a new class that inherits from Pk.Package and extends it functionality had to be created in the Core, due to PackageKit public library limitations.

Changes in views:
 - AppListView can now be sorted in two ways (alphabetically and by installation date). By default it is sorted alphabetically but in the installed applications view it is sorted by installation date.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.