whisper-money/app/Http
Víctor Falcón f8cc8816a8
feat: enable category tree for all users, remove flag (#488)
## Summary
Removes the `CategoryTree` Pennant feature flag so the parent/child
category tree UI is active for all existing and new users.

## Changes
- Delete `app/Features/CategoryTree.php` (flag resolved `false`).
- `CategoryController` — drop `Feature`/`CategoryTreeFeature` imports
and the `categoryTreeEnabled` Inertia prop.
- `parent-category-field.tsx` — remove the `usePage` flag read and `if
(!enabled) return null` gate; the parent field now always renders.

## Testing
- `vendor/bin/pint --dirty` — pass
- `bun run lint` — clean (1 pre-existing unrelated warning in
`chart.tsx`)
- `php artisan test tests/Feature/Settings/CategoryTreeTest.php` — 11
passed
- `php artisan test tests/Feature/Settings/CategoryTest.php` — 32 passed
2026-06-04 13:44:57 +02:00
..
Controllers feat: enable category tree for all users, remove flag (#488) 2026-06-04 13:44:57 +02:00
Middleware feat: parent/child category tree (#474) 2026-06-03 19:30:12 +02:00
Requests feat: parent/child category tree (#474) 2026-06-03 19:30:12 +02:00
Responses fix: route new PWA guests to signup (#313) 2026-04-21 10:53:05 +01:00