Feature Request: give focus to accept button when github login dialog appears

When you see this dialog appear, you have to click to accept. My request is that you auto focus the ‘confirm’ button so that the user just has to hit ‘enter’ when the dialog comes up, or tab to cancel.

What problem(s) would this feature solve?
Helps prevent having to leave the keyboard to move the mouse to the accept button, since the user was probably in the shell typing “git push origin main” or something.

Explain what you were trying to do when you came across the problem leading to this feature request
I was committing changes to my repl using the shell commands ( git push origin main) and the dialog always comes up. Instead of being able to just hit “enter” I have to leave the keyboard and move the mouse over to the accept button. If the focus was auto set when the dialog comes up on the default ( confirm) then I could just hit “enter” and move on.

Replit Profile: https://replit.com/@triptych


Hi @triptych I would say this is definitely for security reasons. The friction of having to click on confirm for this session reduces the risk of accidentally accepting that you want to pass the token to the shell.

Does the dialog allow you to press [tab] to select the correct option?

1 Like

Yes, using tab has pretty much resolved my issue. Thanks for the tip.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.