Stop deriving the org's theme domain, and freeze the form while it works

Fixkamo-internal
Shipped
August 26, 2026 at 7:34 AM UTC
Author
kamo
Commit
59543bd

The wizard derived the new org's domain from GET /org/{id}. That endpoint returns the entity, and its `domains` is LAZY — serialized as null outside a transaction — so the derivation fell through to "{alias}.kamocrm.com" every time an org had a real domain. For Panda Express it polled panda-express-kamocrm-com while the theme was at pandaexpress-com: the wait ran to its timeout and reported "your branding is still being applied", and the tab opened naming a domain that resolves to nothing, so the shell fell back to the shared host and showed Kamo's logo and colours over an org whose own were already in MinIO. Two reported symptoms, one guess — the third time this guess has cost something, so it is gone: the create response now carries the domain and this uses it verbatim. The form is also inert while creating. Its fields feed a request that has already been sent, and creation takes the better part of a minute — long enough to start editing and reasonably expect it to matter.

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