A 46 mile loop in the Three Sisters Wilderness, Oregon, from the Devils Lake
Trailhead, listed under the 50 mile floor because it is very well known and
popular. No track is included; the facts are the book's page 138 as the owner
read it, and the permit is from the Forest Service.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Twelve test modules each ran the whole build, and each of them walked every page with its own
parser. They now share one build (web/tests/builtsite.py), made in a directory of the run's own,
and one recording of each page, made on all the cores. test_thumbs's second build and
test_google_tag's two builds still build, on their own, as before; the google tag builds run
side by side. web/tests/run.py runs the modules side by side. test_extra's elevation tile check
now compares with the last entry of connect-src, which is where the tile path is since the Google
tag added three before it. New tests keep the build's shortcuts honest (test_build_store.py).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The group crumb on a trail page went to an anchor on the places index;
it now goes to /regions/<group>/, as the state and province pages do.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The count above each set of rows keeps the "12 of 35 trails" form only
when some are filtered out, in the built pages and in the script alike.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The search and filters bar is on every list, place and the Routes
page with ten or more trails, scoped to that page's set and closed to
start. The number beside each choice is recounted from the page's rows
on every change; a choice that would show nothing is hidden; a filter
that cannot narrow the page is left out. The open panel sits in the
flow and pushes the rows down. Each part of the country has a page of
its own, and the links to the home page "with the filters" are gone.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Lengths and what belongs:
- A trail's length is now the end-to-end length of its canonical path: one
branch at a split, no side trails, no system totals. A holder's larger
figure and the built length of an unfinished trail are separate fields
(`system_km`, `system_note`, `built_km`), shown under the length.
- Corrected: Florida Trail 1,500 to 1,130 mi, American Discovery Trail
6,800 to 5,008 mi, Ozark Trail to 230 mi, General Crook Trail to 138 mi,
Sheltowee Trace to 343 mi, Allegheny Trail to 316 mi, Great Eastern
Trail to 1,800 mi.
- The Florida Trail's and the Ice Age Trail's main tracks are re-cut as
one walk; the other branches are alternates.
- A trail must be walkable from end to end today. Nine trails that are
not, are a network, or fall under the floor move to the "Considered and
left out" list. The Bayou State Trail is added. 196 trails.
Pages:
- The trail page puts the map and At a glance directly under the title;
the home page drops its oversized hero and shows the trails and the map
at once. Place and list pages put the list beside the map.
- Every map starts by itself once the page is ready, over a drawing of
the tracks that is in the page from the first paint.
- Lists is in the header. The home page shows ten lists chosen in
`collections.toml`. Tables have equal columns and stack on a phone.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
"Clear search and filters" left the longest-length list on a step: the
script rebuilds the length options and did not mark "Any" as the
default, which is what a form's reset returns to.
The same kind of fault elsewhere:
- A length in the address in the other unit (?max=200km for a reader
who uses miles) was dropped. It now takes the nearest step, and the
address is rewritten on load to say what the controls show.
- After Back or a reload a browser may put a form's old values back
after the script has run, or show an old copy of the page from its
cache. The theme and units switches, the filters, the sort and the
saved stars are set again when the page is shown.
- A theme or units change now reaches other open tabs.
- The popup on the home page's map follows the units and closes when
the filters leave its trail out.
- The Saved page drops ?t= from the address when the list in it is the
visitor's own.
The home page's headline no longer says "to compare and download", and
its subtitle no longer counts the GPX files.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A visitor can save trails with a star on every list row and a Save
button on each trail page. The list is kept in localStorage (lh-saved)
and shown at /saved/, with a map of only those trails and a link that
carries the list in its address (/saved/?t=id,id) so it can be
bookmarked or sent to another device or person. A list opened from a
link never overwrites the visitor's own; "Save these" adds to it. The
page is noindex and left out of the sitemap.
The miles/km switch and the auto/light/dark choice move from the footer
to the header on every page, beside a Saved link that shows the count.
They are hidden without JavaScript.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A trail's page lists its [[link]] entries under the main buttons, as
"More about this trail": the page's title, then who publishes it. The
official site stays the main button. A trail with no official site
gets its first link in that place, named by its publisher, and that
link is not repeated in the list.
The About page shows the README's new "Other lists of long trails"
section.
Tests updated for the new trail counts, and for there being no trail
left that spans a whole country.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Units. Miles and feet now come first everywhere unless the reader
chooses kilometres and metres: paired figures, the time estimate, the
elevation profile, page descriptions and the map scale. The length
filter and the length scale use round mile steps (round kilometre steps
for a reader who chose them). The lists defined by length are now
"Under 100 miles" and "The longest" at 1,000 miles or more; the old
/lists/under-100-km/ address redirects. The records stay metric.
Branding. The tab icon was a bare red blaze that read as a red block;
it is now a mountain with a trail up it, with PNG sizes for browsers
and phones that need them. The home page opens with the mark, the name
and what the site offers. Link previews get a real 1200x630 image:
the old one was an SVG, which Reddit, Slack and iMessage do not draw.
The decorative contour lines now stay inside the content column and
thin out to nothing on every side, where they used to run to the right
edge of a wide window and stop dead at the bottom of the band.
Tests updated for the new trail counts.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The site read like a database. It is now a place to find and read about
long trails, and everything on it is still derived from the records.
- One kind of thing: a trail. A route is a kind of trail, explained
where the word first appears. The navigation is Trails, Places, About.
- The home page is the catalogue, with filters for where, length, time,
season, terrain, kind, walking, shape and GPX. A filter is offered
only when at least a third of the trails have a value for it.
- Lists (for example National Scenic Trails and Routes) and a Places
page that groups states and provinces into regions.
- A trail page leads with what a hiker needs: summary, at a glance,
map, downloads, elevation profile and where to go next. The dataset's
own fields sit in a collapsed "About this data" section.
- The trail list is a compact card on phones and beside the filters,
and a column table where it has the full page width.
- web/serve.py takes --bind, for viewing from another device.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>