fleet/changes
Jacob Shandling f9ac557c8e
UI: Make all Modal widths consistent (#11722)
## Addresses #11356

Images of 3 fixed modals referenced in the issue:
<img width="1235" alt="Screenshot 2023-05-12 at 4 11 52 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/098081c7-15d4-4009-92a0-7a2e14ffaab1">
<img width="1235" alt="Screenshot 2023-05-12 at 4 12 50 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/7d0f268d-f2dc-4686-a64d-94e28a94c717">
<img width="1235" alt="Screenshot 2023-05-12 at 4 13 26 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/d486b005-1344-4656-adec-c4929332816b">

## Implemented:
- [x] Updated global modal styles for consistency
- [x] Add optional "width" prop to `Modal`
- [x] Misc cleanup:
  - [x]  Restore missing padding from inverse-alert buttons
  - [x]  Improve naming, lots of cleanup
  - [x] More coming in separate PR
- [x] Check each of the following modals, define `width` where
necessary:
  - [x]  Add hosts
  - [x]  EnrollSecret
    - [x] Also fix misaligned icons  
  - [x]  SecretEditor
  - [x]  DeleteSecret
  - [x]  ShowQuery
  - [x]  AddIntegration
  - [x]  DeleteIntegration
  - [x]  EditIntegration
  - [x]  EditTeam
  - [x]  RequestCSR
  - [x]  HostStatusWebhook
  - [x]  CreateTeam
  - [x]  DeleteTeam
  - [x]  EditTeam
  - [x]  AddMember
  - [x]  RemoveMember
  - [x]  CreateUser
  - [x]  DeleteUser
  - [x]  EditUser
    - [x] Also fix randomly shorter 'Password' field  
  - [x]  ResetPassword
  - [x]  ResetSessions
  - [x]  WelcomeHost
  - [x]  DeletHost
  - [x]  TransferHost
  - [x]  POlicyDetails
  - [x]  AutoEnrollMdm
  - [x]  Info
  - [x]  ManualEnrollMdm
  - [x]  ResetKey
  - [x]  BootstrapPackage
  - [x]  DiskEncryption
  - [x]  OSPOlicy
  - [x]  SelectQuery
  - [x]  UnenrollMdm
  - [x]  MacSettings
  - [x]  DeleteLabel
  - [x]  EditCOlumns
  -  WIP, cannot QA yet (cc @ghernandez345):
      - DeleteScript
      - RerunScript
  - [x]  DeleteProfile
  - [x]  DeletePackage - allow to conform to default "m" width, 650px
  - [x]  PackQueryEditor - allow to conform to default "m" width
  - [x]  RemovePackQuery - allow to conform to default "m" width
  - [x]  DeletePack - allow to conform to default "m" width
  - [x]  AddPolicy 
  - [x]  DeletePolicy - allow to conform to default "m" width
- [x] NewPolicy (now "SaveNewPolicyModal") - allow to conform to default
"m" width
  - [x]  DeleteQuery
  - [x]  NewQuery - allow to conform to default "m" width
  - [x]  PreviewData
  - [x]  RemoveScheduledQuery
  - [x]  ScheduleEditor
  - [x]  UserSettingsPage (aka "get API token")
  - [x]  2 x ManageAutomations –  set to large
  - [x]  2 x PreviewPayload - allow to conform to default "m" width 
  - [x]  2 x PreviewTicket - same as ManageAutomations

## Checklist for submitter

- [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>
2023-05-17 10:07:38 -07:00
..
.keep Issue 1009 calculate diff software (#1305) 2021-07-08 13:57:43 -03:00
10367-fix-false-positive-cis-windows-policies CIS - WIN10 - Fix 3 policies with false positive bugs (#11668) 2023-05-12 10:57:09 -04:00
10709-fix-duplicated-Windows-OS-name #10709 duplicate Windows 10 Pro OS name (#11187) 2023-05-09 12:33:36 -04:00
11338-login-page-bugs UI: Login page bugs (#11520) 2023-05-09 10:12:29 -07:00
11343-bookmarkability-queries Fleet UI: Manage queries page URL params (#11485) 2023-05-08 09:17:19 -04:00
11356-bring-all-modals-into-consistent-style-regime UI: Make all Modal widths consistent (#11722) 2023-05-17 10:07:38 -07:00
11477-eula-support add support for displaying EULA during ADE/DEP (#11532) 2023-05-05 14:36:13 -03:00
11570-bp-url cli: try to infer the bootstrap package name from the URL too (#11571) 2023-05-11 10:36:28 -03:00
issue-10745-implement-automatic-enrollment-section implement UI for automatic enrollment section in integrations (#11642) 2023-05-17 11:18:31 +01:00
issue-10995-integrate-setup-assistant-with-apple-dep Implement worker jobs that update/re-assign setup assistants on changes (#11630) 2023-05-15 14:06:09 -04:00
issue-10999-11000-mdm-enable-end-user-auth Allow end user authentication during automatic MDM enrollment to be enabled on a per-team basis (#11566) 2023-05-10 15:22:08 -05:00
issue-11040-fleetctl-mdm-command Revise validation errors for fleetctl mdm run-command (#11464) 2023-05-03 10:56:25 -05:00
issue-11341-fix-tooltip-position Fleet UI: Small bug fix tooltip position (#11509) 2023-05-03 13:08:17 -04:00
issue-11345-grey-out-unusable-checkbox Fleet UI: Grey out unusable select all queries checkbox (#11535) 2023-05-10 09:58:46 -04:00
issue-11450-always-show-profile-status-aggregate-ui always show profile status aggregate UI on macOS Settings page (#11524) 2023-05-05 14:44:05 +01:00
issue-11556-hide-save-global-policy-from-team-roles Fleet UI Bug fix: Team admin/maintainer do not see save button for global policies (#11673) 2023-05-16 13:18:29 -04:00
issue-11669-add-ui-for-end-user-migration-workflow Feat UI mdm migration (#11732) 2023-05-17 17:32:55 +01:00
issue-11671-macos-migration Add mdm.macos_migration to app config endpoints (#11694) 2023-05-15 11:50:07 -05:00
issue-11695-webhook-migrate-mdm Add device-authenticated endpoint to trigger MDM migration webhook request (#11724) 2023-05-17 09:16:26 -05:00