Problem/Motivation

We have added an auto generated revision summary but we just display which fields have changed, might be much better to show which fields have been added / removed in each revision.

Proposed resolution

Add an Add / Remove-Delete text to the summary where needed.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

yongt9412 created an issue. See original summary.

johnchque’s picture

Status: Active » Needs review
StatusFileSize
new796 bytes
new43.81 KB

This would work. ;)

miro_dietiker’s picture

Status: Needs review » Needs work

We could also here try to use a X - say an UTF-8 icon that is clearly identified as delete cross.
Would be nice if we had an inverse + symbol for adding too.
Best is if the icon is a bit different to the regular text, but not too dominant.

Some examples from the UTF-8 map: ⊕⊗ ➕➖⨁⨂⮾⮿
We might need to check if those are present in the popular systems.

johnchque’s picture

StatusFileSize
new30.97 KB

When using git --summary it displays written the changes made. Haven't found any other example where they use signs.

johnchque’s picture

Status: Needs work » Needs review
StatusFileSize
new836 bytes
new20.58 KB

IMHO looks good with this. :)

berdir’s picture

Not sure I'm convinced about this and if it will really be understandable.

Adding the utf character through a json_decode() is pretty weird. Seems like we should be able to just put the actual UTF-8 character in there, I really hope in 2017 nobody has a problem with that anymore :)

Apparently PHP7 can do it like that only with PHP7: http://stackoverflow.com/a/34404876/560329

johnchque’s picture

Should we try with (Removed)/(Added) instead? That would look more self-explainable but it might get too long when there are many changes.

miro_dietiker’s picture

Also not convinced about that + / - look.
But i'm clearly agains "(Removed) / (Added)" because it will make the text much less readable.

We could think about putting a newline after every field instead a comma?

BTW Some people asked for both a what (field) plus a message... or explicitly to display the WHAT also when there is a manual message.
So what we create is just an additional summary and not replace the message at all.

miro_dietiker’s picture

Status: Needs review » Needs work
Issue tags: +Needs mockups

I would say we should do some new mockups with real data about this, to decide how it should work... :-)