fleet/frontend/components/forms/fields
Jacob Shandling cbd1a142b4
UI – Refactor edit query > name and description fields to allow reasonable control of pencil icons (#17086)
## –> #16663 
- Display text within `textarea` only when editing. Since the
problematic pencil icons are hidden in this state, it is okay that their
position varies depending on browser (see previous discussions).
- When not editing, text and icon are displayed in a `button` , removing
the dependence of their position on the variable per browser`textarea`
"col"s.
- Note that the wrapping behavior of these texts can affect how much
space is placed after it _within_ its span/textarea – the distance of
the icon from this element remains constant.


https://www.loom.com/share/105df09a447e42cc9e3a71668f5d1d2c?sid=244d0543-cc4b-43ed-83dd-22959cb08879


<img width="1284" alt="Screenshot 2024-02-27 at 2 15 12 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/7b8f7fea-bc57-4699-9d61-d93b19e8d922">



- [x] Changes file added for user-visible changes in `changes/`
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-02-29 21:56:31 -08:00
..
AutoSizeInputField UI – Refactor edit query > name and description fields to allow reasonable control of pencil icons (#17086) 2024-02-29 21:56:31 -08:00
Checkbox UI – refactor forms and form fields (#16159) 2024-01-18 10:48:44 -05:00
Dropdown UI – refactor forms and form fields (#16159) 2024-01-18 10:48:44 -05:00
InputField Frontend: Cleanup 42 js warnings (#16219) 2024-01-23 09:16:10 -05:00
InputFieldHiddenContent fix to disk encryption modal input icons (#16780) 2024-02-13 15:59:32 +00:00
InputFieldWithIcon [tiny released bug] Fleet UI: Fix live query/policy host search icon (#17082) 2024-02-29 08:49:36 -05:00
Radio Frontend tech debt: Cleanup {} around strings (#16592) 2024-02-23 09:57:18 -05:00
SearchField UI – Restore clickability to entirety of sort headers except in filter text inputs (#15260) 2023-11-21 13:49:41 -08:00
SelectTargetsDropdown UI – refactor forms and form fields (#16159) 2024-01-18 10:48:44 -05:00
Slider UI – refactor forms and form fields (#16159) 2024-01-18 10:48:44 -05:00