-
Notifications
You must be signed in to change notification settings - Fork 4
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
3014 - Outdated submissions banner #3231
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #3231 +/- ##
===========================================
- Coverage 91.52% 91.49% -0.04%
===========================================
Files 297 297
Lines 8415 8432 +17
Branches 608 611 +3
===========================================
+ Hits 7702 7715 +13
- Misses 603 604 +1
- Partials 110 113 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report in Codecov by Sentry.
|
tdrs-frontend/src/components/SubmissionHistory/SubmissionHistory.jsx
Outdated
Show resolved
Hide resolved
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.
One comment, doesn't halt anything. LGTM
LGTM @jtimpe |
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
will test the following:
anything else? @jtimpe (asking because i think the summary may now be outdated 😄 ) |
updated the description, thank you for calling that out! |
class Meta: | ||
"""Meta class.""" | ||
|
||
model = ReparseFileMeta |
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.
|
||
<th scope="rowgroup" rowSpan={3}> | ||
{file.submittedBy} | ||
{formatDate(file.createdAt) + ' by ' + file.submittedBy} |
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.
|
||
<th scope="rowgroup" rowSpan={3}> | ||
{file.submittedBy} | ||
{formatDate(file.createdAt) + ' by ' + file.submittedBy} |
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.
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.
- no banner
- submitted on and submitted by merged into one column
confirmed ✔️
- the error report download link will also display regardless of if the file is outdated.
confirmed ✔️
- i also snuck in
file.latest_reparse_meta
to the api. so any changes we want to make to the frontend in the future (showing latest reprocessed date, for example) can be an easier change. it's not used anywhere currently, though
confirmed ✔️
Summary of Changes
Pull request closes #3014
adds outdated submissions banner for files submitted before 5/31/2024removes the error report link for those files (replaces with "Not Available")How to Test
created_at
field of the datafile to before 5/31/2024Deliverables
More details on how deliverables herein are assessed included here.
Deliverable 1: Accepted Features
Checklist of ACs:
+ [ ] Banner appears on submission history if 1 or more files are present for viewed quarter that were submitted prior to May 31, 2024+ [ ] Banner does not appear if a given quarter doesn't have data submitted before May 31 2024+ [ ] Language matches spec "Please note that error reports and submission history content for files submitted prior to May 31, 2024 may be outdated. Please resubmit to get access to updated information."lfrohlich
and/oradpennington
confirmed that ACs are met.Deliverable 2: Tested Code
CodeCov Report
comment in PR)CodeCov Report
comment in PR)Deliverable 3: Properly Styled Code
Deliverable 4: Accessible
iamjolly
andttran-hub
using Accessibility Insights reveal any errors introduced in this PR?Deliverable 5: Deployed
Deliverable 6: Documented
Deliverable 7: Secure
Deliverable 8: User Research
Research product(s) clearly articulate(s):