Ability to view adjacent strings to a search result
Categories
(Webtools Graveyard :: Pontoon, defect, P3)
Tracking
(Not tracked)
People
(Reporter: stoyan, Assigned: mitchelloliver1991)
References
Details
Attachments
(1 file)
421.12 KB,
image/png
|
Details |
Comment 1•8 years ago
|
||
Reporter | ||
Comment 2•8 years ago
|
||
Comment 3•8 years ago
|
||
Comment 4•7 years ago
|
||
Assignee | ||
Comment 6•4 years ago
|
||
I would like to be assigned to this, please!
Updated•4 years ago
|
Comment 7•4 years ago
•
|
||
A potential UX:
When any filter or search is applied in the string list, "Reveal surrounding strings" icon appears next to each string (left image). After clicking on it, 2 preceding and 2 succeeding strings are loaded before or after the string unless they are already loaded (right image).
See the attachment for the proposed UI. Note that the styling details still need to be decided upon and finalized.
The benefit of this approach vs. using a dedicated tab/panel is that we don't need to sacrifice additional space in the translate UI permanently. Also, all the available metadata of the string is easily available. The drawback is that one needs to manually request surround strings every time they are needed.
A potential improvement would be to always show an indicator of hidden surrounding strings between the two strings, similar to the GitHub diff view.
Comment 8•4 years ago
|
||
(In reply to Matjaz Horvat [:mathjazz] from comment #7)
The benefit of this approach vs. using a dedicated tab/panel is that we don't need to sacrifice additional space in the translate UI permanently. Also, all the available metadata of the string is easily available. The drawback is that one needs to manually request surround strings every time they are needed.
Some time ago we implemented something similar for translate.evernote.com, but instead of expanding the existing string list, we would overlay (i.e. reveal) surrounding strings on top of the filtered result set.
Here's an example of the feature: https://translate.evernote.com/de/skitch_component_evernote/translate/#search=rotate&unit=7205133
Hover over the unit ID to reveal context strings, optionally holding ctrl
to keep the list permanently open. Minimal UI space was sacrificed for this.
Comment 9•4 years ago
|
||
Thank you for sharing this example, Julen. I like it.
Perhaps we should also only add the "reveal" icon to the selected string? And make it always visible in that case?
The challenge of implementing such overlay in the Pontoon UI is that there's no space above the first or below the last string in the list. Additionally, the amount of space per-string is not fixed and can even exceed the height of the string list.
Comment 10•3 years ago
|
||
Updated•3 years ago
|
Description
•