Showing posts with label URL. Show all posts
Showing posts with label URL. Show all posts

Tuesday, December 24, 2013

dragging bug (IE), project links issue in IE

Fixed IE drag 'lock-up' bug: (thanks to Tom for reporting it) This bug was occurring in some projects when using Internet Explorer 11. When the project link was updating after using the drag controls, some bump values were incorrectly allowed to have decimal places. This was breaking things, including as the drag controls. So they would appear to lock up. The problem appears to be fixed now, but if you see anything odd, please let me know!

Project links in IE: Internet Explorer allows up to 2083 character in a URL. Everything after that is truncated. So, the end of a project link may be chopped off if it gets too long. Chart settings are affected first, since those are the last fields saved in the project link. The only easy solution is to recommend not using Internet Explorer. Other browsers all appear to work just fine and have much higher limits for URL length.

    Other solutions are:
  • Using shorter field names or using numbers to represent each field. This would pretty easy to implement, but it could cause confusion and add complexity (potentially breaking some users' project links), and it doesn't get around the inevitable URL max length.
  • Saving project links on the site. This is a much more involved solution, because it would probably require adding user accounts and forcing people to sign up if they want to save their project. Since VSusp is still a relatively simple tool, I'd really prefer the user interaction to stay as simple as possible: no downloading or signup required - just click and go
Project link version update: Putting in the fix for bump values required updating from project link version 0.7 to 0.8. Projects will be updated automatically to version 0.8.


Friday, September 21, 2012

  • did cleanup/rewrite of much of vsusp's base code, including how float precision is saved in project links, how inputs are linked to tool model, how units are handled, input-change bindings, tab switching (and active tab is now stored in project link)
  •  moved url hash / project link code to a new file
  •  moved body roll and bump/dive/squat to project 'trim' object
  • now using CSS for IC/RC/etc label position instead of JS
  • added various settings to project preferences: units, front/rear, show/hide, zoom
  • most inputs including chart settings are now saved in project link
  •  added escaping to project link so it can be pasted into forum (shouldn't need link shortener anymore)
  •  changed scale control to "pixels per mm" - but is this reasonable?
  •  added IC inclination angles: angle between horizon and instant center (thanks Horizenjob)
  •  made input/output boxes look a little better (styling)
  •  tire size convention: opacity changes based on setting (styling/useability)
  •  fixed bad wheel sizes coming from hash
  •  various minor styling improvements and cleanup