Skip to content
Merged
Show file tree
Hide file tree
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
7 changes: 0 additions & 7 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,7 @@ Open items as of 2026-09-06. Delete a line when it is done.

## Housekeeping

- [ ] **5 pre-existing lint errors**, all `import/consistent-type-specifier-style`:
`app/HomePageClient.tsx`, `app/projects/ProjectsPageClient.tsx`,
`components/admin/hackathons/RegistrationControls.tsx`,
`lib/club-projects.test.ts`. `eslint --fix` clears them; kept out of the
p99 commits to keep those diffs readable.
- [ ] **Confirm the `/events` staleness call.** The page was `force-dynamic` and
is now `revalidate = 300`, matching `/projects`. `proxy.ts` already serves
that path `max-age=3600`, so nobody could observe the old freshness — but
it was an explicit choice, so it is worth a second opinion.
- [ ] **`nul`** — a 0-byte file at the repo root from a stray `> nul` redirect.
Gitignored, inert, deletable.
9 changes: 7 additions & 2 deletions sites/mainweb/app/(portal)/judge/register/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client";

import React, { useEffect, useState } from "react";
import { useRouter } from "next/navigation";
import { useRouter, useSearchParams } from "next/navigation";
import { useSession } from "next-auth/react";
import { trpc } from "@/lib/trpc";
import { LiquidGlass } from "@/components/portal/LiquidGlass";
Expand Down Expand Up @@ -41,7 +41,12 @@ export default function JudgeRegisterPage() {
});

// Form State
const [hackathonId, setHackathonId] = useState("");
// /judge links here with the edition already chosen; starting step 0 empty
// made the judge pick it again.
const searchParams = useSearchParams();
const [hackathonId, setHackathonId] = useState(
() => searchParams.get("hackathonId") ?? "",
);
const [preferredTrack, setPreferredTrack] = useState("");
const [name, setName] = useState("");
const [email, setEmail] = useState("");
Expand Down
2 changes: 2 additions & 0 deletions sites/mainweb/app/(portal)/submit/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,7 @@ function SubmitPortalContent() {
<div className="pt-2 space-y-3">
<input
type="text"
aria-label="Team name"
placeholder="Awesome Team Name"
value={teamName}
onChange={(e) => setTeamName(e.target.value)}
Expand Down Expand Up @@ -460,6 +461,7 @@ function SubmitPortalContent() {
<div className="space-y-3">
<input
type="text"
aria-label="Invite ID"
placeholder="Paste Invite ID…"
value={joinTeamId}
onChange={(e) => setJoinTeamId(e.target.value)}
Expand Down
5 changes: 4 additions & 1 deletion sites/mainweb/app/docs/DocsPageClient.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,10 @@ export default function DocsPageClient() {
</div>
<div className="flex items-center gap-4">
<Link
href="#"
href="https://github.com/DataScience-GT"
target="_blank"
rel="noopener noreferrer"
aria-label="DSGT on GitHub"
className="text-gray-500 transition-colors hover:text-white"
>
<svg
Expand Down
Loading