Skip to content

Commit

Permalink
default show chat
Browse files Browse the repository at this point in the history
  • Loading branch information
samlhuillier committed Jan 4, 2024
1 parent ba6748b commit 1b20629
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions electron/main/Files/Filesystem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,6 @@ export function startWatchingDirectory(
path.toLowerCase().endsWith(ext.toLowerCase())
)
) {
console.log(`extensions: `, extensionsToFilterFor);
console.log(`File ${eventType}: ${path}`);
updateFileListForRenderer(win, directory);
}
};
Expand Down
4 changes: 2 additions & 2 deletions src/components/FileEditorContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ const FileEditorContainer: React.FC<FileEditorContainerProps> = ({}) => {
const [editorContent, setEditorContent] = useState<string>("");
const [selectedFilePath, setSelectedFilePath] = useState<string | null>(null);
const lastSavedContentRef = useRef<string>("");
const [showChatbot, setShowChatbot] = useState<boolean>(false);
const [showSimilarFiles, setShowSimilarFiles] = useState<boolean>(false);
const [showChatbot, setShowChatbot] = useState<boolean>(true);
const [showSimilarFiles, setShowSimilarFiles] = useState<boolean>(true);

const onFileSelect = async (path: string) => {
// so here we can save the actual content too\\
Expand Down

0 comments on commit 1b20629

Please sign in to comment.