Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
befc133
feat: create project structure for Backend, Admin, Operaciones, Campo
MetaCodeX Dec 11, 2025
448d19e
docs: add Git Flow branching strategy and GitHub Actions placeholder
MetaCodeX Dec 11, 2025
c21be75
feat: add project scaffolding for all 4 applications
MetaCodeX Dec 11, 2025
5b04cbd
feat: agregar configuración Docker y Cloudflare Tunnel
MetaCodeX Dec 11, 2025
de46db2
feat: agregar healthchecks y pipeline CI de GitHub Actions
MetaCodeX Dec 11, 2025
68af457
docs: agregar CHANGELOG con historial del proyecto
MetaCodeX Dec 11, 2025
4f105cc
feat: agregar Tailwind CSS a frontends React
MetaCodeX Dec 12, 2025
a3549ee
feat: implementar sistema de diseño Neo-Brutalism y configuración dev…
MetaCodeX Dec 12, 2025
adccc62
fix: regenerar package-lock.json de frontend-admin para CI
MetaCodeX Dec 12, 2025
1ad8d73
feat(auth): Sistema de autenticación JWT v0.4.2
MetaCodeX Dec 13, 2025
2250a6c
feat(v0.4.3): Employee Layer - Centralizacion de datos de empleado
MetaCodeX Dec 13, 2025
cad2bac
fix(docs): Actualizar version a v0.4.3 y mejorar CI con PostgreSQL
MetaCodeX Dec 13, 2025
9d0d888
fix(ci): Especificar version 8.0.11 de dotnet-ef para compatibilidad …
MetaCodeX Dec 13, 2025
b6f9336
fix(docs): Corregir sintaxis Mermaid en database-schema.md
MetaCodeX Dec 13, 2025
04a4e6c
fix(docs): remove duplicate fields in Mermaid ER diagram causing rend…
MetaCodeX Dec 13, 2025
409ea41
feat(wms): Mejoras de esquema WMS v0.4.4 - Inventario, Catalogo, Audi…
MetaCodeX Dec 14, 2025
9c889a9
docs: Actualizar Seccion 9 de database-schema.md con mapeos C# v0.4.4
MetaCodeX Dec 14, 2025
af3099b
fix(docs): Corregir errores de renderizado Mermaid en database-schema.md
MetaCodeX Dec 14, 2025
d3b79b6
v0.5.0: API Skeleton - Endpoints base para todas las entidades
MetaCodeX Dec 15, 2025
5aa1a5a
v0.5.1: Foundation Layer + Repository Pattern + xUnit Tests
MetaCodeX Dec 16, 2025
a32c903
v0.5.2: Implementacion del Services Layer
MetaCodeX Dec 17, 2025
41779a6
v0.5.3: Integration Tests para Services Layer
MetaCodeX Dec 18, 2025
bfbe6bb
v0.5.4: Swagger/OpenAPI + Controllers + Business Logic
MetaCodeX Dec 18, 2025
4434391
chore: Actualiza Docker a v0.5.4
MetaCodeX Dec 18, 2025
1ffdff0
feat(release): v0.5.5 - WMS/TMS Services + Business Rules
MetaCodeX Dec 18, 2025
17ce786
feat(v0.5.6): Secure Webhooks, n8n Integration & Driver Geospatial Se…
MetaCodeX Dec 23, 2025
5417381
v0.5.7: Frontend Landing Page + Dynamic PDF + Cloudflare Tunnel
MetaCodeX Dec 23, 2025
39a4dd4
feat(python): integración microservicio Python Analytics v0.6.0-alpha
MetaCodeX Dec 28, 2025
5a44d54
docs: refactorizacion y limpieza de documentacion v0.6.0-alpha
MetaCodeX Dec 28, 2025
6afa9fb
docs: refactorizacion profesional de documentacion v0.6.0-alpha
MetaCodeX Dec 28, 2025
9e6af4d
fix(frontend): grid animation estable y actualizacion a v0.6.0-alpha
MetaCodeX Dec 28, 2025
580cf98
feat(python): Phase 2 beta - auth middleware, tenant, analytics router
MetaCodeX Dec 29, 2025
c8de1f8
v0.6.0-beta: Python Analytics Integration + Multi-tenant Authorizatio…
MetaCodeX Dec 29, 2025
82bc2f0
landing: Enhanced Python Analytics section with animated charts and t…
MetaCodeX Dec 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
210 changes: 210 additions & 0 deletions .agent/docs/neobrutalism-components.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,210 @@
# Neobrutalism UI Components Reference

Referencia rápida de componentes de [neobrutalism.dev](https://www.neobrutalism.dev/) para diseño en Parhelion WMS.

## Instalación Base

```bash
# Usar con shadcn CLI
pnpm dlx shadcn@latest add https://neobrutalism.dev/r/[component].json
```

---

## Componentes por Categoría

### 🎨 Básicos

| Componente | Descripción | Instalación |
| ---------- | ---------------------------------------------------------- | ------------- |
| **Button** | Botones con variantes: default, reverse, noShadow, neutral | `button.json` |
| **Badge** | Etiquetas: default, neutral, withIcon | `badge.json` |
| **Card** | Contenedores con CardHeader, CardContent, CardFooter | `card.json` |
| **Avatar** | Imágenes de perfil circulares | `avatar.json` |

### 📝 Formularios

| Componente | Descripción | Instalación |
| --------------- | ---------------------------- | ------------------ |
| **Input** | Campos de texto | `input.json` |
| **Checkbox** | Casillas de verificación | `checkbox.json` |
| **Switch** | Toggle on/off | `switch.json` |
| **Select** | Dropdown de opciones | `select.json` |
| **Slider** | Control deslizante | `slider.json` |
| **Radio Group** | Grupo de opciones exclusivas | `radio-group.json` |
| **Label** | Etiquetas para inputs | `label.json` |
| **Textarea** | Área de texto multilínea | `textarea.json` |

### 📊 Datos

| Componente | Descripción | Instalación |
| -------------- | ------------------------------------------- | ----------------- |
| **Table** | Tablas con TableHeader, TableRow, TableCell | `table.json` |
| **Data Table** | Tablas avanzadas con sorting/filtering | `data-table.json` |
| **Progress** | Barras de progreso | `progress.json` |
| **Chart** | Gráficos (basado en Recharts) | `chart.json` |

### 🧭 Navegación

| Componente | Descripción | Instalación |
| ------------------- | ----------------------------------------------- | ---------------------- |
| **Tabs** | Pestañas con TabsList, TabsTrigger, TabsContent | `tabs.json` |
| **Breadcrumb** | Migas de pan | `breadcrumb.json` |
| **Navigation Menu** | Menú de navegación | `navigation-menu.json` |
| **Menubar** | Barra de menú | `menubar.json` |
| **Sidebar** | Barra lateral | `sidebar.json` |
| **Pagination** | Paginación | `pagination.json` |

### 💬 Overlays

| Componente | Descripción | Instalación |
| ----------------- | ------------------------------- | -------------------- |
| **Dialog** | Modales | `dialog.json` |
| **Alert Dialog** | Diálogos de confirmación | `alert-dialog.json` |
| **Sheet** | Paneles deslizantes | `sheet.json` |
| **Drawer** | Cajón desde abajo (mobile) | `drawer.json` |
| **Popover** | Popups contextuales | `popover.json` |
| **Dropdown Menu** | Menús desplegables | `dropdown-menu.json` |
| **Context Menu** | Menú contextual (click derecho) | `context-menu.json` |
| **Hover Card** | Tarjeta al hover | `hover-card.json` |
| **Tooltip** | Tooltips | `tooltip.json` |

### 🎭 Especiales

| Componente | Descripción | Instalación |
| --------------- | ----------------------------- | ------------------ |
| **Accordion** | Secciones colapsables | `accordion.json` |
| **Collapsible** | Contenido colapsable | `collapsible.json` |
| **Carousel** | Carrusel de imágenes | `carousel.json` |
| **Marquee** | Texto en movimiento | `marquee.json` |
| **Image Card** | Tarjeta con imagen | `image-card.json` |
| **Calendar** | Selector de fecha | `calendar.json` |
| **Date Picker** | Picker de fechas | `date-picker.json` |
| **Sonner** | Notificaciones toast | `sonner.json` |
| **Alert** | Mensajes de alerta | `alert.json` |
| **Skeleton** | Placeholders de carga | `skeleton.json` |
| **Scroll Area** | Área con scroll personalizado | `scroll-area.json` |
| **Resizable** | Paneles redimensionables | `resizable.json` |
| **Command** | Command palette (⌘K) | `command.json` |
| **Combobox** | Input con autocompletado | `combobox.json` |

---

## Ejemplos de Uso

### Button

```jsx
import { Button } from '@/components/ui/button'

<Button>Default</Button>
<Button variant="neutral">Neutral</Button>
<Button variant="reverse">Reverse</Button>
<Button variant="noShadow">No Shadow</Button>
```

### Card

```jsx
import {
Card,
CardHeader,
CardTitle,
CardDescription,
CardContent,
CardFooter,
} from "@/components/ui/card";

<Card className="w-full max-w-sm">
<CardHeader>
<CardTitle>Título</CardTitle>
<CardDescription>Descripción</CardDescription>
</CardHeader>
<CardContent>Contenido aquí</CardContent>
<CardFooter>
<Button>Acción</Button>
</CardFooter>
</Card>;
```

### Tabs

```jsx
import { Tabs, TabsList, TabsTrigger, TabsContent } from "@/components/ui/tabs";

<Tabs defaultValue="tab1">
<TabsList>
<TabsTrigger value="tab1">Tab 1</TabsTrigger>
<TabsTrigger value="tab2">Tab 2</TabsTrigger>
</TabsList>
<TabsContent value="tab1">Contenido 1</TabsContent>
<TabsContent value="tab2">Contenido 2</TabsContent>
</Tabs>;
```

### Progress

```jsx
import { Progress } from "@/components/ui/progress";

<Progress value={66} className="w-[60%]" />;
```

### Table

```jsx
import {
Table,
TableHeader,
TableBody,
TableRow,
TableHead,
TableCell,
} from "@/components/ui/table";

<Table>
<TableHeader>
<TableRow>
<TableHead>Columna 1</TableHead>
<TableHead>Columna 2</TableHead>
</TableRow>
</TableHeader>
<TableBody>
<TableRow>
<TableCell>Dato 1</TableCell>
<TableCell>Dato 2</TableCell>
</TableRow>
</TableBody>
</Table>;
```

### Switch

```jsx
import { Switch } from "@/components/ui/switch";
import { Label } from "@/components/ui/label";

<div className="flex items-center space-x-2">
<Switch id="modo" />
<Label htmlFor="modo">Activar modo</Label>
</div>;
```

---

## Características del Estilo

- **Bordes gruesos**: 2px sólidos, típicamente negros
- **Sombras offset**: Box-shadow desplazadas (4px 4px 0)
- **Colores vivos**: Paletas llamativas, no sutiles
- **Sin bordes redondeados**: Esquinas rectas o mínimamente redondeadas
- **Alto contraste**: Texto legible sobre fondos brillantes
- **Hover states**: Transformaciones y cambios de color prominentes

## Links

- 📘 [Documentación oficial](https://www.neobrutalism.dev/docs)
- 🎨 [Estilos](https://www.neobrutalism.dev/styling)
- 📊 [Charts](https://www.neobrutalism.dev/charts)
- 🖼️ [Figma](https://www.neobrutalism.dev/docs/figma)
- 💻 [GitHub](https://github.com/ekmas/neobrutalism-components)
46 changes: 46 additions & 0 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# GitHub Actions - CI/CD Pipeline

## Workflows Planificados

### 🔧 Backend (.NET 8)

| Archivo | Trigger | Acciones |
| :------------------- | :---------------------------- | :---------------------------------- |
| `backend-ci.yml` | Push a `develop`, PR a `main` | Build, Test, Lint |
| `backend-deploy.yml` | Push a `main` | Build Docker, Deploy a DigitalOcean |

### 🎨 Frontend Admin (Angular)

| Archivo | Trigger | Acciones |
| :----------------- | :---------------------------- | :--------------------------------- |
| `admin-ci.yml` | Push a `develop`, PR a `main` | Build, Lint, Test |
| `admin-deploy.yml` | Push a `main` | Build, Deploy a DigitalOcean/Nginx |

### 📱 Frontend Operaciones (React PWA)

| Archivo | Trigger | Acciones |
| :----------------------- | :---------------------------- | :---------------- |
| `operaciones-ci.yml` | Push a `develop`, PR a `main` | Build, Lint |
| `operaciones-deploy.yml` | Push a `main` | Build PWA, Deploy |

### 📲 Frontend Campo (React PWA)

| Archivo | Trigger | Acciones |
| :----------------- | :---------------------------- | :---------------- |
| `campo-ci.yml` | Push a `develop`, PR a `main` | Build, Lint |
| `campo-deploy.yml` | Push a `main` | Build PWA, Deploy |

---

## Dominios Objetivo

| Servicio | URL |
| :------------------- | :----------------------- |
| API Backend | `api.macrostasis.lat` |
| Frontend Admin | `admin.macrostasis.lat` |
| Frontend Operaciones | `ops.macrostasis.lat` |
| Frontend Campo | `driver.macrostasis.lat` |

---

**Nota:** Los workflows se implementarán cuando los proyectos estén configurados.
Loading
Loading