Commit 4d0cf66
authored
fix(preview): activate selected files by keyboard (#152)
## What changed
- select the requested Files explorer entry through the existing bounded
bridge
- activate it with the explorer's supported Space keyboard action
- keep acknowledgement gated on the requested editor tab actually
opening
## Why
The code-server explorer accepts programmatic selection but does not
open files from synthetic double-click events. Its keyboard activation
path opens image and document editors reliably.
## Verification
- `pnpm turbo typecheck lint build`
- reproduced the Space activation against the production code-server
sandbox before implementing the bridge change
- final end-to-end production verification will run after deployment1 parent 7b4df6b commit 4d0cf66
1 file changed
Lines changed: 14 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
144 | | - | |
145 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
146 | 147 | | |
147 | | - | |
148 | | - | |
149 | | - | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
150 | 156 | | |
151 | 157 | | |
152 | 158 | | |
| |||
234 | 240 | | |
235 | 241 | | |
236 | 242 | | |
237 | | - | |
238 | | - | |
| 243 | + | |
239 | 244 | | |
240 | 245 | | |
241 | 246 | | |
| |||
309 | 314 | | |
310 | 315 | | |
311 | 316 | | |
312 | | - | |
313 | | - | |
| 317 | + | |
314 | 318 | | |
315 | 319 | | |
316 | 320 | | |
| |||
0 commit comments