fleet/frontend/pages
Jacob Shandling 36be3d14a1
UI – Refrain from clearing the auth_token and redirecting to login for errors specific to this scenario (#14911)
## Addresses #12968


https://www.loom.com/share/37aaaa36936b47079ff3088c3430e36b?sid=c249306b-a32e-4a33-be83-aae2d13c98aa

- Improve the implementation of error reporting by `sendRequest` to
handle when AxiosError information is being provided in different fields
(`response`, `message`, `code`, or nowhere), as opposed to relying on
only the `response` field, which is empty in some (including this)
situations
- Using the more fine-grained reporting above, exempt `Request aborted`
errors when fetching a user's data, which is what occurs here, from
triggering a token clear and login page redirect.
- Use dedicated token handling utilities everywhere

## Checklist for submitter
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2023-11-03 08:32:41 -07:00
..
admin UI – Refrain from clearing the auth_token and redirecting to login for errors specific to this scenario (#14911) 2023-11-03 08:32:41 -07:00
ApiOnlyUser Fleet UI: URL routes for dashboard platforms (#8689) 2022-11-17 10:45:35 -05:00
ConfirmInvitePage Fleet UI: URL routes for dashboard platforms (#8689) 2022-11-17 10:45:35 -05:00
ConfirmSSOInvitePage Fleet UI: URL routes for dashboard platforms (#8689) 2022-11-17 10:45:35 -05:00
DashboardPage Icons improvements (making frontend consistent with Figma component library) (#14185) 2023-10-31 16:06:38 +00:00
errors Fleet UI: URL routes for dashboard platforms (#8689) 2022-11-17 10:45:35 -05:00
ForgotPasswordPage Fleet UI: No role = no access, refactor jsx class components to typescript functional components (#12953) 2023-08-02 11:29:49 -04:00
hosts Icons improvements (making frontend consistent with Figma component library) (#14185) 2023-10-31 16:06:38 +00:00
LabelPage Fleet UI: [fix] SQL editor remove multiple cursor functionality (#14387) 2023-10-11 11:50:27 -04:00
LoginPage Fleet UI: No role = no access, refactor jsx class components to typescript functional components (#12953) 2023-08-02 11:29:49 -04:00
LoginSuccessfulPage maintenance merge of main into feature branch (#14393) 2023-10-09 14:28:35 -07:00
LogoutPage Fleet Sandbox: Logout actually logs out of sandbox (#7213) 2022-08-15 15:59:02 -04:00
ManageControlsPage Icons improvements (making frontend consistent with Figma component library) (#14185) 2023-10-31 16:06:38 +00:00
MDMAppleSSOCallbackPage fix MDM SSO layout (#13578) 2023-08-30 14:16:08 -03:00
MDMAppleSSOPage fix MDM SSO layout (#13578) 2023-08-30 14:16:08 -03:00
NoAccessPage Fleet UI: No role = no access, refactor jsx class components to typescript functional components (#12953) 2023-08-02 11:29:49 -04:00
packs Icons improvements (making frontend consistent with Figma component library) (#14185) 2023-10-31 16:06:38 +00:00
policies UI – Refrain from clearing the auth_token and redirecting to login for errors specific to this scenario (#14911) 2023-11-03 08:32:41 -07:00
queries UI – Refrain from clearing the auth_token and redirecting to login for errors specific to this scenario (#14911) 2023-11-03 08:32:41 -07:00
RegistrationPage Fleet UI: [Unreleased bug] Fix setup flow bug created with fix for vertical overflow bug (#13179) 2023-08-07 13:09:44 -04:00
ResetPasswordPage Fleet UI: No role = no access, refactor jsx class components to typescript functional components (#12953) 2023-08-02 11:29:49 -04:00
software Icons improvements (making frontend consistent with Figma component library) (#14185) 2023-10-31 16:06:38 +00:00
UserSettingsPage Fix certain datetimes to display "Never" when they are prior to Fleet's launch date (#14487) 2023-10-16 16:43:47 +01:00