Skip to content

Commit 86eb685

Browse files
committed
Minor update
1 parent 297835c commit 86eb685

File tree

3 files changed

+67
-13
lines changed

3 files changed

+67
-13
lines changed

AGENTS.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,3 @@ TreeChat is a minimal branching chat UI with a React/TypeScript client and an Ex
1010
- Testing approach (including bugfix workflow): `docs/TESTING.md`
1111
- Env/DB configuration: `docs/CONFIG.md`
1212
- Commit/PR expectations: `docs/CONTRIBUTING.md`
13-
14-
## Bug Reports
15-
16-
When I report a bug, don't start by trying to fix it. Instead, start by writing a test that reproduces the bug. Then, have subagents try to fix the bug and prove it with a passing test.

client/src/ConversationView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ export default function ConversationView() {
492492
)}
493493
<div style={{ marginTop: 12 }}>
494494
<Composer
495-
placeholder={id ? 'SEND A MESSAGE' : 'START A NEW CONVERSATION'}
495+
placeholder={id ? 'Send a message' : 'Start a new branching conversation'}
496496
models={models}
497497
defaultModel={defaultModel}
498498
initialModel={lastModel}

client/src/styles.css

Lines changed: 66 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@
137137
--button-bg: var(--fx-base-150);
138138
--button-hover-bg: var(--fx-base-200);
139139
--button-active-bg: var(--fx-base-300);
140-
--button-pale-bg: var(--fx-base-200);
141-
--button-pale-hover-bg: var(--fx-base-300);
140+
--button-pale-bg: var(--fx-base-100);
141+
--button-pale-hover-bg: var(--fx-base-200);
142142
--button-pale-active-bg: var(--fx-base-400);
143143
--button-pale-text: var(--fx-base-900);
144144
--button-pale-border: var(--fx-base-300);
@@ -526,7 +526,6 @@ body {
526526
font-size: 14px;
527527
}
528528
.menu-pane {
529-
padding: 6px;
530529
display: flex;
531530
flex-direction: column;
532531
align-items: stretch;
@@ -543,7 +542,6 @@ body {
543542
font-size: 1em;
544543
text-align: left;
545544
padding: 8px 10px;
546-
border-radius: 6px;
547545
cursor: pointer;
548546
white-space: nowrap;
549547
overflow: hidden;
@@ -652,8 +650,6 @@ body {
652650
}
653651
.settings-card {
654652
background: var(--card);
655-
border: 1px solid var(--border);
656-
border-radius: 6px;
657653
padding: 10px 12px;
658654
}
659655
.settings-muted {
@@ -666,7 +662,8 @@ body {
666662
padding: 0;
667663
display: flex;
668664
flex-direction: column;
669-
gap: 6px;
665+
gap: 12px;
666+
font-family: var(--font-mono);
670667
}
671668
.settings-models-item {
672669
color: var(--text);
@@ -871,12 +868,73 @@ body {
871868

872869
.models-header {
873870
display: flex;
874-
align-items: center;
871+
align-items: baseline;
875872
justify-content: start;
876873
gap: 12px;
877874
margin-bottom: 18px;
878875
}
879876

877+
.models-header .button {
878+
align-self: baseline;
879+
}
880+
881+
.models-page .button {
882+
background: transparent;
883+
border: 0;
884+
transition:
885+
background-color 0.3s ease,
886+
color 0.12s ease,
887+
opacity 0.12s ease;
888+
}
889+
890+
.models-page .button.pale,
891+
.models-page .button.danger,
892+
.models-page .button.accent {
893+
background: transparent;
894+
border: 0;
895+
}
896+
897+
.models-page .button:hover:not(:disabled) {
898+
background: var(--button-bg);
899+
border: 0;
900+
}
901+
.models-page .button:active:not(:disabled) {
902+
background: var(--button-hover-bg);
903+
border: 0;
904+
}
905+
906+
.models-page .button.pale:hover:not(:disabled) {
907+
background: var(--button-pale-bg);
908+
border: 0;
909+
}
910+
.models-page .button.pale:active:not(:disabled) {
911+
background: var(--button-pale-hover-bg);
912+
border: 0;
913+
}
914+
915+
.models-page .button.danger:hover:not(:disabled) {
916+
background: var(--danger-bg);
917+
border: 0;
918+
}
919+
.models-page .button.danger:active:not(:disabled) {
920+
background: var(--danger-hover-bg);
921+
border: 0;
922+
}
923+
924+
.models-page .button.accent:hover:not(:disabled) {
925+
background: var(--accent);
926+
border: 0;
927+
}
928+
.models-page .button.accent:active:not(:disabled) {
929+
background: var(--accent-hover-bg);
930+
border: 0;
931+
}
932+
933+
.models-page .button:disabled {
934+
background: transparent;
935+
border: 0;
936+
}
937+
880938
.models-main {
881939
display: flex;
882940
flex-direction: column;

0 commit comments

Comments
 (0)