[Freeipa-devel] [PATCH] 203 Notify success on add, delete and update

Endi Sukma Dewata edewata at redhat.com
Wed Sep 5 17:25:48 UTC 2012


On 9/3/2012 8:35 AM, Petr Vobornik wrote:
> Notification of success was added to:
>   * details facet: update
>   * association facet and association widget: add, delete items
>   * attribute facet: delete items (notification of add should be handled
> in entity adder dialog)
>   * sudo rule: add, remove option
>   * dnsrecord: add, update, delete
>
> https://fedorahosted.org/freeipa/ticket/2977

ACK. Some minor issues below:

1. The notification for operations involving multiple entries are a bit 
inconsistent. In the search facet deleting entries will generate 
"Selected entries were deleted." Enabling/disabling entries will 
generate "<n> items were enabled/disabled". In the association facet, 
HBAC/sudo rules, adding/deleting entries will generate "Items 
added/removed." For sudo options it's "Option/Option(s) added/removed."

2. The notification for operations involving a single entry are a bit 
consistent too, but I think this is an existing issue. If you add an 
entry the notification will say "<entity> successfully added". It 
doesn't show the primary key which may be generated by the server. As a 
comparison if you delete an entry from the details page it will say 
"Deleted <entity> '<primary key>'", and for update operation "<entity> 
<primary key> updated."

3. Also existing issue, if you add using "Add and Add Another" the 
notification doesn't fade away, does it matter?

Feel free to address this separately.

-- 
Endi S. Dewata




More information about the Freeipa-devel mailing list