Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buttons to emulate keystrokes #81

Open
hillechien opened this issue Oct 19, 2018 · 1 comment
Open

Buttons to emulate keystrokes #81

hillechien opened this issue Oct 19, 2018 · 1 comment

Comments

@hillechien
Copy link

hillechien commented Oct 19, 2018

First of all, this is very nice software! I have been searching everywere for something like this before I found my-mind.
I am trying to publish some large mind maps on my website, and I would like to make them interactive.
A preview of them is here:
http://suntzu.squaringthecircles.com/mymind/mymind.php
I have a few problems though:

  • On an iPad my-mind is unusable because with every touch on the screen a keyboard pops up. Is it possible to disable the keyboard?
  • To be able to navigate easier (and also to enable use on an iPad!) it would be nice to make buttons that could send a (series of) keystrokes, to fold and unfold nodes.
  • I would like to have the UI initially hidden, because it is not really the purpose of these mind maps to be edited and saved to a users PC, although I would not forbid it.
  • I would like to have an option to allow changing the background color interactively.
  • I have just put a copy of the whole my-mind stuff on my site, it works fine, but I am wondering if some hacking types could save things to my site using webdav? (I tried, it did not work, but then, I am not a hacker)

I can do some limited JavaScript, but I am a bit at a loss where to start.

@ondras
Copy link
Owner

ondras commented Oct 20, 2018

Hi @hillechien,

thanks for the feedback! I am currently out of time to add features to my-mind, but I will at least try to address your points theoretically.

* On an iPad my-mind is unusable because with every touch on the screen a keyboard pops up. Is it possible to disable the keyboard?

I think this is because there is an inivisible textarea that is being focused every time something gets clicked. This is because the user should be able to hit ctrl+c and use that to copy stuff to clipboard.
This is mostly a hack and there might be a better way to handle clipboard support.

* To be able to navigate easier (and also to enable use on an iPad!) it would be nice to make buttons that could send a (series of) keystrokes, to fold and unfold nodes.

I would suggest putting small touchable "fold/unfold" icons/button next to nodes, instead of cluttering the UI with more buttons.

* I would like to have the UI initially hidden, because it is not really the purpose of these mind maps to be edited and saved to a users PC, although I would not forbid it.

Sounds like a tiny bit of custom CSS for this. Or perhaps a URL-based option for default UI open/close state?

* I would like to have an option to allow changing the background color interactively.

There is not usable built-in support for this. The file format used for saving stuff does not even have a proper place to store this information :-(

* I have just put a copy of the whole my-mind stuff on my site, it works fine, but I am wondering if some hacking types could save things to my site using webdav? (I tried, it did not work, but then, I am not a hacker)

It really depends on what type of authorization do you use for your WebDAV.

I can do some limited JavaScript, but I am a bit at a loss where to start.

The code is pretty old and does not use any modern fancy JS features. You can easily edit individual .js files and the run make to concatenate them into the main application JS file. That's it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants