-
Notifications
You must be signed in to change notification settings - Fork 1
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
FS-4446: Consistent CSV File Columns #500
Conversation
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.
Looks good, a subtle difference but looks like one that could crop up for users at anytime!
The description on the PR is really helpful context on why that order might have been shifted, if that could be added to the commit description itself that should help any future devs outside of GitHub looking at why that might have changed.
fa7b0c7
to
0db45e4
Compare
0db45e4
to
a12c467
Compare
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.
PR looks really good and well covered! One small suggestion for making the coverage more dynamic but I think this is good to undraft and review/ approve. Great fix!
Rearranged the default order of the columns so that Score comes directly after Date submitted regardless whether there is a score entered or not. Previously Score and Score Subcriteria could be swapped depending on if the first row had been scored yet)
Changed so that the report remains in the same order regardless if applications have been scored or not
For the OUTPUT_TRACKER report, the test checks the column order in a report of unscored applications against the column order in a report of scored applications. The scored report will have more columns so we're comparing all the columns in the unscored report against the first x columns in scored report.
bc86022
to
74e0173
Compare
for more information, see https://pre-commit.ci
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.
Well done for tracking this down, can't have been fun! Solution looks good, and a nice test as well 👌
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.
LGTM
FS-446
Change description
Rearranged the default order of the columns so that Score comes directly after Date submitted regardless whether there is a score entered or not. Previously Score and Score Subcriteria could be swapped depending on if the first row had been scored yet)
README and other documentation has been updated / added (if needed)How to test
Open OUTPUT_TRACKER report for a window that has applications but no scores. Open OUTPUT_TRACKER for a window that has applications and are all scored. The columns should be in the same order for both reports.
Screenshots of UI changes (if applicable)
Before fix (COF OUTPUT_TRACKER report):
NSTF OUTPUT_TRACKER report: