docs: add keyboard shortcuts section to README, version/stars badges, update landing page with v1.13
This commit is contained in:
15
README.md
15
README.md
@@ -5,9 +5,11 @@
|
||||
<h1 align="center">PinchChat</h1>
|
||||
|
||||
[](https://github.com/MarlBurroW/pinchchat/actions/workflows/ci.yml)
|
||||
[](https://github.com/MarlBurroW/pinchchat/releases)
|
||||
[](https://opensource.org/licenses/MIT)
|
||||
[](https://nodejs.org/)
|
||||
[](https://github.com/MarlBurroW/pinchchat/pkgs/container/pinchchat)
|
||||
[](https://github.com/MarlBurroW/pinchchat)
|
||||
[](https://marlburrow.github.io/pinchchat/)
|
||||
|
||||
**A sleek, dark-themed webchat UI for [OpenClaw](https://github.com/openclaw/openclaw) — monitor sessions, stream responses, and inspect tool calls in real-time.**
|
||||
@@ -161,6 +163,19 @@ export const localeLabels: Record<string, string> = {
|
||||
|
||||
> **Tip:** TypeScript enforces that your new locale object has the same keys as `en` — missing translations won't compile.
|
||||
|
||||
## ⌨️ Keyboard Shortcuts
|
||||
|
||||
Press **?** anywhere to open the shortcuts panel.
|
||||
|
||||
| Shortcut | Action |
|
||||
|---|---|
|
||||
| `Enter` | Send message |
|
||||
| `Shift + Enter` | New line |
|
||||
| `Esc` | Stop generation / close sidebar |
|
||||
| `Ctrl/⌘ + K` | Focus session search |
|
||||
| `Alt + ↑` / `Alt + ↓` | Switch between sessions |
|
||||
| `?` | Show shortcuts help |
|
||||
|
||||
## ❓ Troubleshooting
|
||||
|
||||
### Connection fails / "WebSocket error"
|
||||
|
||||
@@ -747,6 +747,13 @@
|
||||
|
||||
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin-top: 2rem;">
|
||||
|
||||
<div style="background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 1.25rem;">
|
||||
<div style="font-size: 1.5rem; margin-bottom: 0.5rem;">⌨️</div>
|
||||
<h3 style="color: var(--text-primary); font-size: 0.95rem; margin-bottom: 0.35rem;">Keyboard Shortcuts</h3>
|
||||
<p style="color: var(--text-secondary); font-size: 0.82rem; line-height: 1.5;">Navigate between sessions with Alt+↑/↓, search with ⌘K, and view all shortcuts with ?. Power-user friendly.</p>
|
||||
<span style="display: inline-block; margin-top: 0.5rem; font-size: 0.7rem; color: var(--cyan); opacity: 0.7;">v1.13</span>
|
||||
</div>
|
||||
|
||||
<div style="background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 1.25rem;">
|
||||
<div style="font-size: 1.5rem; margin-bottom: 0.5rem;">📥</div>
|
||||
<h3 style="color: var(--text-primary); font-size: 0.95rem; margin-bottom: 0.35rem;">Conversation Export</h3>
|
||||
|
||||
Reference in New Issue
Block a user