Unused standalone leftovers are deleted

Two groups of files that nothing imported are gone. The first group is what SharedModule used to export. The second is leftover UI that never got a caller. No page's JavaScript should change, because the compiler already left these files out.

branch t3code/delete-unused-components on top of 8e2432612f, PR 10842 merged Both leftover deletions from what's left 2 commits, PR 10845

What I left in place

  • seo-landing.model.ts still exports Creator. The cover page editor and the featured creator layout import that type.
  • StoreLayoutItemCardComponent still renders store items. The portfolio, feed, and event ticket item components never had a caller. The card did.
  • The live app-search-bar in src/app/components/search-bar stays. Only the unused typeahead bar in shared/components/search-bar went.

Commit c928ecc3f1: delete unused SharedModule leftovers

14 files, −868

What changed

  • Deleted ProfileDetailComponent and the two subscription modals. They only imported each other.
  • Deleted the typeahead SearchBarComponent. The only mention was inside an HTML comment on the profile page.
  • Removed that comment, plus the profile methods that only the comment called.

How I checked it

CheckResult
Compiled template dependencies against PR 10842All 646 components match. These files were already out of the compile, because nothing imported them.

Commit ad0fff9aaf: delete unused seo landing, interests accordion, and store item views

22 files, −2145

What changed

  • Deleted SeoLandingComponent and its creator card. Nothing set the seo landing flag to true, and no route rendered the component.
  • Deleted SelectInterestsAccordionComponent. No template used its selector.
  • Deleted the unused portfolio, feed, and event ticket store item components. Removed the matching unused selectors from the store item layout stylesheet.

How I checked it

CheckResult
Compiled template dependencies against the first commitAll 646 components match.
QA and development buildsBoth pass. QA has the same 42 warnings as before.
Initial bundle and lazy routesInitial JS is unchanged at 7,123,873 bytes. Profile drops 433 bytes. Marketing and comparison pages drop 267 bytes each.
Server rendering, 145 URLsAll match PR 10842.
ESLint on the remaining TypeScript1 use-lifecycle-interface error on the profile page, from older code.

I did not run a full logged-in white-label sweep. These files were already out of the compile, so a browser walk would not reach them. The checklist still covers store layouts and profiles, because those pages sit next to the deleted files.

What's left

  • AppModule and AppServerModule are the last NgModules.
  • The marketing pages still ship every layout. Monetize child routes still load as one chunk. The main site's home page still bundles ProfileComponent.

Verification checklist

Use a creator account on its white-label site. Keep the console open. Checks are saved in this browser.

0 of 0 checked

Medium Nearby pages