mirror of
https://github.com/walkxcode/dashboard-icons.git
synced 2025-11-19 18:11:14 +01:00
feat(dashboard): add experimental warning to submissions dashboard
Add ExperimentalWarning component to dashboard page to inform users that the submissions system is in experimentation phase. Warns that submissions won't be reviewed or processed during this phase.
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
"use client"
|
"use client"
|
||||||
|
|
||||||
import { AlertCircle, RefreshCw } from "lucide-react"
|
import { AlertCircle, RefreshCw } from "lucide-react"
|
||||||
|
import { ExperimentalWarning } from "@/components/experimental-warning"
|
||||||
import { SubmissionsDataTable } from "@/components/submissions-data-table"
|
import { SubmissionsDataTable } from "@/components/submissions-data-table"
|
||||||
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert"
|
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert"
|
||||||
import { Button } from "@/components/ui/button"
|
import { Button } from "@/components/ui/button"
|
||||||
@@ -104,6 +105,7 @@ export default function DashboardPage() {
|
|||||||
// Success state
|
// Success state
|
||||||
return (
|
return (
|
||||||
<main className="container mx-auto pt-12 pb-14 px-4 sm:px-6 lg:px-8">
|
<main className="container mx-auto pt-12 pb-14 px-4 sm:px-6 lg:px-8">
|
||||||
|
<ExperimentalWarning message="The submissions dashboard is currently in an experimentation phase. Submissions will not be reviewed or processed at this time. We're gathering feedback to improve the experience." />
|
||||||
<Card className="bg-background/50 border-none shadow-lg">
|
<Card className="bg-background/50 border-none shadow-lg">
|
||||||
<CardHeader>
|
<CardHeader>
|
||||||
<CardTitle>Submissions Dashboard</CardTitle>
|
<CardTitle>Submissions Dashboard</CardTitle>
|
||||||
|
|||||||
Reference in New Issue
Block a user