Skip to content

Commit 34024a0

Browse files
committed
fix a few issues
1 parent 1b4e998 commit 34024a0

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

backend/app/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def explain_topic():
141141
loop = asyncio.new_event_loop()
142142
asyncio.set_event_loop(loop)
143143

144-
print("Initializing AI processor with Gemini model")
144+
# print("Initializing AI processor with Gemini model")
145145
# Use Gemini for explanations
146146
explanation = loop.run_until_complete(
147147
ai_processor.process_topics(

src/components/TopicRefiner.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,8 @@ export const TopicRefiner: FC<Omit<TopicRefinerProps, 'isLlmProcessing'>> = ({
214214
<button
215215
className="btn btn-sm btn-success"
216216
style={{ width: 32, height: 32, display: 'flex', alignItems: 'center', justifyContent: 'center', padding: 0 }}
217-
onClick={() => moveToLeftColumn(topic)}
218-
title="Remove from finalized topics"
217+
disabled
218+
title="Topic added"
219219
>
220220
<Check size={16} />
221221
</button>

src/views/HomeView.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import cx from "classnames";
21
import React, { FC, useEffect, useState } from "react";
32
import { useLocation, useNavigate } from "react-router";
43
import { FaArrowRight, FaSearch } from "react-icons/fa";
@@ -57,7 +56,7 @@ const HomeView: FC = () => {
5756
</span>
5857
</h1>
5958
<h2 className="h5 mb-4" style={{ maxWidth: "500px", margin: "0 auto" }}>
60-
Discover and explore domain-specific scientific software using large scale graphs
59+
Discover and explore research software using large scale graphs
6160
</h2>
6261

6362
{/* Wrap the search bar in a form to handle Enter key submission */}
@@ -87,15 +86,15 @@ const HomeView: FC = () => {
8786
<input
8887
type="text"
8988
className="form-control border-0"
90-
placeholder="Search scientific software topics..."
89+
placeholder="Type topic (spaces become dashes)"
9190
style={{
9291
boxShadow: "none",
9392
fontSize: "1rem",
9493
padding: "0.75rem",
9594
backgroundColor: "transparent", // Transparent input background
9695
}}
9796
value={searchTerm}
98-
onChange={(e) => setSearchTerm(e.target.value)}
97+
onChange={(e) => setSearchTerm(e.target.value.replace(/\s+/g, '-'))}
9998
/>
10099
<button
101100
type="submit"

start.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,5 @@ fi
4242
# Start the frontend development server
4343
echo "Starting frontend server..."
4444
cd ../..
45+
npm run build
4546
npm start

0 commit comments

Comments
 (0)