Author Topic: Trying a new style  (Read 28705 times)

0 Members and 3 Guests are viewing this topic.

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: Trying a new style
« Reply #30 on: June 09, 2016, 01:08:28 pm »
One piece of functionality that used to work but no longer seems to is the link from the region page to a specific route. In the past when looking at a regions (for example my travels in Ohio http://tm.teresco.org/user/mapview.php?u=bejacob&rg=OH, I could then click on a route such as I-80 on the table and get the highway browser showing my progress on clinching that route. Now it gets a "404 Not Found" error http://tm.teresco.org/devel/hb.php?u=bejacob&r=oh.i080.

 I can still get to the proper page by clicking the HB first and then selecting the route http://tm.teresco.org/hb/index.php?r=oh.i080, but I liked being able to drill down to a specific route from the regional mapview page.

All the other enhancements seem to be working fine.
That same error happened to me, I thought it was just my web browser.

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

Offline mapcat

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 1768
  • Last Login:Today at 12:02:56 am
Re: Trying a new style
« Reply #31 on: June 11, 2016, 11:11:36 am »
Excellent work Jim. http://tm.teresco.org/shields/clinched.php?u=mapcat is one of the coolest Easter eggs ever. And the "blank" map option is a nice addition too.

Testing this on Chrome (Win 10), there are a few problems. The problem bejacob mentioned a few days ago seems to still be there. The links from the tm.teresco.org pages are coded incorrectly: clicking on I-270 from the table on

http://tm.teresco.org/user/mapview.php?u=mapcat&rg=OH

sends you to

http://tm.teresco.org/devel/hb.php?u=mapcat&r=oh.i270

which doesn't work. It should go to

http://tm.teresco.org/hb/?u=mapcat&r=oh.i270

which works, and which is what the link from http://tmtest.teresco.org/user/mapview.php?u=mapcat&rg=OH does.

On the http://tm.teresco.org/user/region.php?u=mapcat&rg=OH page, clicking on HB in the table opens the link in the current tab as well as a new one.

On http://tm.teresco.org/user/region.php?u=mapcat&rg=OH is there a way to sort the table numerically (1, 2, 3, ...) instead of alphabetically (1, 10, 100, ...)?

Other suggestions:

Allow a ctrl-click in the table on http://tm.teresco.org/user/?u=mapcat to open the page in a new tab.

Color-code the lines in the "Stats by route" table on http://tm.teresco.org/user/region.php?u=mapcat&rg=LA according to whether the route is clinched, travelled, or not travelled. Darker blue, lighter blue, and white would go well with the overall theme and not be confused with the colors already in use for active/preview/development.

Farther out, it would be nice to have an easy way to change system or tier colors in the browser. I forgot the code to add manually to the url, so if someone could re-post that here, that would be great.
Clinched:

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4422
  • Last Login:November 11, 2024, 12:50:03 pm
  • I like C++
Re: Trying a new style
« Reply #32 on: June 12, 2016, 01:44:15 am »
On http://tm.teresco.org/user/region.php?u=mapcat&rg=OH is there a way to sort the table numerically (1, 2, 3, ...) instead of alphabetically (1, 10, 100, ...)?
I think CSV-order would be most sensible. 1, 2, 3, 3BusFoo, 3ABar, ...

Allow a ctrl-click in the table on http://tm.teresco.org/user/?u=mapcat to open the page in a new tab.
Seconded. I can right-click and hit 'T' to Open Link in New Tab, but Ctrl+click would be simpler.

Color-code the lines in the "Stats by route" table on http://tm.teresco.org/user/region.php?u=mapcat&rg=LA according to whether the route is clinched, travelled, or not travelled. Darker blue, lighter blue, and white would go well with the overall theme and not be confused with the colors already in use for active/preview/development.
I like this idea. Another option would be to use a gradient, different shades of lighter blue for travelled routes, based on the %age clinched. Similar to what CHM did.

Farther out, it would be nice to have an easy way to change system or tier colors in the browser. I forgot the code to add manually to the url, so if someone could re-post that here, that would be great.
http://tm.teresco.org/user/mapview.php?rg=NS&u=ua747sp&colors=tier1:rgb(128,210,255):rgb(0,160,255);tier2:rgb(128,210,255):rgb(0,160,255);tier3:rgb(128,210,255):rgb(0,160,255);tier4:rgb(128,128,128):rgb(64,64,64);tier5:rgb(224,144,86):rgb(224,0,0)

New Business:
I think before the revamp, the HB used to display what user's travels were being displayed, right?
http://tm.teresco.org/hb/index.php?r=nh.nh003aman initially showed me... someone else's travels other than mine, dunno whose, until I manually added &u=yakra to the URL.
Though my preference would be, if no user is specified, to just have a blue polyline that doesn't show anyone's travels (a la CHM), I still think adding a caption to the page that says whose travels are being shown would be a Good Thing -- even if it's apparent by looking at the URL.
« Last Edit: June 12, 2016, 01:57:27 am by yakra »
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca