mirror of
https://github.com/BreizhHardware/Site-comptage-heure.git
synced 2026-05-09 08:15:31 +02:00
[PR #4] [MERGED] Dev #66
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
BreizhHardware/Site-comptage-heure#66
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/BreizhHardware/Site-comptage-heure/pull/4
Author: @BreizhHardware
Created: 10/17/2025
Status: ✅ Merged
Merged: 10/17/2025
Merged by: @BreizhHardware
Base:
main← Head:dev📝 Commits (3)
4c454adfeat: add super admin creation, enhance date handling, and improve UI componentsdb76597feat: implement password change functionality and improve UI for password management024e1defeat: add force delete functionality for users and improve deletion confirmation flow📊 Changes
8 files changed (+300 additions, -35 deletions)
View changed files
📝
README.md(+15 -10)📝
app/admin/page.tsx(+141 -8)➕
app/api/auth/change-password/route.ts(+41 -0)📝
app/api/users/[id]/route.ts(+9 -1)📝
app/dashboard/page.tsx(+88 -11)📝
components/Header.tsx(+3 -5)📝
docker-compose.yml(+1 -0)📝
scripts/create-super-admin.js(+2 -0)📄 Description
This pull request introduces several new features and usability improvements to the admin and dashboard pages, focusing on user management and password change functionality. The main changes include adding the ability for users (both members and admins) to change their passwords, enhancing the process for deleting users (including forced deletion that removes associated hours), improving form validation, and updating some UI elements for clarity and accessibility.
Key changes:
User Management & Deletion
Password Change Functionality
/api/auth/change-password) that allows authenticated users to change their passwords securely, with validation for the current password.Form Validation & UI Improvements
DatePickercomponent for improved user experience and proper date formatting. [1] [2] [3]Miscellaneous
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.