Fix various issues with selections#1841
Conversation
90d03e5 to
3ac158e
Compare
47bfa51 to
97556c1
Compare
b5648ce to
42e701d
Compare
| selected {noun}. | ||
| </p> | ||
| {this.getSelectionCount() > 1 && onSubmitForEdit && ( | ||
| <p>To update individual {noun} in this selection group, select "Edit with Grid".</p> |
There was a problem hiding this comment.
I thought we had already taken out all of this "Edit with Grid" code? huh, must have missed some. Thanks for cleaning up.
| sampleFieldKey?: string; | ||
| sampleIds?: number[]; | ||
| schemaQuery?: SchemaQuery; | ||
| selectedRowIds?: number[] | string[]; |
There was a problem hiding this comment.
I can't recall when we talked about this last, but don't we want these rowId related props to be number[] only and make the caller responsible for converting string to number as early as possible?
There was a problem hiding this comment.
FreezerManager makes it really difficult to accomplish that, because it provides numbers. If I change FM to only pass strings I then also have to touch a lot of other downstream components to accept strings, which explodes the surface area of the changes, and I think would add unnecessary complexity to this PR, and potentially introduce subtle runtime issues.
- Partial Fix for Issue 53378
- Don't rely on selectionKey - Don't rely on QueryModel - Add usePicklistSelections to get rid of duplicate selection loading logic - Update AddToPicklistMenuItem, PicklistCreationMenuItem
re-add error logging refactor deletePicklists to use async request
All usages were using EntityBulkUpdateAlert, but that is in ui-premium. Code has been moved here so consumers don't need to manually wire up the warnings.
- Necessary to handle deleted/missing selections
…hotSelection argument
…are no selected rows
Fix issue with PicklistCreationMenuItem being incorrectly disabled when acting as a button
AssayImportDropdownSection - Fix issue with crossfolder selections in subfolders
ae33ebe to
c44cfbd
Compare
Rationale
This PR fixes issues when users take actions with selections see issues:
Related Pull Requests
Changes