Add a "revert to this version" to the history diff page

RESOLVED FIXED

Status

RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: sheppy, Unassigned)

Tracking

Details

(Whiteboard: [specification][type:change])

(Reporter)

Description

6 years ago
What feature should be changed? Please provide the URL of the feature if possible.
==================================================================================
After comparing two revisions in page history, there should be a "revert to this revision" button available, so that you can revert without having to back up to the history revision list page and do it there.

What problems would this solve?
===============================
This is a convenience/efficiency feature mostly, but also helps prevent accidentally reverting to the wrong version.

Who would use this?
===================
Wiki editors and mainainers

What would users see?
=====================
A "Revert to this revision" button in the diff view you get after comparing two revisions in page history.

What would users do? What would happen as a result?
===================================================
Click the button to revert.

Is there anything else we should know?
======================================
Component: General → Editing
We have it! (Or I'm too tired to perform bug slaughtering).
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
(In reply to Jean-Yves Perrier [:teoli] from comment #1)
> We have it! (Or I'm too tired to perform bug slaughtering).

You are too tired my friend :-)

There is no link on the diff view:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date$compare?to=525959&from=525569
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(Reporter)

Comment 3

5 years ago
I've done a PR for this!

Comment 4

5 years ago
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/1cd5c7574f51c04f094d6d9107ea25a433e959b8
Fix bug 876706 - Add a "revert to this revision" button to the history diff page

https://github.com/mozilla/kuma/commit/9c5ac7bfafb8f727693aa6806fa29af1d52dcc64
Merge pull request #2116 from a2sheppy/review-diff-revert

Fix bug 876706 - Add a "revert to this revision" button to the history d...

Updated

5 years ago
Status: REOPENED → RESOLVED
Last Resolved: 5 years ago5 years ago
Resolution: --- → FIXED

Comment 5

5 years ago
Commits pushed to search-filter-api at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/1cd5c7574f51c04f094d6d9107ea25a433e959b8
Fix bug 876706 - Add a "revert to this revision" button to the history diff page

https://github.com/mozilla/kuma/commit/9c5ac7bfafb8f727693aa6806fa29af1d52dcc64
Merge pull request #2116 from a2sheppy/review-diff-revert
You need to log in before you can comment on or make changes to this bug.