| Summary: | Confusing "none" option in required element property presentation | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Shenxue Zhou <shenxue.zhou> |
| Component: | Sapphire | Assignee: | Konstantin Komissarchik <konstantin> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | ling.hao |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Shenxue Zhou
There is insufficient time remaining to tackle something this extensive. We will pick this up for the 0.4 release. 0.7 : http://git.eclipse.org/c/sapphire/org.eclipse.sapphire.git/commit/?id=ad88b1354093c04e7c2a08808c72b9650f9dc2ef The radio button group presentation of the with part renderes a radio button for each possible child type along with a "None" radio button. The none choice is confusing, especially when the element property is required. This presentation is also inconsistent with the radio button group presentation used for enum value properties. The solution is to move the none option to the end and only show it when the property is empty. If necessary, user can clear the property using the provided field assist action. A similar issue exists in the pop-up list presentation of the with part. The solution is to align with the presentation used for value properties with possible values, where the pop-up list selection is cleared to indicate that the property is empty rather than using a deadicated none list item. Verified "none" radio button was shown only as necessary and displayed at the end in sapphire-sample.xml. Verified pop up list presentation in OEPE. Closing. |