ha-fusion icon indicating copy to clipboard operation
ha-fusion copied to clipboard

FR: Mobile Support

Open tomerbs opened this issue 1 year ago • 10 comments

Are you planning to add different layouts for phone, tablet, big screen? Currently the phone layout is problemtic. Desktop view: image phone view: image

HA core: 2023.12.4 Supervisor: 2023.12.0 Operating System: 11.2 Frontend: 20231208.2 Fusion Ver: 2023.12.7

tomerbs avatar Dec 28 '23 08:12 tomerbs

Safari on ios 15 just shows background

denveronly avatar Dec 28 '23 22:12 denveronly

Unfortunately, it is currently not possible to save changes made in the mobile browser.

Gerrett84 avatar Dec 29 '23 12:12 Gerrett84

Hi @matt8707, thanks for your work! I think I can take care of mobile compatibility. I have also just created a first PR to fix the modal vertical overflow issue.

janiskelemen avatar Dec 29 '23 20:12 janiskelemen

Hi @matt8707, would you consider adding a CSS framework like tailwindcss? This would make the styling way more maintainable eventually. Especially when it comes to viewports etc the styling sections will become a nightmare over time. Is there any reason you opted for vanilla css?

janiskelemen avatar Dec 29 '23 21:12 janiskelemen

initial mobile support https://github.com/matt8707/ha-fusion/releases/tag/2023.12.7

matt8707 avatar Dec 30 '23 19:12 matt8707

Thanks. But unfortunately saving is still not possible. :-) Would it be possible for the sidebar to be displayed as a header in mobile mode?

Screenshot_20231230-211049.png

Screenshot_20231230-211133.png

Gerrett84 avatar Dec 30 '23 23:12 Gerrett84

I had a PR to improve the responsiveness but I used tailwindcss which was not merged. I need to redo it with plain css to get it approved. I hope to find time within the next days.

janiskelemen avatar Jan 03 '24 20:01 janiskelemen

Hi @matt8707, would you consider adding a CSS framework like tailwindcss? This would make the styling way more maintainable eventually. Especially when it comes to viewports etc the styling sections will become a nightmare over time. Is there any reason you opted for vanilla css?

I was supposing this was using tailwindcss already. That would make it much more easy to collaborate in the project.

luixal avatar Jan 07 '24 18:01 luixal

Fixed in 2024.1.4 👍🏻

Screenshot_20240113-205326.png

Gerrett84 avatar Jan 13 '24 19:01 Gerrett84

Hej,

first of all thank you very much for this great project and the great status it already has in a Pre-Beta phase.

I've noticed another problem when you're in mobile view and adding an Object in Edit mode. Whether via Browser or within the Home Assistant companian app. As it concerns the mobile view, i didn't want to create a new issue and post it here. I hope that is the correct approach.

In "normal" view you have the normal behavior of seeing the new Object with a dashed border: image

In mobile view you do not see a new Object, but only a new gap (see red marking on the following screenshot). Means that the object next to it moves slightly to the right, but the new Object left of that is not visible: image

Perhaps others also have this behavior?

Thanks for checking & Best regards Thomas

Tra1n84 avatar Jan 30 '24 10:01 Tra1n84