Travel Mapping

Web Design Discussion => General Web Design Discussion => Topic started by: Jim on June 07, 2016, 10:29:57 pm

Title: Drop-down list of users
Post by: Jim on June 07, 2016, 10:29:57 pm
As code refactoring continues, I've enhanced the mechanism by which the user can be specified for the main overall stats page for a user:

http://tm.teresco.org/user/ (http://tm.teresco.org/user/)

As before, you can specify user with the u= query string parameter and it's remembered in a cookie once you do that, but the free text input field has been replaced with a list of all travelers who had at least one clinched segment somewhere in their list file.

I tried it out quite a bit and was confident enough to put it right onto the main site.  It could certainly still have problems, so please let me know if you notice any.

I plan to do the same with other pages, where system lists and region lists will be drop-downs as well.
Title: Re: Drop-down list of users
Post by: Quidditch33 on June 08, 2016, 12:23:50 pm
Everything looks and works fine for me.

Thanks,
Title: Re: Drop-down list of users
Post by: michih on June 08, 2016, 02:09:04 pm
Thanks. I don't like that the "Select User" button must be pressed...
I'd prefer data to be loaded when clicking on a user or pressing Enter.
Title: Re: Drop-down list of users
Post by: Quidditch33 on June 08, 2016, 05:26:19 pm
Yeah, just like the old CHM.

Thanks,
Title: Re: Drop-down list of users
Post by: Jim on June 13, 2016, 10:41:00 pm
For consistency across the pages that now share the code for the generation and handling of the user dropdown, I'm going to leave it as is for now.  What I don't want to happen is on those pages where there are multiple things to choose, I want the user to be able to choose them all before regenerating the page (which for users with lots of travels can be pretty slow in some cases).