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

Clicking on the Apertium logo and cancel button issues #362

Open
woswos opened this issue Feb 23, 2020 · 23 comments
Open

Clicking on the Apertium logo and cancel button issues #362

woswos opened this issue Feb 23, 2020 · 23 comments

Comments

@woswos
Copy link

woswos commented Feb 23, 2020

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?

@sushain97
Copy link
Member

sushain97 commented Feb 23, 2020

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

@woswos
Copy link
Author

woswos commented Feb 23, 2020

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

@sushain97
Copy link
Member

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.

@woswos
Copy link
Author

woswos commented Feb 24, 2020

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 woswos changed the title Clicking on the Apertium logo should return user to the home page Clicking on the Apertium logo and cancel button issues Feb 24, 2020
@sushain97
Copy link
Member

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.

@shrey1608
Copy link

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

@sushain97
Copy link
Member

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

@shrey1608
Copy link

@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

@jonorthwash
Copy link
Member

jonorthwash commented May 21, 2020

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.

@shrey1608
Copy link

shrey1608 commented May 21, 2020

  • 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

@jonorthwash
Copy link
Member

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

@sushain97
Copy link
Member

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.

@shrey1608
Copy link

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

@sushain97
Copy link
Member

Again,

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

@iprasandeep
Copy link

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

@TinoDidriksen
Copy link
Member

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

@Inzamamdev
Copy link

I have resolved the problem of cancel button

Screenshot (233)

@Inzamamdev
Copy link

Should I make a PR @sushain97

@sushain97
Copy link
Member

Sorry, what exactly have you solved?

@Inzamamdev
Copy link

Before
Screenshot (235)

After resolving the issue

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

@sushain97
Copy link
Member

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

@iprasandeep
Copy link

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

@deepdc19
Copy link

deepdc19 commented Jan 3, 2024

Is anyone currently assigned to the issue?

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

No branches or pull requests

8 participants