-
Type: Task
-
Status: Resolved
-
Priority: Minor
-
Resolution: Won't Do
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: UI
-
Epic Link:
-
Tags:
-
Team:UI
-
Sprint:UI - 2021-11
In the context of Bulk Edit, each widget should have a dropdown with the update value mode on top (at the widget label level), as well as a warning message that gets displayed below the widget in case some information needs to be shown.
This can be achieved by either:
- Using a wrapper element with a slot that wraps any widget, possibly using a label at the wrapper level (instead of the widget level) to ensure it is correctly positioned. A bulk edit layout would be comprised of several of this wrappers wrapping widgets. This wrapper could neatly pack all of the manipulation of the state between update mode changes and value changes (if it can be delegated to this level).
- In Designer: This would mean a considerable amount of complications on the Designer side, since Designer would need to scaffold these Bulk specific templates already wrapping the widgets. Since the widgets would be located inside a slot, it would be complicated to provide a UX where the user can easily select the widget in the preview and manipulate its properties.
- Having a standard Web UI layout (ex: edit) and having the Bulk Edit action manipulating it to inject both the options dropdown and the warning label on each of the widgets of the layout.
- In Designer: There wouldn’t be necessarily a great amount of work since it already handles standard Web UI layouts. Considering that Web UI "does all the magic", it would also mean that the update mode dropdown would probably not be present in the preview. This is not a problem as long as the user clearly understands that the layout being edited is a Bulk Edit layout (can be made clear through a dedicated entry in the left menu, also taking into account the multi-layered structure, aka bulk edit layouts coming from dependencies).
Initially, the Bulk Edit topic was shaped to use the bulk edit widget wrapper approach. The goal of this ticket is to explore the second option (through injection) and verify if it could represent a simpler and cleaner approach.
- is related to
-
WEBUI-388 Add Bulk Edit widget wrapper element
- Resolved