[PR #28] [MERGED] fix: Corriger les chemins d'importation pour les composants et ajuster la configuration TypeScript #85

Closed
opened 2026-05-06 12:18:39 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/BreizhHardware/Site-comptage-heure/pull/28
Author: @BreizhHardware
Created: 11/20/2025
Status: Merged
Merged: 11/20/2025
Merged by: @BreizhHardware

Base: mainHead: hotfix/build-docker


📝 Commits (1)

  • 5fcedfa fix: Corriger les chemins d'importation pour les composants et ajuster la configuration TypeScript

📊 Changes

5 files changed (+22 additions, -13 deletions)

View changed files

📝 app/admin/import-users/page.tsx (+5 -5)
📝 components/mode-toggle.tsx (+2 -2)
📝 components/ui/checkbox.tsx (+1 -1)
📝 components/ui/select.tsx (+1 -1)
📝 tsconfig.json (+13 -4)

📄 Description

This pull request primarily updates import paths throughout the codebase, replacing alias-based imports (using @/) with relative paths. This change ensures that component and utility imports are resolved correctly, likely to improve compatibility with certain tooling or deployment environments.

Import path updates:

  • Changed all imports of UI components in app/admin/import-users/page.tsx from alias-based (@/components/ui/...) to relative paths (../../../components/ui/...).
  • Updated imports of Button and Popover components in components/mode-toggle.tsx from alias-based to relative paths (./ui/...).
  • Changed import of the cn utility in components/ui/checkbox.tsx from alias-based to relative path (../../lib/utils).
  • Changed import of the cn utility in components/ui/select.tsx from alias-based to relative path (../../lib/utils).

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/BreizhHardware/Site-comptage-heure/pull/28 **Author:** [@BreizhHardware](https://github.com/BreizhHardware) **Created:** 11/20/2025 **Status:** ✅ Merged **Merged:** 11/20/2025 **Merged by:** [@BreizhHardware](https://github.com/BreizhHardware) **Base:** `main` ← **Head:** `hotfix/build-docker` --- ### 📝 Commits (1) - [`5fcedfa`](https://github.com/BreizhHardware/Site-comptage-heure/commit/5fcedfa28b5db891681ad5bae30552607dca924a) fix: Corriger les chemins d'importation pour les composants et ajuster la configuration TypeScript ### 📊 Changes **5 files changed** (+22 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `app/admin/import-users/page.tsx` (+5 -5) 📝 `components/mode-toggle.tsx` (+2 -2) 📝 `components/ui/checkbox.tsx` (+1 -1) 📝 `components/ui/select.tsx` (+1 -1) 📝 `tsconfig.json` (+13 -4) </details> ### 📄 Description This pull request primarily updates import paths throughout the codebase, replacing alias-based imports (using `@/`) with relative paths. This change ensures that component and utility imports are resolved correctly, likely to improve compatibility with certain tooling or deployment environments. **Import path updates:** * Changed all imports of UI components in `app/admin/import-users/page.tsx` from alias-based (`@/components/ui/...`) to relative paths (`../../../components/ui/...`). * Updated imports of `Button` and `Popover` components in `components/mode-toggle.tsx` from alias-based to relative paths (`./ui/...`). * Changed import of the `cn` utility in `components/ui/checkbox.tsx` from alias-based to relative path (`../../lib/utils`). * Changed import of the `cn` utility in `components/ui/select.tsx` from alias-based to relative path (`../../lib/utils`). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 12:18:39 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
BreizhHardware/Site-comptage-heure#85
No description provided.