Centralize JS Code #4

Closed
opened 2026-03-27 21:17:00 +01:00 by kohlerjoshua · 2 comments
Owner

Centralize all JavaScript code in the code files of the frontend/js folder in the correct file.

Centralize all JavaScript code in the code files of the `frontend/js` folder in the correct file.
kohlerjoshua added this to the Styling and Finish milestone 2026-03-27 21:17:00 +01:00
kohlerjoshua added this to the Frontend Projekt project 2026-03-27 21:17:00 +01:00
Author
Owner

Authentification code is centralized

Authentification code is centralized
rueeggeandre self-assigned this 2026-06-01 08:30:57 +02:00
Collaborator

Implemented on branch andre.

Closed with commit:

  • 7626417 Centralize page JavaScript and fix all-journeys map

Changes:

  • Moved page-specific inline JavaScript out of the HTML files and into files under js/.
  • Added dedicated scripts for login, blog list, blog post, journey edit, and map page behavior.
  • Kept js/auth.js as the shared authentication/theme helper.
  • Fixed the map view bug where selecting Show All Journeys did not load markers onto the map.
  • Disabled edit/delete actions while viewing all journeys, since that view is not a single editable journey.

Verified locally that the extracted JavaScript files parse correctly, and you confirmed that the all-journeys map loading now works.

Implemented on branch `andre`. Closed with commit: - `7626417` Centralize page JavaScript and fix all-journeys map Changes: - Moved page-specific inline JavaScript out of the HTML files and into files under `js/`. - Added dedicated scripts for login, blog list, blog post, journey edit, and map page behavior. - Kept `js/auth.js` as the shared authentication/theme helper. - Fixed the map view bug where selecting `Show All Journeys` did not load markers onto the map. - Disabled edit/delete actions while viewing all journeys, since that view is not a single editable journey. Verified locally that the extracted JavaScript files parse correctly, and you confirmed that the all-journeys map loading now works.
Sign in to join this conversation.
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kohlerjoshua/FHGR_Frontend_Group_3_Project#4
No description provided.