Improve chat title generation and context compacting
This commit is contained in:
@@ -38,7 +38,7 @@ body.site-page { width:100%; max-width:none; margin:0; padding:0; background:var
|
||||
.chat-page .sidebar-workspace-card h2 { margin:0; font-size:.85rem; letter-spacing:0; font-family:var(--font-body); color:var(--text-soft); }
|
||||
.chat-page .chat-main { grid-template-rows:auto minmax(0,1fr) auto; }
|
||||
.chat-heading { min-width:0; }
|
||||
.chat-heading #workspaceNotice { margin:0; padding:10px 24px; border-width:0 0 1px; border-radius:0; font-size:.85rem; }
|
||||
.chat-heading #workspaceNotice { position:absolute; top:12px; right:16px; z-index:25; width:min(420px,calc(100% - 32px)); margin:0; padding:10px 14px; border-width:1px; border-radius:var(--radius-md); font-size:.85rem; box-shadow:var(--shadow-md); }
|
||||
.chat-page .chat-header { min-height:76px; }
|
||||
@media(max-width:1100px) { .shell-header { grid-template-columns:170px minmax(0,1fr) auto; gap:12px; padding:0 24px; }.shell-nav a { padding:0 10px; }.shell-username { max-width:90px; } }
|
||||
@media(max-width:980px) {
|
||||
|
||||
@@ -426,8 +426,9 @@ input:focus, textarea:focus, select:focus { border-color: var(--brand); }
|
||||
|
||||
.messages-wrap { min-height: 0; position: relative; display: grid; grid-template-rows: auto auto auto minmax(0, 1fr); }
|
||||
.messages-wrap > .messages-panel { grid-row: 4; }
|
||||
.conversation-search-toggle { display: none; }
|
||||
.conversation-search { padding: 8px max(16px, calc((100% - 940px) / 2)); display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border); }
|
||||
.conversation-search-toggle { display: block; justify-self: start; min-height: 32px; margin: 4px 10px; padding: 4px 10px; font-size: .75rem; }
|
||||
.conversation-search { display: none; padding: 8px max(16px, calc((100% - 940px) / 2)); align-items: center; gap: 8px; border-bottom: 1px solid var(--border); }
|
||||
.conversation-search.is-open { display: flex; }
|
||||
.conversation-search label { flex: 0 0 auto; color: var(--text-soft); font-size: .76rem; font-weight: 700; }
|
||||
.conversation-search input { min-width: 0; width: min(280px, 100%); min-height: 34px; }
|
||||
.conversation-search span { min-width: 64px; color: var(--text-muted); font-size: .72rem; white-space: nowrap; }
|
||||
@@ -700,7 +701,6 @@ input:focus, textarea:focus, select:focus { border-color: var(--brand); }
|
||||
.messages-empty-actions { display: grid; }
|
||||
.chat-drawer-action-list { grid-template-columns: 1fr; }
|
||||
.chat-drawer-action-list > * { grid-column: auto; }
|
||||
.conversation-search-toggle { display: block; justify-self: start; min-height: 32px; margin: 4px 10px; padding: 4px 10px; font-size: .75rem; }
|
||||
.conversation-search:not(.is-open) { display: none; }
|
||||
.conversation-search { padding: 6px 10px; flex-wrap: wrap; gap: 5px; }
|
||||
.conversation-search label { width: 100%; }
|
||||
|
||||
Reference in New Issue
Block a user