Travel Mapping

Web Design Discussion => General Web Design Discussion => Topic started by: Jim on December 19, 2016, 01:37:09 pm

Title: Filtered updates lists
Post by: Jim on December 19, 2016, 01:37:09 pm
I decided that limiting the number of updates displayed was a quick and easy enhancement to tackle this morning.  I originally thought date ranges, but this was easier and I think it's already a nice improvement.

http://tmtest.teresco.org/devel/updates.php (http://tmtest.teresco.org/devel/updates.php)

If I don't hear any major negative feedback soon, I'll get this into GitHub and onto the production site.
Title: Re: Filtered updates lists
Post by: mapcat on December 19, 2016, 01:54:44 pm
Great solution!
Title: Re: Filtered updates lists
Post by: Jim on December 19, 2016, 01:58:59 pm
Thanks.  I'm thinking 10 as the default number of entries to list for system updates, 20 or 25 as the default for highway data updates.
Title: Re: Filtered updates lists
Post by: michih on December 19, 2016, 04:42:33 pm
Great idea! Link it :)

I think 10 for systems and 20 for hwy data should be default.

There seems to be a typo in updates.csv though: 2105-12-06 (USA) Ohio ;)
Title: Re: Filtered updates lists
Post by: Jim on December 19, 2016, 08:38:14 pm
OK, good.  I'll make this go live tonight.

As part of this, I'm also going to sort the actual updates.csv file by region so each of us can safely put in our own updates entries and commit them without much risk of introducing conflicts.  Each person would be putting entries in different parts of the file, meaning git could handle the merging.
Title: Re: Filtered updates lists
Post by: Jim on December 19, 2016, 09:57:08 pm
Live now with the defaults of 10 for system updates, 20 for highway data updates.  Thoughts on whether we still need the "quick links" at the top of the page anymore?
Title: Re: Filtered updates lists
Post by: michih on December 19, 2016, 10:30:19 pm
Thoughts on whether we still need the "quick links" at the top of the page anymore?

Keep it.
Title: Re: Filtered updates lists
Post by: michih on December 19, 2016, 10:45:43 pm
I'd like to hide system (or hwy data) entries. E.g. "Show 0 Entries"?
Doesn't make much sense but I think it would be consequent.

However, good job so far :)
Title: Re: Filtered updates lists
Post by: yakra on December 19, 2016, 11:57:23 pm
Thoughts on whether we still need the "quick links" at the top of the page anymore?

Keep it.
Yes, keep it.