Description
Often the Abstract Content (left) side is much much larger than the Abstract Preview (right) side. This means that, when editing ahead of the page, the preview generated will be out of the editor viewport.
Questions
As per https://phabricator.wikimedia.org/T411703, we want to render previews for two languages.
If we want to keep the scroll in sync, how do we do this with two different previews?
We might want to consider different layout alternatives, such as keeping different language previews in separate tabs.
Desired behavior/Acceptance criteria
- When editing or viewing an Abstract Content fragment generation function call, users will always have the generated Abstract Preview inside their view port
- When navigating in the Abstract Content (left) side of the window, the Abstract Preview side will keep in sync
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Front-end_Task/Bug_Completion_Checklist