feat(ui): link sessions to chat page (#471) — thanks @HazAT

This commit is contained in:
Peter Steinberger
2026-01-09 04:07:56 +01:00
parent 2e1dee197a
commit 875b849322
2 changed files with 1 additions and 4 deletions

View File

@@ -33,6 +33,7 @@
- Hooks: allow per-hook model overrides for webhook/Gmail runs (e.g. GPT 5 Mini). - Hooks: allow per-hook model overrides for webhook/Gmail runs (e.g. GPT 5 Mini).
- Control UI: logs tab opens at the newest entries (bottom). - Control UI: logs tab opens at the newest entries (bottom).
- Control UI: add Docs link, remove chat composer divider, and add New session button. - Control UI: add Docs link, remove chat composer divider, and add New session button.
- Control UI: link sessions list to chat view. (#471) — thanks @HazAT
- Control UI: queue outgoing chat messages, add Enter-to-send, and show queued items. (#527) — thanks @YuriNachos - Control UI: queue outgoing chat messages, add Enter-to-send, and show queued items. (#527) — thanks @YuriNachos
- Telegram: retry long-polling conflicts with backoff to avoid fatal exits. - Telegram: retry long-polling conflicts with backoff to avoid fatal exits.
- Telegram: fix grammY fetch type mismatch when injecting `fetch`. (#512) — thanks @YuriNachos - Telegram: fix grammY fetch type mismatch when injecting `fetch`. (#512) — thanks @YuriNachos

View File

@@ -825,14 +825,12 @@ export class ClawdbotApp extends LitElement {
const tokenRaw = params.get("token"); const tokenRaw = params.get("token");
const passwordRaw = params.get("password"); const passwordRaw = params.get("password");
const sessionRaw = params.get("session"); const sessionRaw = params.get("session");
let changed = false;
let shouldCleanUrl = false; let shouldCleanUrl = false;
if (tokenRaw != null) { if (tokenRaw != null) {
const token = tokenRaw.trim(); const token = tokenRaw.trim();
if (token && !this.settings.token) { if (token && !this.settings.token) {
this.applySettings({ ...this.settings, token }); this.applySettings({ ...this.settings, token });
changed = true;
} }
params.delete("token"); params.delete("token");
shouldCleanUrl = true; shouldCleanUrl = true;
@@ -842,7 +840,6 @@ export class ClawdbotApp extends LitElement {
const password = passwordRaw.trim(); const password = passwordRaw.trim();
if (password) { if (password) {
this.password = password; this.password = password;
changed = true;
} }
params.delete("password"); params.delete("password");
shouldCleanUrl = true; shouldCleanUrl = true;
@@ -852,7 +849,6 @@ export class ClawdbotApp extends LitElement {
const session = sessionRaw.trim(); const session = sessionRaw.trim();
if (session) { if (session) {
this.sessionKey = session; this.sessionKey = session;
changed = true;
} }
params.delete("session"); params.delete("session");
shouldCleanUrl = true; shouldCleanUrl = true;