You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/dali-memory/CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,10 @@
2
2
3
3
## [Unreleased]
4
4
5
+
### Added
6
+
7
+
- Profile settings section on /settings page — name/email update form with validation, email uniqueness check, DB update, and session cookie resign on email change
8
+
5
9
### Changed
6
10
7
11
- Redesigned all 6 UI pages with glass morphism cards, gradient mesh background, amber/cyan/purple dark theme
Fixed-top glass navbar with "dali-memory" brand link, center nav links (Memories, Workspaces, Settings), and mobile hamburger dropdown.
215
+
Fixed-top glass navbar with "dali-memory" brand link, center nav links (Memories, Workspaces, Settings), user name (or email fallback) when authenticated, Sign In/Register when not, and mobile hamburger dropdown.
216
216
217
217
### Auth Flow
218
218
@@ -221,8 +221,12 @@ Fixed-top glass navbar with "dali-memory" brand link, center nav links (Memories
6. Login route validates email+password against `users` table via `crypto::argon2::compare()`
225
-
7. Sets signed session cookie (`HMAC(email, secret)`)
224
+
6.`+layout.server.ts` loads user name from DB (via `SELECT name FROM users WHERE email = $email`) and passes it to all pages as `data.name`
225
+
7. Navbar displays `data.name ?? data.userEmail` — graceful fallback if DB unavailable
226
+
8. Login route validates email+password against `users` table via `crypto::argon2::compare()`
227
+
9. Sets signed session cookie (`HMAC(email, secret)`)
228
+
10. Registration creates user with `name`, `email`, and `pass` fields, then auto-signs in
229
+
11. Settings page provides a **Profile** section (auth-gated) to update name/email — validates format, checks email uniqueness, updates DB, and resigns the session cookie on email change
226
230
227
231
## API Key Auth (MCP)
228
232
@@ -241,7 +245,7 @@ Located co-located with their source modules (`.test.ts` suffix or `__tests__/`
0 commit comments