Aam-Digital/ndb-core

bulk action: edit fields

Closed this issue ยท 2 comments

We support various bulk actions from list views, like deleting or archiving all selected records. Users also sometimes need to update one or more fields across all selected entities (e.g. changing the "status" of multiple records without having to edit each one by opening it individually).

The bulk action button "edit" could open a modal form that allows to set one (or more) fields to the same new value for all selected records.

as an example: Hubspot's UI for a similar functionality looks like this:
image

Possible Implementation Steps:

  • Add button "Edit Field" to #bulkActions in EntityListComponent
  • Implement component to allow selecting one field (dropdown of all attributes of the entity type's schema) + form field to set a new value as a user
  • implement a service "EntityBulkEditService" (take EntityDeleteService as a template to build a similar structure), which sets a given field to a given value for all selected records in bulk
  • add that new service to EntityActionsService and add integrate it to support the new bulk action via click of the button

๐ŸŽ‰ This issue has been resolved in version 3.42.0-master.1 ๐ŸŽ‰

The release is available on GitHub release

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€

๐ŸŽ‰ This issue has been resolved in version 3.42.0 ๐ŸŽ‰

The release is available on GitHub release

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€