Commit Graph

4 Commits

Author SHA1 Message Date
zetaloop c9dbf5037e refactor(auth): support async deferred actions for login gating
Allow deferred login actions to return promises and execute them safely without violating lint rules. Also initialize order detail timer state without impure render-time Date.now calls so React hook purity checks pass.
2026-02-22 09:50:48 +08:00
zetaloop 8ce3b8a8b5 feat(auth): add pending action queue and api auth wrapper 2026-02-22 08:29:18 +08:00
zetaloop 4ce7303258 fix: replay pending action after login 2026-02-22 06:36:49 +08:00
zetaloop 07754069c1 feat: global login dialog with useRequireAuth hook for 401 auth gating 2026-02-20 18:50:46 +08:00