Web Design Discussion > General Web Design Discussion

New HB findroute implementation

(1/7) > >>

Jim:
I have a first version of a new way to search for routes in the Highway Browser to be viewed with showroute.

https://tmtest.teresco.org/hb/findroute.php

It will take some time to load at first - it has to deal with our nearly 60,000 chopped routes.  On my MacBook Pro it takes 10-15 seconds before the full table comes up.

Once it's up, you can filter routes by any of the dropdowns, or search for a pattern within a route name (hit enter in the box to perform the search).  Searches can take a couple seconds, as it needs to filter all 60,000 of the routes.

You can also provide rg= and/or sys= QS parameters to set the filters at the start.

I intend this as a new option for people to find routes, not necessarily as a complete replacement for our existing HB lookup capabilities.

I know speed is an issue but probably isn't anything that can be helped too much if we want to be able to search all routes on a single page like this.

For now, I'm looking for comments, suggestions, etc.

michih:
1. Cool :)

2. When filtering anything from column tier to region, it always takes a while. I would be nice to get a message "in progress" or whatever

3. Route name column is case-sensitive. Typing "a1" does not output "A1" but it would be nice if it would

4. Route name column just outputs what matches. Typing "A1" outputs everything starting with A1, e.g. A1, A11, A12 etc.; It would be nice to make an exact match for A1 only. Maybe optionally "A1*" for all? However, what should be output when I filter for "*1*"? Hm...

5. A "Reset all filters" button would be nice

6. A different color for active filters would be nice, e.g. when I filter tier for "1", it could be displayed in a different color, e.g. blue.

7. Maybe some color would be nice, e.g. active/preview/devel color code or system color code?

8. Do we need the ".list Name" column? If we keep it, we should also be able to filter it

9. I like that there is a "country" column. Is it possible to add a "continent" column?

10. I'd reorganize the columns:
Tier - System - Country - Region - Route Name - .list Name - Level - Link
->
Tier - Continent - Country - Region - System - Route Name - (.list Name) - Link - Level
I'm just not sure about the "Level" column

11. Maybe "Route Name" and "Link" could be merged?

michih:

--- Quote from: Jim on June 26, 2020, 06:50:09 pm ---I intend this as a new option for people to find routes, not necessarily as a complete replacement for our existing HB lookup capabilities.
--- End quote ---

A simple "Don't show routes" check box (default = true) would make the trick... ;)

Omit Route Name - (.list Name) - Link columns and just show:
Tier - Continent - Country - Region - System - Level

It's the very same like https://tmtest.teresco.org/hb/ but with filter option!

Jim:
Thanks for the suggestions.  Many are easy enough and I'll get them in.

For the Route Name filtering text, I'd like to come up with something intuitive to regular users but very flexible for power users.

Idea 1: a dropbox next to the text with choices for things like exact match, substring match, match at beginning, full regex

Idea 2: have special notations available, possibly by default a substring match, in quotes an exact match, prepend ^ for match at beginning, and enclose in // for full regex matching.

michih:
Is it possible to apply the (Region + system) selection from HDX to the site? The logic behind is quite good! I thought there is a Github issue for the web repository but I cannot find it right now.

Navigation

[0] Message Index

[#] Next page

Go to full version