Commit Graph

4 Commits

Author SHA1 Message Date
4a5fe9a8d4 vamos a subir los cambios a gitea
Some checks failed
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 1s
build-and-deploy / build (push) Failing after 5m30s
build-and-deploy / deploy (push) Has been skipped
2025-05-29 17:27:25 -06:00
google-labs-jules[bot]
2755a2bed5 feat: Implement empleado UI and chat integration
This commit introduces the following features:

1.  **Empleado UI Components:**
    *   `EmpleadoForm.vue`: A form for creating and editing employee data.
    *   `cardEmpleado.vue`: A component to display a summary of employee information in a card format.
    *   `tablaEmpleados.vue`: A component to display a list of employees in a table format.
    *   `EmpleadosIndex.vue`: A view that displays both the card and table components, allowing you to switch between views and create new employees.

2.  **Chat Interface Integration:**
    *   Modified `agent/handlers.js` to parse specific chat commands:
        *   "Quiero crear un nuevo @empleado": Responds with the `EmpleadoForm`.
        *   "Ver @empleado<CEDULA>": Responds with the `cardEmpleado` for the specified employee.
        *   "Mostrame los primeros X @empleados": Responds with `tablaEmpleados` displaying the requested number of employees.
    *   I send formatted messages (e.g., `CHAT_UI_COMPONENT::EmpleadoForm`) that the chat UI can interpret to render the Vue components.

3.  **Tests:**
    *   Added unit tests for the new Vue components (`EmpleadoForm.vue`, `cardEmpleado.vue`, `tablaEmpleados.vue`) using Vitest.
    *   Added integration tests for the chat command handling in `agent/handlers.js` using Jest.
    *   (Note: Test execution was inconclusive, but all necessary files and configurations are included).

These changes fulfill the issue requirements by creating the necessary UI for the empleado module and enabling the summoning of these UI elements through the chat interface.
2025-05-27 00:49:49 +00:00
421ff236ae avances poderosos en ui
Some checks failed
build-and-deploy / filter (push) Successful in 4s
build-and-deploy / build (push) Failing after 19s
build-and-deploy / deploy (push) Has been skipped
2025-05-25 08:21:57 -06:00
e1dc751397 Modulo planilla v1
Some checks failed
build-and-push / build (push) Successful in 33s
build-and-push / deploy (push) Failing after 1s
2025-05-02 17:59:47 -06:00