Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added tools section to EditorHelpers page #750

Merged
merged 2 commits into from
Jul 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 25 additions & 3 deletions app/routes/editors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const DownloadQuestions = ({title, type, questions}: DownloadQuestionsProps) =>
<div className="padding-top-32">
<h4>{title}</h4>
{Object.entries(downloadOptions).map(([id, label]) => (
<div key={id}>
<div key={id} className="padding-left-8">
<input
type="radio"
id={id}
Expand All @@ -85,7 +85,7 @@ const DownloadQuestions = ({title, type, questions}: DownloadQuestionsProps) =>
value={id}
onChange={(e) => setSelectedOption(e.target.id)}
/>
<label htmlFor={id} onClick={() => setSelectedOption(id)}>
<label className="padding-left-8" htmlFor={id} onClick={() => setSelectedOption(id)}>
{label}
</label>
</div>
Expand Down Expand Up @@ -118,7 +118,7 @@ export default function EditorHelpers() {

return (
<Page noFooter>
<div className="page-body full-height padding-top-32">
<div className="page-body full-height padding-top-32 padding-bottom-128">
{(!questions || !questions.length) && <div>Fetching questions...</div>}
<DownloadQuestions title="Download all questions" questions={questions} type="all" />
<DownloadQuestions
Expand All @@ -131,6 +131,28 @@ export default function EditorHelpers() {
type="inProgress"
questions={questions?.filter((q) => q.status !== QuestionStatus.LIVE_ON_SITE)}
/>
<div className="padding-top-32">
<h4>Tools</h4>
<div>
<ul>
<li>
<a
className="teal-500"
target="_blank"
href="https://coda.io/d/AI-Safety-Info_dfau7sl2hmG"
rel="noreferrer"
>
Coda
</a>
</li>
<li>
<a className="teal-500" target="_blank" href="https://ardmap.com" rel="noreferrer">
Map of Alignment Research Dataset
</a>
</li>
</ul>
</div>
</div>
</div>
</Page>
)
Expand Down
Loading