whisper-money/resources/js/components/categories
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
..
category-cashflow-direction-fields.tsx fix(categories): expose cashflow setting on create (#448) 2026-05-29 11:05:04 +02:00
create-category-dialog.tsx feat: parent/child category tree (#474) 2026-06-03 19:30:12 +02:00
delete-category-dialog.tsx feat: parent/child category tree (#474) 2026-06-03 19:30:12 +02:00
edit-category-dialog.tsx feat: parent/child category tree (#474) 2026-06-03 19:30:12 +02:00
parent-category-field.tsx feat: enable category tree for all users, remove flag (#488) 2026-06-04 13:44:57 +02:00