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

The "All Shots" and "Download" buttons are truncated on German localization #4892

Closed
SoftVision-CosminMuntean opened this issue Sep 14, 2018 · 16 comments
Assignees
Labels
[QA]:Normal issue Label for QA to mark normal issues logged [QA]:Verified fixed Label for QA to mark verified fixed issues

Comments

@SoftVision-CosminMuntean

[Affected versions]:

  • Nightly 64.0a1
  • Screenshots 34.0.0 dev

[Affected Platforms]:

  • All Windows
  • All Mac
  • All Linux

[Prerequisites]:

  • The "xpinstall.signatures.required" boolean pref is set to "false".
  • The "extensions.legacy.enabled" boolean pref is set tot "true".
  • Have the Screenshots 34.0.0 dev version installed from here, on a new clean profile.
  • Have the preferred language set to German [de-de] in "about:preferences#general".

[Steps to reproduce]:

  1. Open the Firefox browser with the profile from prerequisites and navigate to any website.
  2. Save a selection on the page.
  3. Observe the "All Shots" and "Download" buttons.

[Expected result]:

  • The buttons are entirely visible.

[Actual results]:

  • The buttons are truncated.

[Notes]:

  • Also, it seems that the "All Shots" and "Settings" button are too close to the edge of the page in German localization.
  • Here is a screenshot of the issue:
    download and all shots buttons
@SoftVision-CosminMuntean SoftVision-CosminMuntean added the [QA]:Normal issue Label for QA to mark normal issues logged label Sep 14, 2018
@chenba
Copy link
Collaborator

chenba commented Sep 14, 2018

@6a68 raised this exact concern when the new UI was proposed. @punamdahiya do you remember if there's a decision on how to handle this?

@punamdahiya
Copy link
Contributor

Text style changes to ellipsis on overflow, no formal UX decision on that, including @youwenliang @johngruen for their take on it.

@clouserw
Copy link
Collaborator

@flodolo if we put a comment above these strings to choose the shortest words possible, does that sound like a viable strategy for this? Is the German localizer on github so we could ping them and ask?

@clouserw clouserw added this to the Sprint 22 (64-3) milestone Sep 17, 2018
@flodolo
Copy link
Collaborator

flodolo commented Sep 17, 2018

I think we should really fix the layout, not asking for shorter translations.

But yes, @koehlermichael is available on GitHub.

@johngruen
Copy link
Contributor

@youwenliang's UI proposes using tooltips instead of text labels for the buttons. That would certainly save space and obviate the string length problem

@punamdahiya
Copy link
Contributor

@johngruen For width > 719px we are sticking with buttons with text and needs to be fixed. Should we ask for shorter translation?

@youwenliang
Copy link
Contributor

I think we should have shorter translation, at least for "All Shots".

@flodolo
Copy link
Collaborator

flodolo commented Sep 21, 2018

Reiterating: "ask for shorter translation" should be the last resort. A layout that can't accommodate much longer translations has issue, shorter translations would be a workaround.

@johngruen
Copy link
Contributor

Agree with @flodolo, shorter translation likely means bad translation. Let's keep working on the design as is, but let's move these labels into tooltips

@punamdahiya
Copy link
Contributor

@youwenliang Hiding labels leaves extra space around buttons, it will be great if we can get spec of how header (width > 719) looks without labels. Thanks!

@youwenliang
Copy link
Contributor

youwenliang commented Sep 25, 2018

Here's the measurement:
https://mozilla.github.io/testpilot-assets/Firefox_Screenshots/FxA_Header/#artboard1

For the screenshot owner's view, we might need to change the breakpoint since currently there are seven action buttons which takes 672px (96*7). A breakpoint at 959px would be better.

@johngruen
Copy link
Contributor

@punamdahiya spec looks good to me!

@punamdahiya
Copy link
Contributor

Thanks @youwenliang for updated spec. @johngruen for non-owner view, are we keeping report and download button in header, my understanding these are going away.

https://mozilla.github.io/testpilot-assets/Firefox_Screenshots/FxA_Header/

@johngruen
Copy link
Contributor

@punamdahiya you can ignore these buttons. they are deprecated

@punamdahiya
Copy link
Contributor

#4848 should fix this issue

@johngruen
Copy link
Contributor

Closed by #4848

@SoftVision-CosminMuntean SoftVision-CosminMuntean added the [QA]:Verified fixed Label for QA to mark verified fixed issues label Oct 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
[QA]:Normal issue Label for QA to mark normal issues logged [QA]:Verified fixed Label for QA to mark verified fixed issues
Projects
None yet
Development

No branches or pull requests

7 participants