🔐 Admin Login
Only users in public.admins can manage categories, stores, and deals.
Manage deals, categories, homepage groups, stores and email in one clean workspace.
This rebuild follows the new dashboard style, while keeping the original admin hooks, IDs, forms, Supabase actions, chart analytics and moderation flow untouched.
Dashboard overview
Fresh visual shell from the new dashboard, with the old stats cards, click chart and analytics boxes kept in place.
📊 Deal Dashboard
Clicks by Day
Pro Click Analytics
Top Deals
UTM Source
UTM Campaign
Clicks by Source
Deal manager
Keep your existing deal create/edit/delete flow, taxonomy helper, previews, counts, comment moderation and affiliate detail links.
💸 Deal Manager
➕ Add Deal
📋 Deals
Categories & groups
Manage slugs, names, icons, presets and active state with the original group logic still wired to the same DOM IDs.
🗂️ Manage Groups / Categories
Create your category/group list here (health, computer, electric, apparel, beauty, apple, autos, costco, walmart, super hot deal...). You can add more groups, edit existing ones, or delete unused groups. These will appear in the Categories dropdown on the homepage, and the homepage group sections will render from top to bottom by Sort Order.
🧩 30 Category Presets
deal_groups and provides matching subcategory + tag helpers for homepage/menu/admin/deal.📚 Current Category List
Homepage display order
Control which group blocks appear on the main homepage, and in what order, without changing any of the existing table logic.
🪟 Homepage Index Display Groups
This area only controls which group blocks appear on the main index homepage. Delete here = remove from homepage display only. It does not delete the category/group inside Admin.
Store manager
Keep the same store CRUD flow and presets, but inside the redesigned admin shell.
🏪 Manage Stores
Add store options for the Store dropdown (Costco, Walmart, Amazon, Apple...). You can still type a custom store when adding a deal.
🛍️ 23 Store Presets
deal_stores without changing your current DB schema.🏬 Current Store List
Email center
All email search, reload and send actions stay unchanged. Only the presentation has been reorganized into its own pane.