ADDED: - Relatório Por Categoria agora suporta drill-down clicável - Clicar em categoria pai exibe gráfico com suas subcategorias - Botão Voltar para retornar às categorias principais - Hover visual em linhas de tabela e cards clicáveis - Backend aceita parent_id como parâmetro em /reports/by-category CHANGED: - Backend: query padrão mostra apenas categorias pai (parent_id IS NULL) - Backend: nova query para subcategorias quando parent_id é fornecido - Frontend: estado selectedCategory para rastrear navegação - Frontend: onClick handlers em gráfico, tabela e cards TRANSLATION: - pt-BR: Distribuição de Subcategorias - es: Distribución de Subcategorías - en: Subcategory Distribution |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .gitignore | ||
| deploy.ps1 | ||
| deploy.sh | ||
| eslint.config.js | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| vite.config.js | ||
React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel (or oxc when used in rolldown-vite) for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
Expanding the ESLint configuration
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.