Commit Graph
60 Commits
Author SHA1 Message Date
swaitsandClaude Sonnet 5.5 30d03b8069 Let a place carry its own label and preposition, keep the count in every place title, and test that slugs follow names
A registry entry may now set label and prep. A plateau reads "Plateau" and "on the Colorado
Plateau", the Mogollon Rim "Escarpment" and "along the Mogollon Rim", a national monument or a
parkway its own word; the default is still "Mountain range" and "in the". Every national park,
provincial park, monument, recreation area and parkway in the registry is labelled.

A place title no longer gives up its ": N Trails" ending when it is long: it drops the state first
and then keeps the count over the cap, and the state is left out where the name already holds
it (Oregon Cascades, California Coast Ranges). A test checks that every slug is the slug of its
display name, with the Arizona White Mountains as the one stated exception.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 12:28:03 -07:00
swaitsandClaude Sonnet 5.5 a97ea85093 Rename three place slugs to the slug of their display name, before the addresses go live
glacier is now glacier-national-park, sequoia-and-kings-canyon is now
sequoia-and-kings-canyon-national-parks and hells-canyon-wilderness-id is now
hells-canyon-wilderness. The registry, the allow-list and every record that names them are
updated, and the tool keeps the plain slug for the one Hells Canyon outline that has trails.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 12:26:01 -07:00
swaitsandClaude Sonnet 5.5 75e5de5c16 Drop six places from the pages and the records, and widen the twin rule to ranges
The deny-list in tools/place_trails.py now names, with a reason beside each, the Longfellow
Mountains, Finger Lakes, Gore Range, Mosquito Range, Great Western Divide and Russian
Wilderness. They are removed from places.toml and from every record that named them, history
entries included, so nothing is left to link to. A range that holds exactly the trails of a park
and shares its name stem (Great Smoky Mountains and Great Smoky Mountains National Park,
Olympic Mountains and Olympic National Park) now gets no page either, in the tool and in the
builder, and is removed from records the same way.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 12:23:23 -07:00
swaits 1fbcfd5021 Merge main into places-ship-2 2026-11-20 11:07:24 -07:00
swaits 00c60a4c2c Link the place pages from the hub, the states and the trails, and search by place 2026-11-20 10:55:36 -07:00
swaits 16c5275c94 Add park, range and wilderness pages 2026-11-20 10:48:10 -07:00
swaits f08c661c16 Build the state pages through a page kind 2026-11-20 10:42:47 -07:00
swaits 4afa05cdff Add the place loader and membership 2026-11-20 10:40:35 -07:00
swaitsandClaude Sonnet 5.5 1c60e0c14c Fix the season wording and checks after review
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:22:29 -07:00
swaitsandClaude Sonnet 5.5 03c2611036 Show where a season came from; check it
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 09:51:51 -07:00
swaits aad93a246c Add the schema for the place registry and the record's place fields 2026-11-20 09:21:16 -07:00
swaitsandClaude Fable 5.2 07b023f31b Saved page: write a short ?s= link once a list passes ten trails
Up to ten trails the link stays ?t=id,id,... With more it is a version
character and a base64url bit set over the trails' permanent numbers
(trail-numbers.txt), 70 characters for any list instead of 1,013 for 49
trails. Both forms open for good; ?s= wins when both are there; a retired
or unknown number is ignored and a code that cannot be read shows the page's
existing no-trails state. A short link does not keep the order saved, so
that list opens A to Z.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 15:19:50 -07:00
swaitsandClaude Fable 5.2 35fbed3be9 Say that search reads places, and note the search and distance changes in the changelog
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 14:28:10 -07:00
swaitsandClaude Fable 5.2 d89a5f0da7 Add Nearest to me to every list's sort control
Choosing it asks the browser for the visitor's position once and orders the list by straight-line
distance to the nearest point of each trail's track on the overview map (or its start and end,
where it has no track), shown on each row in miles or kilometres. The position stays in the page:
it is not stored, sent or put in the address. Trails with no position go last and are counted;
a refused or failed request puts the list back in its earlier order with a plain line.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 14:09:16 -07:00
swaitsandClaude Fable 5.2 3ff2281129 Search reads more than the name: summary, places, author and land unit, strongest matches first
Each row's search words come in four tiers (name and abbreviation, author, the full names of
the states, provinces and countries plus where it starts and ends and the land unit or body its
record names, and the summary). Typed words match at the start of words in any order, without
regard to case, accents or apostrophes, and the strongest matches come first. A row that matched
only beyond its name says where in one quiet line.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 14:04:13 -07:00
swaitsandClaude Fable 5.2 5f35a5b043 Point a trail page's correction link at the correction form, not the raw file editor
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 13:27:01 -07:00
swaitsandClaude Fable 5.2 dea144fd11 Say how many trails a month filter leaves out for having no season on file, with a way to show them
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 13:27:01 -07:00
swaitsandClaude Fable 5.2 92ee879399 Say that permits are not on file when a trail's record has none
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 13:27:01 -07:00
swaitsandClaude Fable 5.2 8f58103a45 Put the closest in length first among the other trails of the same state on a trail page
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 13:27:01 -07:00
swaitsandClaude Fable 5.2 07da53721f Give every state and province with no listed trail a page that says so
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 13:27:01 -07:00
swaitsandClaude Fable 5.2 0870287fe5 Link the left-out list from the no-results state, and the rules and changelog from the footer
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 13:27:01 -07:00
swaitsandClaude Fable 5.2 985eaa2074 Offer every trip-length band in the home page's shortcut row, and fade its edge on a phone
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 13:27:01 -07:00
swaitsandClaude Fable 5.2 5b0219eaea Open place and region pages with the trails wholly in the place first
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 13:27:01 -07:00
swaitsandClaude Fable 5.2 978514a43e Fit the guide change to the catalogue: Siskiyou Peaks guide, Circle of Solitude sources, and honest no-GPX wording
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 13:01:07 -07:00
swaitsandClaude Fable 5.2 1601f7c755 Name the exact book or guide for every route, and link to it
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:47:25 -07:00
swaitsandClaude Fable 5.2 0e8b5c8ca4 Make track clicks land, open the data files to other sites, and tidy descriptions, redirects and printing
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:03:54 -07:00
swaitsandClaude Fable 5.2 f2235c420d Move the Kekekabic and Pukaskwa Coastal trails to the left-out list, keep Timberline, and write out the rule for shorter trails
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
The Gila loop's chosen start is removed: the Forest Service names none.
The "under review" sentence is no longer accepted by the data check.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:02:51 -07:00
swaitsandClaude Fable 5.2 b1e3f3fb85 Stop pages stating false or contradictory things, and fix two phone layout bugs
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 10:38:11 -07:00
swaitsandClaude Fable 5.2 9e435fa2a4 Link a breadcrumb's group to the group's own page
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
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>
2026-11-18 17:44:44 -07:00
swaitsandClaude Fable 5.2 a0540d21d2 Keep a place page's map on its place after the list is applied
fitToVisible compared the whole list of a place page (every trail there, drawn
or not) with the drawn trails the page opened on, found them different, and
fitted the map to the extent of the visible tracks: the American Discovery
Trail's. Only trails with geometry now count on a place page (data-place).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 17:26:45 -07:00
swaitsandClaude Fable 5.2 cfa8026300 Open a place page's map on the place, not on the extent of its trails
Utah's map opened on the whole country because the American Discovery Trail
crosses it. Every state, province and group page now opens on its own box
(web/place-bounds.toml, Natural Earth, public domain); tracks that run past it
are still drawn in full and leave the opening view.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 17:26:45 -07:00
swaitsandClaude Fable 5.2 864af51506 Show lengths as walked, and take reduced figures out of records and pages
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
A trail's length is the whole distance walked. Records no longer state a
figure with repeated ground taken out; notes say which stretch is walked
out and back. The floor test stays in the rules as an inclusion measure,
and the working figures move to the maintainers' notes. Ten history
entries written earlier today are reworded to drop the same figures.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 17:24:17 -07:00
swaitsandClaude Fable 5.2 e5a12129ef Add three named trails, narrow the five-day rule, and record four near-misses
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
The Selway River Trail (50 mi), the Silver Moccasin Trail (51 mi) and the
Wind River Highline Trail (64 mi) are new. The rules now say the five days
count only for hard or cross-country routes, that a named trail with its
own published length is listed even on a longer listed trail, and that a
loop reached by a stem shows its published figure while the floor is
tested on distinct miles. The Skyline Trail in the Pecos Wilderness waits
on a fire closure.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 17:02:02 -07:00
swaitsandClaude Fable 5.2 3709a9af5f Map the start and end of trails with no track, with the notice beside it
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 16:14:34 -07:00
swaitsandClaude Fable 5.2 5abd7b1ede Say "35 trails", not "35 of 35 trails", when nothing is filtered out
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
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>
2026-11-18 10:06:31 -07:00
swaitsandClaude Fable 5.2 e9d6665934 Refine the climbing rule: a few short Class 4 scrambles are fine, roped or technical climbing is not
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
A route that needs a rope, a belay or rock-climbing skill is left out
unless that section is optional. The left-out reason is renamed to match.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 08:25:13 -07:00
swaitsandClaude Fable 5.2 2d6963ef77 Require a published length, limit required climbing to Class 3, and take the Escalante Overland Route off
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Mirror to forge / mirror (push) Canceled after 0s
The length rule is 50 miles, or five days for an author's route that is
short on miles, and every trail or route needs a published length. Nothing
harder than Class 3 may be required. The Escalante Overland Route, added
earlier today, needs difficult climbing by its author's own account and
is now on the left-out list under a new reason; Muddy Creek in the San
Rafael Swell is left out because its guidebook prints no mileage.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 08:20:23 -07:00
swaitsandClaude Fable 5.2 1ed0a68991 Put the filters on every list and place page, and count their numbers from the page
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
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>
2026-11-17 12:46:08 -07:00
swaitsandClaude Fable 5.2 f467fcb560 Say who each route author is, with a biography from the database
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
authors.toml gains a summary, a biography, the author's own site and
the pages each was read on, for people only. An author's page now
opens with the name and the summary, shows a joint credit only on the
route it applies to, and carries an About section after the routes.
People with three or more routes lead the authors page. Organisations
get no biography.

35 people have a summary and a biography and 4 a summary only, each
statement checked against the page it cites. Wilderness Mindset is
recorded as two people. The Sawtooth Wilderness High Route is credited
to Eric Poulin, who names himself as the author of Seeking Lost.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-17 12:09:34 -07:00
swaitsandClaude Fable 5.2 d7fb6483a2 Say that walkable is a judgement, and that a named ferry, shuttle or bus link counts
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
The inclusion rule now says a ferry, shuttle or bus link across water
or a closed stretch, named by the holder or the route's author as the
way through, does not rule a trail out. The record says how each link
is made and the track has a gap there. The maintainer judges each
case. The Washington Coast Trail, which prompted this, stays.

No trail's facts changed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-17 08:14:20 -07:00
swaitsandClaude Fable 5.2 51a393ec40 Give the Routes page one count of authors
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
The meta description counted distinct credit lines (43) while the page
counted authors with a page (45). Both now use the number of authors
listed on /authors/, and a test holds them equal.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-17 07:14:31 -07:00
swaitsandClaude Fable 5.2 298f1b9fd9 Give every page of trails one layout, with the map beside the rows, and set no tables
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Every page that shows a set of trails (home, places, lists, Routes,
authors, Triple Crown, rankings, newest) has the same layout: the
trails as rows with their map beside them from 900 px wide up, and a
short map band above the rows when narrower. The home page gets its
headline back on the contour ground, with the ten lists as one line of
links. A trail page has its actions in its head and the map in a fixed
frame beside At a glance. No page sets a table: every set of trails is
the standard trail row, and other sets are rows in the same language.

Route authors' names link to their pages from route rows and trail
pages, the Routes page says how many routes by how many authors, and
the Lists index has a Route authors entry.

No trail's facts changed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-17 06:40:16 -07:00
swaitsandClaude Fable 5.2 8637181a2b Make a trail's length one end-to-end walk, and put the map and the trails in the first screen
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
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>
2026-11-16 18:57:21 -07:00
swaitsandClaude Fable 5.2 f2d3b71810 Add 130 views of the same records, speed up map pages, and say who maintains the site
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
- New pages built from the records: lists by length, time to walk,
  month, kind of walking and holder; place-by-list pages; a Triple Crown
  table and key-figure tables for the National Scenic and Recreation
  Trails; highest points, most climbing and climb per mile; a page for
  every route author, with the authors of three or more routes leading
  the authors page; connected trails; recently added and changed; a
  glossary and a method page. Every place page opens with a summary.
- Trail pages open with an "In brief" paragraph generated from the
  record and show when the record was last checked. The About page says
  who maintains the site and how to reach them.
- The map starts when it is reached, not with the page. The site's own
  CSS, scripts and fonts are fingerprinted and cached for a year. Every
  image has its dimensions.
- Titles are held to 60 characters and share previews get their own
  shorter description.
- Social cards are redrawn so a long name can no longer push text into
  the footer, and the site-wide card takes its wording from the site
  settings instead of an old hand-made image.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 16:51:13 -07:00
swaitsandClaude Fable 5.2 5b80fccd1e Say what each page is in the words people search with, and mark up the facts
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
A whole-site search audit found clean foundations and three gaps: titles
without the words people search for, no structured data on trail pages,
and trails that did not link to each other.

- Trail titles carry the name hikers use, the abbreviation, the length
  and what the page offers; "GPX" only where the page has one. A new
  optional `common_name` field holds the name hikers use (13 records).
- Descriptions are built from each record, at most 155 characters.
- Place and list pages are titled for what they are; heading levels no
  longer jump.
- Trail pages link to similar and related trails and to the lists they
  belong to. Every trail has at least three links from other trails.
- JSON-LD on every page: a Place for each trail, breadcrumbs, item lists
  on list and place pages, WebSite and Organization on the home page, a
  fuller Dataset on the data page.
- A social card per trail, a changelog feed, `lastmod` in the sitemap from
  record dates, `noindex` on the 404 and on raw per-trail files, a
  favicon and an `llms.txt` listing the data files and licences.
- The "Considered and left out" page has its spacing fixed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 14:57:30 -07:00
swaitsandClaude Fable 5.2 24bfbb2fa8 Show each trail's own emblem, keep a history on every record, and list what was left out
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
- Emblems for 81 trails, up from 41. Each is the trail's own crest, badge
  or roundel alone, cropped out of a larger logo where need be and made
  transparent where that could be done cleanly. Records without one say
  where an emblem was looked for. The validator checks the logo state.
- Every record has a `[[history]]` list: what changed or was asked for,
  on what basis, who asked and whether it was applied or declined.
  `tools/check_history.py` fails a changed fact with no history entry and
  prints earlier entries about a changed field. It runs in CI before the
  site deploys. Each trail page shows the history.
- A new page, "Considered and left out", built from `left-out.toml`:
  35 trails and routes with the reason, the deciding fact and its source.
- The Hoosier Heritage Trail has its ends, its free map set and its
  emblem from its association (issue 2). Any trail may list its holder's
  own guide or map set.
- A stated permission is quoted in the download credit box.
- `tools/gpx_track.py` turns a GPX file from a holder or a hiker into a
  record's track files.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 13:40:03 -07:00
swaitsandClaude Fable 5.2 d34a9617cd Add 19 trails and 20 tracks, record stated permission, and remove the C&O Canal Towpath
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
A deeper, region-by-region search of the web added 14 official trails and
4 routes. The Hoosier Heritage Trail was added at its association's request
(issue 2) with the association's own track, shared by written permission.

- New licence value `stated-permission`, with the quoted words, who gave
  them, when and where as fields of the record, shown on the trail page
  and carried in the GPX description.
- Tracks from OpenStreetMap or the Forest Service's open trail data for
  eleven of the new trails and seven existing ones. `tools/osm_track.py`
  can join several relations and leave ways out by name.
- The C&O Canal Towpath is removed: the rule leaves out canal towpaths.
- The Grand Enchantment Trail is recorded as a route by its author, with
  no track.
- Corrections to the Finger Lakes, Ozark Highlands, Eastern Continental
  and Knobstone records, checked against the pages they cite.
- Site: the list pages' own units switch is gone in favour of the header
  one; the map switch and a swapped length range stay in step with the
  page.
- CHANGELOG.md brought up to date from the site's opening to today.

204 trails: 147 official trails and 57 routes; 126 have a track.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 12:22:56 -07:00
swaitsandClaude Fable 5.2 601235d2cb Keep the filters, switches and saved stars in step, and trim the headline
Validate / validate (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Mirror to forge / mirror (push) Canceled after 0s
"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>
2026-11-15 20:02:00 -07:00
swaitsandClaude Fable 5.2 46dc81523c Add saved trails, and move the units and theme switches to the header
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
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>
2026-11-15 16:01:29 -07:00
swaitsandClaude Fable 5.2 ad2223f427 Give trail pages an outdoor map
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Trail maps now open on an outdoor style of our own, drawn on the same
OpenFreeMap tiles: hill shading and contour lines from the public
Terrain Tiles, woods, water, footpaths, and peaks with their heights.
Heights and contours follow the visitor's units. A switch on the map
goes back to the plain map and is remembered.

The home page's overview map is unchanged. If the elevation tiles or
the contour script fail, the map still loads without them.

The security policy allows the one elevation-tile path. The contour
add-on (maplibre-contour 0.1.1) is vendored with its licence, and the
elevation data is credited on the map, under it and in the footer.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 13:26:45 -07:00