Skip to content

Show shortcut guidance in empty chat state#98

Merged
BunsDev merged 1 commit intomainfrom
okcode/hotkey-guidance-overlay
Mar 29, 2026
Merged

Show shortcut guidance in empty chat state#98
BunsDev merged 1 commit intomainfrom
okcode/hotkey-guidance-overlay

Conversation

@BunsDev
Copy link
Copy Markdown
Contributor

@BunsDev BunsDev commented Mar 29, 2026

Summary

  • Replace the empty-chat placeholder with a shortcut guidance panel that surfaces useful hotkeys when a thread has no messages.
  • Add shared chat shortcut guidance data and extend keybinding helpers to return all labels for a command, deduplicated in declaration order.
  • Harden the workspace file tree against partial directory payloads so an empty entries response no longer crashes rendering.
  • Update tests to cover the new empty-state guidance and the expanded keybinding label behavior.

Testing

  • Not run (PR content only).
  • Existing tests added/updated in apps/web/src/components/chat/MessagesTimeline.test.tsx, apps/web/src/components/WorkspaceFileTree.test.tsx, and apps/web/src/keybindings.test.ts.

- Replace the empty-thread placeholder with rotating shortcut tips
- Add shared chat shortcut guidance and multi-binding labels
- Harden workspace tree rendering against partial directory payloads
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Mar 29, 2026 6:54am

@github-actions github-actions bot added size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Mar 29, 2026
@BunsDev BunsDev merged commit 10d4d37 into main Mar 29, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant