Author Topic: Recent Web updates now live on tm main site  (Read 820 times)

0 Members and 1 Guest are viewing this topic.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 1318
  • Last Login:Today at 09:03:53 pm
Recent Web updates now live on tm main site
« on: June 15, 2016, 10:25:29 am »
I've merged in my development version that so many of you have been testing on tmtest to the GitHub master and installed the latest on tm.teresco.org .  Please let me know if I seem to have broken anything.

I'm turning my attention now to data processing issues again (things that at least help out on my project that indirectly can be called work as they will contribute to my educational use of our data).  I'll do bug fixes but will not be doing any new web development for a while.  Others are more than welcome to contribute enhancements, fixes, and new functionality.

Offline froggie

  • TM Collaborator
  • Sr. Member
  • *****
  • Posts: 384
  • Last Login:Today at 02:17:02 pm
Re: Recent Web updates now live on tm main site
« Reply #1 on: June 17, 2016, 08:36:35 am »
Something I've noticed in the new(ish) Traveler Stats...when I'm looking at my stats in a given region, it's listing routes in "alphabetical order" going digit by digit.  For example, it's not recognizing that "MN 149" is a higher route number than "MN 15".

I tried to attach a screenshot, but it didn't work.

Offline Quidditch33

  • Milwaukeye
  • Full Member
  • ***
  • Posts: 115
  • Gender: Male
  • Last Login:September 19, 2018, 07:46:36 pm
  • I want to be the first one to collect them all!
    • Travel Mapping User Page
Re: Recent Web updates now live on tm main site
« Reply #2 on: June 17, 2016, 11:11:41 pm »
I tried to attach a screenshot, but it didn't work.
Here is a screenshot that(I hope) captures froggie's issue.

Thanks,
-The journey of a thousand miles begins with a single step... on the gas.

Offline Quidditch33

  • Milwaukeye
  • Full Member
  • ***
  • Posts: 115
  • Gender: Male
  • Last Login:September 19, 2018, 07:46:36 pm
  • I want to be the first one to collect them all!
    • Travel Mapping User Page
Re: Recent Web updates now live on tm main site
« Reply #3 on: June 17, 2016, 11:13:42 pm »
The problem is: after MN1, MN100 comes before MN2.

Thanks,
-The journey of a thousand miles begins with a single step... on the gas.

Offline Bickendan

  • TM Collaborator
  • Full Member
  • *****
  • Posts: 207
  • Last Login:November 09, 2018, 05:06:06 am
Re: Recent Web updates now live on tm main site
« Reply #4 on: June 22, 2016, 08:57:45 am »
That's often the case in numerical sorting, and the correct way to fix that would be adding leading 0s (eg, MN 001, 002, ... 100). I'm not sure that would really be worth our time to add them to our files, though I do agree it's the preferable way to display the list.

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 1718
  • Last Login:Today at 06:41:14 pm
Re: Recent Web updates now live on tm main site
« Reply #5 on: June 22, 2016, 01:00:23 pm »
Having the routes listed in the appropriate order in the CSVs has already done the heavy lifting for us.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 1318
  • Last Login:Today at 09:03:53 pm
Re: Recent Web updates now live on tm main site
« Reply #6 on: June 22, 2016, 01:49:23 pm »
Having the routes listed in the appropriate order in the CSVs has already done the heavy lifting for us.

Exactly.  Next time I'm in the web code I'll see if I can make CSV order the default ordering in tables and drop-downs, where appropriate.

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 1182
  • Gender: Male
  • Last Login:Today at 03:50:52 pm
Re: Recent Web updates now live on tm main site
« Reply #7 on: June 22, 2016, 02:51:15 pm »
Having the routes listed in the appropriate order in the CSVs has already done the heavy lifting for us.

Exactly.  Next time I'm in the web code I'll see if I can make CSV order the default ordering in tables and drop-downs, where appropriate.

I think that's fine! If one sorts the table manually, it's not possible to get the "correct" order again. It's not a problem, for instance, it's similar on wikipedia.