fleet/frontend/utilities
Scott Gress b44a9ab6e4
Update script upload UI: updates from QA (#34564)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves #32632
**Related issue:** Resolves #34454 

# Details

Addresses the following QA-reported issues with #32632:

* Adding a .sh script file does not show it is valid for macOS
<img width="617" height="183" alt="image"
src="https://github.com/user-attachments/assets/39dcf884-ffbc-43b3-a06b-ad88520d6a16"
/>

* With Gitops mode enabled the 'add scripts' button is still clickable
<img width="693" height="151" alt="image"
src="https://github.com/user-attachments/assets/84c6e77d-ed1c-4e8a-8ebd-099d9da5405a"
/>

* Controls > Scripts: "Add script" is missing padding (#34454)
<img width="173" height="79" alt="image"
src="https://github.com/user-attachments/assets/d89cb728-f4ba-427b-868f-f072196777ae"
/>

# Checklist for submitter

For unreleased bug fixes in a release candidate, one of:

- [X] Confirmed that the fix is not expected to adversely impact load
test results
2025-10-20 19:19:40 -05:00
..
append_target_type_to_targets replaced old api calls with new version (#5254) 2022-04-20 10:45:32 -07:00
campaign_helpers Added link component to live query results (#34019) 2025-10-09 12:15:13 -04:00
convert_to_csv Fix a few UI typos (#30559) 2025-07-07 08:44:57 -03:00
date_format FE: Cleanup lint warnings (#32086) 2025-08-21 16:21:45 -05:00
debounce Removed all traces of Redux from the app! (#5287) 2022-04-22 09:45:35 -07:00
deep_difference Hydrant CA Feature Branch (#31807) 2025-09-04 12:39:41 -04:00
file Update script upload UI: updates from QA (#34564) 2025-10-20 19:19:40 -05:00
format_api_errors Removed all traces of Redux from the app! (#5287) 2022-04-22 09:45:35 -07:00
format_error_response Enhance error handling for UI sendRequest service (#14971) 2023-11-09 09:33:31 -06:00
generate_csv update UI to react 18 (#17471) 2024-03-13 19:09:16 +00:00
node-sql-parser Allow string concat in LIKE op in query editor (#32254) 2025-08-26 14:08:49 -05:00
permissions UI: Labels page (#33079) 2025-09-18 09:38:45 -07:00
simple_search Removed all traces of Redux from the app! (#5287) 2022-04-22 09:45:35 -07:00
sort UI: Update conditional access on a per-policy basis (#28658) 2025-05-01 11:43:38 -07:00
strings FE: Followup gitops YAML code nits (#29383) 2025-05-22 15:59:15 -04:00
url Fleet UI: Allow software + os filter onto manage host page (#32350) 2025-08-28 09:10:29 -04:00
yaml Fleet Documentation: Update agent options and enrollment secret documentation (#9565) 2023-02-13 10:45:37 -05:00
constants.tsx Add gigs_all_disk_space vital collection, storage, service, and UI rendering for Linux hosts (#34077) 2025-10-17 08:24:23 -07:00
copy_text.ts update jest setup and move config to its own file (#8258) 2022-10-25 14:17:32 +01:00
endpoints.ts Update "Setting up your device" page for MacOS Setup Experience (#33770) 2025-10-06 16:45:53 +01:00
error_messages.ts Full-stack: Make "Server url" validation conditions consistent across Fleet, update Web Address form validation and submission logic per Fleet best practices (frontend/docs/patterns.md) (#27455) 2025-03-27 13:56:38 -07:00
helpers.tests.tsx feat: enable multiple ABM and VPP tokens (#21693) 2024-08-29 18:51:46 -04:00
helpers.tsx UI for scheduling batch scripts (#31885) 2025-08-14 10:10:45 -05:00
local.ts UI – Refrain from clearing the auth_token and redirecting to login for errors specific to this scenario (#14911) 2023-11-03 08:32:41 -07:00
osquery_tables.ts Fleet UI: Platform compatibility checker hides unsupported osquery tables (#16435) 2024-01-30 10:31:06 -05:00
platform_icon_class.ts Removed all traces of Redux from the app! (#5287) 2022-04-22 09:45:35 -07:00
software_install_scripts.ts Feature: Script only package e2e followup (#34271) 2025-10-17 10:54:00 -04:00
software_uninstall_scripts.ts Feature: Script only package e2e followup (#34271) 2025-10-17 10:54:00 -04:00
sql_tools.tests.ts Allow ESCAPE in LIKE clauses to be valid SQL (#31222) 2025-07-25 10:13:55 -05:00
sql_tools.ts Allow ESCAPE in LIKE clauses to be valid SQL (#31222) 2025-07-25 10:13:55 -05:00