6 Commits

Author SHA1 Message Date
565699bd6b refactor: rename event sage_login to user_logined 2026-05-27 18:01:51 +08:00
ffc9350fcb feat: dispatch sage_login event after successful login in withLoginInfo
jsoncall.js: after login retry succeeds, dispatch 'sage_login' on bricks.app
so shell can reload the global menu dynamically.
2026-05-27 17:57:38 +08:00
2e22085122 feat: 401后登录成功自动重试原始请求
- withLoginInfo 改为接收完整 opts(含 method/headers/params)
- 等待 login_window 的 destroy 事件(=登录成功信号)
- 登录成功后重试原始请求
- 重试仍401则返回null(避免死循环)
- 用户手动关闭登录窗口时也触发重试,401则返回null
2026-05-27 15:39:34 +08:00
2ccd47ea03 Revert "feat: add shell_theme.css and shell_theme.js to header.tmpl"
This reverts commit 3ba2e0db2ee7adabdf3746db513493f12305e9e6.
2026-05-26 15:59:49 +08:00
3ba2e0db2e feat: add shell_theme.css and shell_theme.js to header.tmpl 2026-05-26 15:52:29 +08:00
86d1672251 first commit 2025-07-16 14:28:55 +08:00