If you open ⚙️ → Personal settings → Profile → Preview profile, the settings modal closes and the profile modal opens. If you then close the profile modal, we have some code that’s supposed to reopen the settings modal:
However, this was broken by 7a505e3857bbec1a8dd862da36e89b646dbe0115 (#20194), which migrated the profile modal to Micromodal.
Ideally, we should just open the profile modal on top of the open settings overlay (like we do for other modals like password and language), so there’s no need for that close/reopen dance.
If you open ⚙️ → Personal settings → Profile → Preview profile, the settings modal closes and the profile modal opens. If you then close the profile modal, we have some code that’s supposed to reopen the settings modal:
https://github.com/zulip/zulip/blob/768d7630af63da2cf8c7ae7bf079ab9f032e880c/static/js/settings_account.js#L721-L733
However, this was broken by 7a505e3857bbec1a8dd862da36e89b646dbe0115 (#20194), which migrated the profile modal to Micromodal.
Ideally, we should just open the profile modal on top of the open settings overlay (like we do for other modals like password and language), so there’s no need for that close/reopen dance.
Cc @ganpa3.