Small website fixes

This commit is contained in:
AbdBarho
2023-01-16 19:22:04 +01:00
parent ad1bd77039
commit 6c01205b52
14 changed files with 21 additions and 21 deletions
+5 -2
View File
@@ -11,6 +11,8 @@ import {
} from "@chakra-ui/react";
import React, { ReactNode } from "react";
const killEvent = (e) => e.stopPropagation();
export const CollapsableText = ({
text,
maxLength = 220,
@@ -44,8 +46,9 @@ export const CollapsableText = ({
</Button>
</span>
<Modal isOpen={isOpen} onClose={onClose} size="xl" scrollBehavior={"inside"}>
<ModalOverlay style={{ width: "100%", height: "100%" }}>
<ModalContent maxH="400">
{/* we kill the event here to disable drag and drop, since it is in the same container */}
<ModalOverlay onMouseDown={killEvent}>
<ModalContent alignItems="center">
<ModalHeader>Full Text</ModalHeader>
<ModalCloseButton />
<ModalBody>{text}</ModalBody>
@@ -8,7 +8,7 @@ import useSWRImmutable from "swr/immutable";
const columns = [
{
Header: "Rank",
accessor: (item: LeaderboardEntity, rowIndex: number) => "#" + item.rank,
accessor: "rank",
style: { width: "90px" },
},
{
+1 -1
View File
@@ -51,7 +51,7 @@ const Roadmap = () => {
</div>
<h4 className="font-bold text-xl text-[#858585] text-center max-w-[10rem]">Growing Up</h4>
<ul className="ml-6 md:ml-8 lg:ml-6 space-y-4 text-[#858585] list-disc">
<li>Third-Party Extentions</li>
<li>Third-Party Extensions</li>
<li>Device Control</li>
<li>Multi-Modality</li>
</ul>
@@ -28,7 +28,7 @@ const label_messages: { [label: string]: { description: string; explanation: str
explanation: [
'We consider the following unwanted content as spam: trolling, intentional undermining of our purpose, illegal material, material that violates our code of conduct, and other things that are inappropriate for our dataset. We collect these under the common heading of "spam".',
"This is not an assessment of whether this message is the best possible answer. Especially for prompts or user-replies, we very much want to retain all kinds of responses in the dataset, so that the assistant can learn to reply appropriately.",
"Please mark this text as spam only if it is clearly unsuited to be part of our dataset, as outlined above, and try not to make any subjective value-judgements beyond that.",
"Please mark this text as spam only if it is clearly unsuited to be part of our dataset, as outlined above, and try not to make any subjective value-judgments beyond that.",
],
},
};
+4 -4
View File
@@ -91,7 +91,7 @@ export const TaskTypes: TaskInfo[] = [
unchanged_title: "Order Unchanged",
unchanged_message: "You have not changed the order of the prompts. Are you sure you would like to continue?",
},
// label (fuill)
// label (full)
{
label: "Label Initial Prompt",
desc: "Provide labels for a prompt.",
@@ -107,7 +107,7 @@ export const TaskTypes: TaskInfo[] = [
desc: "Provide labels for a prompt.",
category: TaskCategory.Label,
pathname: "/label/label_prompter_reply",
overview: "Given the following discussion, provide labels for the final promp",
overview: "Given the following discussion, provide labels for the final prompt",
type: "label_prompter_reply",
mode: "full",
update_type: "text_labels",
@@ -138,7 +138,7 @@ export const TaskTypes: TaskInfo[] = [
desc: "Provide labels for a prompt.",
category: TaskCategory.Label,
pathname: "/label/label_prompter_reply",
overview: "Read the following conversation and then answer the question about the last prompt in the disscusion.",
overview: "Read the following conversation and then answer the question about the last prompt in the discussion.",
type: "label_prompter_reply",
mode: "simple",
update_type: "text_labels",
@@ -148,7 +148,7 @@ export const TaskTypes: TaskInfo[] = [
desc: "Provide labels for a prompt.",
category: TaskCategory.Label,
pathname: "/label/label_assistant_reply",
overview: "Read the following conversation and then answer the question about the last prompt in the disscusion.",
overview: "Read the following conversation and then answer the question about the last prompt in the discussion.",
type: "label_assistant_reply",
mode: "simple",
update_type: "text_labels",