openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

tnt.ToolPage: get rid of Side Navigation

Open born2dev opened this issue 8 years ago • 10 comments

Dear UI5-Team,

It's about the the sap.tnt.Toolpage.

The UX Guideline says "If side navigation is not implemented…"

So I would like to know whether it is possible to completely get rid of the side navigation so the main content takes 100% width.

If it is not possible within the standard any hint how to modify it away would be much appreciated.

OpenUI5 version 1.58.4

born2dev avatar Nov 14 '18 06:11 born2dev

Hello @born2dev ,

Thank you for sharing your findings. I've created an internal incident 1880724502. The status of the issue will be updated here in GitHub.

Regards, Niya

niyap avatar Nov 14 '18 15:11 niyap

Hello @born2dev ,

The issue is fixed on the master branch, as well as on branches 1.60 and 1.58. The fix will be available with the next patch sets. You can then freely use sap.tnt.ToolPage without SideNavigation.

Best regards, Petar

dimovpetar avatar Nov 16 '18 15:11 dimovpetar

Dear Petar, my application is on 1.60.1 in the meantime and I deleted the sideContent. Unfortunately there is still some space left on the left side of the application (where the sideContent was).

born2dev avatar Dec 28 '18 14:12 born2dev

Hi @born2dev ,

This is because the fix is available after 1.60.2

Regards, Petar

dimovpetar avatar Dec 28 '18 15:12 dimovpetar

Dear Petar, my application is on 1.60.3 in the meantime and I deleted the sideContent. Unfortunately there is still some space left on the left side of the application (where the sideContent was). grafik

Should the main content automatically take 100% width after the fix? Or do I have to apply any additional setting to make it work?

born2dev avatar Feb 01 '19 12:02 born2dev

Hi again @born2dev

Have you tried clearing your cache? You can see in this example, that after 1.60.2 there is no space on the left. In the example there is no "sideContent" at all. https://jsbin.com/gejeziropa/edit?html,output

Regards, Petar

dimovpetar avatar Feb 01 '19 13:02 dimovpetar

Hi Petar, as long as the line ToolPage.setSideExpanded(false) is there the side content is displayed. I have forgotten to clean up the source code, it works now.

born2dev avatar Feb 04 '19 14:02 born2dev

Hi Petar, see this example in iPad mode, please: https://jsbin.com/coduzigubu/edit?html,output The SideNavigation space is still there. OpenUI5 is on 1.60.3. Best regards

born2dev avatar Feb 05 '19 15:02 born2dev

Hi @dimovpetar ,

Please check the Ipad sample above.

GeorgiValkanov avatar Feb 08 '19 08:02 GeorgiValkanov

Hi @born2dev The issue is fixed for tablet now on the master branch and is downported to 1.58. You will get the fix with the next patch sets for each version (for 1.60 I assume it will be 1.60.7). Best regards, Petar

dimovpetar avatar Feb 12 '19 14:02 dimovpetar