-
Notifications
You must be signed in to change notification settings - Fork 2
Feature/statuses #291
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
base: main
Are you sure you want to change the base?
Feature/statuses #291
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
prettier
[prettier] reported by reviewdog 🐶
| background-color: rgba(theme.$light-green, 0.69); |
[prettier] reported by reviewdog 🐶
zothacks-site/apps/site/src/app/portal/components/StatusIndicator.module.scss
Lines 16 to 25 in afdcbb1
| border: 5px solid theme.$dark-green; | |
| border-radius: 30px; | |
| padding: 30px 40px; | |
| width: 100%; | |
| box-sizing: border-box; | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| font-size: 1.3rem; | |
| color: theme.$off-white; |
[prettier] reported by reviewdog 🐶
zothacks-site/apps/site/src/app/portal/components/StatusIndicator.module.scss
Lines 27 to 30 in afdcbb1
| p { | |
| margin: 0; | |
| } | |
| } |
[prettier] reported by reviewdog 🐶
| export default function StatusIndicator({ icon, dark, children }: StatusIndicatorProps) { |
[prettier] reported by reviewdog 🐶
| <div className={styles.indicator + " " + (dark ? styles.dark : styles.light)}> |
[prettier] reported by reviewdog 🐶
[prettier] reported by reviewdog 🐶
| display: flex; | |
| flex-direction: column; | |
| gap: 16px; |
[prettier] reported by reviewdog 🐶
| h2 { | |
| font-size: 2.5rem; | |
| color: theme.$white; | |
| } | |
| } |
[prettier] reported by reviewdog 🐶
| import { Status, Decision, ReviewStatus, PostAcceptedStatus } from "@/lib/userRecord"; |
[prettier] reported by reviewdog 🐶
| status: Status; |
[prettier] reported by reviewdog 🐶
zothacks-site/apps/site/src/app/portal/components/Timeline.tsx
Lines 15 to 38 in afdcbb1
| return ( | |
| <div className={styles.statusWrapper}> | |
| {(Object.values(Decision).includes(status as Decision) || status === Status.Signed || status === Status.Confirmed) && ( | |
| <StatusIndicator icon={check} dark={true}>Application Submitted</StatusIndicator> | |
| )} | |
| {(status === Status.Accepted || status === Status.Signed || status === Status.Confirmed) && (<> | |
| <StatusIndicator icon={check} dark={true}>Application Accepted</StatusIndicator> | |
| <StatusIndicator icon={dots} dark={status === Status.Signed || status === Status.Confirmed}>Waiver Signed</StatusIndicator> | |
| <StatusIndicator icon={dots} dark={status === Status.Confirmed}>Attendance Confirmed</StatusIndicator> | |
| </>)} | |
| {status === Status.Waitlisted && ( | |
| <StatusIndicator icon={dots} dark={true}>Waitlisted</StatusIndicator> | |
| )} | |
| {status === Status.Rejected && ( | |
| <StatusIndicator icon={x} dark={true}>Application Rejected</StatusIndicator> | |
| )} | |
| </div> | |
| ); | |
| } |
|
Deploy preview for zothacks-site-2023 ready!
|
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…cks-site into feature/statuses Resolve minor formatting differences between branches
IanWearsHat
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Noah, I have a few comments on the frontend.

This PR resolves #244.
/apps/site/src/app/portal/confirmation