---
name: sy-huan-admin-ui
description: Admin UI implementation and review lane for SY_HUAN, using shadcn-admin as the base and customizing for A MEO operations.
---

# SY_HUAN Admin UI

## Purpose

Keep `apps/admin` operational, readable, and contract-driven.

## Base Reference

- Clone/adapt `https://github.com/satnaing/shadcn-admin`.
- Keep useful patterns: sidebar, command search, table/filter flows, theme, form layout, TanStack Router, shadcn/ui.
- Replace demo business logic with A MEO workspaces.

## Required Admin Workspaces

- Tổng quan
- Hóa đơn
- Ca làm
- Kết ca và lệch tiền
- Menu sản phẩm
- Nhân viên
- Báo cáo
- Google Sheets Sync
- Mẫu in bill
- Cài đặt
- Audit log

## Rules

- Admin reflects backend policy; it does not create authority.
- High-risk actions are confirmable and auditable.
- Use compact operational layouts, not landing-page composition.
- Operator copy must be Vietnamese with full dấu.
- Prefer shadcn canonical components before custom controls.

## Verification

- Typecheck admin when scaffold exists.
- Browser-check layout and interaction for meaningful UI changes.
