apertium-html-tools icon indicating copy to clipboard operation
apertium-html-tools copied to clipboard

Clicking on the Apertium logo and cancel button issues

Open woswos opened this issue 5 years ago • 23 comments

Conventionally clicking on the logo of a website takes users to the home page. When I click on the Apertium logo, nothing happens. I think this is a small but essential detail in the user interface. I will try to make this change and link PR to this issue.

Is there a historical reason why the logo is not clickable?

woswos avatar Feb 23 '20 04:02 woswos

Where would the logo take you? html-tools is an SPA.

sushain97 avatar Feb 23 '20 06:02 sushain97

It should work like the current "cancel" button in Apertium's case. I forgot to mention it.

woswos avatar Feb 23 '20 17:02 woswos

It should work like the current "cancel" button in Apertium's case. I forgot to mention it.

🤷‍♂ Usually the logo-link is used as a way to provide a Home button. I'm not sure what benefit having both Cancel and the logo accomplish the same thing adds but I don't have a strong reason to oppose it either.

sushain97 avatar Feb 24 '20 01:02 sushain97

I think it is really annoying and I still accidentally click the logo to go back. I think it is good to comply with the trends that improve user experience.

Also, IMO, calling the Go Back button Cancel is not right. AFAIK, Cancel buttons are usually used for stoping users from possible accidental/harmful changes or actions they can do.

Some examples [Situation] -> [Possible Buttons]:

  • "Do you want to delete file X?" -> Cancel/No Yes/Confirm/Ok
  • "Do you want to proceed with the payment?" -> Cancel/No Yes/Confirm/Ok
  • "Do you want to subscribe to the newsletter?" -> Cancel/No Yes/Confirm/Ok
  • "Operating system file open dialog" -> Cancel Open
  • "Buttons at the end of a user profile" -> Cancel Update Profile
Screen Shot 2020-02-24 at 12 39 00 AM Screen Shot 2020-02-24 at 12 40 09 AM

Even a quick Google or DuckDuckGo search shows red buttons with X symbol. There is no single Cancel button with that connotes going back to the previous page/view.

In Apertium's case, Cancel button is shown on webpage or document translation pages/views and it is not there to stop an action. I think it would make a lot of sense if a Cancel button was shown during the translation process to stop the translation to start a new translation in the same category. For example, clicking the Cancel button during a document upload would stop upload/translation and show a new document upload page rather than taking me back to the home page/view, where the text translation section is located.

tl;dr

IMO, the Cancel button should be renamed to something like Go Back, Back, Home, or something that really connotates going back to the page or view that users first encountered.

Also, IMO, all Cancel buttons should be in the same or similar place across the website, as you have mentioned in issue #338. To achieve this, we can completely get rid of the Cancel button and have buttons for each section instead. This also future-proofs us if we have OCR or additional methods in the future and helps us not to worry about where to and how to place a Cancel button. Of course, the design below is just a suggestion. Doing this change would automatically resolve issues #338, #358, and #359.

Screen Shot 2020-02-24 at 1 26 40 AM copy

Here are some other articles to get other people's opinions on the button selection issue: https://uxdesign.cc/the-microcopyist-cancellation-confirmation-conflagration-8a6047a4cf9 https://uxplanet.org/5-essential-ux-rules-for-dialog-design-4de258c22116 https://uxdesign.cc/buttons-placement-and-order-bb1c4abadfcb https://community.uxmastery.com/t/cancel-button-vs-back-navigation/1325 https://www.nngroup.com/articles/cancel-vs-close/

Bonus Bug: If I translate a webpage and then drag a file into the browser for translation, I end up getting two Cancel buttons: Screen Shot 2020-02-24 at 12 34 35 AM

woswos avatar Feb 24 '20 07:02 woswos

Yeah, I don't remember exactly why we called it Cancel instead of Back. I recall there being some bikeshedding but it was a while ago. I prefer the latter but it's a bit painful to implement in terms of breaking all the existing localizations which realistically speaking, are very hard to get fully updated.

A re-design of sorts like the one you suggest might also be a good idea.

sushain97 avatar Feb 24 '20 07:02 sushain97

Hey @sushain97 like clicking the logo button means refreshing the page so we can just refresh the page wont it work?

shrey1608 avatar Mar 28 '20 06:03 shrey1608

Refreshing the page instead of just resetting the UI is definitely sub-par UX.

sushain97 avatar Mar 29 '20 20:03 sushain97

@sushain97 It will take more time than any other operation but i think it is the accurate thing to do.If there is any other method please tell

shrey1608 avatar Apr 05 '20 12:04 shrey1608

This is now at least 3 issues, but some decisions need to be made.

  • Click on logo to reset UI (imho a good idea and obvious feature to have).
  • Add cancel buttons for uploads, in-process translations, etc. (perhaps some of these things are hard to in fact cancel, but we could at least have the UI immediately let the user do other things and simply ignore the result?)
  • Redesign the UI around current "canceling", perhaps in part by reconceptualising it as "back" (requires adding a localisation string, but I don't think that should stop us), and perhaps in part through some adjustment to the layout.

jonorthwash avatar May 21 '20 13:05 jonorthwash

  • click on the logo and the UI refreshes feature has been done by me i will make PR for it.

  • Adding cancel buttons for in-process translations would not be useful IMO. but one thing can be done that while we click on translate sometimes it could take a while to load and we get a loading icon in the centre so for that time period if the user changes his mind and wants to terminate we can display the cancel button for that loading time period. Do tell me your opinion about this.

@jonorthwash do tell me if i can add something to it and then i will make the PR

shrey1608 avatar May 21 '20 14:05 shrey1608

That sounds reasonable to me, yes. I think we had some sort of spinner at some point, though? @sushain97?

jonorthwash avatar May 23 '20 02:05 jonorthwash

I think we have a spinner on the whole page during a request. I don't think it's particularly useful to provide a button to cancel an in-flight request since the in-flight request doesn't block any UI interactions. I think we already cancel them automatically if you change what you've typed.

sushain97 avatar May 28 '20 06:05 sushain97

okay i agree with @sushain97 . So shall i make a PR for just the refresh of the page by clicking the logo?

shrey1608 avatar May 29 '20 15:05 shrey1608

Again,

Refreshing the page instead of just resetting the UI is definitely sub-par UX.

sushain97 avatar May 29 '20 16:05 sushain97

Hi @sushain97 , @TinoDidriksen I would like to solve this issue, can you please assign me ?

iprasandeep avatar Oct 03 '21 19:10 iprasandeep

@prsndp, ditto as before - just make a PR.

TinoDidriksen avatar Oct 03 '21 19:10 TinoDidriksen

I have resolved the problem of cancel button

Screenshot (233)

456535688765 avatar Mar 11 '23 15:03 456535688765

Should I make a PR @sushain97

456535688765 avatar Mar 11 '23 15:03 456535688765

Sorry, what exactly have you solved?

sushain97 avatar Mar 12 '23 00:03 sushain97

Before Screenshot (235)

After resolving the issue

224493623-51dcb9af-8915-4ba0-b27c-4e3bf5c2e53c

456535688765 avatar Mar 12 '23 08:03 456535688765

The only difference I see is that the Cancel button has moved. As far as I can tell, that does not resolve this issue.

sushain97 avatar Mar 12 '23 18:03 sushain97

Hi! @sushain97, @woswos is right about the button it should be renamed as "back" or "go back". In the current scenario, it is good to call cancel instead of "back". Here url cancel button also should be renamed as "back".

image

iprasandeep avatar Apr 28 '23 18:04 iprasandeep

Is anyone currently assigned to the issue?

deepdc19 avatar Jan 03 '24 23:01 deepdc19