Preview each logo from the org being edited, and stop hiding the software simple logo

Fixkamo-internal
Shipped
September 6, 2026 at 5:05 AM UTC
Author
Kamo
Commit
0d1887d

Two defects on Behavior & Labeling, both of which make a logo that IS uploaded read as though it is not. **Every preview URL now comes from the org this pane fetched**, via `getThemePath(data.alias)`, rather than from a bare `getThemePath()` — which answers with the folder the TAB is painting. The two are the same org right up until they are not: a member who entered another workspace has a tab slug OrgProvider adopted from the session, and the pane would then preview one organization's logos, backgrounds and tab icons on another organization's settings. `getThemePath` falls back to the tab's answer when the alias is missing, so this is strictly more specific than what it replaces. It is also what LogosStep and BackgroundsStep have always done — they pass `getThemePath(org.alias)`; only this pane read the ambient one. **The software simple logo previews again.** It was hardcoded to "", so it appeared only after an upload in the same session and read as "not uploaded" on every later visit. It is the one slot with no existence marker on the org record and it cannot easily be given one: `logo-software.svg` is a fixed key with no extension to store, and the upload endpoint writes no column for this type — unlike the tab icons, which it stamps with both an ext and an enabled flag. `softwareLogoSimpleEnabled` is not that marker either; it says the mark OVERRIDES the company one, so an org that uploaded a logo and left the override off would still read as empty. So the bucket is asked the only way it answers cross-origin without CORS: the URL is set optimistically and `onError` folds the slot back to its placeholder. That guard is load- bearing now that a checkerboard sits behind these slots — without it an org with no software logo would get a broken image over a checker claiming there is artwork. A `blob:` source is exempt: that is the file the member just picked, and it cannot 404. Found while diagnosing a report that Harmony Home Loans showed no logos at all. That turned out to be neither of these — their logo is pure white and the card is white, which the mid-grey checker in 0e4603c1 now solves — but both of these were real and sitting behind it.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing