Giter Club home page Giter Club logo

Comments (7)

DanInSpace104 avatar DanInSpace104 commented on July 4, 2024

@bouncepaw I think if you turned off js or use cli-browser, you already use keyboard and shortcuts. So js is completely fine for that purpose. But where to put help panel? On "?" key, like in vimium etc?

from mycorrhiza.

handlerug avatar handlerug commented on July 4, 2024

But where to put help panel? On "?" key, like in vimium etc?

Shift+/, which'll result in a ? key press event, yes. Already working on it btw

from mycorrhiza.

gualse avatar gualse commented on July 4, 2024

@bouncepaw My friend once told me: "Any feature with the ability to disable is useful". I think we should make disable switch.
Also I think we should use JS and arrows keys:
Left — previous hypha
Right — next hypha
Up — parent hypha
Down — first child hypha.
Ctrl+Enter open edit page, but on edit page itself save hypha text.
I also think we can create customizable shortcuts.
JS isn't bad until it's optional.

from mycorrhiza.

bouncepaw avatar bouncepaw commented on July 4, 2024

@gualse What kind of disable switch? Per user or per wiki? Whatever the case, I think we don't need that switch. Configurability is not always desired. Users with such unusual demands already know a way to disable it, wiki administrators can override any script without any switch (thanks to one of the latest @handlerug's commits).

Also, using just arrows for hypha navigation is not good because it overrides the default browser behavior. Doing so is harmful. What about using them together with alt? Hmm...

Any JS is optional, one can just turn it off in the browser settings.

from mycorrhiza.

gualse avatar gualse commented on July 4, 2024

@bouncepaw Per user of course. I use addon for vim shortcuts and I afraid that Mycorrhiza will config with it.
Alt+Arrows sounds good.

from mycorrhiza.

bouncepaw avatar bouncepaw commented on July 4, 2024

@gualse There is no such problem. Vim shortcuts intercept all keystrokes, so Mycorrhiza does not receive any. No conflict

from mycorrhiza.

handlerug avatar handlerug commented on July 4, 2024

Shipping in 1.2 it seems 👀

from mycorrhiza.

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.