KamoCRM

Send the editor's back button where the member came from

Featurekamo-internal
Shipped
7 ஆகஸ்ட், 2026 அன்று 4:54 AM UTC
Author
kamo
Commit
3a3f52d

The wallpaper editor was a dead end — no way out but the nav rail. Both entry points (the home top-bar chip and the member profile header shortcut) now stamp their origin on the href, and the editor resolves that into a Back pill in the eyebrow row: home returns to the dashboard, a profile returns to the member whose page it was, using the stamped id rather than assuming it is the wallpaper's owner. A bare URL with no stamp falls back to this member's profile. fromId is checked against the opaque-id shape so a crafted URL cannot turn the button into an arbitrary redirect. Reading it needs useSearchParams, so the page gains the Suspense boundary the App Router requires.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing