mirror of
https://github.com/hansjone/netx.git
synced 2026-10-10 20:45:45 +08:00
UME: renew token when expires_in is 0; token UI loading + toasts; sync thread status hint
- keepalive: call renew when has_token and (expires_in<=0 or below renew_before) so 0s stuck state self-heals\n- alarms/inventory auto loops: set last_error while pulling so table is not stuck at init with no hint\n- UmePage: warn pills for connected+需续期, spinners on token actions, toast ok/err from App, invalidate sync status after token ops Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
def534e0a6
commit
0afc77c06b
5 changed files with 126 additions and 22 deletions
|
|
@ -335,7 +335,7 @@ function App() {
|
|||
/>
|
||||
}
|
||||
/>
|
||||
<Route path="/ume" element={<UmePage />} />
|
||||
<Route path="/ume" element={<UmePage toastOk={showOk} toastError={showError} />} />
|
||||
</Routes>
|
||||
{toast && <div className={`toast toast--${toast.type}`}>{toast.text}</div>}
|
||||
</AppLayout>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue