• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lsm / neokai / 25999287047
81%

Build:
DEFAULT BRANCH: dev
Ran 17 May 2026 06:36PM UTC
Jobs 28
Files 512
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 May 2026 06:35PM UTC coverage: 83.957% (-0.07%) from 84.028%
25999287047

push

github

web-flow
feat(web): add command palette (Cmd+K) with action registry (#1932)

* feat(web): add command palette (Cmd+K) with action registry

Wires a global command palette so every action is reachable from the
keyboard. The palette is mounted once in App.tsx and toggled via Cmd+K
(or Ctrl+K). Commands are looked up through a small registry that
supports fuzzy search and per-command keyboard shortcuts.

- `lib/command-registry.ts` — typed registry + subsequence fuzzy ranker
- `lib/default-commands.ts` — seeds session/navigation/space/settings
  actions on app mount
- `hooks/useGlobalShortcuts.ts` — global keydown listener; the palette
  toggle works inside text inputs, other shortcuts do not
- `islands/CommandPalette.tsx` — Dialog + Combobox composition from
  @neokai/ui, grouped by category with Escape-to-close
- `components/settings/ShortcutsSettings.tsx` — new Settings ▸ Shortcuts
  panel listing every command with a registered shortcut

* fix(web): address review feedback on command palette

- Pass target tab to navigateToSettings() in settings.* commands so
  the URL and signal stay aligned (it defaults to 'general' when called
  with no section argument).
- Ignore auto-repeat keydown events so a held shortcut fires once per
  physical press; protects non-idempotent commands like session.new.
- Restrict palette toggle to Cmd+K on macOS and Ctrl+K on non-mac so
  we don't hijack the native macOS Ctrl+K (kill-to-end-of-line) text
  editing shortcut.

* fix(web): address round-2 review feedback on command palette

- Register default commands at module-load time so the registry is
  populated before the palette can render.
- Add shortcut collision detection in CommandRegistry.register():
  warns when two commands share the same mod+key combo.
- Wrap command.run() in try/catch in both CommandPalette and
  useGlobalShortcuts so async rejections don't become unhandled.
- Add component tests for CommandPalette (open, search, empty state,
  async rejection boundary... (continued)

8336 of 11600 branches covered (71.86%)

Branch coverage included in aggregate %.

159 of 231 new or added lines in 7 files covered. (68.83%)

65021 of 75775 relevant lines covered (85.81%)

305.23 hits per line

Uncovered Changes

Lines Coverage ∆ File
59
12.66
packages/web/src/lib/default-commands.ts
5
78.67
packages/web/src/hooks/useGlobalShortcuts.ts
4
87.93
packages/web/src/lib/command-registry.ts
3
84.44
packages/web/src/islands/CommandPalette.tsx
1
60.33
-0.66% packages/web/src/islands/ContextPanel.tsx
Jobs
ID Job ID Ran Files Coverage
1 web - 25999287047.1 17 May 2026 06:37PM UTC 219
76.46
GitHub Action Run
2 daemon-5-space-runtime - 25999287047.2 17 May 2026 06:37PM UTC 146
43.67
GitHub Action Run
3 daemon-online-rewind-1 - 25999287047.3 17 May 2026 06:37PM UTC 284
23.98
GitHub Action Run
4 daemon-5-space-workflow - 25999287047.4 17 May 2026 06:36PM UTC 101
32.19
GitHub Action Run
5 daemon-online-mcp - 25999287047.5 17 May 2026 06:36PM UTC 284
19.22
GitHub Action Run
6 daemon-4-space-storage - 25999287047.6 17 May 2026 06:37PM UTC 135
58.8
GitHub Action Run
7 daemon-1-core - 25999287047.7 17 May 2026 06:37PM UTC 289
39.22
GitHub Action Run
8 daemon-0-shared - 25999287047.8 17 May 2026 06:36PM UTC 30
83.92
GitHub Action Run
9 daemon-online-git - 25999287047.9 17 May 2026 06:36PM UTC 284
19.93
GitHub Action Run
10 daemon-online-lifecycle - 25999287047.10 17 May 2026 06:37PM UTC 284
24.24
GitHub Action Run
11 daemon-online-space-2 - 25999287047.11 17 May 2026 06:38PM UTC 284
34.9
GitHub Action Run
12 daemon-online-rpc-4 - 25999287047.12 17 May 2026 06:37PM UTC 284
24.85
GitHub Action Run
13 daemon-online-sdk - 25999287047.13 17 May 2026 06:37PM UTC 284
23.66
GitHub Action Run
14 daemon-online-features-1 - 25999287047.14 17 May 2026 06:37PM UTC 284
24.58
GitHub Action Run
15 daemon-online-rewind-2 - 25999287047.15 17 May 2026 06:37PM UTC 284
24.54
GitHub Action Run
16 daemon-online-websocket - 25999287047.16 17 May 2026 06:36PM UTC 284
18.89
GitHub Action Run
17 daemon-online-convo - 25999287047.17 17 May 2026 06:37PM UTC 284
23.65
GitHub Action Run
18 daemon-online-space-1 - 25999287047.18 17 May 2026 06:37PM UTC 284
35.63
GitHub Action Run
19 daemon-online-components - 25999287047.19 17 May 2026 06:36PM UTC 284
18.76
GitHub Action Run
20 daemon-2-handlers - 25999287047.20 17 May 2026 06:36PM UTC 169
50.52
GitHub Action Run
21 daemon-online-features-2 - 25999287047.21 17 May 2026 06:37PM UTC 284
24.21
GitHub Action Run
22 daemon-online-agent-sdk - 25999287047.22 17 May 2026 06:37PM UTC 284
23.79
GitHub Action Run
23 daemon-online-rpc-3 - 25999287047.23 17 May 2026 06:37PM UTC 284
20.85
GitHub Action Run
24 daemon-online-rpc-1 - 25999287047.24 17 May 2026 06:37PM UTC 284
20.31
GitHub Action Run
25 daemon-5-space-agent - 25999287047.25 17 May 2026 06:36PM UTC 66
45.94
GitHub Action Run
26 daemon-online-coordinator - 25999287047.26 17 May 2026 06:36PM UTC 284
7.63
GitHub Action Run
27 daemon-5-space-other - 25999287047.27 17 May 2026 06:36PM UTC 103
42.42
GitHub Action Run
28 daemon-online-rpc-2 - 25999287047.28 17 May 2026 06:37PM UTC 284
25.13
GitHub Action Run
Source Files on build 25999287047
  • Tree
  • List 512
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25999287047
  • c04ccbaf on github
  • Prev Build on dev (#25969550523)
  • Next Build on dev (#26004030043)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc