.mu-stop-grid sets display:grid, which overrides the hidden attribute, so the
list stayed visible on the near-me tab even though the code set hidden.
Same class of bug as .mu-search-mode, which now has an explicit [hidden] rule
in both repos.
- busStop.html: added the third tab (data-mode=near) and its own panel with
the location button, hint and result area; removed the near button from the
toolbar and deleted the old on-screen numpad markup
- busStop.search.js: MODE_NEAR in setMode, disables the other panels, hides
the stop list while ranked results are shown, skips filtering in that mode,
and removed the dead initNumpad code
- security gate: the tab is revealed only when isSecureContext and
navigator.geolocation exist; otherwise it stays hidden and the mode is
refused
- map.js: re-enable the button after a successful lookup
- i18n: stops.modeNear / nearCta / nearHint
- bump SW version to 2026.09.27.98
Verified on localhost:8090 - three tabs, near mode shows a map with 8 ranked
stops, button re-enables and works again, switching back restores the list;
with isSecureContext forced false the tab is hidden and unselectable.
.resource/ clashed with resource/ (the tracked data folder), so rename the
hidden image folder to .image/ for clarity. Re-zip resource/images.zip to
contain .image/ and update setup.sh, .gitignore, README.md, AGENTS.md and
all image references in ui/.
- Rename resource/images/ to .resource/ (dot-prefixed, gitignored, never pushed)
- Repackage resource/images.zip to contain .resource/ at the archive root
- Update setup.sh to extract the zip to .resource/
- Update all image references from ../resource/images/ to ../.resource/
across ui HTML, manifest.json and sw.js
- Sync .gitignore, README.md and AGENTS.md with the new layout
- Single-page shell (ui/index.html) + vanilla hash router; each screen is a partial
- New #/check schedule view (all stop times open, no collapse) wired to the
'check schedules' CTA; contact-operator box, route map and gallery trimmed from it
- Mobile-first responsive.css (375px iPhone 8 up to 27-inch/1440p)
- TH/EN i18n system (data-i18n, browser-language detect, topbar switcher)
- Shared form controls moved to _shared.css (mu-btn, custom select chevron,
focus-visible ring); footer contact column now mailto:[email protected]
- SW v9: JS network-first, precache i18n.js + all partials
- Legacy pages become redirect stubs to index.html#/...