MauroDataMapper/mdm-ui

Update bulk edit tabbed UI to support adding/removing profiles

Closed this issue · 2 comments

Overview

The bulk editor currently makes the user select a list of profiles in one screen before displaying a tabbed interface on the next. This enhancement suggest moving the profile selection to the same tab interface.

Design

Bulk edit UI ideas-Profile selection drawio

Default profile tab

The default profile tab will always be present and cannot be removed, allowing the user to bulk edit the standard item properties.

Note: this will require #578 to be completed first.

Adding tabs

A new "+" button will be added to the tab interface to add more profiles. Clicking the "+" button will display a popup menu of available profiles to use (not including the ones already in tabs).

Selecting a profile will render a new tab tied to that profile, listing the same child items selected in the previous page but mapped to this profile.

Removing tabs

Apart from the default profile tab, all other tabs should be able to be removed. If there are any unsaved edits in the tab though, confirm with the user first whether to close the tab and lose information.

Whilst working on #592 I've redesigned the spreadsheet tabs a bit already:

image

Looking at this design and comparing with the feature set above, these might also be nice things to have (but optional depending on time):

  1. Show if cells are "dirty" changed
  2. Disable validate/save buttons if no changes have been made yet
  3. Count how many cells were changed so far (display next to validation message)

After thinking about this and the changes made in #594 , perhaps the UI is in a stable enough state now. Selecting the profiles to use does not seem onerous, and any further additions may end up cluttering the UI more. The additional bonus suggestions also do not seem as worthwhile as I thought.

I think this issue should be closed and we wait for real-world user feedback to drive further requirements forward.