feat: queue countdown, hold on stop, reply when blocked
Co-Authored-By: Ovis Fast (Claude) <[email protected]>
This commit is contained in:
1 parent
0558449439
commit
7ec35215c6
9 files changed
+361
-44
No files matched your search
@@ -61,3 +61,11 @@ test("canAutoSend waits for the draft/identity check of the agent", async () =>
|
||||
assert.equal(canAutoSend(new Set(["t3"]), "t2"), false);
|
||||
assert.equal(canAutoSend(null, "t2"), false);
|
||||
});
|
||||
|
||||
test("queueLabel for every state", () => {
|
||||
assert.equal(queueLabel({ state: "queued" }), "Następna tura");
|
||||
assert.equal(queueLabel({ state: "held" }), "Wstrzymana — wyślij ręcznie");
|
||||
assert.equal(queueLabel({ state: "sending" }), "Wysyłanie…");
|
||||
assert.equal(queueLabel({ state: "uncertain" }), "Nie potwierdzono");
|
||||
assert.equal(queueLabel({ state: "countdown", left: 2 }), "Wysyłam za 2 s");
|
||||
});
|
||||
Reference in new issue
Block a user