## 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. |
||
|---|---|---|
| .. | ||
| account.ts | ||
| automation-rule.ts | ||
| balance-import.ts | ||
| banking.ts | ||
| budget.ts | ||
| category.test.ts | ||
| category.ts | ||
| import.ts | ||
| index.d.ts | ||
| label.ts | ||
| language.ts | ||
| pricing.ts | ||
| transaction.ts | ||
| uuid.ts | ||
| vite-env.d.ts | ||