Skip to content

Remove unused ShopHero3D and direct maath dependency - #1541

Merged
manudeli merged 5 commits into
mainfrom
chore/remove-unused-maath
Nov 22, 2026
Merged

manudeli merged 5 commits into
mainfrom
chore/remove-unused-maath

Conversation

@manudeli

@manudeli manudeli commented Nov 22, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Remove ShopHero3D, the unused shop component and the app's only direct importer of maath.
  • Remove maath from the root dependencies. @react-three/drei still resolves it transitively.

Verification

  • Built main and this branch with client source maps. Neither build includes ShopHero3D or maath in client JavaScript. The total raw client JavaScript size is unchanged, and one unused Tailwind rule accounts for a 40-byte reduction in client CSS.
  • The frozen lockfile check, TypeScript checks, lint, and desktop tests passed.
  • Local unit and chat suites reported the same socket and browser permission failures on main and this branch.

Summary by CodeRabbit

  • Changes
    • The shop page no longer displays its interactive 3D hero scene, including the rotating shirt graphics and timed visual transitions. Other shop content remains unchanged.

@manudeli
manudeli requested a review from a team November 22, 2026 15:26
@changeset-bot

changeset-bot Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 291e6bd

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Explain Change →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

Files ignored due to path filters: 1

  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d83e1fc9-6709-4f9d-b850-27f96d3dae10
Commits

Reviewing files that changed from the base of the PR and between e2db21c and 291e6bd.

Files ignored due to path filters: 1

  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

No actionable comments were generated in the recent review.

Walkthrough

The pull request deletes the ShopHero3D component, including its 3D scene and related rendering behavior. It also removes maath from package.json.

Changes: Shop hero removal

Layer / File(s) Summary
Remove 3D shop hero
src/components/shop/ShopHero3D.tsx, package.json
The exported ShopHero3D component and its 3D scene, textures, decals, transitions, lighting, material configuration, and GLB preload are removed. The maath dependency declaration is also removed.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Other

Suggested reviewers: tannerlinsley

Merge Risk: Minimal · previous review 64418

This removes an unused 3D shop hero component and a direct dependency that nothing else imports. No user-facing behavior change is expected, and the reported checks passed. The merge risk is minimal.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the two changes in the PR: removing the unused ShopHero3D component and the direct maath dependency. The raw summary confirms both removals in package.json and src/components/shop/Shop…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the two changes in the PR: removing the unused ShopHero3D component and the direct maath dependency. The raw summary confirms both removals in package.json and src/components/shop/ShopHero3D.tsx, so the title matches the changeset.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: cd009baf-a860-4c8c-b0e5-0ec2be0703d3
Commits

Reviewing files that changed from the base of the PR and between c542d3a and 64418bd.

Files ignored due to path filters: 1

  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
Files selected for processing: 2

  • package.json
  • src/components/shop/ShopHero3D.tsx
Files with no reviewable changes: 2

  • package.json
  • src/components/shop/ShopHero3D.tsx

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 1 remain after this review.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
tanstack-com 291e6bd Commit Preview URL

Branch Preview URL
Nov 22 2026, 04:04 PM

@github-actions

github-actions Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Asset Main PR merge build Change
JavaScript 19628.54 KiB 19628.54 KiB 0.00 KiB (0.00%)
JavaScript (gzip) 6454.37 KiB 6454.12 KiB 🟢 -0.25 KiB (-0.00%)
CSS 793.60 KiB 793.56 KiB 🟢 -0.04 KiB (-0.00%)
CSS (gzip) 121.33 KiB 121.33 KiB 🟢 -0.01 KiB (-0.01%)
Page Main (gzip) PR merge build (gzip) Change
/ 595.86 KiB 595.83 KiB 🟢 -0.03 KiB (-0.00%)
/libraries 538.53 KiB 538.50 KiB 🟢 -0.03 KiB (-0.01%)
/start/latest 563.34 KiB 563.30 KiB 🟢 -0.04 KiB (-0.01%)
/router/latest 563.63 KiB 563.60 KiB 🟢 -0.04 KiB (-0.01%)
/query/latest 562.08 KiB 562.05 KiB 🟢 -0.03 KiB (-0.01%)
/table/latest 594.89 KiB 594.85 KiB 🟢 -0.04 KiB (-0.01%)
/charts/latest 644.19 KiB 644.15 KiB 🟢 -0.04 KiB (-0.01%)
/ai/latest 589.02 KiB 588.97 KiB 🟢 -0.05 KiB (-0.01%)
Docs article 549.59 KiB 549.55 KiB 🟢 -0.04 KiB (-0.01%)
Framework docs article 549.60 KiB 549.56 KiB 🟢 -0.04 KiB (-0.01%)
/blog 542.75 KiB 542.71 KiB 🟢 -0.03 KiB (-0.01%)
/maintainers 541.82 KiB 541.80 KiB 🟢 -0.03 KiB (-0.00%)
/showcase 539.79 KiB 539.76 KiB 🟢 -0.03 KiB (-0.01%)
/chat 538.61 KiB 538.57 KiB 🟢 -0.03 KiB (-0.01%)
/chat/c/:conversationId 538.74 KiB 538.71 KiB 🟢 -0.03 KiB (-0.01%)

Page sizes sum the JS and CSS in the TanStack Start manifest for each route and its layouts. Shared files count once per page.

Compared with main at c304623. Gzip sizes are summed per file. Build run

@manudeli
manudeli merged commit a5cc61e into main Nov 22, 2026
11 checks passed
@manudeli
manudeli deleted the chore/remove-unused-maath branch November 22, 2026 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants