Closed ilhan007 closed 5 months ago
Internal BLI is created: BGSOFUIRILA-3769
Combo Box
loading
: empty list if the property is set to truegrouping
: items to be nestedchange
event should not be fired upon navigation. To be fired on click on an item, focus out and enter keyinput
event to remove filterValue
docsselection-change
consider preventDefault()
scenario
Changes agreed:
loading
- name and property remains, visually the loading will change but won't be a breaking changeGrouping
- of single level of nesting to be supported, however we would like to be implemented first in the List and be used later by ComboBox, MultiComboBox, Input with Suggestions.change
- the event won't be fired on arrow up/down any more (only selection-change
would be fired)before-selection-change
to allow prevention as early as possible.Input
suggestion-item-preview
to selection-change
suggestion-item-select
?previewItem
getterInputSuggestions
in Inputsuggestion-item-select
preventDefault()
logicChanges agreed:
type=number
, but the support is restricted to the native input type="Number"suggestion-item-preview
to selection-change
InputSuggestions
in Inputsuggestion-item-preview
and suggestion-item-select
in favour of selection-change
Message Strip
Multi Combo Box
loading
: implement new property (after 2.0?)allowCustomValues
: rename to noValidation
selection-change
: fire events before updates.Multi Input
Changes agreed:
noValidation
to allowCustomValues
:selection-change
: better before-selection-change
Panel
Changes agreed:
Rating Indicator
Range Slider
Slider
Text Area
Toast
Wizard
changeWithClick
propertyChanges agreed:
changeWithClick
property to something better scrolled: true|false
, withScroll: true | false
Page
disableScrolling
to become noScrolling
floatingFooter
is boolean default true? Change name and implementation (fixedFooter
)?default
slot might be a Node
Changes agreed:
disableScrolling
to noScrolling
floatingFooter
to fixedFooter
default
slot to accept Node
(not only HTMLElement)ComboBoxItem
ComboBoxGroupItem
MultiComboBoxItem
MultiComboBoxGroupItem
SuggestionItem
type
propertydescription
icon
iconEnd
image
additionalTextState
Changes agreed:
Token
readonly
propertyChanges agreed:
Remove the readonly
property.
WizardTab
WizardStep
selected
+ disabled
scenarioalign accessibleName
and accessibleNameRef
default values - to be followed up
revise FormSupport
? Introduce native html elements as slots for all form elements - will be addressed with Form Associated APIs
compare Positive
with Success
. Do we need 10 different Design
enums?
=> to be followed up with SAP Design and then we will come up with suggestions.
grouping behaviour in Select
, Input
, ComboBox
, List
, etc. Nesting?
=> discussed above
open-change
vs open
, close
(Select) vs toggle
?
=> property open
and event toggle
.
preventDefault()
should be aligned across all components
=> discussed above
openPicker
discuss for general naming - DatePicker
, ComboBox
, Input
, Select
, etc all these methods should be replaced
External Feedback
ui5-combobox (& ui5-multi-combobox):
Changes agreed
filter
.ui5-panel:
=> no action required
ui5-text-area:
Changes agreed
Rename growing-max-lines
to growing-max-rows
ui5-table
Changes agreed
=> rename property Table busy
to loading
(We have agreed to change it for the List)
=> rename property mode
to selectionMode
=> Rename values of TableMode : SingleSelect
-> Single
, MultiSelect
-> Multiple
=> Rename enum TableMode
to TableSelectionMode
cross components
targetRef
is mostly used for event detail referring to the DOM element subject to a given event, but also ref
is used in some cases - pick one of them and unify the usages.Changes agreed
targetRef
.cross components
design vs. value-state: it is very difficult to keep apart the value-state attribute from the design attribute if design attributes are used to set semantic colors as well. The type IconDesign, MessageStripDesign and others are basically duplicating the value state and adding additional values, for the ui5-tab the design is directly using SemanticColor and compared to the ValueState it becomes really hard to memorize where to apply what:
IconDesign: Default / Negative / Warning / Positive / Information / Contrast / Neutral
ButtonDesign Default / Negative / Attention/ Positive/ Transparent/ Emphasized
MessageStripDesign: Negative / Warning / Positive / Information
SemanticColor: Default / Negative / Warning / Positive / Neutral
ValueState: None / Error / Warning / Success / Information
Issue Description
The goal is to gather a list with breaking changes that you are willing to do to improve/simplify the components API.
There is already this issue https://github.com/SAP/ui5-webcomponents/issues/4460 with changes we already identified, so first take a look of it - it could be that some of your suggestions are already proposed.