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

Add sorting by project completion date #55

Merged
merged 6 commits into from
Apr 20, 2023

Conversation

cschuijt
Copy link
Contributor

This implements a new setting, sort-projects-date, which can be toggled on to change the default sorting of grades on profiles from alphabetic ascending to completion date descending, putting the most recently completed projects at the top. Obviously this setting will need to be implemented on the backend before merging, because right now the whole improvedStorage.get block on a nonexistent setting is never entered and so no sorting is done at all.

Copy link
Owner

@FreekBes FreekBes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably only needs one more change related to the asynchronous functionality of improvedStorage.get

fixes/general.js Outdated Show resolved Hide resolved
fixes/general.js Show resolved Hide resolved
@FreekBes FreekBes added the feature request New feature or request label Apr 18, 2023
@cschuijt cschuijt requested a review from FreekBes April 19, 2023 11:11
FreekBes added a commit to FreekBes/improved_intra_server that referenced this pull request Apr 20, 2023
@FreekBes FreekBes merged commit 3575e5e into FreekBes:main Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants