Skip to content

Commit 0ccf297

Browse files
author
Ryan
committed
fix lint
1 parent d0a3b17 commit 0ccf297

9 files changed

Lines changed: 47 additions & 38 deletions

File tree

frontend/components/Course/InstructorQueuePage/InstructorQueuePage.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ const InstructorQueuePage = (props: InstructorQueuePageProps) => {
105105
{!isConnected && (
106106
<div style={{ paddingTop: "1rem" }}>
107107
<Message warning>
108-
You are not currently connected to {SITE_NAME}. Reconnecting...
108+
You are not currently connected to {SITE_NAME}.
109+
Reconnecting...
109110
</Message>
110111
</div>
111112
)}

frontend/components/Course/InstructorQueuePage/Queue.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,8 @@ const Queue = (props: QueueProps) => {
183183
<Grid.Column>
184184
<Message>
185185
<Message.Header>
186-
A rate-limiting quota is set on this {queueLabel}.
186+
A rate-limiting quota is set on this{" "}
187+
{queueLabel}.
187188
</Message.Header>
188189
<p>
189190
{`A quota of ${queue.rateLimitQuestions} question(s) per ${queue.rateLimitMinutes} minutes(s) ` +

frontend/components/Course/StudentQueuePage/QuestionCard.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ const QuestionCard = (props: QuestionCardProps) => {
9090
}}
9191
>
9292
{question.position !== -1 &&
93-
`Position in ${isAprilFools ? "Stack" : "Queue"}: #${question.position}`}
93+
`Position in ${
94+
isAprilFools ? "Stack" : "Queue"
95+
}: #${question.position}`}
9496
</Header>
9597
</Grid.Column>
9698
<Grid.Column width={6}>

frontend/components/Course/StudentQueuePage/StudentQueuePage.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ const StudentQueuePage = (props: StudentQueuePageProps) => {
4747
{!isConnected && (
4848
<div style={{ paddingTop: "1rem" }}>
4949
<Message warning>
50-
You are not currently connected to {SITE_NAME}. Reconnecting...
50+
You are not currently connected to {SITE_NAME}.
51+
Reconnecting...
5152
</Message>
5253
</div>
5354
)}

frontend/components/Guide/InstructorGuideContent.tsx

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ export const CreateCourse = ({ ref }) => (
99
<h3>Create Your Course</h3>
1010
<Divider />
1111
<p>
12-
Once you log in to {SITE_NAME}, click &apos;Dashboard&apos; on the left,
13-
and then &apos;Create Course&apos; under &apos;Instructor
14-
Courses&apos;. If you do not see this option, please email
15-
contact@ohq.io.
12+
Once you log in to {SITE_NAME}, click &apos;Dashboard&apos; on
13+
the left, and then &apos;Create Course&apos; under
14+
&apos;Instructor Courses&apos;. If you do not see this option,
15+
please email contact@ohq.io.
1616
</p>
1717
<CenteredImage src="/create-course-1.png" alt="Creating a course" />
1818
<br />
@@ -22,18 +22,19 @@ export const CreateCourse = ({ ref }) => (
2222
creating the course.
2323
</p>
2424
<p>
25-
{SITE_NAME} currently supports Zoom, BlueJeans, Google Meet, and Whereby
26-
meetings links. Please email us at contact@ohq.io to request
27-
additional link support.
25+
{SITE_NAME} currently supports Zoom, BlueJeans, Google Meet, and
26+
Whereby meetings links. Please email us at contact@ohq.io to
27+
request additional link support.
2828
</p>
2929
<CenteredImage
3030
src="/create-course-2.png"
3131
alt="Creating a course popup"
3232
/>
3333
<br />
3434
<p>
35-
And that&apos;s it! You&apos;ve created your course on {SITE_NAME}, and
36-
you&apos;re ready to add students and instructors to the course.
35+
And that&apos;s it! You&apos;ve created your course on{" "}
36+
{SITE_NAME}, and you&apos;re ready to add students and
37+
instructors to the course.
3738
</p>
3839
</Segment>
3940
</div>
@@ -67,8 +68,8 @@ export const InviteMembers = ({ ref }) => (
6768
with a Pennkey! For example:
6869
<b>agutmann@upenn.edu</b>. Students or
6970
instructors with alternative email address
70-
formats will not be able to log in to {SITE_NAME}.
71-
🚨
71+
formats will not be able to log in to{" "}
72+
{SITE_NAME}. 🚨
7273
</List.Item>
7374
</List.List>
7475
</List.Item>
@@ -270,9 +271,9 @@ export const Analytics = ({ ref }) => (
270271
<h3>Analytics</h3>
271272
<Divider />
272273
<p>
273-
As an instructor, you can use {SITE_NAME}&apos;s analytics to learn what
274-
your students are asking and assess how you&apos;re performing
275-
in office hours.
274+
As an instructor, you can use {SITE_NAME}&apos;s analytics to
275+
learn what your students are asking and assess how you&apos;re
276+
performing in office hours.
276277
</p>
277278
<p>
278279
As a head TA or professor, analytics can help you predict demand
@@ -302,8 +303,8 @@ export const Settings = ({ ref }) => (
302303
click &apos;Course Settings&apos; in the left menu.
303304
</p>
304305
<p>
305-
To change your account settings, go to the {SITE_NAME} landing page and
306-
click &apos;Account Settings&apos; in the left menu.
306+
To change your account settings, go to the {SITE_NAME} landing
307+
page and click &apos;Account Settings&apos; in the left menu.
307308
</p>
308309
</Segment>
309310
</div>

frontend/components/Guide/StudentGuideContent.tsx

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ export const EnrollCourse = ({ ref }) => (
77
<div ref={ref}>
88
<Segment basic>
99
<h3>Enrolling in a Course</h3>
10-
<p>Courses on {SITE_NAME} are either invite-only or not invite-only.</p>
10+
<p>
11+
Courses on {SITE_NAME} are either invite-only or not
12+
invite-only.
13+
</p>
1114
<p>
1215
If your course is invite-only, reach out to your course&apos;s
1316
teaching team to request an invitation. All they need to invite
@@ -82,15 +85,15 @@ export const Notifications = ({ ref }) => (
8285
enabling notifications when you reach the top of the line!
8386
</p>
8487
<p>
85-
{SITE_NAME} will give you an audio notification ( you&apos;ll hear a
86-
&quot;ding&quot;) when you reach the top of the queue. You can
87-
also enable SMS notifications.
88+
{SITE_NAME} will give you an audio notification ( you&apos;ll
89+
hear a &quot;ding&quot;) when you reach the top of the queue.
90+
You can also enable SMS notifications.
8891
</p>
8992
<p>To enable SMS notifications:</p>
9093
<List bulleted>
9194
<List.Item>
92-
Navigate to the {SITE_NAME} home page, and on the left menu, click
93-
into &quot;Account Settings.&quot;
95+
Navigate to the {SITE_NAME} home page, and on the left menu,
96+
click into &quot;Account Settings.&quot;
9497
</List.Item>
9598
<List.Item>
9699
Check the &quot;Enable SMS Notifications&quot; box, fill in
@@ -182,8 +185,8 @@ export const Settings = ({ ref }) => (
182185
<h3>Settings</h3>
183186
<p>
184187
To change your profile information and notification settings, go
185-
to the {SITE_NAME} landing page and click &apos;Account Setting&apos; in
186-
the left menu.
188+
to the {SITE_NAME} landing page and click &apos;Account
189+
Setting&apos; in the left menu.
187190
</p>
188191
</Segment>
189192
</div>

frontend/components/Guide/index.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ export default function Guide() {
3232
Hi there! 🎉
3333
<br />
3434
<br />
35-
Welcome to {SITE_NAME}, a centralized online office hours system
36-
that helps instructors like you manage office hours
37-
easily and intuitively, so you can focus on teaching and
38-
your students can focus on learning in office hours.
39-
This guide will walk you through using {SITE_NAME}, so your
40-
experience holding office hours can be as easy and
41-
straightforward as possible.
35+
Welcome to {SITE_NAME}, a centralized online office
36+
hours system that helps instructors like you manage
37+
office hours easily and intuitively, so you can focus on
38+
teaching and your students can focus on learning in
39+
office hours. This guide will walk you through using{" "}
40+
{SITE_NAME}, so your experience holding office hours can
41+
be as easy and straightforward as possible.
4242
</p>
4343
<Menu attached="top" tabular>
4444
<Menu.Item

frontend/components/common/AboutModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ const AboutModal = (props: AboutModalProps) => {
1010
return (
1111
<Modal open={open} style={{ width: "350px" }}>
1212
<Modal.Content>
13-
{SITE_NAME} is maintained by Penn Labs and was originally built by
14-
Steven Bursztyn, Chris Fischer, Monal Garg, Karen Shen, and
13+
{SITE_NAME} is maintained by Penn Labs and was originally built
14+
by Steven Bursztyn, Chris Fischer, Monal Garg, Karen Shen, and
1515
Marshall Vail
1616
<br />
1717
<br />

frontend/tsconfig.tsbuildinfo

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)