Add queued sending for Codex App drafts
Also include WebSocket heartbeat handling to keep idle connections healthy.
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
document.documentElement.dataset.dividerTime = dividerTime;
|
||||
})();
|
||||
</script>
|
||||
<link rel="stylesheet" href="style.css?v=20260621-cross-reply-collapse-last-section-offset">
|
||||
<link rel="stylesheet" href="style.css?v=20260622-queued-send">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark.min.css">
|
||||
</head>
|
||||
<body>
|
||||
@@ -126,6 +126,14 @@
|
||||
<path d="m15 5 3 3"></path>
|
||||
</svg>
|
||||
</button>
|
||||
<button id="queue-send-btn" class="queue-send-btn" title="排队发送" aria-label="排队发送" type="button" hidden>
|
||||
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path d="M4 6h10"></path>
|
||||
<path d="M4 12h8"></path>
|
||||
<path d="M4 18h10"></path>
|
||||
<path d="m16 10 4 4-4 4"></path>
|
||||
</svg>
|
||||
</button>
|
||||
<button id="send-btn" class="send-btn" title="发送">
|
||||
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round">
|
||||
<line x1="22" y1="2" x2="11" y2="13"></line><polygon points="22 2 15 22 11 13 2 9 22 2"></polygon>
|
||||
@@ -154,6 +162,7 @@
|
||||
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/marked/12.0.1/marked.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
|
||||
<script src="app.js?v=20260621-cross-reply-collapse-last-section-offset"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/mermaid/10.9.1/mermaid.min.js"></script>
|
||||
<script src="app.js?v=20260622-queued-send"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user