mirror of
https://github.com/BreizhHardware/Site-comptage-heure.git
synced 2026-05-09 08:15:31 +02:00
[PR #27] [MERGED] Dev #86
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#86
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/27
Author: @BreizhHardware
Created: 11/20/2025
Status: ✅ Merged
Merged: 11/20/2025
Merged by: @BreizhHardware
Base:
main← Head:dev📝 Commits (8)
eb8132bfeat: Add bulk import from ISEN excel69292a0Merge pull request #23 from BreizhHardware/feat/bulk-import73ddaf3feat: Add theme selector to header0bd720dMerge pull request #24 from BreizhHardware/feat/auto-theme1ef7089feat: Ajouter la fonctionnalité de sélection d'utilisateurs pour l'ajout d'heuresb90c2e5Merge pull request #25 from BreizhHardware/feat/bulk-add-hourse825651feat: Ajouter des fonctionnalités de tri et de filtrage des heures, incluant la sélection d'utilisateurs et l'ajout de timestampsb04037cMerge pull request #26 from BreizhHardware/feat/sort-hours📊 Changes
22 files changed (+2051 additions, -2066 deletions)
View changed files
📝
.dockerignore(+1 -1)📝
README.md(+2 -2)➕
app/admin/import-users/page.tsx(+213 -0)📝
app/admin/page.tsx(+139 -17)➕
app/api/change-password/route.ts(+35 -0)📝
app/api/hours/route.ts(+36 -12)➕
app/api/import-users/route.ts(+170 -0)➕
app/change-password/page.tsx(+117 -0)📝
components/Header.tsx(+22 -18)➕
components/mode-toggle.tsx(+56 -0)📝
components/providers.tsx(+26 -2)➕
components/ui/checkbox.tsx(+32 -0)➕
components/ui/select.tsx(+187 -0)📝
lib/auth.ts(+9 -1)📝
package.json(+6 -2)📝
pnpm-lock.yaml(+906 -2011)➕
prisma/migrations/20251120162836_add_password_reset_required/migration.sql(+33 -0)➕
prisma/migrations/20251120171812_add_timestamps_to_hour/migration.sql(+21 -0)➕
prisma/migrations/migration_lock.toml(+3 -0)📝
prisma/schema.prisma(+4 -0)...and 2 more files
📄 Description
This pull request introduces several new features and improvements to the admin interface for user and hour management, including a bulk user import workflow, enhanced hour sorting/filtering, and multi-user hour entry. It also standardizes UI components and adds a secure password change API endpoint.
Major new features and improvements:
User Import Workflow:
app/admin/import-users/page.tsx) that allows admins to upload Excel files, preview parsed users, handle errors, and confirm imports into the system. This provides a user-friendly workflow for bulk user creation.Hour Management Enhancements:
app/api/hours/route.ts) and admin UI (app/admin/page.tsx). [1] [2] [3] [4] [5]UI Consistency and Improvements:
Select,Checkbox) for a more consistent look across the admin interface. [1] [2] [3]API and Data Model Updates:
createdAtfield in responses, enabling new sorting/filtering features. [1] [2]app/api/change-password/route.ts).Developer Experience:
.dockerignoreandREADME.mdfor improved local development and to usepnpxfor Prisma commands. [1] [2]These changes collectively streamline admin workflows, improve usability, and add important new capabilities for managing users and hours.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.