Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebUI if is notresponsive on mobile #3059

Closed
cdn4lf opened this issue Dec 29, 2024 · 13 comments
Closed

WebUI if is notresponsive on mobile #3059

cdn4lf opened this issue Dec 29, 2024 · 13 comments
Assignees
Labels

Comments

@cdn4lf
Copy link

cdn4lf commented Dec 29, 2024

Describe the bug
In web server move (-w), the interface is not being mobile responsive and is showing as a jumbled mess.

To Reproduce
Steps to reproduce the behavior:

  1. Start Glances with the following options '-w' using docker (4.3.0.5)
  2. Open on mobile
  3. See mess of information

Expected behavior
Should default to single column

Screenshot_20241229_095740_Chrome

@arpitgupta
Copy link

I have seen the same behavior. If i downgrade to 4.2 then it is better. Current UI works better if I put my phone in landscape mode. Still have to scroll items to be able to view drive temps etc.

I am on android and tried this with chrome, firefox and brave browsers and they all show the same behavior.

@benjimons
Copy link

Same problem on iOS using Safari and Chrome for iOS.

From install of glances--4.3.0.5.arm64_sequoia.bottle.tar.gz

Copy link

This issue is available for anyone to work on. Make sure to reference this issue in your pull request. ✨ Thank you for your contribution ! ✨

@nicolargo
Copy link
Owner

Hi all,

the WebUI has been completely refactor in this version. For the moment it is not responsive on Mobile (aka non landscape) screen.

A ugly work-around is to switch to "Computer version" on your Web browser.

Any contributor are welcome to make the UX design fully responsive.

@nicolargo nicolargo changed the title Not being mobile responsive WebUI if is notresponsive on mobile Dec 31, 2024
@nicolargo nicolargo self-assigned this Dec 31, 2024
@nicolargo
Copy link
Owner

@cdn4lf @arpitgupta @benjimons Please can you test the latest version (4.3.0.7), it should correct the issue.

If it does, can you send me back a screenshot ?

@cdn4lf
Copy link
Author

cdn4lf commented Jan 3, 2025

@nicolargo , looks good to me.

Screenshot_20250103_064426_Chrome

@arpitgupta
Copy link

arpitgupta commented Jan 3, 2025

@nicolargo it's better but now we seem to be missing data.

On left left frame data such as networks/disk io, filesystems and sensors is not visible at all. I tried to see if I could scroll to find it but no luck.

Even on the top header we seem to be missing detailed data of memory, swap, cpu and load etc.

Screenshot_20250103-064754

@nicolargo
Copy link
Owner

@nicolargo it's better but now we seem to be missing data.

On left left frame data such as networks/disk io, filesystems and sensors is not visible at all. I tried to see if I could scroll to find it but no luck.

Even on the top header we seem to be missing detailed data of memory, swap, cpu and load etc.

Screenshot_20250103-064754

Yes it's not a bug. If you want to display all stats please use the Display as computer version of your Web browser.

@arpitgupta
Copy link

@nicolargo I do not see the the left frame show desktop version is enabled in firefox. Top header data is visible.

@nicolargo
Copy link
Owner

I just push a new version on the develop branch, can you have a look ?

@arpitgupta
Copy link

Tried it out and the desktop view has more info now. See the various information from the left frame.

Some data is missing from the top header. For example CPU info is shown but not all. Same for swap info etc.

This is the top header when viewing as a desktop site on mobile
top-header

vs what I see on actual desktop
top-header-on-desktop

@nicolargo
Copy link
Owner

Yes space is limited. Only importants stats are displayed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants