Commit d23330a
authored
fix(ui5-shellbar): preserve insertion order for ShellBarItems (#13590)
ShellBarItems with icon="feedback" or icon="sys-help" were always displayed at the end of the actions area, ignoring their position in the DOM. Items now appear in the same order they are declared.
Remove PREDEFINED_PLACE_ITEMS, sortItems(), and all call sites, passing this.items directly instead.
JIRA: BGSOFUIPIRIN-70701 parent 9124a8e commit d23330a
3 files changed
Lines changed: 21 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
1813 | 1814 | | |
1814 | 1815 | | |
1815 | 1816 | | |
| 1817 | + | |
| 1818 | + | |
| 1819 | + | |
| 1820 | + | |
| 1821 | + | |
| 1822 | + | |
| 1823 | + | |
| 1824 | + | |
| 1825 | + | |
| 1826 | + | |
| 1827 | + | |
| 1828 | + | |
| 1829 | + | |
| 1830 | + | |
| 1831 | + | |
| 1832 | + | |
| 1833 | + | |
1816 | 1834 | | |
1817 | 1835 | | |
1818 | 1836 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | 74 | | |
78 | 75 | | |
79 | 76 | | |
| |||
767 | 764 | | |
768 | 765 | | |
769 | 766 | | |
770 | | - | |
| 767 | + | |
771 | 768 | | |
772 | 769 | | |
773 | 770 | | |
| |||
865 | 862 | | |
866 | 863 | | |
867 | 864 | | |
868 | | - | |
| 865 | + | |
869 | 866 | | |
870 | 867 | | |
871 | 868 | | |
| |||
1060 | 1057 | | |
1061 | 1058 | | |
1062 | 1059 | | |
1063 | | - | |
1064 | | - | |
1065 | | - | |
1066 | | - | |
1067 | | - | |
1068 | | - | |
1069 | | - | |
1070 | | - | |
1071 | 1060 | | |
1072 | 1061 | | |
1073 | 1062 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
0 commit comments