fleet/frontend/components
Jacob Shandling fa093203df
UI – Simpler edit icon solution, applied to Edit query and Edit policy forms (#17364)
## ➡️ #17224  

- Replace the [solution merged
here](https://github.com/fleetdm/fleet/pull/17086) with a simpler and
more easily extendable one
- Apply same approach to the Edit policies form.

Edit query demo:

https://www.loom.com/share/589d3bfedc754f62b31c39bc517c2382?sid=ce65e5a5-e13f-4446-a37c-991a09cc8960

Edit query:
<img width="1791" alt="Screenshot 2024-03-04 at 5 34 35 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/6727bd9e-ad05-45b0-a65c-e01487d7d923">

Edit policy:
<img width="2550" alt="Screenshot 2024-03-05 at 11 47 34 AM"
src="https://github.com/fleetdm/fleet/assets/61553566/fdd8e455-7f54-4177-be3e-4a82a879a176">

<img width="2550" alt="Screenshot 2024-03-05 at 11 47 27 AM"
src="https://github.com/fleetdm/fleet/assets/61553566/3b33b097-f652-4e99-b944-2d29ffe3f311">



- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-03-05 14:08:24 -08:00
..
AddHostsModal Frontend tech debt: Cleanup {} around strings (#16592) 2024-02-23 09:57:18 -05:00
App Fleet UI: Update page titles (#15983) 2024-01-12 09:27:56 -05:00
AuthenticationFormWrapper UI – refactor forms and form fields (#16159) 2024-01-18 10:48:44 -05:00
Avatar Frontend tech debt: Cleanup {} around strings (#16592) 2024-02-23 09:57:18 -05:00
AvatarTopNav Frontend tech debt: Cleanup {} around strings (#16592) 2024-02-23 09:57:18 -05:00
BackLink UI – Host query report page (#15511) 2023-12-08 16:54:24 -08:00
buttons Frontend tech debt: Cleanup {} around strings (#16592) 2024-02-23 09:57:18 -05:00
Card Fleet UI: Update displayed data on device details pages (#17174) 2024-03-04 15:47:42 -05:00
ClickableUrls Fleet UI: More picky regex (Add alternative where must have http and/or www in link) (#13639) 2023-09-01 11:57:15 -04:00
ClickOutside add prettier and have it format all fleet application code (#625) 2021-04-12 14:32:25 +01:00
CustomLink Fleet UI: More icons updated (#13270) 2023-08-28 13:09:21 -04:00
DataError Implement Windows OS Updates (feature branch). (#15359) 2023-11-29 11:07:24 -05:00
DataSet Fleet UI: Update displayed data on device details pages (#17174) 2024-03-04 15:47:42 -05:00
DeviceUserError Frontend: Cleanup 42 js warnings (#16219) 2024-01-23 09:16:10 -05:00
DiskSpaceGraph Frontend tech debt: Cleanup {} around strings (#16592) 2024-02-23 09:57:18 -05:00
EmailTokenRedirect Merge branch 'main' into 15919-vulnerabilities-page 2024-02-22 16:27:15 -06:00
EmptyTable Fleet UI Software pages: Add team id params onto various software detail pages (#16757) 2024-02-15 10:35:58 -07:00
EnrollSecrets Frontend tech debt: Cleanup {} around strings (#16592) 2024-02-23 09:57:18 -05:00
FileUploader UI – Add support for Windows powershell scripts (#15128) 2023-11-15 11:28:57 -08:00
FlashMessage Icons improvements (making frontend consistent with Figma component library) (#14185) 2023-10-31 16:06:38 +00:00
FleetAce UI – refactor forms and form fields (#16159) 2024-01-18 10:48:44 -05:00
FleetMarkdown Frontend: Cleanup 42 js warnings (#16219) 2024-01-23 09:16:10 -05:00
forms UI – Simpler edit icon solution, applied to Edit query and Edit policy forms (#17364) 2024-03-05 14:08:24 -08:00
Graphic Create new ListItem and FileUploader component and use on controls page (#15103) 2023-11-13 15:30:22 -08:00
graphics Merge branch 'main' into 15919-vulnerabilities-page 2024-02-22 16:27:15 -06:00
HumanTimeDiffWithDateTip Frontend tech debt: Cleanup {} around strings (#16592) 2024-02-23 09:57:18 -05:00
Icon Icons improvements (making frontend consistent with Figma component library) (#14185) 2023-10-31 16:06:38 +00:00
icons feature: target profiles by labels (#16202) 2024-01-26 11:00:58 -05:00
InfoBanner Fleet UI: Replace references of team members for users (#16515) 2024-02-05 14:11:01 -05:00
LastUpdatedText Frontend: Cleanup 42 js warnings (#16219) 2024-01-23 09:16:10 -05:00
LinkWithContext add components to storybook (#11500) 2023-05-03 17:51:33 +01:00
ListItem UI – Add support for Windows powershell scripts (#15128) 2023-11-15 11:28:57 -08:00
LiveQuery UI – add "No team" option when targeting live queries (#17363) 2024-03-04 16:23:15 -08:00
LogDestinationIndicator Refactor Tooltip Wrapper (#13845) 2023-11-07 13:15:49 -08:00
MainContent Fixs multiple banners on host details page when we only want to show ABM expired banner (#14772) 2023-10-27 16:05:19 +01:00
MDM Add left padding to link in ABM expired message (#15603) 2023-12-13 10:51:45 -06:00
Modal UI – ensure checkbox ticks in hidden modals are also hidden (#16913) 2024-02-16 07:58:27 -08:00
modals/ShowQueryModal Frontend tech debt: Cleanup {} around strings (#16592) 2024-02-23 09:57:18 -05:00
NotSupported UI: Ensure 'Not supported' cell for Chromebooks never wraps (#12227) 2023-06-08 12:10:37 -04:00
Pagination Adjust paginated button icon alignment (#15795) 2023-12-21 09:23:45 -08:00
PlatformCompatibility UI – refactor forms and form fields (#16159) 2024-01-18 10:48:44 -05:00
PlatformSelector UI – refactor forms and form fields (#16159) 2024-01-18 10:48:44 -05:00
PremiumFeatureIconWithTooltip add components to storybook (#11500) 2023-05-03 17:51:33 +01:00
PremiumFeatureMessage Fix UI premium message icon and text alignment (#16447) 2024-01-30 17:05:03 +00:00
ProbabilityOfExploit Fleet UI: /software/vulnerabilities page (#16676) 2024-02-15 10:35:43 -07:00
queries Frontend tech debt: Cleanup {} around strings (#16592) 2024-02-23 09:57:18 -05:00
QueryFrequencyIndicator UI – refactor forms and form fields (#16159) 2024-01-18 10:48:44 -05:00
Sandbox Frontend tech debt: Cleanup {} around strings (#16592) 2024-02-23 09:57:18 -05:00
SectionHeader Frontend tech debt: Cleanup {} around strings (#16592) 2024-02-23 09:57:18 -05:00
side_panels Adjust tooltip style for query page side panel (#15614) 2023-12-12 20:48:31 -06:00
SidePanelContent implement macOS update content (#9469) 2023-01-27 16:25:53 -06:00
Spinner Fleet Frontend: Integration test for Add hosts modal (#12064) 2023-06-08 11:15:31 -04:00
StackedWhiteBoxes UI – refactor forms and form fields (#16159) 2024-01-18 10:48:44 -05:00
StatusIndicator UI – refactor forms and form fields (#16159) 2024-01-18 10:48:44 -05:00
StatusIndicatorWithIcon Icons improvements (making frontend consistent with Figma component library) (#14185) 2023-10-31 16:06:38 +00:00
TableContainer rollup the mdm solutions by name on the dashboard page (#17297) 2024-03-04 13:14:50 +00:00
TabsWrapper Queued scripts feature (#16300) 2024-01-29 11:37:54 -03:00
TeamsDropdown 14415 - Loose ends 2 (#15595) 2023-12-12 11:32:16 -08:00
TeamsHeader Add teams features to Vuln details page (#16761) 2024-02-15 10:35:58 -07:00
Textarea fix formatting of script output (#15757) 2023-12-21 11:17:03 -06:00
TooltipWrapper UI – refactor forms and form fields (#16159) 2024-01-18 10:48:44 -05:00
top_nav Merge branch 'main' into 15919-vulnerabilities-page 2024-02-22 16:27:15 -06:00
ViewAllHostsLink Add teams features to Vuln details page (#16761) 2024-02-15 10:35:58 -07:00
YamlAce UI – refactor forms and form fields (#16159) 2024-01-18 10:48:44 -05:00
generate Create UI component generator (#11644) 2023-05-11 12:00:27 -07:00