Final step: remove jQuery, notifier.js and type_checker.js

Aperta
#7,317 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@1steve78 ci sta già lavorando.

Dal 14/11/2026.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
35/100
Tipo di issue
Refactoring
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
javascript
Ambito
frontend

Direzione di ricerca

This is the last step of the jQuery removal and is blocked by #7302 to #7316, so wait until those merge before starting. Delete app/javascript/src/notifier.js, app/javascript/src/type_checker.js, their Jest tests, and app/javascript/jQueryGlobalizer.js with its import. Remove jquery from package.json and the jQuery global from the Jest/standard config, and drop sweetalert2 from app/javascript/controllers/alert_controller.js only if nothing else uses it. Done when grep -rn '\$(\|jQuery' app/javascript returns nothing and npm run build, npm run test and bin/rails spec pass.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Difficulty: Intermediate Help Wanted javascript

What

The last step of removing jQuery. Once the other sub-issues in #7301 are merged, delete the helpers that only exist for jQuery, then jQuery itself.

Blocked by: #7302–#7316 (see #7301).

Checklist

  • Delete app/javascript/src/notifier.js, app/javascript/src/type_checker.js, app/views/layouts/components/_notifier.html.erb (if unused) and their Jest tests
  • Delete app/javascript/jQueryGlobalizer.js and its import. Remove jquery from package.json (including the jQuery global in the Jest/standard config)
  • If nothing imports sweetalert2 any more, remove it too (app/javascript/controllers/alert_controller.js uses it today)
  • grep -rn '\$(\|jQuery' app/javascript returns nothing. npm run build, npm run test and bin/rails spec pass
  • Close #6685 (jQuery 4 upgrade) as no longer needed

Before you start

  • Comment here to be assigned. Setup is bin/setup, then bin/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.
Lingua principale
Ruby
Stelle
384
Fork
558
Merge medio
1g 7h
PR unite (30g)
63

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di rubyforgood/casa

Tutte le issue di rubyforgood/casa

Issue simili

Altre issue su Ruby

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.