From 7dcc0c2cc48454aca00164fc0ee9c4acd8ced9b3 Mon Sep 17 00:00:00 2001 From: nin0 Date: Sat, 24 May 2025 20:00:39 -0400 Subject: [PATCH] internal corporate restructuring (90% of our engineer team has been laid off and replaced by Grok) --- src/components/ApplicationContent.tsx | 2 +- src/components/PendingApplicationMessage.tsx | 158 ++++++++++--------- src/index.ts | 10 +- src/joinRequestActions/interview.ts | 37 +++++ src/{ => joinRequestActions}/lockUnlock.tsx | 13 +- src/joinRequestHandler.tsx | 35 ++-- src/{ => utils}/database.ts | 0 src/utils/rejectReasons.ts | 23 +++ src/{ => utils}/selfappReq.ts | 0 src/{ => utils}/types.ts | 0 src/{ => utils}/utils.ts | 2 +- 11 files changed, 184 insertions(+), 96 deletions(-) create mode 100644 src/joinRequestActions/interview.ts rename src/{ => joinRequestActions}/lockUnlock.tsx (76%) rename src/{ => utils}/database.ts (100%) create mode 100644 src/utils/rejectReasons.ts rename src/{ => utils}/selfappReq.ts (100%) rename src/{ => utils}/types.ts (100%) rename src/{ => utils}/utils.ts (95%) diff --git a/src/components/ApplicationContent.tsx b/src/components/ApplicationContent.tsx index 97a14c8..1ae1ac3 100644 --- a/src/components/ApplicationContent.tsx +++ b/src/components/ApplicationContent.tsx @@ -1,5 +1,5 @@ import { TextDisplay } from "components-jsx/TextDisplay"; -import { Response } from "~/types"; +import { Response } from "~/utils/types"; export function ApplicationContent(props: { response: Response; diff --git a/src/components/PendingApplicationMessage.tsx b/src/components/PendingApplicationMessage.tsx index e5f6565..80ebe71 100644 --- a/src/components/PendingApplicationMessage.tsx +++ b/src/components/PendingApplicationMessage.tsx @@ -5,16 +5,19 @@ import { Container } from "components-jsx/Container"; import { Divider } from "components-jsx/Divider"; import { TextDisplay } from "components-jsx/TextDisplay"; import { ButtonStyles, User as OUser } from "oceanic.js"; -import { Response } from "~/types"; +import { Response } from "~/utils/types"; import { User } from "./User"; import { Constants } from "~/Constants"; import { ApplicationContent } from "./ApplicationContent"; +import { StringSelect } from "components-jsx/StringSelect"; +import { rejectReasons } from "~/utils/rejectReasons"; export function PendingApplicationMessage(props: { id: string; user: OUser; response: Response; locked?: boolean; + threadID: string; }) { const { id, user, response } = props; const locked = props.locked || false; @@ -30,83 +33,84 @@ export function PendingApplicationMessage(props: { - - - - ### Details -
- {response.details} -
- - - - - - - - - - - - - + + +