refactor : rename Inventory_frontend to frontend in docs

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Matthieu
2026-04-01 14:20:19 +02:00
parent 73b2cf300d
commit be859e57db
17 changed files with 227 additions and 227 deletions

View File

@@ -29,15 +29,15 @@
- `src/Repository/AuditLogRepository.php` — Add `findVersionHistory()` method
### Frontend — New Files
- `Inventory_frontend/app/composables/useEntityVersions.ts` — API calls for versions/preview/restore
- `Inventory_frontend/app/components/common/EntityVersionList.vue` — Version list with restore button
- `Inventory_frontend/app/components/common/VersionRestoreModal.vue` — Preview + confirm modal
- `frontend/app/composables/useEntityVersions.ts` — API calls for versions/preview/restore
- `frontend/app/components/common/EntityVersionList.vue` — Version list with restore button
- `frontend/app/components/common/VersionRestoreModal.vue` — Preview + confirm modal
### Frontend — Modified Files
- `Inventory_frontend/app/pages/machine/[id].vue` — Add Versions section
- `Inventory_frontend/app/pages/component/[id]/edit.vue` — Add Versions section
- `Inventory_frontend/app/pages/piece/[id].vue` — Add Versions section
- `Inventory_frontend/app/pages/product/[id]/edit.vue` — Add Versions section
- `frontend/app/pages/machine/[id].vue` — Add Versions section
- `frontend/app/pages/component/[id]/edit.vue` — Add Versions section
- `frontend/app/pages/piece/[id].vue` — Add Versions section
- `frontend/app/pages/product/[id]/edit.vue` — Add Versions section
---
@@ -1870,7 +1870,7 @@ git commit -m "test(versioning) : add EntityVersionTest for list, preview and re
## Task 9b: Frontend — add `restore` action label to historyDisplayUtils
**Files:**
- Modify: `Inventory_frontend/app/shared/utils/historyDisplayUtils.ts`
- Modify: `frontend/app/shared/utils/historyDisplayUtils.ts`
- [ ] **Step 1: Add `restore` case to `historyActionLabel`**
@@ -1888,7 +1888,7 @@ export const historyActionLabel = (action: string): string => {
- [ ] **Step 2: Commit in frontend repo**
```bash
cd Inventory_frontend
cd frontend
git add app/shared/utils/historyDisplayUtils.ts
git commit -m "feat(versioning) : add restore action label to historyDisplayUtils"
cd ..
@@ -1899,7 +1899,7 @@ cd ..
## Task 10: Frontend — useEntityVersions composable
**Files:**
- Create: `Inventory_frontend/app/composables/useEntityVersions.ts`
- Create: `frontend/app/composables/useEntityVersions.ts`
- [ ] **Step 1: Create the composable**
@@ -2004,16 +2004,16 @@ export function useEntityVersions(deps: Deps) {
- [ ] **Step 2: Run lint**
Run (in `Inventory_frontend/`): `npm run lint:fix`
Run (in `frontend/`): `npm run lint:fix`
- [ ] **Step 3: Run typecheck**
Run (in `Inventory_frontend/`): `npx nuxi typecheck`
Run (in `frontend/`): `npx nuxi typecheck`
- [ ] **Step 4: Commit in frontend repo**
```bash
cd Inventory_frontend
cd frontend
git add app/composables/useEntityVersions.ts
git commit -m "feat(versioning) : add useEntityVersions composable"
cd ..
@@ -2024,7 +2024,7 @@ cd ..
## Task 11: Frontend — VersionRestoreModal component
**Files:**
- Create: `Inventory_frontend/app/components/common/VersionRestoreModal.vue`
- Create: `frontend/app/components/common/VersionRestoreModal.vue`
- [ ] **Step 1: Create the modal component**
@@ -2129,12 +2129,12 @@ const formatValue = (value: unknown): string => {
- [ ] **Step 2: Run lint**
Run (in `Inventory_frontend/`): `npm run lint:fix`
Run (in `frontend/`): `npm run lint:fix`
- [ ] **Step 3: Commit**
```bash
cd Inventory_frontend
cd frontend
git add app/components/common/VersionRestoreModal.vue
git commit -m "feat(versioning) : add VersionRestoreModal component"
cd ..
@@ -2145,7 +2145,7 @@ cd ..
## Task 12: Frontend — EntityVersionList component
**Files:**
- Create: `Inventory_frontend/app/components/common/EntityVersionList.vue`
- Create: `frontend/app/components/common/EntityVersionList.vue`
- [ ] **Step 1: Create the version list component**
@@ -2296,12 +2296,12 @@ onMounted(() => {
- [ ] **Step 2: Run lint**
Run (in `Inventory_frontend/`): `npm run lint:fix`
Run (in `frontend/`): `npm run lint:fix`
- [ ] **Step 3: Commit**
```bash
cd Inventory_frontend
cd frontend
git add app/components/common/EntityVersionList.vue
git commit -m "feat(versioning) : add EntityVersionList component with restore flow"
cd ..
@@ -2312,10 +2312,10 @@ cd ..
## Task 13: Frontend — Integrate EntityVersionList into detail pages
**Files:**
- Modify: `Inventory_frontend/app/pages/machine/[id].vue`
- Modify: `Inventory_frontend/app/pages/component/[id]/edit.vue`
- Modify: `Inventory_frontend/app/pages/piece/[id].vue`
- Modify: `Inventory_frontend/app/pages/product/[id]/edit.vue`
- Modify: `frontend/app/pages/machine/[id].vue`
- Modify: `frontend/app/pages/component/[id]/edit.vue`
- Modify: `frontend/app/pages/piece/[id].vue`
- Modify: `frontend/app/pages/product/[id]/edit.vue`
- [ ] **Step 1: Add EntityVersionList to machine/[id].vue**
@@ -2398,16 +2398,16 @@ import EntityVersionList from '~/components/common/EntityVersionList.vue'
- [ ] **Step 5: Run lint**
Run (in `Inventory_frontend/`): `npm run lint:fix`
Run (in `frontend/`): `npm run lint:fix`
- [ ] **Step 6: Run typecheck**
Run (in `Inventory_frontend/`): `npx nuxi typecheck`
Run (in `frontend/`): `npx nuxi typecheck`
- [ ] **Step 7: Commit in frontend repo**
```bash
cd Inventory_frontend
cd frontend
git add app/pages/machine/\[id\].vue app/pages/component/\[id\]/edit.vue app/pages/piece/\[id\].vue app/pages/product/\[id\]/edit.vue
git commit -m "feat(versioning) : integrate EntityVersionList into all detail pages"
cd ..
@@ -2416,7 +2416,7 @@ cd ..
- [ ] **Step 8: Update submodule pointer in main repo**
```bash
git add Inventory_frontend
git add frontend
git commit -m "chore(submodule) : update frontend pointer (entity versioning)"
```
@@ -2431,7 +2431,7 @@ Expected: All tests pass.
- [ ] **Step 2: Run frontend lint + typecheck**
Run (in `Inventory_frontend/`): `npm run lint:fix && npx nuxi typecheck`
Run (in `frontend/`): `npm run lint:fix && npx nuxi typecheck`
Expected: 0 errors.
- [ ] **Step 3: Manual smoke test**