The Live Update feature enables patrollers to see changes as soon as they happen. This will likely be most useful on smaller wikis and during searches with more restrictive filters.
**[[ http://pauginer.github.io/prototypes/edit-review/live-updates/index.html | Look at the prototype ]]** to see this feature (partially) in action.
NOTE: this feature is "dark launch"—meaning it will be on the live site but hidden unless specifically revealed to individuals—by mid-July, so we can test it out with users live on the site. To have it, edit the URL to add `&liveupdate=1`.
==Interface behavior and basic functionality
- In live update mode, changes are displayed on the page as close to real time as they can be given system and performance constraints. (Developers will need to figure out what this point is, and figure out if it can be adjusted automatically so the speed is appropriate on both fast- and slow-moving wikis.)
- New changes are added to the top of the page. The user's scroll position remains at the top of the page, so that the user can monitor new changes as they appear. Meanwhile, as results are added at the top, they disappear from the bottom.
- The list movement and viewport scrolling should be independent. If the user scrolls to view only part of the list of contributions those will keep being updated until the user stops the live updates manually.
- When the user clicks the Live Updates button, it turns blue and pulses to indicate that Live Updates is active ([[ http://pauginer.github.io/prototypes/edit-review/live-updates/index.html | see prototype ]] and [[ https://codepen.io/pauginer/pen/PjbLEL | example of pulsing animation code ]]) . Clicking the button a second time turns off Live Updates, and turns the button back to white.
- Tooltips for the Live Update button are as follows.
- When the button is in inactive mode: Display new changes as they happen.
- When the button is in active mode: Turn off live updates.
- When edits display on the page, they are added with a 0.5 seconds fade, in order to provide a better sense of continuity between the new and old state.
- As new results are added to the top of the page, they disappear from the bottom, to keep the results displayed consistent.
- If a user with it LU OFF scrolls down the page, or uses the "Older 100 >" button to page back in the queue, and then turns LU ON, the following happens: the page reloads with the user at the top of the queue and the currently selected X results showing, and the Live Updates begin rolling onto the page.
- In "Oldest first" mode, Live Updates is unavailable and the button is grayed out.
- If a user in Live Updates mode changes the filter settings, the page reloads first with the X number of results specified in the Number of Results selector, then continues from that point on to show Live Updates.