AARoads Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

New rules to ensure post quality. See this thread for details.

Author Topic: Web / Frontend Development  (Read 16284 times)

Jim

  • *
  • Offline Offline

  • Posts: 5970
  • Check out https://travelmapping.net

  • Location: Amsterdam, NY
  • Last Login: Today at 03:45:22 PM
    • Travel and Other Pictures
Re: Web / Frontend Development
« Reply #25 on: January 03, 2016, 09:49:48 AM »

Please 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.
Logged
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

  • 'Sconsin
  • *
  • *
  • Offline Offline

  • Posts: 4092
  • Interstate <Make up your mind!>

  • Location: MAH House!
  • Last Login: May 29, 2023, 11:26:01 PM
Re: Web / Frontend Development
« Reply #26 on: January 03, 2016, 12:56:24 PM »

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.
« Last Edit: January 03, 2016, 12:58:41 PM by SSOWorld »
Logged
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

  • *
  • *
  • Offline Offline

  • Posts: 13757
  • Age: 32
  • Location: The 518
  • Last Login: Today at 12:26:07 PM
    • New York State Roads
Re: Web / Frontend Development
« Reply #27 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.
Logged
Please note: All comments here represent my own personal opinion and do not reflect the official position of NYSDOT or its affiliates.

Thing 342

  • *
  • Offline Offline

  • Posts: 1391
  • Age: 25
  • Location: VA
  • Last Login: May 29, 2023, 04:18:10 PM
Re: Web / Frontend Development
« Reply #28 on: January 04, 2016, 12:20:27 AM »

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

Logged

Jim

  • *
  • Offline Offline

  • Posts: 5970
  • Check out https://travelmapping.net

  • Location: Amsterdam, NY
  • Last Login: Today at 03:45:22 PM
    • Travel and Other Pictures
Re: Web / Frontend Development
« Reply #29 on: January 04, 2016, 12:37:56 AM »

Please 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.
Logged
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

  • *
  • *
  • Offline Offline

  • Posts: 12380
  • Last Login: Today at 04:17:02 PM
Re: Web / Frontend Development
« Reply #30 on: January 04, 2016, 01:41:51 PM »

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

michih

  • *
  • Offline Offline

  • Posts: 55
  • Location: Lower Franconia
  • Last Login: May 07, 2016, 07:54:16 AM
Re: Web / Frontend Development
« Reply #31 on: January 04, 2016, 01:50:38 PM »

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".
« Last Edit: January 04, 2016, 01:59:52 PM by michih »
Logged

Jim

  • *
  • Offline Offline

  • Posts: 5970
  • Check out https://travelmapping.net

  • Location: Amsterdam, NY
  • Last Login: Today at 03:45:22 PM
    • Travel and Other Pictures
Re: Web / Frontend Development
« Reply #32 on: January 04, 2016, 02:04:27 PM »

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.
Logged
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

  • *
  • Offline Offline

  • Posts: 55
  • Location: Lower Franconia
  • Last Login: May 07, 2016, 07:54:16 AM
Re: Web / Frontend Development
« Reply #33 on: January 04, 2016, 02:14:57 PM »

Ugly but working ;) Thanks.

Jim

  • *
  • Offline Offline

  • Posts: 5970
  • Check out https://travelmapping.net

  • Location: Amsterdam, NY
  • Last Login: Today at 03:45:22 PM
    • Travel and Other Pictures
Re: Web / Frontend Development
« Reply #34 on: January 04, 2016, 09:34:57 PM »

Thing 342's latest fixes and enhancements are now live on http://tm.teresco.org
Logged
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

  • *
  • Offline Offline

  • Posts: 5970
  • Check out https://travelmapping.net

  • Location: Amsterdam, NY
  • Last Login: Today at 03:45:22 PM
    • Travel and Other Pictures
Re: Web / Frontend Development
« Reply #35 on: January 06, 2016, 11:18:46 PM »

Another set of fixes and enhancements from Thing 342 are now live at http://tm.teresco.org/.
Logged
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.