refactor(settings): remove command slash prefix and collapse mobile row actions

- Drop the redundant slash prefix from command and uploaded file names
- Move the row primary action into the overflow menu below sm in OpenCode settings
- Align titles, badges, switches, and row controls on the first line
This commit is contained in:
Chris Scott committed 2026-09-19 10:41:46 -04:00
1 parent 2a4fa956b4
commit f175aa73a6
7 files changed
+111 -45

No files matched your search

@@ -110,7 +110,7 @@ describe('OpenCodeConfigManager', () => {
})
await user.click(screen.getByRole('button', { name: /Commands/i }))
expect(await screen.findByText('/deploy')).toBeInTheDocument()
expect(await screen.findByText('deploy')).toBeInTheDocument()
expect(screen.getByText('Uploaded file: project/deploy.md')).toBeInTheDocument()
const agentsButton = screen.getAllByRole('button', { name: /Agents/i }).find(button => button.textContent?.startsWith('Agents'))