[
https://issues.jboss.org/browse/DROOLS-3761?page=com.atlassian.jira.plugi...
]
Elizabeth Clayton commented on DROOLS-3761:
-------------------------------------------
[~jomarko] Here's what I found in PF concerning inline edits:
https://www.patternfly.org/pattern-library/forms-and-controls/inline-edit...
_"Click Away: When a new or existing row is in edit mode and changes have not been
made, clicking away should act as a cancel action, exiting edit mode without confirmation.
If changes have been made to the editable row, a dialog should appear to ask the user if
changes should be saved before exiting edit mode." _
In the latter case, it doesn't specify whether to hold the values or not but I would
think it should. And a dialog would not be reasonable in our case, so instead I think an
inline notification instead. If so, it might look something like this (note: I replaced
the intro help text and placed the alert in its location instead.) Example:
!constraint_unsaved.png|thumbnail!
[~karreiro] [~dadossan] Wdyt?
[DMN Designer] Enumeration constraint entry edit mode
-----------------------------------------------------
Key: DROOLS-3761
URL:
https://issues.jboss.org/browse/DROOLS-3761
Project: Drools
Issue Type: Bug
Components: DMN Editor
Affects Versions: 7.19.0.Final
Reporter: Jozef Marko
Assignee: Daniel José dos Santos
Priority: Minor
Labels: drools-tools
Attachments: constraint_unsaved.png, focus_lost.webm, lost_focus_data_types.webm
The attached video shows the user interaction with enumeration constraint component. We
can see if user fill valid values and clicks somewhere outside of the entry in edit mode,
the values are lost. The only way how to save values is to click the *check* button. User
should not lost filled in values if he clicks outside of input fields.
Please compare the same behavior with data types list view component. It means
[^focus_lost.webm] vs [^lost_focus_data_types.webm] .
--
This message was sent by Atlassian Jira
(v7.12.1#712002)