Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display available themes/plugins in descending chronological order #583

Closed
Quy opened this issue May 10, 2016 · 6 comments
Closed

Display available themes/plugins in descending chronological order #583

Quy opened this issue May 10, 2016 · 6 comments
Assignees

Comments

@Quy
Copy link
Contributor

Quy commented May 10, 2016

Currently available themes/plugins are displayed in alpha order. It would be nice to have an option to display in descending chronological order to see recent additions.

@rhukster rhukster added this to the Grav 1.2 milestone Jun 3, 2016
@w00fz w00fz removed this from the Grav 1.2 milestone Jun 28, 2016
@w00fz w00fz closed this as completed in d2acf2d Jun 28, 2016
@w00fz
Copy link
Member

w00fz commented Jun 28, 2016

Loved this idea so much I took it a little further than what you originally suggested.

Note that at this point there is no persistent state, that would involve cookies in order to restore it on load and I want to first discuss it with the team. I personally think persistent state for this is not really needed.

jun-27-2016 18-53-20

@Quy
Copy link
Contributor Author

Quy commented Jun 28, 2016

This is awesome!!!

Release Date doesn't sort under Installed Plugins and Installed Themes.

@w00fz
Copy link
Member

w00fz commented Jun 29, 2016

I fixed this now, the issue is that once a plugin/theme is installed, we lose the informations about the repository which is the only location where we know the release date.
I am now making a request to the GPM repository to retrieve that information when sorting by date, the only gotcha is that in case the repository has expired cache and is up to refresh, sorting by date would trigger a re-fetch of the repository. Not as critical since it would happen no matter what at some point, just an heads up.

@Quy
Copy link
Contributor Author

Quy commented Jun 30, 2016

Release Date appears to not be sorting under Installed Themes.

@flaviocopes
Copy link
Contributor

Fixed

@Quy
Copy link
Contributor Author

Quy commented Jul 13, 2016

In Spanish, Updates Available expands to 2 lines due to the narrow width of the select dropdown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants