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.”.
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.
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.
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.
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.”