-
Notifications
You must be signed in to change notification settings - Fork 81
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
Show recently filed applications and their date #529
Conversation
I have broke down the task of showing recent applications in following 2 ways (1) If there are more than 5 applications present in the period of last 3 months than I thought it will be good if we display all of them instead of just limiting to 5 applications. Because that will give coordinators a more clear picture of if an editor has applied indiscriminately. (2) If there are less than 5 applications present in the period of last 3 months than I thought it will be good if we add some more applications from past i.e. applications which are older than 3 months time period. So that we can show at least 5 recent applications. Also the diff of |
I think this makes sense to me, good suggestion.
I think this, however, over-complicates things. We should show coordinators as little information as necessary to make a decision - seeing applications made more than 3 months ago doesn't, in my opinion, help them make a decision. So I think it should only show last-3-months applications in this case.
One of the engineers can confirm, but I think this is just a quirk of how Github is calculating the diff, I wouldn't worry :) |
Thanks :)
Okay got your point will make changes according to this. Also I have a design query if for an editor there are 0 applications found in last-3-months then should we show an empty table in Recent Applications sections or should we do not show the whole Recent Applications section(i.e. not even the heading) or maybe we can show a message below the heading that no applications are made recently. Which one should I pick for this case?
Okay if you or any other member does not face any difficulty while reviewing the changes then it is okay, otherwise I will try to come up with some solution if there is any :) |
In this case I think it would be best to show no table or information. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your PR! This is looking great, but some changes need to be made in order to merge this 🙂
TWLight/applications/templates/applications/application_evaluation.html
Outdated
Show resolved
Hide resolved
TWLight/applications/templates/applications/application_evaluation.html
Outdated
Show resolved
Hide resolved
TWLight/applications/templates/applications/application_evaluation.html
Outdated
Show resolved
Hide resolved
TWLight/applications/templates/applications/application_evaluation.html
Outdated
Show resolved
Hide resolved
Show only recently filed applications, and their submission date, on application evaluation pages Bug: T262904
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the changes you made! This LGTM!
Thank you :) |
Description
Show all applications filed in last 3 months and their submission date, on application evaluation page.
Rationale
Before this we used to show 5 recent applications on evaluation page. But we need to display more applications on that page so coordinators can decide if a user is applying indiscriminately.
Phabricator Ticket
T262904
How Has This Been Tested?
I have added 2 new tests for this behaviour. Also removed a test which was previously used to test rendering of 5 recent applications only.
This change can be tested manually by going on application evaluation page and checking recent applications section.
Screenshots of your changes:
Types of changes
What types of changes does your code introduce? Add an
x
in all the boxes that apply: