Delete dead emancipations.js (DataTable on a table that no longer exists)
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Aptitud para principiantes
- 88/100
- Tipo de issue
- Refactorización
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- javascript, jquery, rails, ruby
- Área
- frontend
Línea de trabajo
El código muerto es app/javascript/src/emancipations.js, que inicializa un DataTable de jQuery sobre table#all-case-emancipations; el comentario al inicio de app/views/emancipation_checklists/index.html.erb confirma que ese id ya no existe. Elimina el archivo y la línea require('./src/emancipations') en app/javascript/application.js. Está listo cuando /emancipation_checklists sigue cargando como [email protected] y npm run test pasa.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What
app/javascript/src/emancipations.js starts a jQuery DataTable on table#all-case-emancipations. The redesigned app/views/emancipation_checklists/index.html.erb no longer renders that id (see the comment at the top of the view), so the script does nothing.
Checklist
- Delete
app/javascript/src/emancipations.js - Remove its
require('./src/emancipations')line fromapp/javascript/application.js - Visit
/emancipation_checklistsas[email protected]and confirm the page still works -
npm run testpasses
Before you start
- Comment here to be assigned. Setup is
bin/setup, thenbin/dev. Logins are in the README. - JS tests:
npm run test. Lint:bin/lint. - Part of #7301 (removing jQuery). Keep this PR to just this file.
- Lenguaje dominante
- Ruby
- Estrellas
- 384
- Forks
- 558
- Merge medio
- 1 d 7 h
- PR fusionados (30 d)
- 63
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de rubyforgood/casa
-
⛓️ Security Difficulty: Easy Good First Issue Help Wanted ruby Type: Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
rubyforgood/casa#7404 ·
Los mantenedores suelen responder en 1 día
-
Difficulty: Easy Good First Issue Help Wanted ruby Type: Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
rubyforgood/casa#7402 ·
Los mantenedores suelen responder en 1 día
-
Remove the bin/bundle binstub (Heroku warns it can break Bundler on deploy)Posiblemente ocupada @Akash-Dhanwate la tomó hace 8 días. Abiertodependencies Difficulty: Easy Good First Issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
rubyforgood/casa#7325 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Reports page: move export-button disable/re-enable into a Stimulus controllerQuizá libre de nuevo @Akash-Dhanwate la tomó hace 9 días y no hay ningún pull request abierto. AbiertoDifficulty: Easy Good First Issue Help Wanted javascript
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
rubyforgood/casa#7311 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
New case: use Stimulus for the "I don't know the court date yet" toggleQuizá libre de nuevo @Aryankn29 la tomó hace 9 días y no hay ningún pull request abierto. AbiertoDifficulty: Easy Good First Issue Help Wanted javascript
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
rubyforgood/casa#7310 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de rubyforgood/casa
Issues similares
-
Bug Ruby
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
getsentry/sentry-ruby#3211 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
internetee/registry#2984 ·
Los mantenedores suelen responder en 6 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
ecosyste-ms/issues#862 ·
Los mantenedores suelen responder en 1 día
-
Redis Lua error `@user_script:52: ERR value is not an integer or out of range` when `window_size` is configuredPosiblemente ocupada @mimosa la tomó hoy. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
riscv/riscv-unified-db#2829 ·
Los mantenedores suelen responder en 1 día