## Summary Removes the `TransactionAnalysis` Pennant feature flag and all its gating. After this PR the transaction analysis feature (analysis drawer + saved filters) is available to every user. ## Changes - Delete `app/Features/TransactionAnalysis.php`. - `TransactionAnalysisController` — drop the `abort_unless(...403)` flag gate and Pennant imports. - `HandleInertiaRequests` — stop sharing the `transactionAnalysis` flag in Inertia props. - `Features` TS type — remove the `transactionAnalysis` field. - `transaction-actions-menu.tsx` / `transaction-filters.tsx` — remove the `features.transactionAnalysis &&` gates so the Analysis button, the analysis drawer, and saved filters always render. - Tests updated: dropped the endpoint-gating test and the "hidden when flag off" UI test; adjusted shared-flag expectations. ## Verification - `./vendor/bin/pest` — 23 passed (affected suites) - Vitest — affected component/page tests pass - Pint, Prettier, ESLint clean ## Notes - The orphaned value left in Pennant's `features` DB table is harmless and not addressed here. |
||
|---|---|---|
| .. | ||
| .pest | ||
| Browser | ||
| Feature | ||
| Performance | ||
| Support | ||
| Unit | ||
| Pest.php | ||
| TestCase.php | ||
| bootstrap.php | ||