-
Notifications
You must be signed in to change notification settings - Fork 13
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
feat: replace old Status index with new StatusCreatedAt one #4691
feat: replace old Status index with new StatusCreatedAt one #4691
Conversation
🧪 Review environmenthttps://4oso5apsmwc6ktdyauecgpwoki0xsumj.lambda-url.ca-central-1.on.aws/ |
3f16502
to
0279082
Compare
0279082
to
f7d4435
Compare
}, []); | ||
|
||
if (label === null) { | ||
return <Skeleton count={1} className="my-4 ml-4 w-[300px]" />; |
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.
Nice work on this + all the previous steps to get to this point.
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.
I tested the responses tabs and the submissions are in order.
Testing the download formats, the submissions could be out of order. I added a quick sort() call on that to make sure they'd be in order. Kind of out scope of this PR but nice to fix now when it's obvious.
Nice work! LGTM :)
…atus-created-at-index
Summary | Résumé
Part 5 of #4287
Status
index with newStatusCreatedAt
oneRemovalDate
piece of information for each submission listed underSigned off for removal
tab in an asynchronous way. This is due to the new index not returning theRemovalDate
data in its projected attributes.Tests
CreatedAt
date. It means that the oldest response should be at the top of the list.Testing options:
https://github.com/cds-snc/platform-forms-client/tree/main/utils/createdAtVaultConfItemsMigration
https://github.com/cds-snc/platform-forms-client/tree/main/utils/statusCreatedAtMigration