Coder Social home page Coder Social logo

mobileweb2011's People

Contributors

andylolz avatar annapowellsmith avatar mvl22 avatar si-the-pie avatar smsm1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mobileweb2011's Issues

Opera can't cope with "pointer-events: none"

... which makes the journey map undraggable, as the crosshairs create a large dead spot in the centre of the screen.

Suggested workaround: check for Opera with user-agent, and set the height of the crosshairs to about 40px. Probably the best we can do.

Click events not heard on certain elements (Android, Fennec)

On journey and photomap pages: code is running, and no javascript errors, but click events on locate-me and on route-type are simply not being heard.

Other click events (e.g. on instructions footer and on map) are being picked up fine.

Observed in Android browser + Fennec.

No idea what's going on. Probably need to ask jQM forums.

Multiple waypoints

It should be fairly simple to extend the interface so that multiple waypoints can be set before planning a route.

It would work in a very similar way to the android version, like a stack:

The first tap sets the start.

Successive taps add new waypoints giving the option of either planning the route or adding a new point.

Remove simply removes the last waypoint.

The API is currently limited to 50 such points.

Use nearestPoint API to snap waypoints

The mobile app is currently running blind. By this I mean that when a waypoint is set by tapping or by search by name, there is no attempt to locate the nearest point on the cyclable network. This leads to a lot of failed routing, similar to the report at #30 where undefined values are set for waypoints.

This problem is easily reproduced by setting a waypoint over the sea.

The enhancement is to use the API call at: http://www.cyclestreets.net/api/nearestpoint/ to snap to the routeable network before trying to generate a route.

Slow tile loading does result in an OS menubar indicator on Android

Bug I observed on an Android device.

The map tiles weren't coming through (they did eventually), but there was no indication in the OS that the tiles were loading. On iPhone, if HTTP traffic is coming down, e.g. tiles loading, the OS top bar has a spinner showing this. Does Android have the same, and is there something we need to do to make it work?

Fennec needs "mouse mode" to be enabled to drag maps

Fennec (Firefox Mobile) needs "mouse mode" to be enabled before it can drag maps.

This is confusing for users who don't know about mouse mode, and annoying for those who do.

In fact, the desktop site works better in Fennec, because you don't have to move the map by dragging, you can put a marker anywhere that's visible.

What should we do about this? Options:

  1. Auto-detect and redirect Fennec back to desktop site
  2. Add a bunch of custom code for Fennec - could re-add our original draggable markers code, but it's extra code for everyone else to download, plus a maintenance overhead.
  3. Just warn Fennec users about mouse mode with a toast message

I'm certainly leaning away from 2, given that Fennec is less than 1% of the mobile browser market: http://gs.statcounter.com/#mobile_browser-GB-monthly-201008-201108

Upgrade to 1.0 jQM when it comes out (end September)

We're currently using beta 1 of jQuery Mobile. jQM just released beta 3, but I'd be tempted to wait until 1.0 comes out and upgrade then (it's currently scheduled for end-September).

I'll be happy to pick this up, to keep myself up to date with jQM developments!

Photo upload gets wrong date - 1970 - sometimes?

Shaun reports via personal email:

"I have just uploaded a photo through the mobile Web interface and it's given the photo a date of 1/0/1970. See attached screenshot."

This is the photo in question:
http://www.cyclestreets.net/location/44119/

I think the reason is that that photo doesn't seem to have any date info in it. (Download the original from that page and inspect.)

I have therefore tested it with CycleStreets' htc Wildfire Android, Feste to upload this:

http://www.cyclestreets.net/location/44120/

... which works fine.

Dragging map sometimes scrolls

Experienced on both Android and Blackberry playbook.

Trying to drag the map sometimes causes the whole page to scroll either horizontally or vertically.

This is quite disconcerting when using it to pan around. I think that this is perhaps something to do with making the map fit fully inside the browser's viewport correctly so that scrolling should never happen.

Make window height consistent across browsers

This is the trickiest part of the project so far!

We set the map height by looking at window.height, but it seems mobile browsers are not particularly consistent about how they handle this.

Sometimes window.height includes the browser's address bar, sometimes it does not. This can lead to the map falling off the bottom of the screen in some browsers (observed in Fennec on Mac), or whitespace at the bottom of the screen sometimes (observed in Opera Mobile on Android).

Investigate and, if necessary, apply per-browser fixes.

Directory function

Basically add a directory function (i.e. Find places nearby...).

The long-awaited expansion of placestypes.xml is almost complete. Requesting placestypes.xml gets the list of keys, and places.xml gets the locations for that key.

Consistent terminlogy: Start and Finish, never end

Throughout CycleStreets we've stuck to Start and Finish to describe the ends of the journey. That says it perfectly: 'end' can refer to either start or finish.

Also 'Click' has been used rather than 'Tap'.

The interface says 'Click to set end' that should really be 'Tap to set finish'.

'Remove end point' => 'Remove finish'

There are probably other places too.

Quietest/balanced/fastest buttons: colour and behaviour

  1. Should really be the three pastel colours used at the bottom of this flyer:
    http://www.cyclestreets.net/promote/#flyers

  2. They also take up quite a lot of screenspace. I wonder if they could be squished to about 60% of their height.

  3. Having clicked 'Next' to enter a route, they aren't really needed at that point. I wonder whether clicking Next should:

  • Remove the Q/B/F buttons
  • Remove the Home button and replace it with a 'Back' button that takes the user back to the selection screen.
    This would mean that following the route gets more space, and means that leaving the route is a deliberate action, one which currently can accidentally be done half-way through following a route if Q/B/F is clicked on.

Photo page link text

"Full link to photo page (for tweeting etc.)"
is a bit wordy. I suggest

"Tweet this | Share on Facebook | Permalink"

with the URLs being

http://twitter.com/?status=Great+photo+on+%40CycleStreets%21+http%3A%2F%2Fwww.cyclestreets.net%2Flocation%2F%2F
(i.e. Great photo on @cyclestreets! http://www.cyclestreets.net/location// )

http://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fwww.cyclestreets.net%2Flocation%2F%2F

http://www.cyclestreets.net/location//

Where is the photo ID obviously.

We could even have nice 16x16 icons by making a copy from:
http://www.cyclestreets.net/images/icons/extras/facebook.png
http://www.cyclestreets.net/images/icons/extras/twitter.png

Note that http://www.cyclestreets.net/ rather than m.cyclestreets.net should be used, as we always want to make the www the primary link target, as www will then decide whether the user is mobile or not.

404 for journey/favicon.ico

[Mon Feb 06 15:25:01 2012] [error] [client 86.6.24.38] File does not exist: /websites/mobi/content/journey/favicon.ico

Minor bug: Whitespace under footer occasionally

Occurs on the journey page when the instructions footer spills over to 3 lines.

When moving from 3 to 2 the footer height corrects leaving whitespace.

Only an issue in portrait mode on small screens but would be good to fix.

Crosshair moves slightly upon first load

http://ipadpeek.com/
shows a problem that I've also found consistently on my iPhone.

On first load, shortly after the crosshair appears, it then moves about 5px or so to the right.

It then feels instinctively (though I've not measured it) like it's then not quite centred!

Sign-in with spaces

There is no spaces in the user name field and I can't login. Using android firefox.

This is when following the upload form to upload a photo to the photomap.

Via email: On Thu, February 16, 2012 10:17 pm, Shaun McDonald

Photomap location pages don't have a map

Several people have asked that individual photo pages have a map added - as otherwise they don't know where the picture was taken. This is mainly because of people following the Message Of The Day see the picture directly.

Perhaps use a static maps API of some kind just to get a map PNG?

Saved routes page - contradictory messages

On htc Wildfire saved routes page I'm seeing one route listed, followed by text: 'You don't have any saved routes yet.' and the button 'Clear saved routes' all shown simultaneously.

Also on entering this page I briefly see a white screen flash with '-->' at the top left.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.