bug report: this keyboard shortcut doesn't work fo...
# report-bugs
b
bug report: this keyboard shortcut doesn't work for me (though the other shortcuts that I use & love & cherish in your webapp work great!) I do the shortcut and it seems to be toggling-mark-as-complete for one file, rather than marking-as-complete the file that I'm currently scrolled-to in the list (maybe there needs to be an IntersectionObserver or something to notice "which file is currently visible on the screen"? dunno!) steps to repro: 1. scroll through a long PR with lots of files in it (dunno if this is strictly required) 2. press
command-return
to trigger this shortcut expected results: it should toggle the "Viewed" checkbox for the file that i'm looking at actual results: it seems to toggle the "Viewed" checkbox for the same file over and over, even if I've scrolled way down on the screen
p
(If applicable) To help us repro, please send the following if you haven't already: - PR links, screenshots, and/or debug output if applicable - Repro steps - Does this happen consistently? Just to you or others on your team also? - Is this a regression? Is the problem new? - If you're having an issue with the CLI, please send us debug logs using
gt feedback --with-debug-context <any message>
🫡 1
Hey thanks for submitting! Opening a bug report so our team can investigate :-)
🙏 1
e
That shortcut currently only applies to a file if its header has keyboard focus; it doesn't respect the page's scroll position or the file tree's concept of the "active file". It's on our radar to fix, but we don't have a timeline for that right now. In the meantime, this shortcut works best when combined with
Cmd/Ctrl + Up/Down Arrow
to navigate between files (which will place focus on the next/previous file's header)
b
Thanks very much!