Problem to solve
Users often judge if an edit is worth investigating if it is marked minor and/or based on its byte count. We should display them for the edits in the Timeline
Documentation
Here's some quick documentation for minor edits and byte changes. You can view both byte changes and minor edits on the Donald Duck history page.
Minor edits
Only some edits are marked as minor. Users can optionally mark their own edits as minor if they've made a small change not important enough to be reviewed by another editor. Users can easily lie about making minor edits, so we will just want to display an indication on each edit box.
In existing tools (like page history and Recent Changes) this piece of data is shown with a bold m displaying in the log entry. In this screenshot of three edits, only the middle edit is marked as minor.
Byte change
There is a byte change to every edit. Byte change is an indication if an edit added/removed a lot/little content. If the user added characters, the byte change is represented in green as (+N). If the user removed characters, the byte change is represented in red as (-N). If the byte change was the same before and after the edit, it is represented as a grey (0). If the byte change is over 500 (either added or removed) the byte change is displayed in bold. This screenshot shows all 5 varieties:
We do not need to display the total byte count — just the change.
Acceptance criteria
- If an edit is marked as minor, the 'edit box' on the Timeline should show it
- The byte change for every edit (positive, negative, neutral) should be shown in every edit card
- The new data should match the placement and color style of the wireframe, below