Skip to content

🛡️ Warracker is an open source, self-hostable warranty tracker to monitor expirations, store receipts, files. You own the data, your rules!

Reword mobile menu changelog entry

Omega (QA)978e3cce25fc
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0c34665..58352bf 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -23,7 +23,7 @@
- _Files: `backend/warranties_routes.py`
- **CSV import now validates overlong product names and tolerates short rows:** importing a CSV with a product name over 255 characters previously leaked the raw Postgres error (`value too long for type character varying(255)`); the row is now rejected with the clean `ProductName must be 255 characters or less.` message matching the REST API validation. Rows with fewer cells than headers previously crashed with `Internal processing error: 'NoneType' object has no attribute 'strip'` (DictReader fills missing cells with `None`); all field extractions now guard against `None`.
- _Files: `backend/warranties_routes.py`
-- **Dead mobile menu button on most pages fixed:** every page renders the hamburger `.mobile-menu-toggle` button and the `#mobileMenuPanel` markup, but only settings-new.html loaded `mobile-menu.js` — tapping the menu on index, status, register, about, and the password-reset pages did nothing. The script is now included on all pages that render the toggle. Found by a dedicated mobile QA pass (390px viewport, touch): menu opens/closes via button, overlay, and Escape on every page; nav links navigate; no horizontal overflow; no new JS errors.
+- **Mobile menu consolidated onto `mobile-menu.js` for all pages:** the frontend refactoring removed the duplicate menu code from `script.js`, leaving only settings-new.html loading the shared `mobile-menu.js` — so on main the hamburger button did nothing on the other pages (the shipped 1.0.2 menu, which lived in `script.js`, was unaffected). All pages that render the toggle now load `mobile-menu.js`. Verified by a dedicated mobile QA pass (390px viewport, touch): menu opens/closes via button, overlay, and Escape on every page; nav links navigate; no horizontal overflow; no new JS errors.
- _Files: `frontend/index.html`, `frontend/status.html`, `frontend/register.html`, `frontend/about.html`, `frontend/reset-password.html`, `frontend/reset-password-request.html`
- **Missing file download 500 fixed:** `GET /api/files/<missing>` returned HTTP 500 because `serve_file` let `send_from_directory`'s NotFound fall into the generic 500 handler. It now checks existence up front and returns a JSON 404 ("File not found"), matching the `/secure-file/` route. Non-owners still get 403 without leaking file existence. Found by the daily QA sweep.
- _Files: `backend/file_routes.py`