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

make control panel visible/hidden #92

Open
EddyIonescu opened this issue Jan 3, 2019 · 4 comments
Open

make control panel visible/hidden #92

EddyIonescu opened this issue Jan 3, 2019 · 4 comments

Comments

@EddyIonescu
Copy link
Member

Try using OpenTransit on your phone in portrait mode (landscape currently works semi-decently). In order to make our site mobile-friendly (or at least not anti-mobile), the control panel shouldn't cover the entire map.

The easiest way to do this that'll work for all types of mobile screens is likely to hide the control panel. This ticket tracks adding a border/vertical button to the control panel that when tapped shows/hides the screen.

@akgupta89
Copy link
Member

I imagine we need a header banner of some sort to add a button to toggle the sidebar

@lukemccrae
Copy link
Contributor

lukemccrae commented Jan 28, 2019

screen shot 2019-01-28 at 2 36 13 pm
screen shot 2019-01-28 at 2 35 51 pm

How do you feel about this UI? Got this by giving the control panel a max-height and removing the margin-left from the map. Second button text would be changed to 'Show Controls'

@akgupta89
Copy link
Member

akgupta89 commented Jan 31, 2019

screen shot 2019-01-28 at 2 36 13 pm
screen shot 2019-01-28 at 2 35 51 pm

How do you feel about this UI? Got this by giving the control panel a max-height and removing the margin-left from the map. Second button text would be changed to 'Show Controls'

That looks cool! Great fix for the issue.

I am working on a top header + search box w/ chips prototype which can hopefully lead to the deprecation of the control panel sidebar, which doesn't play nicely with mobile phones.

@akgupta89
Copy link
Member

I created a PR for my prototype of a header+collapsable sidebar.

#100

Has screenshots of mobile and desktop.

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

No branches or pull requests

4 participants