-
Notifications
You must be signed in to change notification settings - Fork 35.3k
Open
Labels
ai-translatedissues translated by the classifier notebook llmissues translated by the classifier notebook llmbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunities
Milestone
Description
Does this issue occur when all extensions are disabled?: Yes/No
Version: 1.104.2 (user setup)
Commit: e3a5acf
Date: 2025-09-24T11:21:37.073Z
Electron: 37.3.1
ElectronBuildId: 12404162
Chromium: 138.0.7204.235
Node.js: 22.18.0
V8: 13.8.258.31-electron.0
OS: Windows_NT x64 10.0.26100
Steps to Reproduce:
- Paste this text:
| Uso | Ubicación | Riesgo / Comentario |
|-----|-----------|---------------------|
| $(async function(){ ... }) | Bootstrap de la página | Fácil de reemplazar por document.addEventListener('DOMContentLoaded', ...) o top-level await (ESM). |
| $.getJSON, $.ajax, $.get | Múltiples funciones (obtener periodos, zonas, puntos, stats) | Reemplazable por fetch + helpers reutilizables. |
| $("#medico").autocomplete({...}) | addAutoCompleteMedicosZonificacion | jQuery UI Autocomplete → reemplazar por componente ligero (custom, aria-combobox) o librería headless (ex. @zag-js, accessible-autocomplete). |
| $("#dialogDetalleZona").dialog(...) / $("#dialogDetallePDC").dialog(...) | Inicialización | jQuery UI Dialog → migrable a modal accesible nativo (<dialog>) o librería pequeña sin jQuery. |
| $(".controles").draggable() | Panel flotante | Reemplazar con API Pointer Events + transform, o CSS position:fixed + toggles. |
| $('select[multiple]').empty() + manipulación <select> | Reset de zonas | Reemplazar por control interno de estado + render virtual. |
| .chosen-select (comentado) | Mejora de multiselect | Sustituir por Choices.js, SlimSelect, o un control propio (si no se quiere dependencia). |
| DataTables ($("#datosVentaZona").DataTable(...)) | createDataTableHelper y createDetailsTable | Mayor acoplamiento. Reemplazar en última etapa por TanStack Table, AG Grid, o grid propio. | | Uso de variables y estado global (variables sueltas, Maps, arrays mutables) | Todo el módulo | Dificulta testeo y migración a framework: mover a un store modular (ej. patrón observable simple).
- This the preview

Metadata
Metadata
Assignees
Labels
ai-translatedissues translated by the classifier notebook llmissues translated by the classifier notebook llmbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunities