Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions frontend/src/components/ChatView/ChatView.css
Original file line number Diff line number Diff line change
Expand Up @@ -218,16 +218,6 @@
max-width: 42ch;
}

.chat__empty-prompts {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 8px;
max-width: min(100%, 520px);
margin-top: 4px;
}

.chat__empty-prompt,
.chat__empty-action {
display: inline-flex;
align-items: center;
Expand All @@ -248,13 +238,11 @@
transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.chat__empty-prompt:hover,
.chat__empty-action:hover {
background: var(--surface);
border-color: var(--border);
}

.chat__empty-prompt:focus-visible,
.chat__empty-action:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
Expand Down Expand Up @@ -1495,7 +1483,6 @@
target. These rows carry their disclosure state without a trailing chevron,
so the whole labeled line must be comfortably tappable. */
@media (pointer: coarse) {
.chat__empty-prompt,
.chat__empty-action,
.chat__quick-action-chip,
.chat__activity-header:not(.chat__activity-header--static),
Expand Down
18 changes: 0 additions & 18 deletions frontend/src/components/ChatView/ChatView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,6 @@ const _touchMql = typeof matchMedia === 'function'
let _isTouchPrimary = _touchMql?.matches ?? false
_touchMql?.addEventListener('change', (e) => { _isTouchPrimary = e.matches })

const EMPTY_PROMPTS = [
{ label: 'Make Möbius mine', prompt: 'Suggest three small changes that would make this Möbius feel more like mine, then implement the best one.' },
{ label: 'Build a tiny app', prompt: 'Build a tiny useful app I can try in the next five minutes.' },
{ label: 'Show me around', prompt: 'Show me what you can change in this Möbius, and recommend a first move.' },
]

const STOP_RETRY_DELAYS_MS = [0, 250, 700, 1200]

function delay(ms) {
Expand Down Expand Up @@ -3667,18 +3661,6 @@ export default function ChatView({
<div className="chat__empty">
<img className="chat__empty-glyph" src={mobiusLogoUrl} alt="" width="120" height="120" />
<p className="chat__empty-title">What's on your mind?</p>
<div className="chat__empty-prompts">
{EMPTY_PROMPTS.map(prompt => (
<button
key={prompt.label}
type="button"
className="chat__empty-prompt"
onClick={() => restoreComposerText(prompt.prompt, { focus: true })}
>
{prompt.label}
</button>
))}
</div>
</div>
)}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ test('lazy tool details and touch targets keep their accessibility contract', ()
assert.match(toolBlock, /className="chat__lazy-retry"/)
assert.match(toolBlock, /\? 'status' : undefined/)
assert.match(toolBlock, /\? 'polite' : undefined/)
assert.match(coarse, /\.chat__empty-prompt/)
assert.match(coarse, /\.chat__empty-action/)
assert.match(coarse, /\.chat__quick-action-chip/)
assert.match(coarse, /\.chat__lazy-retry/)
Expand Down
Loading