fleet/frontend/utilities
Nico b4a207fb5a
Add ability to upload custom org logos (#44390)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves #44330, Resolves #44331

# Checklist for submitter

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files)
for more information.

## Testing

- [x] Added/updated automated tests. (I'd defer integration tests to a
separate PR since this one is pretty large already.)

- [x] QA'd all new/changed functionality manually. I've tested this on
both the setup flow and the organization settings page. I haven't had
the time to test this on other places where we render the logo (macOS
setup experience / MDM migration dialog).


https://github.com/user-attachments/assets/95d4eae5-3da6-40f4-98a1-8575b97d96b3

## New Fleet configuration settings

- [x] Setting(s) is/are explicitly excluded from GitOps.

Will handle GitOps in a separate PR.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
  * Organizations can upload custom logos for light and dark modes.
* Registration and Org Settings support logo file upload, preview,
per-mode replace/delete, and validation (size & image formats).
* Activity feed records logo changes/deletions; site nav displays
uploaded logos per theme.
* File uploader/preview adds a Fleet logo graphic option and improved
logo validation.
  * Config/GitOps outputs now include separate dark/light logo fields.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-05-05 14:42:52 +02:00
..
append_target_type_to_targets replaced old api calls with new version (#5254) 2022-04-20 10:45:32 -07:00
auth_token extend the expiration date for the auth token cookie (#41261) 2026-03-10 17:15:09 +00:00
campaign_helpers Added link component to live query results (#34019) 2025-10-09 12:15:13 -04:00
convert_to_csv Fix a few UI typos (#30559) 2025-07-07 08:44:57 -03:00
date_format Frontend: Auto rotate recovery password (#42197) 2026-03-26 14:03:25 -06:00
debounce Removed all traces of Redux from the app! (#5287) 2022-04-22 09:45:35 -07:00
deep_difference Hydrant CA Feature Branch (#31807) 2025-09-04 12:39:41 -04:00
file Add ability to upload custom org logos (#44390) 2026-05-05 14:42:52 +02:00
format_api_errors Removed all traces of Redux from the app! (#5287) 2022-04-22 09:45:35 -07:00
format_error_response Enhance error handling for UI sendRequest service (#14971) 2023-11-09 09:33:31 -06:00
generate_csv update UI to react 18 (#17471) 2024-03-13 19:09:16 +00:00
numbers Fleet UI: Split out inventory vs. library team level views (#44467) 2026-05-01 09:12:51 -04:00
permissions Technician role FE changes (#39494) 2026-02-11 18:38:41 -03:00
simple_search Removed all traces of Redux from the app! (#5287) 2022-04-22 09:45:35 -07:00
sort UI: Update conditional access on a per-policy basis (#28658) 2025-05-01 11:43:38 -07:00
strings Fleet UI: Tighten up matchLoosePrefixKey to be stricter for sourcing software icons (#41598) 2026-03-12 16:56:01 -05:00
url Use new multiplatform keys on the front end (#41763) 2026-03-30 08:56:21 -05:00
yaml Fleet Documentation: Update agent options and enrollment secret documentation (#9565) 2023-02-13 10:45:37 -05:00
constants.tsx Fleet UI: Update osquery version options (#44193) 2026-04-29 08:53:43 -06:00
copy_text.ts update jest setup and move config to its own file (#8258) 2022-10-25 14:17:32 +01:00
endpoints.ts Add ability to upload custom org logos (#44390) 2026-05-05 14:42:52 +02:00
error_messages.ts Full-stack: Make "Server url" validation conditions consistent across Fleet, update Web Address form validation and submission logic per Fleet best practices (frontend/docs/patterns.md) (#27455) 2025-03-27 13:56:38 -07:00
helpers.tests.tsx Add ability to upload custom org logos (#44390) 2026-05-05 14:42:52 +02:00
helpers.tsx Add ability to upload custom org logos (#44390) 2026-05-05 14:42:52 +02:00
local.ts update auth token storage (#40504) 2026-02-26 17:05:13 +00:00
osquery_tables.ts Fleet UI: Platform compatibility checker hides unsupported osquery tables (#16435) 2024-01-30 10:31:06 -05:00
platform_icon_class.ts Removed all traces of Redux from the app! (#5287) 2022-04-22 09:45:35 -07:00
scripts_encoding.tests.ts Fix FMAs on Render (#37557) 2025-12-23 13:01:32 -05:00
scripts_encoding.ts Fix FMAs on Render (#37557) 2025-12-23 13:01:32 -05:00
software_install_scripts.ts Add support for zip files as Windows FMAs (#36841) 2025-12-15 11:03:43 -06:00
software_uninstall_scripts.ts Fleet UI: IPA - ability to upload, call mdm command API for activity details (#34886) 2025-10-28 17:48:10 -04:00
sql_tools.tests.ts The fix skips nodes where type === "column_ref", since those aren't table references (#42821) 2026-04-01 14:22:10 -05:00
sql_tools.ts The fix skips nodes where type === "column_ref", since those aren't table references (#42821) 2026-04-01 14:22:10 -05:00
theme.ts Switch to radio buttons for theme selection (#44518) 2026-05-04 15:12:33 -05:00