mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-08-03 05:34:03 +02:00
stopgap: clarify text on standard answer page for improved UX (#2122)
* stopgap: clarify text on standard answer page for improved UX * replce apostrophe * using tailwind: --------- Co-authored-by: Jos Van der westhuizen <jos@danser.ai>
This commit is contained in:
@@ -295,6 +295,16 @@ const StandardAnswersTable = ({
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{paginatedStandardAnswers.length > 0 && (
|
{paginatedStandardAnswers.length > 0 && (
|
||||||
|
<>
|
||||||
|
<div className="mt-4">
|
||||||
|
<Text>
|
||||||
|
Ensure that you have added the category to the relevant{" "}
|
||||||
|
<a className="text-link" href="/admin/bot">
|
||||||
|
Slack bot
|
||||||
|
</a>
|
||||||
|
.
|
||||||
|
</Text>
|
||||||
|
</div>
|
||||||
<div className="mt-4 flex justify-center">
|
<div className="mt-4 flex justify-center">
|
||||||
<PageSelector
|
<PageSelector
|
||||||
currentPage={currentPage}
|
currentPage={currentPage}
|
||||||
@@ -303,6 +313,7 @@ const StandardAnswersTable = ({
|
|||||||
shouldScroll={true}
|
shouldScroll={true}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
</>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -356,8 +367,10 @@ const Main = () => {
|
|||||||
{popup}
|
{popup}
|
||||||
|
|
||||||
<Text className="mb-2">
|
<Text className="mb-2">
|
||||||
Here you can manage the standard answers that are used to answer
|
Manage the standard answers for pre-defined questions.
|
||||||
questions based on keywords or phrases.
|
<br />
|
||||||
|
Note: Currently, only questions asked from Slack can receive standard
|
||||||
|
answers.
|
||||||
</Text>
|
</Text>
|
||||||
{standardAnswers.length == 0 && (
|
{standardAnswers.length == 0 && (
|
||||||
<Text className="mb-2">Add your first standard answer below!</Text>
|
<Text className="mb-2">Add your first standard answer below!</Text>
|
||||||
|
Reference in New Issue
Block a user