-
Notifications
You must be signed in to change notification settings - Fork 2
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
Issue 44709 (leave modal open while adding uniqueIds) and add search usage metric #789
Conversation
@@ -787,9 +787,10 @@ class SampleTypeDesignerImpl extends React.PureComponent<Props & InjectedBaseDom | |||
title={'Updating Sample Type with Unique ID field' + (numNewUniqueIdFields !== 1 ? 's' : '')} | |||
onCancel={this.onUniqueIdCancel} |
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.
what happens when user click Cancel while the action is in progress? Should cancel be disabled when submitting?
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.
Yeah, I considered that. Currently, the Cancel button does not get disabled, so the effect is not actually cancelling but closing the modal. I think it makes sense to also disable the Cancel when submitting, but I'll check on usages.
Rationale
Adding unique IDs to existing samples can take a while if there are lots of samples, so we'll leave the modal open, disable the "Finish" button, and update its text to indicate that something is happening.
We also want to gather some usage data on the general search page usage, so we've added a per-product client-side usage counter.
Related Pull Requests
https://github.com/LabKey/sampleManagement/pull/898
#789
https://github.com/LabKey/biologics/pull/1219
Changes