Closed Bug 2077168 Opened 2 months ago Closed 28 days ago

Add a dirty indicator to the policy visual editor

Categories

(Enterprise Products :: Console, enhancement)

enhancement

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: julienw, Assigned: andip)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 external file)

Extracted from bug 2076128

Following the patch https://github.com/mozilla/enterprise-console/pull/447 the Save button is always enabled. It was previously an indicator of the "dirtyness" of the view. But now we really need a "dirty" indicator like the designs say: "Unsaved changes".

Attached file GitHub Pull Request —
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 28 days ago
Resolution: --- → FIXED
Flags: qe-verify+
QA Contact: mcurtean
Attached image dirty indicator .png —

Verified on the console version "v0.9.0" (commit "3b3fa5d9aaab4453dd4a577e9efc5139dc55ecae")m on both visual and JSON editing screens, when a change occurs, the "Unsaved changed" indicator appears. There is also a "Leave page?" modal when refreshing without saving the changes.
The changes can be undo-ed without saving by using the Discard button.
Tested on both the English and the French locales.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: