/simplify pass: code-quality batch #30
Loading…
Reference in a new issue
No description provided.
Delete branch "develop"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Batch from a /simplify pass across the Angular app.
common/constants/{routes,roles}.tsand acommon/operators/with-toasts.tsRxJS operator; ~22messageService.addsites in admin list pages and modals migratedtakeUntilDestroyedadded to ~13 high-traffic components/admin/*, 10 routes) and account (/mon-compte/*, 8 routes) converted toloadComponentrelaxation-activities-listreadsuserAccountfrom routedatainstead ofrouter.url.includes('/mon-compte')WritableSignal<T> = signal(...)declarations collapsed tosignal<T>(...)across 37 filesauth.ts: dropped the body-levelstatusCode === 200gate inlogin()/refresh()Test plan
pnpm exec tsc --noEmit— cleanpnpm build— admin chunks separated from the entry bundle/mon-compte/mes-activitesvs/activites-relaxationroute-data branching🤖 Generated with Claude Code