KamoCRM

Persist active mailbox in URL query params

Featurekamo-internal
Shipped
26 ஏப்ரல், 2026 அன்று 5:10 AM UTC
Author
kamo
Commit
8d024ce

Switching mailboxes now updates the URL (?mailboxType, ?mailboxId, ?mailbox) so refreshing the browser restores the same mailbox. MessageBrowser reads window.location.search in its lazy useState initializer to restore activeMailbox before the first render, and pushes URL updates via router.replace on every mailbox-changed event. FolderSidebar reads the same URL params after getAccessibleMailboxes resolves so the dropdown reflects the restored selection.

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