Development notes

Control flow update

Live templates now use @if, @for, and @switch. 550 HTML files plus the price-display inline template. Routing, SCSS, and business logic are unchanged.

commit e6d8ff44e4 hotfix/release-0.0.23/control-flow-update PR 10865

What changed

A whole-app schematic pass ran out of memory at about 8 GB. I ran Angular's official schematic per directory instead.

NODE_OPTIONS=--max_old_space_size=10048 npx ng generate @angular/core:control-flow --path=src/app/components --defaults --interactive=false

I put CommonModule and the schematic's TypeScript formatting back. Eleven trackBy* methods now take a second unused argument because @for calls track fn($index, item).

In templatesCount
@if509 files
@for323 files
@switch15 files
Live *ngIf / *ngFor / [ngSwitch]0. Comment leftovers only.

Five files converted by hand

FileFix
table.component.html Comments and a label sitting inside ngSwitch. Duplicate #noImageIcon refs. Moved both outside, then @switch.
vip-offer-list.component.html Two templates named #unlocked_code. Renamed one to #unlocked_code_modal.
post-payment.component.html [ngSwitch] on a wrapper, cases on an inner div. Switched the inner element.
post-detail.component.html Missing </ng-container>. Closed it and reran the schematic.
info-modal.component.html Broken *ngIf="icomoonClass; icon" became @if (icomoonClass) { ... } @else if (icon).

How I checked it

CheckResult
Main QA buildPass, 60.6s
Perfect Crew QA buildPass, 51.8s
SSR200 on home, login, pricing, about, contact, FAQ, creators, Perfect Crew home. No *ngIf in the HTML.
Logged-out browserTopFans home hydrates, carousel Next works, login form renders, Perfect Crew header and posts show.
Logged-in productNot run.

Verification checklist

Creator account on a white-label site for logged-in checks. Private window for logged-out. Console open. Grouped by the modules in the 562-file diff. Edit preference is 64 templates. Skip that folder and you miss one of the largest chunks.

0 of 0 checked

High Shared UI, profile, posts

High Messages, dashboard, wallet

Medium Edit preference, monetize, cover editor

Medium Auth, insights, forum, resources

Low Public, setup, players, leftovers