| ← All Docs Roadmap

Roadmap

Planning Last updated: September 2026

A complete view of what has shipped and what comes next, organized by completion status and priority.

Completed Features

All features below are live in production as of AquaDealers v3.0.0.

Core Billing & Inventory

Farmer & Supplier Management

Multi-branch & Staff

Financials & Reports

Communication & Platform

Recommended Next

Prioritized backlog ranked by impact and urgency. Effort estimates: Low = days, Medium = 1-2 weeks, High = 2+ weeks.

P0 — Critical Security

These items address active security vulnerabilities and should be resolved before any feature work.
#ItemEffortNotes
1Rotate leaked service role keyLowKey is in scripts/migrate/.env.migration. Rotate in Supabase dashboard, update deploy scripts.
2Add RLS to farmer_return_credit_applicationsLowTable was created without ENABLE ROW LEVEL SECURITY. Single migration.
3Remove anon grants on admin RPCsLowAll admin_* functions currently callable by unauthenticated users.

P1 — High Impact

#ItemEffortNotes
1Server-side PDF generationMediumEliminate 3-5s mobile freeze from html2canvas. Edge function with Puppeteer or similar.
2Server-side report aggregationMediumFix unbounded queries in reportsService.ts. New aggregate RPCs for monthly reports.
3Round-off field on billsLowIndian dealers round to nearest rupee. Add round_off column to bills table.
4Admin login rate limitingLowNo brute-force protection on admin auth. Add rate limit trigger similar to staff.
5Restrict storage bucket accessLowfarmer-profiles and product-images buckets are public. Switch to authenticated policies.

P2 — Useful

#ItemEffortNotes
1Batch WhatsApp dues remindersMediumSend dues reminders to all farmers with outstanding balance in one action.
2Profit per product reportMediumBreakdown FIFO COGS by product/category.
3Harvest-timed collection remindersMediumTrigger reminders based on farmer stocking_date and typical crop cycle.
4Farmer risk scoring UIMediumVisualize payment history patterns. Data already exists in ledger.
5Dark mode supportMediumCurrently hardcoded color-scheme: light. Needs token remap.
6WhatsApp delivery webhooksHighReplace polling with authkey.io webhook callbacks for real-time status.
7Server-side staff permission enforcementHighCurrent staff permissions are client-side only. Add RPC-level checks.

P3 — Nice to Have

#ItemEffortNotes
1Tablet-specific layoutsMedium768-1024px currently gets mobile layout. Dedicated breakpoint needed.
2Barcode/QR scanning for productsHighCamera-based scanning for faster product selection at counter.
3Multi-language invoice templatesMediumTelugu, Hindi invoice output. App already has i18next but PDF templates are English-only.
4Farmer mobile app (view statements)HighDedicated farmer-facing app for statement viewing and payment history. Currently public link only.