bf17e0046344b0648e673fb16d3deb4a30c692ed
Delete (file and folder), download, upload, and new-folder were all rendered unconditionally and relied on the backend's 401 + a redirect to /login on click -- fine for surfacing the reason something failed, but showing controls that plainly won't do anything until you log in was the actual complaint. isLoggedIn() checks for the topbar's own "Log out" link (only rendered when logged_in) instead of threading a new flag through -- already there, and login state can't change without a full page reload anyway. Caught a real gap while verifying in a real browser: the folder row's own delete button wasn't gated (only the file row's was), so a "logged out" check still showed a delete icon on every folder. Fixed before it shipped -- confirmed clean in both states afterward.
MapTool
Table of Contents
A mapping application written in Ruby with Sinatra.
The project’s shape is still open — this is the initial scaffold.
Status
Early scaffold. The web application serves a vector map (MapLibre GL JS), with an online style and an optional offline style backed by a local PMTiles file, an animated RainViewer radar overlay, GPX upload/display (points and tracks, organized in folders), and a live position marker from a local GNSS receiver via gpsd.
Requirements
-
Ruby (see
.ruby-version) and Bundler
Getting started
bundle install
bundle exec puma -C config/puma.rb
Then open http://127.0.0.1:4567 in a browser.
Languages
JavaScript
48.7%
Ruby
43.6%
CSS
6%
HTML
1.2%
Dockerfile
0.5%