openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

[1.30] sap.m.Panel expandable click on headerText/toolbar [Feature/Usability Enhancement]

Open hschaefer123 opened this issue 11 years ago • 9 comments

Talking about UserExperience i think expand/collapse on panel shoud include the panel header text.

So a click on the text should also collapse/expand (or maybe the whole row, or maybe the whole toolbar container click should be posible.

It is a little bit annoying, that only tha small arrow is clickable (Ok, the button behind is 3rem and conform to usability guide ;-)

For upcomming long maintenance support, i think some customers solutions will last the next 2 years, so if it is possible please include/add this feature/usability enhancement in 1.30.x.

5 Coworkers also vote for this ;-)

Best regards Holger

hschaefer123 avatar Jun 18 '15 13:06 hschaefer123

I agree! I also needed this functionality, and created a header toolbar for the panel that contains a button that opens or closes the panel. Could have saved me some coding :)

arikab avatar Jun 21 '15 11:06 arikab

Hello, Holger, arikab, I will forward this request to our PO and will keep you informed on how things go. For me it sound quite reasonable to have this feature.

Best, Deyan

deyanyanakiev avatar Jun 22 '15 07:06 deyanyanakiev

BTW, most ui widget libs are heavily using expand/collapse for lists, menues, etc. also.

I think, collapse/expand is a great UX feature, where grouping takes place.

What about adding such feature to the list (sap.m.List) for the sap.m.GroupHeader? So it would be easlily possible to show/hide dependent rows for the group.

Generally, mobile lists will have a special icon at the end of the list to expand/collpase.

Using it this way, i would be able to use collapseable list also in page footers to categorize actions and maybe collapse them by default.

Today you have to switch from lists to panels for such reason. If we would have expandable lists, this would offer a greate benefit on top of it.

Cheers Holger

hschaefer123 avatar Jun 22 '15 10:06 hschaefer123

Hello,

is there any progress regarding this feature? I think it will be a got improvement for the usability on small devices.

grischan avatar Jun 07 '18 08:06 grischan

Any update on this? I would also be very happy about the requested feature!

cgerold avatar Oct 29 '18 11:10 cgerold

The <ui5-panel> from UI5 Web Components does support this feature, indicating that the behavior is acceptable from UX point of view. What's the current plan? Do you accept contributions for this feature?

boghyon avatar Mar 21 '19 10:03 boghyon

Just letting you guys know that the commit https://github.com/SAP/openui5/commit/d8741f3bebd87d24a08b93e37f9eaae9c0a54455 (available since 1.79) makes now the entire panel header clickable by default, unless a custom <headerToolbar> provided.

boghyon avatar Jun 16 '20 21:06 boghyon

Unbelieveable! This is my longest running enhancement request ever, but thanks anyhow!

hschaefer123 avatar Jun 17 '20 08:06 hschaefer123

As @boghyon already mentioned, feature is available with UI5 version 1.79.0.

flovogt avatar Mar 04 '22 08:03 flovogt