Repository navigation
Commit 3b011c0
feat(web): issues page answers the pull request page's keyboard (#1421)
> 🤖 claude/anthropic claude-opus-5-5 (high)
## What Changed
The issues page answers the same keys as the Pull Requests page.
| Key | Does |
| --- | --- |
| **Mod+F** | Focuses and selects the issue search |
| **↓ in search** | Steps into the first row |
| **↑ / ↓ on a row** | Moves between rows; ↑ on the first returns to search |
| **Home / End** | First or last row |
| **Enter** | Opens the focused row (unchanged) |
| **Mod+W** | Closes the open issue (`rightPanel.close`) |
| **Mod+Shift+C** | Copies the open issue's link (`thread.copyReference`) |
- Close and copy read the user's keybindings, like the PR page
- The thread's issues panel keeps arrow keys only; the thread owns the rest
- The focus step is a pure helper with its own tests
## Why
The page has no ChatView, so shared panel shortcuts did nothing there.
A reader could search but never reach a result without the mouse.
## UI Changes
| Row focus | Link copied |
| --- | --- |
|  |  |
**Before:** the same key sequence; nothing moves, so Enter opens nothing
https://github.com/user-attachments/assets/f3bfd9a2-ec6e-40ac-9614-f5d5c5b55ed6
**After:** search, step down, open, copy, close, back to search
https://github.com/user-attachments/assets/6e9d7db1-1992-4050-bec7-eb51c86785ff
## Checks
```text
tsc --noEmit (apps/web) → exit 0
vp test run keyboard logic + issues page → exit 0 (9 tests)
vp lint (changed files) → exit 0
vp run fork:ci → exit 0
```
## Checklist
- [x] This PR is small and focused
- [x] I explained what changed and why
- [x] I included before/after screenshots for any UI changes
- [x] I included a video for animation/interaction changes
Stacked on #1420.
Opus 5.5 via Claude Code in T3 Code.
## Fork trailers
Squashes:
- 9ef260a feat(web): issues page answers the pull request page's keyboard (#1421) (#1421)
- f60f824 fixup! feat(web): issues page answers the pull request page's keyboard (#1421) (#1421)
- 9df341e6f0 feat(web): issues page answers the pull request page's keyboard (#1421) (#1421)
- ec5efaeee3 fixup! feat(web): issues page answers the pull request page's keyboard (#1421) (#1421)
Fork-Domain: github-issues
Fork-Tier: qol
Fork-Upstreamable: no1 parent 8b12b0a commit 3b011c0
3 files changed
Lines changed: 180 additions & 0 deletions
File tree
- apps/web/src/components/githubIssue
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
0 commit comments