Skip to content
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

Merged
merged 10 commits into from
Mar 30, 2022

Conversation

labkey-susanh
Copy link
Contributor

@labkey-susanh labkey-susanh commented Mar 29, 2022

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

  • Issue 44709: Update Unique ID confirmation modal so it remains open until update is complete
  • Add per-product metric for search usage

@@ -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}
Copy link
Contributor

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?

Copy link
Contributor Author

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.

@labkey-susanh labkey-susanh merged commit f1ab993 into develop Mar 30, 2022
@labkey-susanh labkey-susanh deleted the fb_miscFixes215_susan branch March 30, 2022 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants