cheeaun / hackerweb

A simply readable Hacker News web app
http://hackerwebapp.com/
1.23k stars 133 forks source link

Merge ipad ui into desktop ui #41

Open yamsellem opened 9 years ago

yamsellem commented 9 years ago

This project is great ;-).

Their is only one thing that bothers me: the ipad ui is great and I don't get why it's not used for desktop. The 2 columns with a list pane on the left is perfect on desktop too.

Don't you think so? Thanks.

ps. and it works as is (tested with chrome ipad simulator — it just needs to handle mouse click besides touches)

berbaquero commented 9 years ago

@yamsellem: If you're on Mac, in the meantime, you could create a Fluid app, and change the User Agent string into the iPad one and that would also work.

screen shot 2015-06-24 at 13 47 57

I'm sure there's something similar for Windows and Linux.

berbaquero commented 9 years ago

Actually, @cheeaun, on a kinda related note: would you think creating an "Install" button on Firefox would be something you'd welcome for the app?

Using window.navigator.mozApps.install('path/to/manifest') using the manifest you already have for the Marketplace.

cheeaun commented 9 years ago

@berbaquero you mean showing the button on the app itself? Currently I'm leaning towards Chrome's implementation here: https://developers.google.com/web/updates/2015/03/increasing-engagement-with-app-install-banners-in-chrome-for-android . I haven't seen any updates from Mozilla/Firefox's side for a long time now.

berbaquero commented 9 years ago

Yeah, I mean showing an 'Install' button somewhere on the app, or in the homepage, similar to:

screen shot 2015-06-24 at 21 47 30

Reeddit's homepage, on Firefox only, of course.

cheeaun commented 9 years ago

@berbaquero ah, I see what you mean. As of now, not really thinking of implementing that. Is it working for you on Reeddit, as in users ask for it or using it?

berbaquero commented 9 years ago

@cheeaun actually, in Reeddit's case it was just a PR I accepted 😛

But I really like the idea of explicitly "installing directly from the browser".

Now that you mention it, I should probably put an event tracking on that button and see how it does, heh.