mirror of
https://github.com/fleetdm/fleet
synced 2026-05-15 04:58:25 +00:00
## For #28159 - Implement UI capability to run scripts on batches of hosts at a time - Add new hosts table `Run script` primary action, triggers - new `RunScriptBatch` modal, allows running scripts on the selected batch of hosts - new `RunScriptBatchPaginatedList`, handles logic specific to this modal, and utilizes the now more flexible `PaginatedList` component - Widen capabilities of `PaginatedList` component to elegantly handle more diverse applications, including this one - Widen capabilities of `ScriptDetailsModal` component to elegantly handle more diverse applications, including this one - Streamline updating `state`s on manage hosts page - Clearer, more concise naming - [x] Changes file added for user-visible changes in `changes/` - [x] A detailed QA plan exists on the associated ticket (if it isn't there, work with the product group's QA engineer to add it) - [x] Manual QA for all new/changed functionality --------- Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
20 lines
403 B
SCSS
20 lines
403 B
SCSS
.script-details-modal {
|
|
&__script-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: $pad-medium;
|
|
}
|
|
|
|
&__script-content-textarea {
|
|
font-family: "SourceCodePro";
|
|
min-height: 150px;
|
|
max-height: 572px;
|
|
overflow: scroll;
|
|
}
|
|
}
|
|
|
|
// show script details without additional animation
|
|
.modal__background:has(.run-script-batch-modal) {
|
|
transition: none;
|
|
animation: none;
|
|
}
|