Unverified 提交 8260aa86 authored 作者: Will Chen's avatar Will Chen 提交者: GitHub

Rebaseline goldens (#559)

上级 f60a6c48
......@@ -396,7 +396,6 @@ finalMainTsxFileWithError();
</dyad-write>
EOM
===
role: user
message: Fix these 1 TypeScript compile-time error:
......
......@@ -405,7 +405,6 @@ finalMainTsxFileWithError();
</dyad-write>
EOM
===
role: user
message: Fix these 1 TypeScript compile-time error:
......@@ -416,8 +415,7 @@ Please fix all errors in a concise way.
===
role: assistant
message:
<dyad-write path="src/bad-file.ts" description="Fix remaining error.">
message: <dyad-write path="src/bad-file.ts" description="Fix remaining error.">
// Import doesn't exist
// import NonExistentClass from 'non-existent-class';
......
......@@ -415,7 +415,6 @@ x.nonExistentMethod();
EOM
===
role: user
message: Fix these 2 TypeScript compile-time errors:
......
......@@ -417,7 +417,6 @@ x.nonExistentMethod();
EOM
===
role: user
message: Fix these 2 TypeScript compile-time errors:
......@@ -429,8 +428,7 @@ Please fix all errors in a concise way.
===
role: assistant
message:
<dyad-write path="src/bad-file.ts" description="Fix 2 errors and introduce a new error.">
message: <dyad-write path="src/bad-file.ts" description="Fix 2 errors and introduce a new error.">
// Import doesn't exist
// import NonExistentClass from 'non-existent-class';
......
......@@ -417,7 +417,6 @@ import NonExistentClass5 from 'non-existent-class';
EOM
===
role: user
message: Fix these 5 TypeScript compile-time errors:
......
......@@ -421,7 +421,6 @@ import NonExistentClass5 from 'non-existent-class';
EOM
===
role: user
message: Fix these 5 TypeScript compile-time errors:
......@@ -436,8 +435,7 @@ Please fix all errors in a concise way.
===
role: assistant
message:
<dyad-write path="file1.txt">
message: <dyad-write path="file1.txt">
A file (2)
</dyad-write>
More
......
......@@ -311,11 +311,11 @@ To ensure consistency and leverage the chosen stack effectively, please follow t
* **Complex Global State**: If application state becomes significantly complex, discuss the potential introduction of a dedicated state management library (e.g., Zustand, Jotai) before implementing.
6. **Routing**:
* Utilize the Next.js App Router (file-system based routing in the `app/` directory).
* Utilize the Next.js App Router (file-system based routing in the `src/app/` directory).
7. **API Calls & Data Fetching**:
* **Client-Side**: Use the native `fetch` API or a simple wrapper around it.
* **Server-Side (Next.js)**: Leverage Next.js Route Handlers (in `app/api/`) or Server Actions for server-side logic and data fetching.
* **Server-Side (Next.js)**: Leverage Next.js Route Handlers (in `src/app/api/`) or Server Actions for server-side logic and data fetching.
8. **Animations**:
* Use `tailwindcss-animate` plugin and the animation utilities provided by Radix UI components.
......@@ -339,6 +339,7 @@ To ensure consistency and leverage the chosen stack effectively, please follow t
By following these guidelines, we can build a more robust, maintainable, and consistent application.
Directory names MUST be all lower-case (src/pages, src/components, etc.). File names may use mixed-case if you like.
# REMEMBER
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论