mathjazz / pontoon

In-place localization tool
https://pontoon.mozilla.org/
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Linked strings should be displayed on their corresponding page #1077

Open mathjazz opened 7 years ago

mathjazz commented 7 years ago

This issue was created automatically by a script.

Bug 1370200

Bug Reporter: @StoyanDimitrov CC: @mathjazz See also: https://bugzilla.mozilla.org/show_bug.cgi?id=1370173

When the parameter 'string" is passed in the URL and the string that it points to normally is not in the first "page" this string is falsely moved there.

The aim if this bug is to fix this behaviour and provide the user with the correct "page" of strings preserving all neighbouring strings as they are in the source files.

mathjazz commented 7 years ago

Comment Author: @mathjazz

To clarify:

When string parameter is provided in the URL, we should find the page (of 50 strings) the string belongs to and only load this page in the string list. User should then we able to scroll up and down to reveal strings on pages before or after the current page.

mathjazz commented 3 years ago

Comment Author: @mathjazz

Jotes raised his hand to try to fix this on backend.

On frontend we'll likely need to replace react-infinite-scroller in order to be able to load more items on scrolling in both directions.