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.


Sunday, December 22, 2013

  • fixed ie11 drag bug (thanks Tom)
  • updated to link version 0.8 (bump value precision change in hash, added conversion from 0.7)

Wednesday, December 11, 2013

  • tweaked drag controls a bit to make them easier to use
  • code cleanup
  • packed more js into min file
  • fixed dimension highlighter font size relative to zoom
  • adjusted drag control repositioning and styling
  • updated steering knuckle tab label

various minor fixes

  • updated control min and max to allow VSusp to be used for small cars, eg radio controlled cars
  • adjusted various dimension highlighters so they look ok when working with small chasses (eg. RC cars)
  • adjusted knuckle shape calculation to work better with small chasses
  • fixed handling of disabled highlighters based on tire size mode
  • added highlighters for explicit wheel and tire sizes
  • fixed units on a few highlighters
  • updated drag control triggers
  • updated to dojo 1.3
  • updated to jquery 2
  • added canvas graphics option (still using SVG, though)
  • fixed drag control positioning relative to zoom
  • reposition drag controls after zoom change
  • adjusted steering knuckle tab label
  • improved IE warning box (IE8 and below are not supported)
  • some template fixes