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

0 Members and 1 Guest are viewing this topic.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2732
  • Last Login:Today at 10:27:44 am
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
  • Hero Member
  • *****
  • Posts: 801
  • Last Login:Yesterday at 07:53:11 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 Ib3kii

  • Milwaukeye
  • Full Member
  • ***
  • Posts: 130
  • Gender: Male
  • Last Login:January 12, 2023, 02:02:21 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 Ib3kii

  • Milwaukeye
  • Full Member
  • ***
  • Posts: 130
  • Gender: Male
  • Last Login:January 12, 2023, 02:02:21 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
  • Hero Member
  • *****
  • Posts: 543
  • Last Login:March 26, 2024, 08:55:56 pm
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: 4234
  • Last Login:February 13, 2024, 07:19:36 pm
  • I like C++
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.
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2732
  • Last Login:Today at 10:27:44 am
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: 4555
  • Last Login:Yesterday at 04:04:16 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.