Politikontroller Moderator

Web-based moderation workspace for a live location-based app — map-first review interface with optimistic actions, geospatial filtering, and role-based admin access.

Private Repository

A purpose-built web moderation tool for Politikontroller, replacing a workflow that previously depended on native/macOS-only tooling. Built so customer support and operations teams can review, filter, and act on reported controls from any browser — combining a control list, interactive map, and detail panel into one workspace designed for high-speed moderation with a low learning curve.

144
TS/TSX files
Next.js 16
Framework
Mapbox
Geospatial UI
Firebase
Phone OTP auth
shadcn/ui
Component system
TanStack
Query / state

What was built

  • Map-first moderation workspace — a unified interface combining a filterable control list, Mapbox-powered map view with geospatial markers, and a detail panel for per-control review and action, all in one screen
  • Optimistic moderation actions — moderation decisions apply instantly in the UI via TanStack Query mutations, keeping the workflow fast without waiting for backend round-trips
  • Auth and role-based access — Firebase phone OTP authentication flowing into backend JWT tokens, with admin-only role gating so the tool is locked to operations staff
  • Validation and detection checks — duplicate-user detection and new-account checks built into the moderation flow, surfacing signals that help support teams make faster decisions
  • Cron controls and internal tooling — administrative panels for cron-related operations and internal hooks, giving the ops team control over automated processes alongside manual moderation
  • Responsive web-first design — desktop and mobile moderation flows using shadcn/ui components, making the tool accessible from anywhere instead of requiring a specific OS or native app
Control list with filters and sorting
Map view with geospatial control markers
Detail panel for per-control review
Optimistic moderation actions
Duplicate-user detection checks
New-account validation checks
Cron-related control panels
Role-based admin access via JWT
Responsive desktop and mobile flows
Internal tooling hooks

Tech stack

Next.js 16 · TypeScript · Bun · Tailwind CSS v4 · shadcn/ui · Mapbox GL JS · TanStack Query · Firebase Auth

Why this project matters

This tool exists because the previous moderation workflow was too slow and too dependent on platform-specific tooling. Building a dedicated web-based workspace gave the support team a faster, more accessible interface — combining geospatial context, filterable lists, and optimistic state updates into a workflow that reduces time-per-action and removes the tooling bottleneck. It demonstrates internal product infrastructure thinking: identifying where manual operations create friction and building the system that eliminates it.