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

Improve UI on mobile devices, vertical design #114

Open
e2jk opened this issue Feb 27, 2021 · 8 comments · May be fixed by #235
Open

Improve UI on mobile devices, vertical design #114

e2jk opened this issue Feb 27, 2021 · 8 comments · May be fixed by #235
Labels
web Stuff for the web team to look at

Comments

@e2jk
Copy link

e2jk commented Feb 27, 2021

The UI works great on large screens like laptops, but is not ideal on smaller screens like smartphones.
For example this is how it shows on my 6" screen Android smartphone:

Main issues:

  • Map is too narrow and long on the right side
  • Text information in table format on the left is not readable without zooming
  • Often zooming in causes issues when trying to zoom back out, in particular if the map is now full-screen-ish, since the pinching action then acts on the zoom level of the map instead of the entire page

On large screens, the screen real estate is most often horizontal, where it makes sense to have a design that lays out the map and the table content side-by-side.
But mobile devices are most often held in vertical orientation, so it would make sense to have the map and the table be laid out in vertical form, either with the table first or the map first.

Here a couple test mockups for a vertical design:

Vertical mockup, table first Vertical mockup, map first

Any suggestions on which of the table or the map would make sense to be first?
I think I prefer the table first, but it might make for a more consistent layout to have the map first: when there is a large number of planes in view, having the table down would mean the table could continue below and allow the user to scroll down, with the map always consistently positioned on top?

Note: Ideally, the design would adapt itself to the orientation of the device, and switch back to the same side-by-side layout as on larger screens when the device is held horizontally.

@eric1tran eric1tran added the web Stuff for the web team to look at label Mar 15, 2021
@eric1tran
Copy link

I like the vertical design. There's been discussion about making it a bit more mobile friendly for some upcoming projects we're working on so I'll pass the suggestion along.

@gvanem
Copy link

gvanem commented Jun 30, 2021

I'll ask here instead of opening another issue.

I've built Dump1090-FA for Windows (with some patches and tweaks). It work great for --interactive mode!
But I fail to see there is a Web-server built-in. An option somehow? Only SBS, Beast etc.
Does it mean I have to feed via RadarScape to server a Web-client?

@mutability
Copy link

mutability commented Jun 30, 2021 via email

@raccettura
Copy link

I like the vertical design. There's been discussion about making it a bit more mobile friendly for some upcoming projects we're working on so I'll pass the suggestion along.

Along with this, any chance on a query arg to show just the map or just the table? It would be helpful when embedding as an iframe into other interfaces like HomeAssistant.

@sigwx
Copy link

sigwx commented Aug 20, 2021 via email

@raccettura
Copy link

Just tested and that works. Thanks so much! Wish that little tidbit was better documented.

@therealhalifax
Copy link

therealhalifax commented Jan 11, 2023

Just tested and that works. Thanks so much! Wish that little tidbit was better documented.
@raccettura
How you added this to Home Assistant Addon? If I call the Webpage outside of Home Assistant with that arguements, it works also fine for me. But I need that inside the Addon, so that the agrs are always used when the Addon Frontend is called.

@gregdev gregdev linked a pull request Feb 21, 2024 that will close this issue
@gregdev
Copy link

gregdev commented Feb 22, 2024

I've just submitted #235 which brings in improved display on smaller devices, notably vertical stacking of the map and info table. Currently I have the map sitting first and the table underneath but I do like the idea of this order being user-selectable. I'm also thinking I should make just the table rather than the whole window scroll, so that the map remains fixed in place - any thoughts on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
web Stuff for the web team to look at
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants