fleet/frontend/components
Jacob Shandling a578e20930
UI: Add macOS settings (profiles) indicator and modal with data table (#9809)
# Addresses #9413

# Implements
https://www.loom.com/share/d1b66a3076b94bf2add4fcf8666649a4

- macOS settings indicator on host details and device user pages. Only
displayed if (1) the host is enrolled in a Fleet MDM server and (2) the
host has at least one setting (profile) enforced.
- macOS settings modal, toggled by clicking on above indicator. Contains
a data table with the name, status, and error messages, if any, of each
enforced macOS setting on the host.

# Notes
- To aid in reviewing, you'll probably want to focus on:
-
[DeviceUserPage.tsx](https://github.com/fleetdm/fleet/pull/9809/files#diff-be9f14d3cee9f345058212985c26b3452688c6d75853a5e9dcb968a69dfcbbd7)
and
[HostDetailsPage.tsx](https://github.com/fleetdm/fleet/pull/9809/files#diff-72f7403682d211fc8a84a411fc39c4a33c3eb6a33549a33f1179dd7da6a893cc)
-
[HostSummary.tsx](https://github.com/fleetdm/fleet/pull/9809/files#diff-435e720f1ad82e892bec00fbc9c14e01e9488b776ae293f9158500c66d85bd0d)
-
[MacSettingsIndicator.tsx](https://github.com/fleetdm/fleet/pull/9809/files#diff-e23079f72b13bd34eb978eded467265dad4f366a6fece60cd52c887f355f92d1)
-
[MacSettingsModal.tsx](https://github.com/fleetdm/fleet/pull/9809/files#diff-75a08aa5b66cc2b63fc616d8ba012e552376f23d3c3df01d875586857f326f53)
-
[MacSettingsTable.tsx](https://github.com/fleetdm/fleet/pull/9809/files#diff-5dc441b06f770f112bb32bb618e2140e9bbccb7ebf80d86ee57c2754e067a421)
and its associated
[MacSettingsTableConfig.tsx](https://github.com/fleetdm/fleet/pull/9809/files#diff-0ab0cb34e249e2a41bf51508d38bea018dc5e683b705308250241c42549ab093)
   
- Currently using mock data. Once #9599 is completed, #9888 will change
these components to use the real data
- 2/21 - removed mock data. Until the API returns the host.mdm.profiles
data, settings indicator and modal will not render
# Checklist

- [x] Changes file added
- [x] Manual QA
- [x] Updated testing inventory

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2023-02-22 08:13:12 -08:00
..
AddHostsModal update file carver block size and various MySQL references (#9625) 2023-02-02 01:01:34 -05:00
App Frontend: Cleanup implied types, unused imports and variables (#7439) 2022-09-01 11:28:02 -04:00
AuthenticationFormWrapper Login UI: Center vertical alignment, align with forgot password box (#6397) 2022-06-30 10:44:05 -04:00
Avatar Finalize new default avatar images (#9604) 2023-02-01 13:06:06 -06:00
AvatarTopNav Finalize new default avatar images (#9604) 2023-02-01 13:06:06 -06:00
BackLink Frontend: Unit tests /components directory, convert to svg icons (#8716) 2022-12-07 09:59:38 -08:00
buttons Finalize new default avatar images (#9604) 2023-02-01 13:06:06 -06:00
ClickOutside add prettier and have it format all fleet application code (#625) 2021-04-12 14:32:25 +01:00
CustomLink Fleet UI: Undetermined public ip tooltip (#9907) 2023-02-21 09:16:38 -05:00
DataError UI: 9274 unenroll mdm modal (#9539) 2023-01-30 15:59:02 -08:00
DeviceUserError UI: Consistent code for anchor elements, specifically external links (#6542) 2022-09-02 15:28:42 -04:00
DiskSpaceGraph UI: Add macOS settings (profiles) indicator and modal with data table (#9809) 2023-02-22 08:13:12 -08:00
EmailTokenRedirect Removed all traces of Redux from the app! (#5287) 2022-04-22 09:45:35 -07:00
EmptyTable Fleet UI: MDM pending hosts (#9427) 2023-01-24 12:55:43 -05:00
EnrollSecrets check disk encryption key from host details page (#9691) 2023-02-14 17:00:36 +00:00
FlashMessage update buttons to match new styleguide (#9183) 2023-01-05 15:23:27 +00:00
FleetAce Fleet UI: Autofocus forms (#9180) 2023-01-06 09:25:00 -05:00
FleetMarkdown Fleet UI: Fix table links to allow wrapping (#8802) 2022-11-23 14:36:08 -05:00
forms Fleet UI: Consistent URL validation (#9806) 2023-02-22 09:05:38 -05:00
HumanTimeDiffWithDateTip UI hackathon - add datetime details in tooltip for most "Last Xed" data presentations (#9166) 2023-01-05 09:08:27 -06:00
Icon UI: Add macOS settings (profiles) indicator and modal with data table (#9809) 2023-02-22 08:13:12 -08:00
icons UI: Add macOS settings (profiles) indicator and modal with data table (#9809) 2023-02-22 08:13:12 -08:00
InfoBanner Fleet UI: Fix banner width to not go pass margin (#9462) 2023-01-23 13:41:37 -05:00
LastUpdatedText Fleet UI: Rebase fix (#9040) 2022-12-15 12:06:09 -05:00
LinkWithContext Add team context for top nav link to software page (#4008) 2022-02-03 18:15:50 -06:00
LiveQuery Fleet UI: Select targets logic for "All hosts" to be mutually exclusive from other filters (#9992) 2023-02-22 10:32:43 -05:00
MainContent Fleet UI: Apple Business Manager expiry banner (#9021) 2023-01-16 09:10:12 -05:00
MDM/AppleBMTermsMessage Fleet UI: Undetermined public ip tooltip (#9907) 2023-02-21 09:16:38 -05:00
Modal UI: Add macOS settings (profiles) indicator and modal with data table (#9809) 2023-02-22 08:13:12 -08:00
modals/ShowQueryModal integrate with API to show query name and sql query for live query activity (#8864) 2022-11-29 16:55:17 +00:00
PageHeader 9349 new controls page (#9431) 2023-01-26 11:33:54 -08:00
Pagination Fleet UI: Dashboard summary tiles clickable with new component (#7826) 2022-09-19 16:47:43 -04:00
PlatformCompatibility Fleet UI: Add critical policy option (#8758) 2022-12-14 13:57:57 -05:00
PlatformSelector Fleet UI: Align checkboxes (#6873) 2022-07-26 08:15:57 -04:00
queries Fix customer IDed UI bug in which updated query name not reflected in Edit Packs table (#9635) 2023-02-03 10:48:42 -08:00
Sandbox Fleet UI: Apple Business Manager expiry banner (#9021) 2023-01-16 09:10:12 -05:00
side_panels Fleet UI: Undetermined public ip tooltip (#9907) 2023-02-21 09:16:38 -05:00
SidePanelContent implement macOS update content (#9469) 2023-01-27 16:25:53 -06:00
Spinner UI hackathon transitions (#9163) 2023-01-04 10:06:30 -06:00
StackedWhiteBoxes UI Polish for Login and forgot password pages. (#8494) 2022-11-01 11:39:02 +00:00
StatusIndicator UI: Add macOS settings (profiles) indicator and modal with data table (#9809) 2023-02-22 08:13:12 -08:00
TableContainer UI: Add macOS settings (profiles) indicator and modal with data table (#9809) 2023-02-22 08:13:12 -08:00
TabsWrapper UI Accessibility: Ability to tab through app (#4699) 2022-03-28 17:31:36 -04:00
TeamsDropdown 9349 new controls page (#9431) 2023-01-26 11:33:54 -08:00
TooltipWrapper Fleet UI: MDM pending hosts (#9427) 2023-01-24 12:55:43 -05:00
top_nav Fix top nav underline positioning and size (#9790) 2023-02-10 12:51:15 -06:00
ViewAllHostsLink Fleet UI: MDM pending hosts (#9427) 2023-01-24 12:55:43 -05:00
YamlAce Rename custom ACE editor (#983) 2021-06-06 19:32:18 -07:00