whisper-money/resources/js/components/onboarding
Víctor Falcón 2dc8cb554c
Remove encryption from bank account names (#104)
## Summary

- Store account names in plaintext instead of encrypting them
client-side. Encryption remains only for transaction descriptions and
notes.
- Existing encrypted account names are silently migrated when the user
unlocks their encryption key, via a new `useDecryptAccountNames` hook
that calls API endpoints to update each account.
- New `AccountName` component handles rendering both encrypted (legacy)
and plaintext accounts across the app.

## Test plan

- [x] Create a new account — name should be stored in plaintext
(`encrypted = false`, `name_iv = null`)
- [x] Unlock encryption key with existing encrypted accounts — they
should auto-migrate silently
- [x] After migration, verify accounts show `encrypted = false` in DB
and names are readable plaintext
- [x] Edit a migrated account — should work without encryption
- [x] Verify all account name displays work across dashboard, account
details, transactions, settings
2026-02-09 14:15:26 +01:00
..
step-account-types.tsx feat: Spanish localization (#74) 2026-02-08 11:58:08 +01:00
step-button.tsx User Onboarding Flow (#23) 2025-12-12 13:06:08 +01:00
step-category-types.tsx feat: Spanish localization (#74) 2026-02-08 11:58:08 +01:00
step-complete.tsx feat: Spanish localization (#74) 2026-02-08 11:58:08 +01:00
step-create-account.tsx Remove encryption from bank account names (#104) 2026-02-09 14:15:26 +01:00
step-customize-categories.tsx feat: Spanish localization (#74) 2026-02-08 11:58:08 +01:00
step-encryption-explained.tsx feat: Spanish localization (#74) 2026-02-08 11:58:08 +01:00
step-encryption-setup.tsx feat: Spanish localization (#74) 2026-02-08 11:58:08 +01:00
step-header.tsx User Onboarding Flow (#23) 2025-12-12 13:06:08 +01:00
step-import-balances.tsx feat: Spanish localization (#74) 2026-02-08 11:58:08 +01:00
step-import-transactions.tsx feat: Spanish localization (#74) 2026-02-08 11:58:08 +01:00
step-more-accounts.tsx Remove encryption from bank account names (#104) 2026-02-09 14:15:26 +01:00
step-smart-rules.tsx feat: Spanish localization (#74) 2026-02-08 11:58:08 +01:00
step-welcome.tsx feat: Spanish localization (#74) 2026-02-08 11:58:08 +01:00