Improve the visibility of lines that will be removed/deleted

For now, the lines of a xxx2Many widget that are deleted or removed, are just displayed with text-muted/not sensitive (and a strike through for deleted).
This is not always evident to users that the deletion or removal has been registered with the visual hint. But also that the action will actually happen only after saving.

The proposal is to add an ! with the warning context to show that something has happened to the line and to add a tooltip like “Pending deletion; will be removed on save.”.

Here is an prototype of what it would look like:

The idea is that the char does not alter the alignement of the columns and does not add a new column.
But also to look similar to the “modified” hint on widgets.

For me, the exclamation mark means that there is probably something wrong with the record . A trash can symbol would be better.

That’s why it is the warning visual and not the error visual.

I do not think so because user may interpret that they need to click on the trash to delete.
The point is to show that the client has recorded the action and thus the line is modified. The kind of action is mainly optional.

What about using style="filter: blur(1px)" for removal? It would look like this:

image

This way, strikethrough would be used for deletion and blur for removal.

We keep the lines in order to let the user undelete/unremove the line. So he needs to be able to see the values to make a wise decision.

Is the ! proposal just for removing? or it will also replace the strike through of deletion?

For me the deletion of lines is clear enough, so what about using the same format for removal?

And if we actually want to make a distinction between both actions, I think the text “Pending deletion; will be removed on save.” is not really appropiate, as it is mixing terms. But the tooltip itself saying that the records needs to be saved is a great idea.

No we keep it but have also the !.

It does not work when the content of the line is empty.
And we want to distinct a deletion from a removal. This is important for One2Many with add_remove.

Indeed it will be:

“Pending deletion; will be deleted on save.”
“Pending removal; will be removed on save.”

1 Like

And how about using just a background like:

and a title on row as tooltip

5 Likes

It looks great for me.