GithubHelp home page GithubHelp logo

Comments (4)

GeopJr avatar GeopJr commented on May 19, 2024

Thanks for raising this issue!

There's already a shortcut for the New toot dialog - Ctrl + T. I'm not sure about adding a shortcut for the Publish button as you can just press Shift + Tab once (or Tab until it cycles through everything and reaches the Publish button again).

Is there another reason for it I'm missing (e.g. for mobile devices)? (not that Ctrl + Enter sounds bad but if we can avoid accidental toots, I'd opt in for that)

from tuba.

caetano-m avatar caetano-m commented on May 19, 2024

There's already a shortcut for the New toot dialog - Ctrl + T.

oh I see, thanks for that!

About using Shift + Tab an then Enter, I think this adds an extra step and makes the short-cut less welcoming to users who are not heavy keyboard users but still uses key short-cuts from time to time.

Another, perhaps stronger reason for a Ctrl + Enter is that it is how it works on mastodon web. Ctrl + Enter seems to be a very common short-cut for posting when Enter is not doing the job, in my experience.

Possible accidental toots is a fair point against the short-cut, and I understand if you see that as a deal-breaker, but I believe that since it needs two keys pressed simultaneously accidental toots won't be a frequent issue, as it is already not on web. Accidental posting seems more of a frequent problem when Enter = send and Shift + Enter = new line.

from tuba.

GeopJr avatar GeopJr commented on May 19, 2024

Sounds good then, thanks for the info!

from tuba.

GeopJr avatar GeopJr commented on May 19, 2024

Should be done as of 649362d

I decided to go with mnemonics for a middle ground between convenience and avoiding accidental executions!

For anyone reading this and is not aware of how to use mnemonics:

When you hold Alt, some labels will have their first letter underlined. This shows you the key combination to execute the related function.

For example, in the dialog below, to execute the "Publish" button, you need to press Alt+P

screenshot of tooth's compose dialog. the textview has "test" as input and the commit button has the label "Publish". The letter "P" is underlined

while for the dialog below, you need to press Alt+R
screenshot of tooth's compose dialog. the textview has "test" as input and the commit button has the label "Reply". The letter "R" is underlined

Thanks for the suggestion!

from tuba.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.