diff --git a/prisma/migrations/20260422154939_reviewed_at/migration.sql b/prisma/migrations/20260422154939_reviewed_at/migration.sql
new file mode 100644
index 0000000..99a4d0b
--- /dev/null
+++ b/prisma/migrations/20260422154939_reviewed_at/migration.sql
@@ -0,0 +1,2 @@
+-- AlterTable
+ALTER TABLE "miis" ADD COLUMN "reviewedAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP;
diff --git a/prisma/schema.prisma b/prisma/schema.prisma
index 041eb4e..a5ccbae 100644
--- a/prisma/schema.prisma
+++ b/prisma/schema.prisma
@@ -88,7 +88,8 @@ model Mii {
islandName String?
allowedCopying Boolean?
- createdAt DateTime @default(now())
+ createdAt DateTime @default(now())
+ reviewedAt DateTime @default(now())
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
likeCount Int @default(0)
diff --git a/src/app/api/admin/accept-mii/route.ts b/src/app/api/admin/accept-mii/route.ts
index 4c9ad4e..a5fcd78 100644
--- a/src/app/api/admin/accept-mii/route.ts
+++ b/src/app/api/admin/accept-mii/route.ts
@@ -22,6 +22,7 @@ export async function PATCH(request: NextRequest) {
},
data: {
in_queue: false,
+ reviewedAt: new Date(),
},
});
diff --git a/src/components/mii/list/index.tsx b/src/components/mii/list/index.tsx
index 590c72d..d591166 100644
--- a/src/components/mii/list/index.tsx
+++ b/src/components/mii/list/index.tsx
@@ -69,10 +69,8 @@ export default async function MiiList({ searchParams, userId, parentPage }: Prop
...(!quarantined && !userId && { quarantined: false }),
// Time range
...(timeRange && {
- createdAt: {
- gte: new Date(
- Date.now() - { day: 86400000, week: 604800000, month: 2592000000, year: 31536000000 }[timeRange],
- ),
+ reviewedAt: {
+ gte: new Date(Date.now() - { day: 86400000, week: 604800000, month: 2592000000, year: 31536000000 }[timeRange]),
},
}),
};
@@ -146,7 +144,7 @@ export default async function MiiList({ searchParams, userId, parentPage }: Prop
{totalCount === 1 ? "Mii" : "Miis"}
-
+
diff --git a/src/components/submit-form/index.tsx b/src/components/submit-form/index.tsx
index 785c121..d0d9aad 100644
--- a/src/components/submit-form/index.tsx
+++ b/src/components/submit-form/index.tsx
@@ -346,49 +346,26 @@ export default function SubmitForm({ inQueueMiisCount }: Props) {
{/* Makeup (switch only) */}
-
- Face Paint
-
+
Face Paint
-
- {/* Full Makeup */}
-
setMakeup("FULL")}
- aria-label="Full Face Paint"
- data-tooltip="Face covered more than 80%"
- className={`cursor-pointer rounded-xl flex justify-center items-center size-11 text-4xl border-2 transition-all after:bg-pink-400! after:border-pink-400! before:border-b-pink-400! ${
- makeup === "FULL" ? "bg-pink-100 border-pink-400 shadow-md" : "bg-white border-gray-300 hover:border-gray-400"
- }`}
- >
-
-
-
- {/* Partial Makeup */}
-
setMakeup("PARTIAL")}
- aria-label="Partial Face Paint"
- data-tooltip="For at least any face paint"
- className={`cursor-pointer rounded-xl flex justify-center items-center size-11 text-4xl border-2 transition-all after:bg-purple-400! after:border-purple-400! before:border-b-purple-400! ${
- makeup === "PARTIAL" ? "bg-purple-100 border-purple-400 shadow-md" : "bg-white border-gray-300 hover:border-gray-400"
- }`}
- >
-
-
-
- {/* No Makeup */}
-
setMakeup("NONE")}
- aria-label="No Face Paint"
- data-tooltip="No Face Paint"
- className={`cursor-pointer rounded-xl flex justify-center items-center size-11 text-4xl border-2 transition-all after:bg-gray-400! after:border-gray-400! before:border-b-gray-400! ${
- makeup === "NONE" ? "bg-gray-200 border-gray-400 shadow-md" : "bg-white border-gray-300 hover:border-gray-400"
- }`}
- >
-
-
+
+ {[
+ { value: "FULL", label: "Full", desc: "Most of the face/features are covered", color: "pink" },
+ { value: "PARTIAL", label: "Partial", desc: "Small designs that don't cover features, like marks, stickers, etc.", color: "purple" },
+ { value: "NONE", label: "None", desc: "No face paint present.", color: "gray" },
+ ].map(({ value, label, desc, color }) => (
+
setMakeup(value as MiiMakeup)}
+ className={`cursor-pointer rounded-xl text-left px-3 py-2 border-2 transition-all ${
+ makeup === value ? `bg-${color}-100 border-${color}-400 shadow-md` : "bg-white border-gray-300 hover:border-gray-400"
+ }`}
+ >
+ {label}
+ {desc}
+
+ ))}
@@ -507,7 +484,7 @@ export default function SubmitForm({ inQueueMiisCount }: Props) {
- Mii editor may be inaccurate. Instructions are recommended, but not required - you do not have to add every instruction.
+ Mii editor may be inaccurate. Instructions are REALLY recommended, but you do not have to add every instruction.