feat: instance embed SSE live push and lighter tab revisit

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-07 11:01:10 +08:00
parent 444088baf3
commit 3db84d07e3
9 changed files with 288 additions and 25 deletions
+7 -3
View File
@@ -473,9 +473,6 @@
renderExpiries();
renderStrikes();
refreshAllPositions();
requestAnimationFrame(function () {
loadChain();
});
return;
}
requestAnimationFrame(function () {
@@ -523,4 +520,11 @@
});
bootOptionsPanel();
window.OptionsPanelLive = {
refreshSoft: function () {
refreshAllPositions();
},
refreshChain: loadChain,
};
})();