-
-
- {title}
-
-
- {t('sharedConv.subtitle')}{' '}
-
- DocsGPT
-
-
-
- {date}
-
-
-
- {queries?.map((query, index) => {
- return (
-
-
- {prepResponseView(query, index)}
-
- );
- })}
-
+
+ {/* Header section */}
+
+
+
+ {title}
+
+
+ {t('sharedConv.subtitle')}{' '}
+
+ DocsGPT
+
+
+
+ {date}
+
-
- {apiKey ? (
-
-
{
- if (e.key === 'Enter' && !e.shiftKey) {
- e.preventDefault();
- handleQuestionSubmission();
- }
- }}
- >
- {status === 'loading' ? (
-

- ) : (
-
-

-
- )}
-
- ) : (
+ {/* Conditionally render based on API key */}
+ {!apiKey ? (
+
- )}
-
- {t('sharedConv.meta')}
-
-
+
+ {t('sharedConv.meta')}
+
+
+ ) : (
+ <>
+
+
+ {/* Add the textarea input here */}
+
+
+
+
+
+
+
+ {t('tagline')}
+
+
+ >
+ )}
>
);
diff --git a/frontend/src/conversation/conversationSlice.ts b/frontend/src/conversation/conversationSlice.ts
index 4473d3a9..f00eb546 100644
--- a/frontend/src/conversation/conversationSlice.ts
+++ b/frontend/src/conversation/conversationSlice.ts
@@ -265,8 +265,7 @@ export const conversationSlice = createSlice({
return state;
}
state.status = 'failed';
- state.queries[state.queries.length - 1].error =
- 'Something went wrong. Please check your internet connection.';
+ state.queries[state.queries.length - 1].error = 'Something went wrong';
});
},
});
diff --git a/frontend/src/index.css b/frontend/src/index.css
index 88e56469..07760385 100644
--- a/frontend/src/index.css
+++ b/frontend/src/index.css
@@ -501,15 +501,15 @@ input:-webkit-autofill:active {
.dark input:-webkit-autofill:hover,
.dark input:-webkit-autofill:focus,
.dark input:-webkit-autofill:active {
- -webkit-text-fill-color: #E5E7EB !important;
+ -webkit-text-fill-color: #e5e7eb !important;
-webkit-box-shadow: 0 0 0 30px transparent inset !important;
background-color: transparent !important;
- caret-color: #E5E7EB;
+ caret-color: #e5e7eb;
}
/* Additional autocomplete dropdown styles for dark mode */
.dark input:-webkit-autofill::first-line {
- color: #E5E7EB;
+ color: #e5e7eb;
}
.inputbox-style {
diff --git a/frontend/src/modals/ShareConversationModal.tsx b/frontend/src/modals/ShareConversationModal.tsx
index 80d673c4..3fd444ad 100644
--- a/frontend/src/modals/ShareConversationModal.tsx
+++ b/frontend/src/modals/ShareConversationModal.tsx
@@ -138,7 +138,7 @@ export const ShareConversationModal = ({
{status === 'fetched' ? (