Skip to content

Release Notes: v0.2.7

Date: 26th July 2026

This merges changes included in the following PRs:

#71

Summary

Fixed a bug where the Log In button in the sidenav had no event listener, and improved the authentication UI by moving the Log Out button exclusively into the sidebar.

Changes

Bug fix (ui.js)

  • Added click event listener for the Log In button → redirects to the login page.
  • Added click event listener for the Log Out button → triggers logout.

UI improvements (map.html)

  • Removed the Log Out button from the Settings panel.
  • Added Jinja2 logic so the correct button (Log In / Log Out) is shown based on the user’s authentication state.
  • Updated the disabled URL Route Import tooltip with a clearer message directing users to the File Import feature (while URL import is still in development).
  • Renamed the container from sidenav-login-button-container (ID) to sidenav-login-logout-button-container (class) to better reflect that it now holds either button.

CSS update (nav-menu.css)

  • Updated the selector to match the new class name used for the login/logout container.

Why this matters

  • Restores working Log In functionality from the sidenav.
  • Improves visual consistency (both auth buttons live in the same place).
  • Moves Log Out further away from destructive actions (e.g. account deletion) in Settings.

Files changed

  • static/js/ui.js
  • templates/map.html
  • static/css/layout/nav-menu.css