Skip to content
This repository was archived by the owner on Sep 5, 2021. It is now read-only.

Maintenance, bugfixes, and initial mobile support for WebViews/mobile devices. #1

Open
kench wants to merge 7 commits into
wtg:masterfrom
kench:master
Open

Maintenance, bugfixes, and initial mobile support for WebViews/mobile devices. #1
kench wants to merge 7 commits into
wtg:masterfrom
kench:master

Conversation

@kench

@kench kench commented Jun 22, 2014

Copy link
Copy Markdown

No description provided.

@kench

kench commented Jun 22, 2014

Copy link
Copy Markdown
Author

Looking for feedback from @Gabe283, @bamnet, and @zr2d2.

Comment thread app/controllers/displays_controller.rb Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this logic mean that any request with an X-Requested-With header will get redirected to the mobile index?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops. That's not what I intended.

Would detecting the substring "Mobile Safari" in the user agent be a better idea?

@bamnet

bamnet commented Jun 23, 2014

Copy link
Copy Markdown
Contributor

Is this change staged anywhere I can preview what a mobile page looks like?

@kench

kench commented Jun 24, 2014

Copy link
Copy Markdown
Author

I'll work on bringing a demo instance up. It's borderless.

@kench

kench commented Jun 25, 2014

Copy link
Copy Markdown
Author

I can't get Dokku to play nice with shuttles at the moment. On my VM, it's the normal map without the borders.

@kench

kench commented Jun 27, 2014

Copy link
Copy Markdown
Author

@bamnet, can you test this on your own Dokku instance? I'm not sure if it's an issue with Dokku or my specific instance of it.

Use CSS media queries instead of user agent detection.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants