No internet connection
  1. Home
  2. Ideas

Feature request: Keyboard shortcuts

By Christian Scheuer @chrscheuer2020-04-06 09:44:29.259Z2020-04-06 11:59:42.038Z

It would be great if we could do things we do often via keyboard shortcuts.

For example:

  • Cmd+Enter: Post question.
  • C: Compose new question
  • R: Reply
  • E: Archive (mark closed for example)
  • J/K: Next/previous (between threads or between posts in pages)
  • N: View notifications

etc.

It would be great if it took inspiration from the same shortcuts that are used in Gmail and Intercom.

  • 6 replies
  1. KajMagnus @KajMagnus2020-04-20 04:02:37.286Z

    Good idea. Nice with shortcuts. Personally I use Vim keybindings in all editors, e.g. VSCode. (Gmail's J/K is the same as in Vim.)

    Related thread at HackerNews: https://news.ycombinator.com/item?id=22741386 — summary: It's about a way to quickly find all ancestor posts, so that, in large discussions, one won't need to scroll up "manually" to find all ancestors (the parent reply, grandparent, grand-garnd-... ).
    — Maybe P could be a shortcut for popping up a dialog and showing all parent posts, in long discussions? Or jumping to the parent post

    1. CChristian Scheuer @chrscheuer2020-04-20 18:01:22.097Z

      Yea, good idea!

      Something that I use all the time in Intercom now is the ability to "snooze" a conversation.
      Often I could need something similar in TY where I will see a post from a user, but I don't immediately have time to answer their question.
      However - I don't wanna risk not answering them in the future.
      In Intercom I can choose to manually "close" or "snooze" a conversation. Perhaps something similar could be implemented for the forum - although I know it has to work differently on a forum.
      But would be great for time management, so that it's easier to delay less important threads and focus on more time sensitive ones. Right now I have to reply to everything I see when I see it, because otherwise I risk forgetting them.

      Oooops - and the reason I posted that in this thread is that I use "z" in Intercom for snoozing :)

    2. In reply tochrscheuer:
      KajMagnus @KajMagnus2020-11-18 12:08:17.930Z

      Ok so shortcuts will be included in the upcoming version (already implemented).

      E.g. gr = Go to the topics list, view Recent topics, gaa = Go to Admin Area, and cnh = Change Notifications to Hushed notification level.

      If one clicks Shift (and no other key), a list of all shortcuts pops up.

      There'll be a feature flag now initially, so can be enabled/disabled site wide. Maybe should be a per user feature flag too, hmm

      1. In reply tochrscheuer:
        KajMagnus @KajMagnus2020-11-23 09:35:29.310Z

        Shortcuts now available here at Ty .io — click Shift to try them out

        1. Progress
          with doing this idea
        2. @KajMagnus marked this topic as Planned 2020-04-20 04:03:32.096Z.
        3. @KajMagnus marked this topic as Started 2020-11-18 12:05:33.200Z.