Author Topic: A Couple Website Suggestions  (Read 19344 times)

0 Members and 1 Guest are viewing this topic.

Offline vdeane

  • Sr. Member
  • ****
  • Posts: 425
  • Gender: Female
  • Last Login:Yesterday at 09:01:52 pm
    • New York State Roads
A Couple Website Suggestions
« on: January 27, 2016, 10:06:23 pm »
I noticed that at some point the temporary index was again replaced with the CHM lookalike one.  There are a couple tweaks I'd do to make it more functional:
-There should be links from the homepage to the highway data updates and this forum
-There should be a link to user logs somewhere, perhaps on the user page as they were on CHM.
-Also, it might be a good idea to replace the null user stats page with an index of all the users
Please note: All comments here represent my own personal opinion and do not reflect the official position of NYSDOT or its affiliates.

Offline Thing342

  • Computer Guy
  • TM Collaborator
  • Newbie
  • *****
  • Posts: 13
  • Gender: Male
  • Last Login:June 08, 2017, 10:58:40 pm
  • V.T.C.S.
    • Personal Page
Re: A Couple Website Suggestions
« Reply #1 on: January 27, 2016, 11:10:15 pm »
I'll see about adding this whenever I get some free time.

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4849
  • Last Login:Yesterday at 11:21:09 am
Re: A Couple Website Suggestions
« Reply #2 on: January 30, 2016, 01:40:12 pm »
I noticed that at some point the temporary index was again replaced with the CHM lookalike one.  There are a couple tweaks I'd do to make it more functional:
-There should be links from the homepage to the highway data updates and this forum
-There should be a link to user logs somewhere, perhaps on the user page as they were on CHM.

I've already submitted an issue: https://github.com/TravelMapping/Web/issues/37.

-Also, it might be a good idea to replace the null user stats page with an index of all the users

https://github.com/TravelMapping/Web/issues/42

Don't get me wrong, it's the right way for "normal users" to post issue here but I think the "developer" open issue list is on github. That's why I've copied your note to github.
« Last Edit: January 30, 2016, 01:42:58 pm by michih »

Offline theFXexpert

  • TM Collaborator
  • Full Member
  • *****
  • Posts: 136
  • Gender: Male
  • Last Login:July 12, 2024, 01:20:07 am
Re: A Couple Website Suggestions
« Reply #3 on: February 11, 2016, 12:20:41 pm »
Some notes about issues/my wishlist of things I would like to see. You all are free to discuss/disagree/prioritize as needed:

- This was already noted on Github but, the shield cache directory needs to be writable. Otherwise it fails and shows a warning.

- In the highway browser: I don't think the colors showing progress for a user on a single route are contrasting enough. Colors are not consistent when &u parameter is/isn't supplied. I know it's similar to the old site, but it doesn't seem right.

- Port the home page styling/navigation to stats/map pages.

- Better code consolidation/creating modular code: CSS for the site seems quite scattered between separate CSS files and CSS embedded in PHP files. CSS relating to fonts can remain separate, but having one CSS file to edit across the whole site would make development faster and easier in my opinion. Perhaps consolidate some PHP code as well?

- Color coding table rows of systems and/or routes by % completion on user stats pages (similar to the old site) rather than continuing color coding systems by active/preview/devel?
A good compromise might be to color active systems by % completion while keeping preview and dev systems yellow and red (or a different scheme depending on the scheme used for % completion in order to create good contrast). When &db=TravelMappingDev is used, preview systems are colored by % completion.

- Showing smaller versions of generated shield SVGs in highway browser/stats pages' tables? (similar to the old site)

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4422
  • Last Login:November 11, 2024, 12:50:03 pm
  • I like C++
Re: A Couple Website Suggestions
« Reply #4 on: February 11, 2016, 03:03:10 pm »
Quote
In the highway browser: I don't think the colors showing progress for a user on a single route are contrasting enough. Colors are not consistent when &u parameter is/isn't supplied. I know it's similar to the old site, but it doesn't seem right.
I'd like to see one single dark blue trace when there's no &u= parameter supplied. As on the old site.

Quote
Color coding table rows of systems and/or routes by % completion on user stats pages (similar to the old site) rather than continuing color coding systems by active/preview/devel?
I've missed the color coding scheme from the old site. I'd like to see it return eventually, but wouldn't consider it a big priority.

Quote
A good compromise might be to color active systems by % completion while keeping preview and dev systems yellow and red (or a different scheme depending on the scheme used for % completion in order to create good contrast). When &db=TravelMappingDev is used, preview systems are colored by % completion.
I like this idea.

Quote
Showing smaller versions of generated shield SVGs in highway browser/stats pages' tables? (similar to the old site)
Yes, this I'd like to see eventually. Though, it may or may not be better off waiting till after there are more customized shields available for the various systems. (Maybe?)

This brings me to a big item on my wishlist:
Banner SVGs for bannered routes. We'd need...
Alternate
Business
Bypass
Connector
(Historic?)
Scenic
Spur
Truck
...Are there any others I'm missing?
ISTR mapmikey using "Wye" for a few USAVA routes. Though personally I'd lobby to change those: usava;VA;VA6;Wye;Lov;Lovingston;va.va006wyelov; -> usava;VA;VA6Y;;Lov;Lovingston;va.va006ylov;
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca

Offline rickmastfan67

  • TM Collaborator (A)
  • Hero Member
  • *****
  • Posts: 2064
  • Gender: Male
  • Last Login:Today at 12:07:50 am
Re: A Couple Website Suggestions
« Reply #5 on: February 11, 2016, 06:49:56 pm »
ISTR mapmikey using "Wye" for a few USAVA routes. Though personally I'd lobby to change those: usava;VA;VA6;Wye;Lov;Lovingston;va.va006wyelov; -> usava;VA;VA6Y;;Lov;Lovingston;va.va006ylov;

I'd agree with the 'VA6Y' setup.

Offline mapcat

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 1767
  • Last Login:Yesterday at 01:48:41 pm
Re: A Couple Website Suggestions
« Reply #6 on: February 11, 2016, 07:06:26 pm »
I'd agree with the 'VA6Y' setup.

Aren't they signed like this anyway? Or is that Arkansas?
Clinched:

Offline si404

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2067
  • Last Login:Today at 07:06:38 am
Re: A Couple Website Suggestions
« Reply #7 on: February 11, 2016, 08:32:10 pm »
(Historic?)
(wrt banners).

Speaking purely of US Routes here (there might be state/provincial routes that have historic banners) but the routes aren't really bannered in the typical way, but rather the shields have the word historic in them. I may not be very familiar with banners, but I know enough to know that typically they come on their own separate panel (save for Business Interstates, which have their own shield, of course).

The shields for historic US routes (typically, but far from universally*) take this form, with a state name and the specific number of the route:


They do have some date-based banners in the form 19xx-19xx on Historic US66. And NM has "PRE-1937" banners on the route via Santa Fe. There's also a "SPUR"-bannered route. As such, the Historic bit being a banner for our purposes would be hard to deal with.

*see, for instance, MO's blue signs
« Last Edit: February 11, 2016, 08:33:46 pm by si404 »

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4422
  • Last Login:November 11, 2024, 12:50:03 pm
  • I like C++
Re: A Couple Website Suggestions
« Reply #8 on: February 11, 2016, 10:50:48 pm »
I haven't delved into the shields.php code at all, but I'm guessing that right now it looks at a combination of Region and Route to figure out what shield to draw. Using the data from the System column, if System = usaush, then the Historic banner could be ignored & not rendered as a separate panel.

Quote
(save for Business Interstates, which have their own shield, of course)
This reminded me that I hadn't had a look at a Business Interstate shield in the TM HB yet. Interesting. Since we get a Boring Square, I can tell things aren't as simple (Region + Route) as I thought. The presence of a BL/BS banner prevents a regular I-shield from displaying.
Heh. I could look into the code to see what makes it tick, but that might end up being a very deep rabbit hole to go down. Best to stick to my own ares of expertise... :)
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca

Offline si404

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2067
  • Last Login:Today at 07:06:38 am
Re: A Couple Website Suggestions
« Reply #9 on: February 12, 2016, 06:16:18 am »
I haven't delved into the shields.php code at all, but I'm guessing that right now it looks at a combination of Region and Route to figure out what shield to draw. Using the data from the System column, if System = usaush, then the Historic banner could be ignored & not rendered as a separate panel.
Sure, but at the moment, the current format (obviously subject to change, given it's a devel system) is for the Route field to be "HistUS66" so that I can get the date banners in. Therefore such a thing would be unnecessary.

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4422
  • Last Login:November 11, 2024, 12:50:03 pm
  • I like C++
Re: A Couple Website Suggestions
« Reply #10 on: February 12, 2016, 11:54:21 am »
Sure, but at the moment, the current format (obviously subject to change, given it's a devel system) is for the Route field to be "HistUS66"
*looks at usaush.csv* -- Ah! I hadn't noticed that bit.

so that I can get the date banners in. Therefore such a thing would be unnecessary.
Noting here that the date, where included, is part of the City field. Were you considering moving it to a different field?
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca

Offline si404

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2067
  • Last Login:Today at 07:06:38 am
Re: A Couple Website Suggestions
« Reply #11 on: February 12, 2016, 12:21:35 pm »
Noting here that the date, where included, is part of the City field. Were you considering moving it to a different field?
Yes, banners, but the banners field, IIRC, doesn't go long enough when displaying, so I temporarily moved it to the City field.

Offline theFXexpert

  • TM Collaborator
  • Full Member
  • *****
  • Posts: 136
  • Gender: Male
  • Last Login:July 12, 2024, 01:20:07 am
Re: A Couple Website Suggestions
« Reply #12 on: February 12, 2016, 01:13:09 pm »

Offline froggie

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 858
  • Last Login:Yesterday at 10:48:14 pm
Re: A Couple Website Suggestions
« Reply #13 on: February 13, 2016, 01:11:57 pm »
Those few Virginia "wye" routes are signed are typically signed xxY without a banner.  The only three I can think of offhand that even have signs are VA 6Y, VA 132Y (the Williamsburg route mentioned), and VA 180Y on the Eastern Shore.  6Y and 180Y each have just one sign.