hykocx
87990390c1
refactor(admin): replace inline email form with modal dialog
...
- import Modal component from shared components
- rename emailFormOpen state to emailModalOpen for clarity
- convert handleEmailSubmit from form event handler to plain async function
- move email change form into a Modal instead of inline collapsible form
- pass pendingEmailMessage as Input description prop instead of separate paragraph
- simplify toggle button to only show when no pending message
2026-04-24 15:11:29 -04:00
hykocx
66c862cf73
feat(admin): add email change flow with confirmation for users
...
- add `ConfirmEmailChangePage.client.js` for email change token confirmation
- add `emailChange.js` core utility to generate and verify email change tokens
- add `EmailChangeConfirmEmail.js` and `EmailChangeNotifyEmail.js` email templates
- update `UserEditModal` to handle email changes with password verification for self-edits
- update `ProfilePage` to support email change initiation
- update `UsersPage` to pass `currentUserId` to `UserEditModal`
- add email change API endpoints in `auth/api.js` and `auth/email.js`
- register `ConfirmEmailChangePage` in `AdminPage.client.js`
2026-04-24 15:04:36 -04:00
hykocx
995edae513
feat(auth): expose individual auth page components as a public entry point
2026-04-23 19:55:35 -04:00
hykocx
362804b650
style(auth): replace "E-mail" label with "Courriel" in auth pages
2026-04-23 19:38:57 -04:00
hykocx
4b27c1efea
style(auth): update form placeholders to french localization
2026-04-23 19:38:16 -04:00
hykocx
f48f002fcd
refactor(auth): replace anchor tags with fullghost Button variant for navigation links
2026-04-23 19:21:27 -04:00
hykocx
dbea58a978
refactor(auth): replace anchor navigation links with Button components and improve auth page styling
2026-04-23 18:21:21 -04:00
hykocx
1aac03c2dc
refactor(auth): remove GET /users/me endpoint and related exports
2026-04-23 18:16:46 -04:00
hykocx
ad4847e1c5
fix(auth): hide error/success messages when user is authenticated or conflicting states exist
2026-04-22 20:41:35 -04:00
hykocx
189dcfc726
style(auth): replace inline card styles with Card component and clean up comments in ConfirmEmailPage
2026-04-22 20:39:05 -04:00
hykocx
bbb55605c3
refactor(admin): simplify ProfilePage with tabs and component cleanup
2026-04-22 20:26:45 -04:00
hykocx
68d97c81da
style(admin): increase settings card min-width from 1/2 to 3/5
2026-04-22 20:22:54 -04:00
hykocx
f082ef4fda
style(ui): adjust layout alignment and sizing in settings page and tab nav
2026-04-22 20:22:07 -04:00
hykocx
3e7e0387a1
refactor(admin): generalize breadcrumb fallback to handle unknown single-segment routes
2026-04-22 20:16:07 -04:00
hykocx
3b04971483
feat(admin): add position parameter to registerNavItem
2026-04-22 20:14:29 -04:00
hykocx
ccdd309414
feat(admin): add bottom navigation items and settings page to admin panel
2026-04-22 20:12:18 -04:00
hykocx
fef71aaf92
refactor(admin): remove quick links section and replace anchor tags with Next.js Link components
2026-04-22 19:58:43 -04:00
hykocx
e99970b9b2
style(admin): update logout button text and hover colors for better contrast
2026-04-22 19:54:48 -04:00
hykocx
18f1fcdbd0
style(ui): change default button size from sm to md and remove explicit size="sm" props
2026-04-22 19:45:56 -04:00
hykocx
0dc6092780
refactor(ui): change Button icon prop to accept component reference instead of JSX element
2026-04-22 19:41:57 -04:00
hykocx
9ca3e0a83b
refactor(admin): pass icon components as references instead of JSX elements
2026-04-22 19:40:28 -04:00
hykocx
e2dd60843f
style(ui): add icon-only button sizing and fix action column alignment
2026-04-22 19:38:02 -04:00
hykocx
0fd01d2b68
fix(ui): add right alignment support for table columns using align prop
2026-04-22 19:35:39 -04:00
hykocx
52f8ea2b13
style(ui): update dark mode background color from #090909 to #0B0B0B across auth and admin components
2026-04-22 19:33:40 -04:00
hykocx
869afbcb85
style(ui): update dark mode background colors to use #090909 instead of neutral variants
2026-04-22 19:32:14 -04:00
hykocx
312c8e0239
fix(admin): remove active section override on collapsed state
2026-04-22 19:30:05 -04:00
hykocx
456b1746bd
feat(admin): extract AdminLayout as a separate server component
2026-04-22 19:22:14 -04:00
hykocx
cc4527d488
feat(admin): persist sidebar collapsed sections state in sessionStorage
2026-04-22 19:13:00 -04:00
hykocx
35cfa8b51a
fix(admin): collapse inactive sidebar sections by default and fix toggle logic
2026-04-22 19:10:17 -04:00
hykocx
6cff764e2f
fix(admin): keep active section expanded in sidebar without useEffect
2026-04-22 19:07:18 -04:00
hykocx
f45d295961
refactor(admin): derive pageTitle from state instead of inline in breadcrumb function
2026-04-22 19:03:43 -04:00
hykocx
4e56882dd4
refactor(admin): replace AdminPageTitleContext with direct registry lookup for breadcrumbs
2026-04-22 19:00:32 -04:00
hykocx
0317a83ec6
refactor(admin): simplify sidebar toggle by removing router navigation and active section guard
2026-04-22 18:54:49 -04:00
hykocx
b3e88989de
feat(admin): sync page title to admin shell via context
2026-04-22 17:58:13 -04:00
hykocx
843f992b1f
feat(admin): replace prop-based page title with context provider
2026-04-22 17:58:04 -04:00
hykocx
7c92f34245
feat(admin): pass current page title from server to AdminTop via props
2026-04-22 17:52:48 -04:00
hykocx
fa40565686
refactor(admin): migrate page titles from static map to self-registering pages
2026-04-22 17:46:53 -04:00
hykocx
94aaeb241b
refactor(admin): extract page titles into a shared constants file
2026-04-22 17:43:23 -04:00
hykocx
5feceb09f2
refactor(admin): use registry titles for breadcrumb labels
2026-04-22 17:39:24 -04:00
hykocx
5fec68c1fc
fix(admin): add profile breadcrumb and fix badge dark mode styling
2026-04-22 17:36:29 -04:00
hykocx
e5df0e102b
style(ui): replace dark hover bg from neutral-950 to neutral-900 and use RelativeDate component in UsersPage
2026-04-22 17:30:48 -04:00
hykocx
84f03a2d79
fix(admin): always render breadcrumb container to keep user menu pinned right
2026-04-22 17:23:59 -04:00
hykocx
3bd2e4bfba
feat(admin): replace app name with dashboard icon in breadcrumb root
2026-04-22 17:22:33 -04:00
hykocx
866da94f06
feat(ui): add ColorPicker component and replace native color input in RoleEditModal
2026-04-22 16:30:41 -04:00
hykocx
71fe05bd2b
feat(users): add description field to permission definitions
2026-04-22 16:20:43 -04:00
hykocx
f54b2640ad
refactor(admin): replace parameterized routes with modal-based editing for users and roles
2026-04-22 16:15:43 -04:00
hykocx
f8ef884b63
style(ui): update color palette to use darker sh
2026-04-22 16:04:03 -04:00
hykocx
5ab789667c
fix(admin): update sidebar and breadcrumb links to point to /admin/dashboard
2026-04-22 15:57:09 -04:00
hykocx
0c860d9fe5
feat(admin): replace single page name with dynamic breadcrumb navigation in AdminTop
2026-04-22 15:51:01 -04:00
hykocx
118f399208
refactor(admin): move back button and action to a flex container on the right side of AdminHeader
2026-04-22 15:38:39 -04:00