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
Gabriel Hernandez
a2d672435d
update buttons to match new styleguide ( #9183 )
...
* update button to follow new style guide
* update button styles for inverted ghost buttons
* update a color name to match new styleguide
2023-01-05 15:23:27 +00:00
Luke Heath
dea1d6b66e
UI hackathon transitions ( #9163 )
2023-01-04 10:06:30 -06:00
RachelElysia
1aaf2d0b06
Fleet UI: Update styling of tooltips and modals ( #8436 )
2022-10-26 09:10:20 -04:00
RachelElysia
b23374ad16
Fleet UI: Placeholder text vertical padding ( #7828 )
2022-09-23 10:44:14 -04:00
RachelElysia
e64dd73b54
Fleet UI: Button loading spinners ( #7124 )
...
Co-authored-by: Luke Heath <luke@fleetdm.com>
2022-08-29 08:21:37 -07:00
RachelElysia
7a035c42c6
Fleet UI: Hitting enter global modal parameter, rename modals to match UI ( #6939 )
2022-08-04 11:05:11 -04:00
Martavis Parker
0cb8326423
Fixed style for action buttons in all modals ( #5402 )
...
* fixed style for action buttons in all modals
* fixed tests and modified more components
* fixed class reference in test
* removed unused file
2022-04-27 13:40:28 -07:00
Martavis Parker
384c987389
Removed all traces of Redux from the app! ( #5287 )
...
* clean up routes and useless components
* component clean up
* removed redux from routes
* rename file
* moved useDeepEffect hook with others
* removed redux, fleet, app_constants dirs; added types to utilities
* style cleanup
* typo fix
* removed unused ts-ignore comments
* removed redux packages!!!
* formatting
* fixed typing for simple search function
* updated frontend readme
2022-04-22 09:45:35 -07:00
Martavis Parker
cfb1474eb8
Auth Redux Removal ( #4924 )
...
* all login methods no longer use redux
* removed redux from registration
* redirect user from registration
* removed redux from sso invite
* removed redundant component
* refactored user settings page
* removed redux from logout
* cleaned up unused redux calls
* lint fixes
* removed test
* removed old config interface
* fixed registration bug
* team permission fix
* removed remaining redux references from pages - #4436
* better way to set config
2022-04-07 09:08:00 -07:00
Luke Heath
afaecee662
Close flash message when a modal is opened ( #3711 )
2022-01-16 20:46:20 -06:00
RachelElysia
1253020678
New Policy UI: Add policy resolution to create and edit policy ( #3125 )
2021-12-02 10:03:56 -05:00
Martavis Parker
bcfac603f0
Added components to Storybook library ( #2768 )
...
* added storybook
* added avatar component
* added button story
* added dropdown button story
* removed unused ellipsis component
* cleaned up modal path
* reorganized enroll secrets table file
* added flash story; removed unused persistent flash
* added fleet ace story
* added checkbox story
* added dropdown story
* added input story
* fixed storybook build
* fixed avatar
* added input with icon story
* added radio button story
* added select targets dropdown story
* added slider story
* added tooltip story
* added info banner story
* removed unused loaders; added spinner story
* added modal story
* removed unused NumberPill
* added pagination story
* lint fixes
* added documentation to run
* modified documentation
* fixed corelayout test
* fixed format for date-fns
* fixed date format that breaks tests
* wait for page
2021-11-06 23:41:09 -07:00
Mike Stone
e2a5502e21
Select targets ( #340 )
...
* Api client get targets
* Allow entities to parse full api response
* responsive nav style fixes
* Add disabled prop to button
* Add targets from API to target select input
* customize target rendering in input field
* call API on select target input change
* display # hosts selected
* Adds new icons to icon font
* Customize select targets input options
* Update directory structure
* restructure select targets input
* Adds hosts to labels
* Host modal styles
* ShadowBoxInput component
* TargetInfoModal for labels
* consistent entity response in api client stubs
* Fix bug removing multiple hosts in target select input
* change Button component to use css classes
2016-10-27 12:14:30 -04:00
Mike Stone
ee3d96eb53
Update eslint ( #337 )
...
* Updates eslint packages
* Expected parentheses around arrow function argument having a body with curly braces
* Prop type `object` is forbidden
* Visible, non-interactive elements should not have mouse or keyboard event listeners
* Prop type is defined but not used
* Unexpected use of file extension "jsx"
* Expected 'this' to be used by class method
* HTML entities must be escaped
* Prevent default behavior on more options button click
2016-10-21 19:13:41 -04:00
Mike Arpaia
c07702330d
Cleaning JavaScript imports and if statements ( #327 )
...
* Moving entityGetter to utility folder
* Import whitespace and if statement braces
* newlines between multi-line if's
2016-10-19 16:22:18 -04:00
Mike Stone
6ebc460b66
Admin user management ( #233 )
...
Admin user management page
2016-10-03 13:54:22 -04:00