Skip to content

Commit 36bda5b

Browse files
Merge branch 'TanStack:main' into tabs-fix
2 parents db82b71 + 40400dd commit 36bda5b

63 files changed

Lines changed: 8318 additions & 845 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

AGENTS.md

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -156,34 +156,41 @@ Since `listRoles` is wrapped in `createServerFn`, TanStack Start will properly h
156156

157157
## Development & Build Commands
158158

159-
### Use `build` for Testing Build Output
159+
### Don't Build After Every Change
160160

161-
**The `dev` command does not end - it runs indefinitely in watch mode.**
161+
**Do not run builds after every change, especially for visual changes.**
162162

163-
When agents need to test build output or verify that the project builds successfully, use the `build` command instead of `dev`. The `build` command will complete and exit, making it suitable for automated testing and verification.
163+
This is a visual website, not a library. Assume changes work unless the user reports otherwise. Running builds after every change wastes time and context.
164164

165-
### Testing Limitations
165+
### Debugging Visual Issues
166166

167-
**Agents cannot run end-to-end tests without a headless browser.**
167+
When the user reports something doesn't work or look right:
168168

169-
This is a TanStack Start application that requires a browser environment to fully test. Agents can:
169+
1. Use the Playwright MCP to view the page and debug visually
170+
2. Use builds (`pnpm build`) only when investigating build/bundler issues
171+
3. Use TypeScript compilation (`pnpm tsc --noEmit`) for type errors
170172

171-
- ✅ Run TypeScript compilation (`pnpm tsc --noEmit`) to check for type errors
172-
- ✅ Run the build command (`pnpm build`) to verify the project builds successfully
173-
- ✅ Inspect build output and generated files
173+
### Use `build` for Build-Specific Issues
174174

175-
Agents cannot:
175+
**The `dev` command does not end, it runs indefinitely in watch mode.**
176176

177-
- ❌ Start the dev server and interact with the application (no headless browser)
178-
- ❌ Test UI functionality or user interactions
179-
- ❌ Verify runtime behavior in the browser
180-
- ❌ Test API endpoints that require browser context
177+
Only use `build` when:
181178

182-
For runtime testing and verification, developers should:
179+
- Investigating bundler or build-time errors
180+
- Verifying production output
181+
- The user specifically asks to verify the build
183182

184-
1. Review the code changes
185-
2. Start the dev server manually (`pnpm dev`)
186-
3. Test the functionality in a browser
183+
### Testing with Playwright
184+
185+
**Use the Playwright MCP for visual debugging and verification.**
186+
187+
When debugging issues or verifying visual changes work correctly:
188+
189+
- Navigate to the relevant page using Playwright
190+
- Take snapshots or screenshots to verify the UI
191+
- Interact with elements to test functionality
192+
193+
This is the preferred method for verifying visual changes since this is a visual site.
187194

188195
## UI Style Guide 2026
189196

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"@tanstack/react-start": "1.141.8",
4545
"@tanstack/react-table": "^8.21.3",
4646
"@types/d3": "^7.4.3",
47+
"@uploadthing/react": "^7.3.3",
4748
"@visx/hierarchy": "^2.10.0",
4849
"@visx/responsive": "^2.10.0",
4950
"@vitejs/plugin-react": "^4.3.3",
@@ -65,6 +66,7 @@
6566
"react": "^19.2.0",
6667
"react-colorful": "^5.6.1",
6768
"react-dom": "^19.2.0",
69+
"react-easy-crop": "^5.5.6",
6870
"react-instantsearch": "7",
6971
"rehype-autolink-headings": "^7.1.0",
7072
"rehype-callouts": "^2.1.2",
@@ -80,6 +82,7 @@
8082
"tailwind-merge": "^1.14.0",
8183
"unified": "^11.0.5",
8284
"unist-util-visit": "^5.0.0",
85+
"uploadthing": "^7.7.4",
8386
"vite-bundle-analyzer": "^1.2.1",
8487
"vite-tsconfig-paths": "^5.0.1",
8588
"zod": "^4.0.17",

0 commit comments

Comments
 (0)