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

Remove "…" from "Create Debug Archive" button #4380

Merged
merged 1 commit into from
May 5, 2022

Conversation

spacegaier
Copy link
Contributor

@spacegaier spacegaier commented Mar 23, 2022

Currently the button label for the debug archive creation, is: "Create debug archive ...".

The current label looks weird, since it makes it seem like something is missing / cut-off on that button.

The common UX approach with ellipsis in regards to menu option and buttons is that "..." is used to indicate that clicking the button requires then some further user input (but then the ellipsis should directly follow the label without a space in between). However, usually it is also said that buttons that open a dialog should not automatically have ellipsis.

In my current PR state, I removed them completely which might however be a step too far, so I would also be fine with adding them again, but getting rid of the blank in between => "Create debug archive..." to be in line with basically all commonly used applications and UX guides.

See as reference: https://docs.microsoft.com/en-us/windows/win32/uxguide/cmd-menus#using-ellipses

Are the translation files handled automatically somehow or would I need to remove the ellipsis there manually?

Signed-off-by: Philip Allgaier philip.allgaier@gmx.de

@camilasan
Copy link
Member

Looks like an ellipsis (as if some text is cut off), but that is not the case => clearer without the dots.

I am not sure I understand this. Do you have a screenshot to clarify it?

Are the translation files handled automatically somehow or would I need to remove the ellipsis there manually?

They are automatically handled.

@spacegaier
Copy link
Contributor Author

I edited my initial post with a more elaborate explanation / motivation for this PR.

@spacegaier
Copy link
Contributor Author

Also note that this PR currently only covers this single button since that is the one I noticed in the client, but looking at the translation files there are more instances and (at least in the German translation) min. one occurrence where there is already no blank before the ellipsis.

@mgallien
Copy link
Collaborator

@spacegaier thanks for your contribution
once we reach a state where this PR can be merged we will wait a bit more due to the preparation of the next feature release

@mgallien
Copy link
Collaborator

mgallien commented May 4, 2022

this is fine code wise but I will let our designers decide what is best here
@nimishavijay @jancborchardt

Copy link
Member

@nimishavijay nimishavijay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! :)

Looks like an ellipsis (as if some text is cut off), but that is not the case => clearer without the dots

Signed-off-by: Philip Allgaier <philip.allgaier@gmx.de>
@nextcloud-desktop-bot
Copy link

AppImage file: Nextcloud-PR-4380-e75f37bf2e9c28dcf9abc467ae612fdb7eeb257f-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

Please make sure to quit your existing Nextcloud app and backup your data.

@mgallien mgallien merged commit 239c726 into nextcloud:master May 5, 2022
@mgallien mgallien added this to the 3.6.0 milestone May 6, 2022
@mgallien
Copy link
Collaborator

mgallien commented May 6, 2022

/backport to stable-3.5

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

Successfully merging this pull request may close these issues.

5 participants