News:

The AARoads Wiki is live! Come check it out!

Main Menu

Web / Frontend Development

Started by Thing 342, January 02, 2016, 11:37:18 AM

Previous topic - Next topic

Jim

Quote from: Jim on January 02, 2016, 03:45:59 PMPlease speak up if you see anything in this new stuff that should prevent it from becoming the default version at http://tm.teresco.org/  Mainly is there anything we could do before that mistakenly disappeared or broke?

I plan to merge Thing 342's branch into the mainline and make what's out there now (including any fixes and improvements that might be coming in) the default at http://tm.teresco.org tonight.  Again, if anyone has reason to believe I should hold off, please speak up today.
Photos I post are my own unless otherwise noted.
Signs: https://www.teresco.org/pics/signs/
Travel Mapping: https://travelmapping.net/user/?u=terescoj
Counties: http://www.mob-rule.com/user/terescoj
Twitter @JimTeresco (roads, travel, skiing, weather, sports)


SSOWorld

#26
As a note - and this should have no effect on today's site

I have code-in-progress for drawing the CHM style maps that is very out-of-date due to the database format being changed several time since.  I understand that some of the users still desire to have this finished, I - unfortunately - could not continue since I had started this due to unfortunate circumstances (basically work taking my life away from me) so it sat dormant in my Github branch.  I'm slowly recovering my life after a job change but haven't had the energy to restart this yet.  I don't know if this is a priority so if it is, someone may need to look into this short term.

https://github.com/ssoworld/Web

The code "works" in that it draws the maps - but it needs to have the following done:

  • clinched overlay be fixed to be able to recognize where  user has been on the highway (it wraps around because I could not figure out the endpoints in the DB)
  • update to current database structure
  • integration into site
  • clean-up and - if oop is not your style - condense

I can pull it in to the main repo, but it will have to be added to a temporary subdirectory since it involved mods to the hbtest folder contents (and as said before - that's been changed in the last 6 months my stuff sat dormant)

EDIT: I've been developing this on my local web server at home so in order to see it at work I recommend getting a clone of this repo.  What I have locally is also out-of-date.
Scott O.

Not all who wander are lost...
Ah, the open skies, wind at my back, warm sun on my... wait, where the hell am I?!
As a matter of fact, I do own the road.
Raise your what?

Wisconsin - out-multiplexing your state since 1918.

vdeane

Also: sorting by route ideally would also sort by system and compensate for MySQL's broken number sort (it sorts by first digit rather than actual number, so 199 comes before 2); on my own website, I wound up creating a field in the database for the number of digits in the route number to fix that.
Please note: All comments here represent my own personal opinion and do not reflect the official position of NYSDOT or its affiliates.

Thing 342

Quote from: vdeane on January 03, 2016, 06:11:34 PM
Also: sorting by route ideally would also sort by system and compensate for MySQL's broken number sort (it sorts by first digit rather than actual number, so 199 comes before 2); on my own website, I wound up creating a field in the database for the number of digits in the route number to fix that.
The table sorting is handled through a jQuery library, not MySQL. However, said library's documentation is rather opaque, and I'm not entirely sure how to get custom data extraction for just a single column.

Nexus 6P


Jim

Quote from: Jim on January 03, 2016, 09:49:48 AM
Quote from: Jim on January 02, 2016, 03:45:59 PMPlease speak up if you see anything in this new stuff that should prevent it from becoming the default version at http://tm.teresco.org/  Mainly is there anything we could do before that mistakenly disappeared or broke?

I plan to merge Thing 342's branch into the mainline and make what's out there now (including any fixes and improvements that might be coming in) the default at http://tm.teresco.org tonight.  Again, if anyone has reason to believe I should hold off, please speak up today.

The branch is now in the mainline, and the latest version is now available at the default URL.  Thanks once again to Thing 342 for the quantum leap forward in our web interface.
Photos I post are my own unless otherwise noted.
Signs: https://www.teresco.org/pics/signs/
Travel Mapping: https://travelmapping.net/user/?u=terescoj
Counties: http://www.mob-rule.com/user/terescoj
Twitter @JimTeresco (roads, travel, skiing, weather, sports)

Rothman

Pretty darned cool.  Thanks for the continuous improvement!
Please note: All comments here represent my own personal opinion and do not reflect the official position(s) of NYSDOT.

michih

#31
Quote from: Jim on January 04, 2016, 12:37:56 AM
The branch is now in the mainline, and the latest version is now available at the default URL.  Thanks once again to Thing 342 for the quantum leap forward in our web interface.

Thanks!

There's a little issue now, the highway data updates list and the log files are not linked anymore (Unfortunately, I don't remember the direct links :(). There should be a link on the main page to the update list. I think the log files (logs and devlogs) could directly be linked on the traveler stats page because the user name is known there.

The traveler stats page should have a "home" link to get back to the main page.

There should also be a link to the error logs. Link could be on main page (but it's for "developers" only) or on the highway browser page or... Any better idea?

Would be great if that could be implemented short-term (no midium-term github issue).

Edit: It's quite strange that the whole page is English but the button next to the user name selection is language-dependant (Windows language?, cookies). My button has "Daten senden" --> "Send data" which sounds odd. I'd prefer "OK".

Jim

I have temporarily restored my ugly old main index page (plus a new link for user stats) until the other information can be included in the nicer main index that Thing 342 is developing.
Photos I post are my own unless otherwise noted.
Signs: https://www.teresco.org/pics/signs/
Travel Mapping: https://travelmapping.net/user/?u=terescoj
Counties: http://www.mob-rule.com/user/terescoj
Twitter @JimTeresco (roads, travel, skiing, weather, sports)

michih


Jim

Thing 342's latest fixes and enhancements are now live on http://tm.teresco.org
Photos I post are my own unless otherwise noted.
Signs: https://www.teresco.org/pics/signs/
Travel Mapping: https://travelmapping.net/user/?u=terescoj
Counties: http://www.mob-rule.com/user/terescoj
Twitter @JimTeresco (roads, travel, skiing, weather, sports)

Jim

Another set of fixes and enhancements from Thing 342 are now live at http://tm.teresco.org/.
Photos I post are my own unless otherwise noted.
Signs: https://www.teresco.org/pics/signs/
Travel Mapping: https://travelmapping.net/user/?u=terescoj
Counties: http://www.mob-rule.com/user/terescoj
Twitter @JimTeresco (roads, travel, skiing, weather, sports)



Opinions expressed here on belong solely to the poster and do not represent or reflect the opinions or beliefs of AARoads, its creators and/or associates.