[terminology] "Click to copy" tooltips on Terminology Search standalone page

RESOLVED FIXED

Status

Webtools
Pontoon
P2
normal
RESOLVED FIXED
3 years ago
2 years ago

People

(Reporter: MikkCZ, Assigned: jotes, Mentored)

Tracking

Trunk

Firefox Tracking Flags

(firefox44 affected)

Details

(URL)

1) Open https://pontoon.mozilla.org/terminology/.
2) Type e.g. "firefox for android" into the search field.
3) Hover your mouse cursor over the first result.
4) A tooltip appears saying "Click to copy".

When in a translation view, "Click to copy" means "Click on the result to copy it for the string currently opened for translation". In case of this standalone page, there is no string being translated and thus no target to copy to.

There should be no "Click to copy" tooltip on the Terminology Search page, or the result should be copied to the users clipboard (Ctrl+C), which is the only possible target where to copy to.
Summary: "Click to copy" tooltips on Terminology Search standalone page → [terminology] "Click to copy" tooltips on Terminology Search standalone page

Updated

3 years ago
Severity: normal → trivial
Priority: -- → P4
I think copy to clipboard wouldn't hurt.

We should use this:
https://zenorocha.github.io/clipboard.js/
Severity: trivial → normal
Priority: P4 → P3
Priority: P3 → P2
Mentor: m
(Assignee)

Updated

2 years ago
Assignee: nobody → jot

Comment 2

2 years ago
Commit pushed to master at https://github.com/mozilla/pontoon

https://github.com/mozilla/pontoon/commit/76056271d14f43ddc3135edf6b674783335599fd
Fix bug 1215789. Added "copy text" button on the terminology page. (#409)

Updated

2 years ago
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.