Skip to content

Sorting applications by name in the dashboard, #415 #417

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

Merged
merged 1 commit into from
Jun 12, 2016
Merged

Sorting applications by name in the dashboard, #415 #417

merged 1 commit into from
Jun 12, 2016

Conversation

bohemima
Copy link
Contributor

Always sorts before returning apps() - should probably live somewhere else but I'm unable to find a suitable location for it. Solves #415

@ghost
Copy link

ghost commented Jun 12, 2016

By analyzing the blame information on this pull request, we identified @drew-gross to be a potential reviewer.

@drew-gross
Copy link
Contributor

LGTM. I might have put this in the place where the apps are rendered, but this works too.

@bohemima
Copy link
Contributor Author

Looking a bit more at this and there is actually some sorting-code in https://github.com/ParsePlatform/parse-dashboard/blob/master/src/dashboard/Apps/AppsIndex.react.js#L137. However, createdAt seems to be null everywhere, so that doesnt have any effect.

I'll have a look at refining my code and possibly adding other sorting options. (User count, Installation count or appName?)

@drew-gross
Copy link
Contributor

Yeah createdAt only existed on dashboard.parse.com, in this Parse Dashboard we don't know when apps were created.

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

Successfully merging this pull request may close these issues.

2 participants