-
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
Improve-cross project actions - Edit in Bulk #1479
Conversation
…and Edit in Bulk scenarios
… it exists in originalData
# Conflicts: # packages/components/package-lock.json # packages/components/package.json # packages/components/releaseNotes/components.md
…ected row(s) - for BulkUpdateForm, disable lookup fields toggle when more than one containerPath in selection
…ws or saveRowsByContainer
…nerPath in selection
# Conflicts: # packages/components/package-lock.json # packages/components/package.json # packages/components/releaseNotes/components.md
packages/components/src/internal/components/editable/LookupCell.tsx
Outdated
Show resolved
Hide resolved
packages/components/src/internal/components/forms/BulkUpdateForm.tsx
Outdated
Show resolved
Hide resolved
helpTipRenderer, | ||
}} | ||
showLabel={showLabel} | ||
showToggle={allowDisable} | ||
isDisabled={isDisabled} | ||
toggleProps={{ | ||
onClick: this.toggleDisabled, | ||
onClick: toggleDisabledTooltip ? undefined : this.onToggleChange, |
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 about lookup fields with fix container col.lookup?.containerPath
and App.isAllProductFoldersFilteringEnabled()
?
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.
ah yes, good call. fix added so that we don't disable the bulk form lookup if there is a col.lookup.containerPath defined (this was changed in QueryFormInputs.tsx where toggleDisabledTooltip is set).
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.
and App.isAllProductFoldersFilteringEnabled()
?
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.
ah yes, that applies here as well. I just added the check for that as well. thanks.
…ble bulk form lookup if col.lookup.containerPath defined
# Conflicts: # packages/components/package-lock.json # packages/components/package.json # packages/components/releaseNotes/components.md
…teringEnabled when toggleDisabledTooltip
Rationale
As part of the effort to make "cross folder" action improvements in the apps, this set of PRs takes on the "Edit in Bulk" and "Edit Parents/Sources" actions. This will allow for users with proper permission to edit selected rows in a sample, source, and assay runs/results grid when the set of selections includes rows from multiple containers.
Related Pull Requests
Changes