UI: address review feedback on agents refresh and chat styles

This commit is contained in:
Val Alexander
2026-03-13 16:29:43 -05:00
parent 1765f3b6e8
commit bbb6701b83
3 changed files with 0 additions and 19 deletions

View File

@@ -16,8 +16,6 @@
background: transparent !important;
border: none !important;
box-shadow: none !important;
backdrop-filter: blur(14px) saturate(1.15);
-webkit-backdrop-filter: blur(14px) saturate(1.15);
}
/* Chat header - fixed at top, transparent */

View File

@@ -2416,19 +2416,6 @@
font-size: 0.9em;
}
.chat-text :where(.markdown-inline-image) {
display: block;
max-width: min(100%, 420px);
max-height: 320px;
width: auto;
height: auto;
margin-top: 0.75em;
border: 1px solid var(--border);
border-radius: var(--radius-md);
background: color-mix(in srgb, var(--secondary) 70%, transparent);
object-fit: contain;
}
.chat-text :where(:not(pre) > code) {
padding: 0.15em 0.35em;
border-radius: var(--radius-sm);

View File

@@ -915,7 +915,6 @@ export function renderApp(state: AppViewState) {
},
onRefresh: async () => {
await loadAgents(state);
await loadConfig(state);
const agentIds = state.agentsList?.agents?.map((entry) => entry.id) ?? [];
if (agentIds.length > 0) {
void loadAgentIdentities(state, agentIds);
@@ -925,9 +924,6 @@ export function renderApp(state: AppViewState) {
state.agentsList?.defaultId ??
state.agentsList?.agents?.[0]?.id ??
null;
if (refreshedAgentId) {
void loadAgentIdentity(state, refreshedAgentId);
}
if (state.agentsPanel === "files" && refreshedAgentId) {
void loadAgentFiles(state, refreshedAgentId);
}