fleet/frontend/interfaces
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
..
activity.ts check disk encryption key from host details page (#9691) 2023-02-14 17:00:36 +00:00
campaign.ts Use new display name property in live query results (#8268) 2022-10-19 17:24:42 -05:00
config.ts Fleet UI: Consistent URL validation (#9806) 2023-02-22 09:05:38 -05:00
config_option.js add prettier and have it format all fleet application code (#625) 2021-04-12 14:32:25 +01:00
datatable_config.ts Add pagination and multi-column sort to live query results table UI (#3647) 2022-01-13 11:06:32 -06:00
decorators.js add prettier and have it format all fleet application code (#625) 2021-04-12 14:32:25 +01:00
dropdownOption.ts team add new host UI (#723) 2021-05-12 14:06:39 +01:00
empty_table.ts Fleet UI Hackathon: Empty states (#9094) 2023-01-04 14:16:34 -05:00
enroll_secret.ts Add/Edit/Delete enroll secret UI (#2645) 2021-11-15 16:16:06 -05:00
errors.ts Fix duplicate (team name, label name, user email) error handling (#4352) 2022-03-01 13:28:51 -05:00
form_field.ts 1497 improved query experience (#1998) 2021-09-10 12:06:37 -07:00
host.ts UI: Add macOS settings (profiles) indicator and modal with data table (#9809) 2023-02-22 08:13:12 -08:00
host_summary.ts Fleet UI: Missing host and low disk space filters on dashboard and manage host page (#7728) 2022-10-14 15:21:30 -05:00
host_users.ts Host Details Page: Users table (#1152) 2021-06-22 12:26:57 -07:00
installer.ts Add UI for Fleet Sandbox to download prepackaged installers (#6721) 2022-07-19 14:28:06 -05:00
integration.ts Fleet UI: App-wide use of host's display_name (#8169) 2022-10-14 14:26:15 -05:00
invite.ts Settings Pages Refactor: User management page & Teams > members page (#3625) 2022-01-13 18:11:45 -05:00
label.ts Fleet UI: Move status from route param to query param (#8035) 2022-10-10 14:07:47 -04:00
license.js add prettier and have it format all fleet application code (#625) 2021-04-12 14:32:25 +01:00
macadmins.ts Add MDM Card to Windows and All Dashboards and change mdm data source on host details page (#8960) 2022-12-16 15:12:11 -06:00
mdm.ts UI: Add macOS settings (profiles) indicator and modal with data table (#9809) 2023-02-22 08:13:12 -08:00
notification.ts Refactor Redux-triggered flash message component (#4795) 2022-03-31 23:42:26 -07:00
operating_system.ts Ingest Windows host display version for hosts table (#7403) 2022-08-30 10:16:48 -05:00
osquery_table.ts Feat/update query doc sidepanel (#8214) 2022-10-14 17:45:57 +01:00
pack.ts Frontend: Organize response interfaces into appropriate interface directories (#8742) 2022-11-18 11:25:39 -05:00
platform.ts Fleet UI: Missing host and low disk space filters on dashboard and manage host page (#7728) 2022-10-14 15:21:30 -05:00
policy.ts Fleet UI: Critical policy unreleased fixes (#9052) 2022-12-20 09:38:37 -06:00
query.ts Frontend: Organize response interfaces into appropriate interface directories (#8742) 2022-11-18 11:25:39 -05:00
query_stats.ts UI feature: Frontend of performance impact bubbles (#2589) 2021-10-22 16:05:49 -04:00
registration_form_data.js Remove username from UI (#1168) 2021-06-24 13:42:29 -07:00
registration_form_data.ts Fix missing field in setup confirmation (#2005) 2021-09-10 18:53:28 -05:00
role.ts Add UI for team admin role (#2637) 2021-10-26 09:24:16 -05:00
scheduled_query.ts Frontend: Organize response interfaces into appropriate interface directories (#8742) 2022-11-18 11:25:39 -05:00
scheduled_query_stats.ts Frontend tech debt: Clean up 409 lint warnings (#3703) 2022-02-14 17:11:12 -05:00
software.ts Frontend: Organize response interfaces into appropriate interface directories (#8742) 2022-11-18 11:25:39 -05:00
ssoSettings.ts Align API docs and frontend interfaces with API GET responses (#1602) 2021-08-16 10:30:19 -04:00
status_labels.ts Include MIA hosts under total count for Offline hosts (#5854) 2022-05-23 14:11:02 -05:00
target.ts Improve live query UX (#5749) 2022-06-10 13:29:45 -05:00
team.ts implement macOS update content (#9469) 2023-01-27 16:25:53 -06:00
user.ts Finalize new default avatar images (#9604) 2023-02-01 13:06:06 -06:00
version.ts Auth Redux Removal (#4924) 2022-04-07 09:08:00 -07:00
vulnerability.ts Fleet UI: App-wide use of host's display_name (#8169) 2022-10-14 14:26:15 -05:00
webhook.ts Improve live query UX (#5749) 2022-06-10 13:29:45 -05:00