feat(auth): proper login page #1

Merged
mrouissi merged 1 commit from feature/login-page into main 2026-07-06 15:01:36 +02:00
Owner

Replaces the crude prompt()/alert() login with a centered login form (email + password, inline error, loading state). The app UI is hidden behind a body.logged-out class until authenticated.

  • index.html: login card markup
  • app.js: view toggles, form submit handler, removed prompt flow
  • app.css: centered login view, hide sidebar/main when logged out

CI lints on this branch; deploy runs on merge to main.

Replaces the crude `prompt()`/`alert()` login with a centered login form (email + password, inline error, loading state). The app UI is hidden behind a `body.logged-out` class until authenticated. - `index.html`: login card markup - `app.js`: view toggles, form submit handler, removed prompt flow - `app.css`: centered login view, hide sidebar/main when logged out CI lints on this branch; deploy runs on merge to main.
feat(auth): replace prompt() login with a proper login page
All checks were successful
CI / lint (push) Successful in 2s
CI / lint (pull_request) Successful in 2s
4f91e3af74
Adds a centered login form (email/password, inline errors, loading state)
shown while logged out; the app UI is hidden via a body.logged-out class
until authenticated. Removes the prompt()/alert() flow.
Author
Owner

Reviewed the diff. Verified: imports still valid (signInWithPassword/getSession used by the new form handler, signOut by logout), the submit handler is bound once at init (the old prompt flow re-added a listener on every logout), and hiding the app via body.logged-out is responsive-safe (doesn't override the sidebar's d-md-block). Logout returns cleanly to the login screen. CI lint green. Merging.

Reviewed the diff. Verified: imports still valid (signInWithPassword/getSession used by the new form handler, signOut by logout), the submit handler is bound once at init (the old prompt flow re-added a listener on every logout), and hiding the app via `body.logged-out` is responsive-safe (doesn't override the sidebar's `d-md-block`). Logout returns cleanly to the login screen. CI lint green. Merging.
mrouissi deleted branch feature/login-page 2026-07-06 15:01:37 +02:00
mrouissi referenced this pull request from a commit 2026-07-06 15:01:38 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Apps/timedb-php!1
No description provided.