## Summary - Fixes automation rules not applying labels when creating transactions manually or via CSV import - Eager-loads the `labels` relationship on automation rules in both `TransactionController` and `HandleInertiaRequests` - Syncs `label_ids` on the transaction `store` endpoint (was accepted but never persisted) - Passes `automationRules` prop through the full component chain: `index.tsx` → `TransactionActionsMenu` → `ImportTransactionsDrawer`, and `index.tsx` → `EditTransactionDialog` - Passes `automationRules` as the missing 5th argument to `reEvaluateAll()` Closes #61 ## Test plan - [x] Existing feature tests pass (`php artisan test --filter=Transaction`, `--filter=AutomationRule`) - [x] Pint, ESLint, and Prettier all pass - [x] Manually verify: create a transaction matching an automation rule with labels → labels are applied - [x] Manually verify: import CSV with transactions matching rules with labels → labels are applied - [x] Manually verify: "Re-evaluate All" applies labels from matched rules |
||
|---|---|---|
| .. | ||
| balance-import-config-storage.ts | ||
| chart-calculations.test.ts | ||
| chart-calculations.ts | ||
| constants.ts | ||
| crypto.ts | ||
| debug.ts | ||
| dexie-db.ts | ||
| file-parser.ts | ||
| import-config-storage.ts | ||
| key-storage.ts | ||
| posthog.ts | ||
| rule-builder-utils.ts | ||
| rule-engine.ts | ||
| sankey-utils.ts | ||
| sync-manager.ts | ||
| track-event.ts | ||
| utils.ts | ||