jimz011 / homekit-infused

Homekit Infused 5 2023
https://jimz011.github.io/homekit-infused/
Other
878 stars 137 forks source link

[FR] 2 request for the menu #94

Closed E020 closed 3 years ago

E020 commented 3 years ago

IMG_4FCA09A601B2-1

  1. Not sure if it's a bug or FR but on my iPhone the menu could be a bit wider. There's room on the right side.

  2. Would be nice if you could slide the menu to left/right by just sliding a menu item to left/right. Or... even slide the whole view to left/right to get another view? Just asking :-)

jimz011 commented 3 years ago

I am guessing you are talking about the navigation bar? Not sure if I can fill that space since, I used some css tricks to hide the original button that is supposed to be there (usually 3 dots).

The navigation bar however should be scrollable since that is the default behavior. Adding more navigation bar items should help you.

A scrollable lovelace view is what HKI used to have, but it uses some nasty tricks to do it and it was buggy. You can however add lovelace swipes yourself by installing the component through HACS. I will probably not add it for the reasons mentioned above, but anyone is free to do so themselves. It is easy to install.

E020 commented 3 years ago

Yeah.. correct I meant the navigation bar. The bar is indeed scrollable but only by clicking the arrow left/right in my case. Not by dragging/sliding a menu-item to left/right.

jimz011 commented 3 years ago

It should be scrollable though, maybe the amount of menu items is too little. I find it weird you have chevrons at all, since they should be hidden (to save space)

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: E020 @.> Sent: Friday, May 21, 2021 9:30:10 PM To: jimz011/homekit-infused @.> Cc: Jimmy Schings @.>; Comment @.> Subject: Re: [jimz011/homekit-infused] [FR] 2 request for the menu (#94)

Yeah.. correct I meant the navigation bar. The bar is indeed scrollable but only by clicking the arrow left/right in my case. Not by dragging/sliding a menu-item to left/right.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjimz011%2Fhomekit-infused%2Fissues%2F94%23issuecomment-846200216&data=04%7C01%7C%7Ceaaffc16bc4f48f4232008d91c8ed9a2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637572222119154217%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Lj9fBRoY4ufDdESsX0r0uGHMOOyR8Gft62%2BrHkzFzqY%3D&reserved=0, or unsubscribehttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALG6BXT3UALQPATEJGRDD2LTO2YEFANCNFSM45JUPPTA&data=04%7C01%7C%7Ceaaffc16bc4f48f4232008d91c8ed9a2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637572222119154217%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=TUEP5wx8Xz8N9WmLX4rTXuIe9m8lA0E7Igs0mc%2BtM6M%3D&reserved=0.

E020 commented 3 years ago

image

This is what happens when I hold a menu-item and slide it to left on my iPhone. The whole screen/app moves not just the menu items :-(

In the browser (safari/iPhone) I can slide the menu, although the chevrons are also visible.

jimz011 commented 3 years ago

Ah yeah iPhones tend to do that... I think it is scrollable but you simply cant touch it since it is too low to the bottom (I remembered why I only use menu/Home in the navigation bar 🤣).

I am not sure if you can turn off that gesture in iOS nowadays, I do remember that it wasn't possible. Since I don't have any swipe based iPhone anymore I can't test it for you to be certain.

You could try this: put your nav bar at the top, and try to scroll (this change should be instant and is done in the HKI menu). If you can scroll now, then you know what is causing it. The bar at the bottom...

I could make the navigation bar larger, (higher) which would mitigate your problem but especially on smaller phones this would use up too much space. Please check if you can turn the multitask gesture off per app. As this would solve your problem.

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: E020 @.> Sent: Friday, May 21, 2021 9:56:04 PM To: jimz011/homekit-infused @.> Cc: Jimmy Schings @.>; Comment @.> Subject: Re: [jimz011/homekit-infused] [FR] 2 request for the menu (#94)

[image]https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F57673156%2F119191601-25a33d00-ba7f-11eb-90b6-d31c984cc132.png&data=04%7C01%7C%7Cf0bef2e7a38e4f494e2508d91c927820%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637572237661773555%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=gUDQGexQvl5n8v%2FkB3rvUeYtlkAMeU8HnH%2Blbd7i8ss%3D&reserved=0

This is what happens when I hold a menu-item and slide it to right on my iPhone. The whole screen/app move not just the menu items :-(

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjimz011%2Fhomekit-infused%2Fissues%2F94%23issuecomment-846219813&data=04%7C01%7C%7Cf0bef2e7a38e4f494e2508d91c927820%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637572237661783563%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=pBIvJKzkd3u5oVNtLRdWb50kEQMzJMgjatfy2NgRjNc%3D&reserved=0, or unsubscribehttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALG6BXV4BKIWWLNPUP4CEQLTO23FJANCNFSM45JUPPTA&data=04%7C01%7C%7Cf0bef2e7a38e4f494e2508d91c927820%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637572237661783563%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Vi9gnv6vSLy%2FPLVEnkgvCXOs3WVRm7I0jJyRUqZzd4w%3D&reserved=0.

E020 commented 3 years ago

On top the menu sliding works.

The Facebook app has also buttons on the bottom without this issue so there’s is a solution for this. But it’s more for the HA app developers I think.

Thx for clarifying this.

E020 commented 3 years ago

So I”ll close this issue.