Skip to content
This repository has been archived by the owner on Mar 16, 2023. It is now read-only.

Rethink double click to edit #13

Open
octalmage opened this issue Sep 10, 2014 · 20 comments
Open

Rethink double click to edit #13

octalmage opened this issue Sep 10, 2014 · 20 comments

Comments

@octalmage
Copy link
Owner

Double clicking to edit is very clean and intuitive but it conflicts with selecting text. I've gotten used to it but I'd still like to be able to double click to select. Sooo, we either need a new way to switch to the editor, or find a way to make it work.

@briedenk suggested finding a way to only switch if whitespace is double clicked, which could work but I'm not positive it's possible.

Whatever we come up with, I'd like to refrain from using a button if possible.

@mjchamplin
Copy link
Collaborator

I'm currently looking at ways to incorporate this into the UX without it just being a button. I agree about the double-click, and I hadn't really even thought of that. A key binding seems too obscure.

@ghost
Copy link

ghost commented Sep 10, 2014

This may be a little bit of a cop out, but would double clicking on the tab to open the editor work? Or how about double clicking anywhere in the tab bar frame to open the editor on the currently selected note?

@mjchamplin
Copy link
Collaborator

I feel like if we do that there will also need to be a button. It needs to be either really obvious or really intuitive, and I don't like the idea of it being so "hidden". BUT there may be an intuitive way to indicate that people should click there. I'm thinking it over.

@octalmage
Copy link
Owner Author

We could do hotkeys like, e for edit, d for duplicate, and n for new note.

@ghost
Copy link

ghost commented Sep 11, 2014

I like the idea of hotkeys, but not as the only means of access. You had mentioned tripleclick to move between editor and markdown renderer (sp?). That's not an awful idea.

octalmage added a commit that referenced this issue Sep 11, 2014
@octalmage
Copy link
Owner Author

I implemented triple click in 13399e0 and it's not bad! You can select a word with double click and get to the editor easily. Check it out in v0.4.2 (currently uploading Mac build) and let me know what you think!

@octalmage
Copy link
Owner Author

Another idea, what if you hold down a key, like command, when you want to select text. So cmd+double click would allow you to select a word.

@ghost
Copy link

ghost commented Sep 11, 2014

I would not be opposed to this.

@mjchamplin
Copy link
Collaborator

My concern there is you're changing the default functionality. People are used to double-clicking to select, so if they have to re-learn I think it might be frustrating. I think cmd+double click to switch to editor would be more reasonable.

@octalmage
Copy link
Owner Author

Yeah you're right. Well checkout triple click and let me know what you think!

@ghost
Copy link

ghost commented Sep 12, 2014

Not sure how well I like the triple click in practice. Can we do ctrl+double click for selecting text?

@mjchamplin
Copy link
Collaborator

Still think changing the default method for selecting text is troublesome.

Triple click isn't a natural gesture, I'd never really thought about that before.

I'm leaning toward there being some area of the editor where you double click to switch between. I'm trying to work that out in the UI design and I'll post something once I find a solution I like.

@ghost
Copy link

ghost commented Sep 12, 2014

I think I like this best. Was it ever determined if double clicking text is distinguishable from double clicking within the window but not on text?

@octalmage
Copy link
Owner Author

@briedenk So I started trying to detect text under the cursor and it worked fine when the note is displaying, but in the editor I ran into issues. Ace uses a TON of little divs to color and position the code and this makes it very difficult. jQuery.nearest got me closer but it's still not there.

Anyway @mjchamplin and I discussed it and we came up with a page curl idea. In the bottom right there will be a small page curl and you'll (double?) click that to get to the editor.

@ghost
Copy link

ghost commented Sep 16, 2014

I like the idea for a page curl a lot. Can't wait to see it implemented.

octalmage added a commit that referenced this issue Sep 16, 2014
octalmage added a commit that referenced this issue Sep 17, 2014
@octalmage
Copy link
Owner Author

Just added a CSS transition in 5e68d82 and it turned out pretty awesome!

@octalmage
Copy link
Owner Author

We made the page curl "flat" and it didn't really work with the animation. It just looked like a magic flying triangle!

@mjchamplin, have you had any thoughts about this?

WHY IS THIS SO HARD.

@mjchamplin
Copy link
Collaborator

Actually I have! I had Joey Wilkinson try out Marknote yesterday and he gave me some great feedback, including a way to make that more obvious. I'll mock it up asap.

@octalmage
Copy link
Owner Author

Thank god!

octalmage added a commit that referenced this issue Sep 28, 2014
octalmage added a commit that referenced this issue Sep 28, 2014
@octalmage
Copy link
Owner Author

I miss double click to edit, it was so nice. And look, Capsule does it!

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

No branches or pull requests

2 participants