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

@@ -14,12 +14,12 @@
| Action | File | Responsibility |
|--------|------|----------------|
| Modify | `Inventory_frontend/app/components/machine/MachineInfoCard.vue` | Remove blur-triggered saves, expose saveFieldDefinitions via defineExpose |
| Modify | `Inventory_frontend/app/components/machine/MachineCustomFieldDefEditor.vue` | Remove standalone save button |
| Modify | `Inventory_frontend/app/pages/machine/[id].vue` | Add Save/Cancel buttons, wire submitEdition via template ref |
| Modify | `Inventory_frontend/app/composables/useMachineDetailData.ts` | Add submitEdition, cancelEdition, saving, canSubmit |
| Modify | `Inventory_frontend/app/composables/useMachineDetailUpdates.ts` | Remove auto-save from handleMachineConstructeurChange |
| Modify | `Inventory_frontend/app/composables/useMachineDetailCustomFields.ts` | Add saveAllMachineCustomFields batch method |
| Modify | `frontend/app/components/machine/MachineInfoCard.vue` | Remove blur-triggered saves, expose saveFieldDefinitions via defineExpose |
| Modify | `frontend/app/components/machine/MachineCustomFieldDefEditor.vue` | Remove standalone save button |
| Modify | `frontend/app/pages/machine/[id].vue` | Add Save/Cancel buttons, wire submitEdition via template ref |
| Modify | `frontend/app/composables/useMachineDetailData.ts` | Add submitEdition, cancelEdition, saving, canSubmit |
| Modify | `frontend/app/composables/useMachineDetailUpdates.ts` | Remove auto-save from handleMachineConstructeurChange |
| Modify | `frontend/app/composables/useMachineDetailCustomFields.ts` | Add saveAllMachineCustomFields batch method |
| Modify | `src/EventSubscriber/MachineAuditSubscriber.php` | Enrich snapshot with links + detect link changes in onFlush |
---
@@ -27,7 +27,7 @@
### Task 1: Remove blur-triggered saves from MachineInfoCard
**Files:**
- Modify: `Inventory_frontend/app/components/machine/MachineInfoCard.vue`
- Modify: `frontend/app/components/machine/MachineInfoCard.vue`
- [ ] **Step 1: Remove `@blur` from name input (line 17)**
@@ -143,7 +143,7 @@ defineExpose({
- [ ] **Step 7: Commit**
```bash
git add Inventory_frontend/app/components/machine/MachineInfoCard.vue
git add frontend/app/components/machine/MachineInfoCard.vue
git commit -m "refactor(machine) : remove blur-triggered auto-saves from MachineInfoCard"
```
@@ -152,7 +152,7 @@ git commit -m "refactor(machine) : remove blur-triggered auto-saves from Machine
### Task 2: Remove standalone save button from MachineCustomFieldDefEditor
**Files:**
- Modify: `Inventory_frontend/app/components/machine/MachineCustomFieldDefEditor.vue`
- Modify: `frontend/app/components/machine/MachineCustomFieldDefEditor.vue`
- [ ] **Step 1: Remove the "Enregistrer les champs" button (lines 7-15)**
@@ -201,7 +201,7 @@ defineEmits<{
- [ ] **Step 3: Commit**
```bash
git add Inventory_frontend/app/components/machine/MachineCustomFieldDefEditor.vue
git add frontend/app/components/machine/MachineCustomFieldDefEditor.vue
git commit -m "refactor(machine) : remove standalone save button from custom field def editor"
```
@@ -210,7 +210,7 @@ git commit -m "refactor(machine) : remove standalone save button from custom fie
### Task 3: Stop auto-save in handleMachineConstructeurChange
**Files:**
- Modify: `Inventory_frontend/app/composables/useMachineDetailUpdates.ts:211-214`
- Modify: `frontend/app/composables/useMachineDetailUpdates.ts:211-214`
- [ ] **Step 1: Remove the auto-save call**
@@ -231,7 +231,7 @@ With:
- [ ] **Step 2: Commit**
```bash
git add Inventory_frontend/app/composables/useMachineDetailUpdates.ts
git add frontend/app/composables/useMachineDetailUpdates.ts
git commit -m "refactor(machine) : stop auto-saving on constructeur change"
```
@@ -240,7 +240,7 @@ git commit -m "refactor(machine) : stop auto-saving on constructeur change"
### Task 4: Add batch custom field save method
**Files:**
- Modify: `Inventory_frontend/app/composables/useMachineDetailCustomFields.ts`
- Modify: `frontend/app/composables/useMachineDetailCustomFields.ts`
- [ ] **Step 1: Add `saveAllMachineCustomFields` method**
@@ -325,7 +325,7 @@ With:
- [ ] **Step 3: Commit**
```bash
git add Inventory_frontend/app/composables/useMachineDetailCustomFields.ts
git add frontend/app/composables/useMachineDetailCustomFields.ts
git commit -m "feat(machine) : add batch saveAllMachineCustomFields method"
```
@@ -334,7 +334,7 @@ git commit -m "feat(machine) : add batch saveAllMachineCustomFields method"
### Task 5: Add submitEdition, cancelEdition, saving, canSubmit to orchestrator
**Files:**
- Modify: `Inventory_frontend/app/composables/useMachineDetailData.ts`
- Modify: `frontend/app/composables/useMachineDetailData.ts`
- [ ] **Step 1: Add `saving` ref in the core state block (after line 63)**
@@ -423,7 +423,7 @@ Add to the return object:
- [ ] **Step 6: Commit**
```bash
git add Inventory_frontend/app/composables/useMachineDetailData.ts
git add frontend/app/composables/useMachineDetailData.ts
git commit -m "feat(machine) : add submitEdition, cancelEdition, saving, canSubmit"
```
@@ -432,7 +432,7 @@ git commit -m "feat(machine) : add submitEdition, cancelEdition, saving, canSubm
### Task 6: Wire Save/Cancel buttons in the page
**Files:**
- Modify: `Inventory_frontend/app/pages/machine/[id].vue`
- Modify: `frontend/app/pages/machine/[id].vue`
- [ ] **Step 1: Add template ref on MachineInfoCard (line 56)**
@@ -597,7 +597,7 @@ const historyFieldLabels = {
- [ ] **Step 7: Commit**
```bash
git add Inventory_frontend/app/pages/machine/[id].vue
git add frontend/app/pages/machine/[id].vue
git commit -m "feat(machine) : add single save button and wire cancel/submit"
```
@@ -988,13 +988,13 @@ git commit -m "feat(versioning) : detect machine link add/remove in onFlush and
- [ ] **Step 1: Run ESLint fix**
```bash
cd Inventory_frontend && npm run lint:fix
cd frontend && npm run lint:fix
```
- [ ] **Step 2: Run typecheck**
```bash
cd Inventory_frontend && npx nuxi typecheck
cd frontend && npx nuxi typecheck
```
Expected: 0 errors.
@@ -1039,7 +1039,7 @@ git add -A && git commit -m "fix(machine) : fix cs-fixer and test issues from si
```bash
make start
cd Inventory_frontend && npm run dev
cd frontend && npm run dev
```
- [ ] **Step 2: Test single save flow**