#251 fix: admin shell menu mispositioned + deep-link broken (v0.6.31) #257
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/251-me"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two bugs in the v0.6.30 shell, one root cause + one timing issue, both diagnosed live via the Chrome extension (console showed
ReferenceError: me is not defined):mereferenced from global scope.meis a boot-local variable; the account-menu gate andopenAdminreferenced it globally, so the avatar handler threw before its positioning code ran (menu jumped to the far-left corner, Administration entry never revealed) andopenAdminwould have thrown too. Fixed by promoting admin status to a globalfeat.adminflag set at boot; the entry is gated in boot.#admin/<topic>didn't open becauseload()rewriteslocation.hashto the folder path synchronously before the deep-link check read it. The admin route is now captured from the initial hash beforeload(), and on an admin deep-link the folder load is skipped so the URL stays#admin/<topic>.Frontend-only.