-
Notifications
You must be signed in to change notification settings - Fork 47
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
10460 story #5542
10460 story #5542
Conversation
…ime a filter is modified; Added pagination to table;
web-client/src/presenter/actions/TrialSession/setTimeStampAction.test.ts
Show resolved
Hide resolved
web-client/src/presenter/computeds/Public/publicTrialSessionHelper.test.ts
Show resolved
Hide resolved
}} | ||
> | ||
{defaultValue && ( | ||
<option key={defaultValue.label} value={defaultValue.value}> |
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.
Minor: Can we ensure label will always be unique?
web-client/src/views/Public/TrialsSessions/PublicTrialSessionsFilters.tsx
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.
Great work, @cruzjone-flexion and @nechama-krigsman! Thank you!
I left several minor comments. I'm not sure any of these need to be addressed in the current PR, especially since my plan is to open up a follow-up "clean-up" PR anyway to make sure my work in 10461 is consistent with yours. (E.g., I handled the "current as of" differently, and it's probably better to be consistent.)
const publicTrialsSessionUpdateFormValueSequence = ( | ||
...args: Parameters<typeof updateFormValueSequence> | ||
) => { | ||
if (displayProgressSpinnerSequence) | ||
displayProgressSpinnerSequence({ timeInSeconds: 0.25 }); | ||
updateFormValueSequence(...args); | ||
updateFormValueSequence({ | ||
key: 'pageNumber', | ||
root: ROOT, | ||
value: 0, | ||
}); | ||
}; |
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.
Can this be done in Cerebral?
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.
All feedback is refactoring related, we will handle it all in a separate PR.
flexion#10460