Skip to content

Commit 4f89451

Browse files
authored
fix: animation and nodemodule (#167)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Style** - Updated the appearance of the text input area to display a white background in light mode while preserving dark mode styling. - **Bug Fixes** - Enhanced file browsing by filtering out unnecessary directories from view, resulting in a cleaner, more focused listing. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 0fc3f72 commit 4f89451

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

frontend/src/components/root/prompt-form.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export const PromptForm = forwardRef<PromptFormRef, PromptFormProps>(
149149
onFocus={() => setIsFocused(true)}
150150
onBlur={() => setIsFocused(false)}
151151
placeholder=""
152-
className="w-full min-h-[200px] py-6 px-6 pr-12 text-lg border border-transparent rounded-lg focus:outline-none focus:ring-0 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 resize-none font-normal"
152+
className="w-full min-h-[200px] py-6 px-6 pr-12 text-lg border border-transparent rounded-lg focus:outline-none focus:ring-0 bg-white dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 resize-none font-normal"
153153
disabled={isLoading || isRegenerating}
154154
rows={4}
155155
style={{ paddingBottom: '48px' }} // Extra padding at bottom to avoid text touching buttons

frontend/src/utils/file-reader.ts

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export class FileReader {
4545
const items = await fs.readdir(dir, { withFileTypes: true });
4646

4747
for (const item of items) {
48+
if (item.name.includes('node_modules')) continue;
4849
const fullPath = path.join(dir, item.name);
4950
const relativePath = path.relative(this.basePath, fullPath);
5051

0 commit comments

Comments
 (0)