fix(ui): chat footer reflects per-topic encryption state
Some checks failed
CI / Lint (push) Has been cancelled
CI / Typecheck (push) Has been cancelled
CI / Broker tests (Postgres) (push) Has been cancelled
CI / Docker build (linux/amd64) (push) Has been cancelled

This commit is contained in:
Alejandro Gutiérrez
2026-05-02 23:24:49 +01:00
parent 7f6af0137d
commit 646d4fa3f1

View File

@@ -1095,7 +1095,15 @@ export function TopicChatPanel({
<span>SSE · 2s push</span> <span>SSE · 2s push</span>
<span>key valid until {fmtTime(apiKeyExpiresAt)}</span> <span>key valid until {fmtTime(apiKeyExpiresAt)}</span>
<span className="ml-auto"> <span className="ml-auto">
v0.2.0 · plaintext base64 · per-topic crypto in v0.3.0 {keyState === "ready"
? "v0.3.0 · 🔒 e2e encrypted (crypto_secretbox)"
: keyState === "not_sealed"
? "v0.3.0 · waiting for re-seal · v1 plaintext fallback"
: keyState === "topic_unencrypted"
? "v1 plaintext base64 · click enable to upgrade"
: keyState === "loading"
? "loading topic key…"
: "v0.3.0 · key state: error"}
</span> </span>
</div> </div>
</div> </div>