GithubHelp home page GithubHelp logo

Comments (5)

dginev avatar dginev commented on May 19, 2024

Well, the problem is predictability - can we find what the least surprising keys would be for "Feeling lucky?" and "Report"?

At first I was even thinking of binding the left and right arrow to go to the previous/next article - but most arXiv authors wouldn't expect that, and they may instead want to horizontally scroll through e.g. a very wide table. So I dropped all thoughts of shortcuts.

Maybe something fun and exotic also works for feeling lucky - ctrl + ? where the question mark stands for "take me anywhere"

Something to think about... Thanks for joining in!

from ar5iv.

p16i avatar p16i commented on May 19, 2024

Well, the problem is predictability - can we find what the least surprising keys would be for "Feeling lucky?" and "Report"?

imho, it is probably quite challenging to find a common set of shotcuts; however, given the site is quite new, we might just pick a set of these shotcuts and educate the user somehow, e.g., using brackets
image.

For example, if one does leading-key + F, one activates the Feeling Lucky? functionality. The tricky part is which leading key to be used. Generally, I would try to avoid ctrl and alt because they are commonly used for the functionalities of OS and browsers. What do you think?

from ar5iv.

dginev avatar dginev commented on May 19, 2024

Right, well, I am still looking at what other platforms have done, which is what I'd like to stay close to if I'm to claim I tried to be "predictable".

For the previous/next buttons, I remembered that the youtube shortcuts bind Shift+P and Shift+N. This kind of convinces me using Shift is fine.

I still like the idea of Shift+? for the random "feeling lucky" navigation.

The conversion report really shouldn't need a shortcut, but maybe Shift+R for reporting an issue is sensible, as is Shift+X to go to the main arXiv page.

Also a Shift+C may be nice to toggle the color theme, would get quite handy if we get more than two -- then one can iterate through them.

I wouldn't mark that in the letters of the footer buttons, since it gets a bit harsh on the eyes. It may be better to pop-up a little modal legend with all possible shortcuts when shift is pressed and held?

from ar5iv.

p16i avatar p16i commented on May 19, 2024

I wouldn't mark that in the letters of the footer buttons, since it gets a bit harsh on the eyes. It may be better to pop-up a little modal legend with all possible shortcuts when shift is pressed and held?

I agree. I like the idea of the modal. Github has it, and you can use ? to activate the panel.

from ar5iv.

dginev avatar dginev commented on May 19, 2024

Github has it, and you can use ? to activate the panel.

Ha! It looks familiar, so I must have seen it before, but had totally forgotten github has such a handy modal. Yes, basically exactly that 🚀

from ar5iv.

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.