SpringAll icon indicating copy to clipboard operation
SpringAll copied to clipboard

Remove cancel button in messages conversation

Open diaspora-redmine-github-migration opened this issue 15 years ago • 8 comments

Issue 1014 from bugs.joindiaspora.com Created by: nilsja On Mon Apr 11 22:53:21 2011

Priority: Normal Status: New

The cancel button in message conversations makes no sense and has no functionality. It should be removed.

Comment by: vasudev On Fri Apr 15 04:14:11 2011

nilsja wrote:

The cancel button in message conversations makes no sense and has no functionality. It should be removed.

Actually if you enter text in the Conversation text area and press Cancel it will clear the text! Have you noticed this? I think its is good to have this button in case if you want to clear the text area without reloading the page.

Comment by: untitaker On Fri Apr 15 13:37:22 2011

I am for removing the button, because if you accidentally click the wrong button, you're fucked. And there are other ways to clear a textarea - have you tried with CTRL + A and DEL?

Comment by: vasudev On Mon Apr 18 03:28:16 2011

untitaker wrote:

I am for removing the button, because if you accidentally click the wrong button, you're fucked. And there are other ways to clear a textarea - have you tried with CTRL + A and DEL?

Yes I'm aware that it is possible to remove the text with Ctrl-A and delte. But if user is not too g33kish then he will definitely search for a reset or clear button. We need to look at normal users case also.

And previously this button was working only in Chrome (I assume this request was done because of this issue) and now it works on all browsers http://bugs.joindiaspora.com/issues/997

How about keeping the 'Cancel' button, but renaming it to 'Clear' then?

ghost avatar Jul 17 '11 23:07 ghost

vasudev wrote:

But if user is not too g33kish then he will definitely search for a reset or clear button.

That’s not what people do. Cancel buttons are clicked accidentally, especially when long text has been written because they are there, close to a submit button and people don’t expect the program having some function that deletes their work irreversibly. Having a cancel button is highly dangerous and it should be removed.

jancborchardt avatar Jul 20 '11 07:07 jancborchardt

there is a javascript confirm explaining by clicking the said button, all changes will be abandoned, right? how doesn't that solve the problem?

danielgrippi avatar Jul 20 '11 17:07 danielgrippi

Because popups are mostly confirmed no matter what they say. The real question is if a cancel function is needed – which I think is not.

jancborchardt avatar Jul 20 '11 20:07 jancborchardt

Raphael fixed this with https://github.com/diaspora/diaspora/commit/4fa5731d5eac0d7abd7d3347bc6f1a93fd29dbe9

Thank you!

jancborchardt avatar Jul 30 '11 09:07 jancborchardt