Add highlight changes(diff) when editing values

Luo Gang shared this idea 2 years ago
Planned

I often edit the value of a field, and have to be careful since a wrong change may make the site down. So I guess it could be very help to know what I have changed before hit Submit button.


Thanks.

Comments (1)

photo
1

I don't quite understand the specifics of this requirement. Can you give a sketch or other detailed information that I can refer to?

photo
1

Similar to how some editors such as Atom or vscode shows the code.

If the project is managed by git, the editor will show the changes.

So the request would be, when editing the value of a field, highlight the changed lines and insert marks for removed lines. And then provide a diff button which will show a detail diff window.

But if diff is too hard to add, only highlight could already help a lot.

photo
1

Thank you. I got it.

photo