mirror of
https://github.com/BreizhHardware/Site-comptage-heure.git
synced 2026-05-09 08:15:31 +02:00
[PR #5] [MERGED] feat: add total summary section to dashboard and ensure upload directory creation #67
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#67
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/5
Author: @BreizhHardware
Created: 10/17/2025
Status: ✅ Merged
Merged: 10/17/2025
Merged by: @BreizhHardware
Base:
main← Head:dev📝 Commits (1)
bca898afeat: add total summary section to dashboard and ensure upload directory creation📊 Changes
3 files changed (+24 additions, -20 deletions)
View changed files
📝
app/admin/page.tsx(+5 -2)📝
app/api/upload/route.ts(+2 -1)📝
app/dashboard/page.tsx(+17 -17)📄 Description
This pull request introduces improvements to both the file upload API and the dashboard UI, along with minor formatting updates to the admin page. The most significant changes are the enhancement of the upload route to ensure directory existence before saving files and the repositioning of the totals summary in the dashboard for better visibility.
File upload improvements:
mkdirwith the{ recursive: true }option inapp/api/upload/route.ts. This prevents errors when theuploadsdirectory is missing. [1] [2]Dashboard UI enhancements:
app/dashboard/page.tsxfor increased prominence and improved user experience. [1] [2]Admin page formatting:
app/admin/page.tsx. [1] [2]🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.