openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

Add showHomeButton to sap.m.Page

Open jpenninkhof opened this issue 11 years ago • 6 comments

Please note that this is not a bug report, but a feature request.

In applications that have deep navigation structures, it will be necessary to press the back button multiple times to get back to the main menu. If an application is opened through a routing URL, it isn't even possible to reach the main menu using back buttons.

To make the application easier for users, a home button should be implemented. However, a home button requires the header of each page to be customized and is quite tedious.

It would be of great convenience, if a showHomeButton property would have been implemented, similar to the showNavButton. When the showHomeButton is set to true, a home button should appear at the left side of the back button. It would also be great if a custom handler can be attached to e.g. homeButtonPress

jpenninkhof avatar Dec 11 '14 11:12 jpenninkhof

Hi Jan,

let's have product owner look at this.

@Thomas, can you comment?

Regards Andreas

akudev avatar Dec 11 '14 14:12 akudev

Sounds reasonable to me. But I'd like to get some input from a developer next week. I'll keep you posted.

thomaskoetter avatar Dec 11 '14 14:12 thomaskoetter

As it turns out, there's a plan to build a more generic page-like control. The details are still a bit sketchy. But it seems to also cover your home button requirement. Therefore, we won't be adding a showHomeButton property to sap.m.Page. I'll leave this request open and ask for your patience until we can provide more information.

thomaskoetter avatar Dec 15 '14 09:12 thomaskoetter

Thanks for this Thomas. I'm looking forward to having a look at this new control. Hope you can keep us posted.

jpenninkhof avatar Dec 15 '14 12:12 jpenninkhof

hi is showHomeButton property added to sap.m.Page?

suntake avatar Jul 23 '15 12:07 suntake

Hi,

There were additional controls and concepts in the meantime which can help to fulfill this requirement. Please have a look at the following controls and samples for more details: https://openui5.hana.ondemand.com/entity/sap.f.ShellBar https://openui5.hana.ondemand.com/entity/sap.uxap.ObjectPageLayout/sample/sap.uxap.sample.ObjectPageOnJSON https://openui5.hana.ondemand.com/entity/sap.f.DynamicPage/sample/sap.f.sample.DynamicPageFreeStyle https://openui5.hana.ondemand.com/entity/sap.m.Breadcrumbs/sample/sap.m.sample.Breadcrumbs

Best Regards, Nikolay

nikolay-kolarov avatar Mar 24 '22 09:03 nikolay-kolarov