Grapevine_Disease_Detection/vineye-admin
Yanis af767879e3 feat(admin/users): bannedReason textarea on user detail page
Adds a Textarea below the ban Switch that lets the admin write the reason
shown to the mobile user in the BannedModal. The reason is persisted on
blur via PATCH /api/users/[id] (existing route), and only rendered when
the user is currently banned to keep the UI tight.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-01 12:10:23 +02:00
..
app feat(admin/users): bannedReason textarea on user detail page 2026-05-01 12:10:23 +02:00
components add MyPlantsScreen + ScanDetailScreen + enriched admin + API mobile + project summary 2026-04-09 03:19:39 +02:00
lib feat(api/mobile): auth sync/me/sign-out + scans + bearer plugin 2026-05-01 12:02:45 +02:00
prisma feat(mobile): UI overhaul + ML pipeline + Android build fixes 2026-04-30 21:00:03 +02:00
public add MyPlantsScreen + ScanDetailScreen + enriched admin + API mobile + project summary 2026-04-09 03:19:39 +02:00
.gitignore add vineye-admin dashboard (Next.js) 2026-04-03 11:22:01 +02:00
AGENTS.md add vineye-admin dashboard (Next.js) 2026-04-03 11:22:01 +02:00
CLAUDE.md add vineye-admin dashboard (Next.js) 2026-04-03 11:22:01 +02:00
components.json add vineye-admin dashboard (Next.js) 2026-04-03 11:22:01 +02:00
eslint.config.mjs add vineye-admin dashboard (Next.js) 2026-04-03 11:22:01 +02:00
middleware.ts feat(api/mobile): auth sync/me/sign-out + scans + bearer plugin 2026-05-01 12:02:45 +02:00
next.config.ts add MyPlantsScreen + ScanDetailScreen + enriched admin + API mobile + project summary 2026-04-09 03:19:39 +02:00
package.json add vineye-admin dashboard (Next.js) 2026-04-03 11:22:01 +02:00
pnpm-lock.yaml add vineye-admin dashboard (Next.js) 2026-04-03 11:22:01 +02:00
pnpm-workspace.yaml add vineye-admin dashboard (Next.js) 2026-04-03 11:22:01 +02:00
postcss.config.mjs add vineye-admin dashboard (Next.js) 2026-04-03 11:22:01 +02:00
prisma.config.ts add MyPlantsScreen + ScanDetailScreen + enriched admin + API mobile + project summary 2026-04-09 03:19:39 +02:00
README.md add vineye-admin dashboard (Next.js) 2026-04-03 11:22:01 +02:00
tsconfig.json add vineye-admin dashboard (Next.js) 2026-04-03 11:22:01 +02:00

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.