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

Open
#7,317 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@1steve78 is already working on this.

Since Nov 14, 2026.

Assessment

Difficulty
3/5
Estimated time
Half a day
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Active
Tech stack
javascript
Domain
frontend

Research direction

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.

Written by the indexing model from the issue text.

Description

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.
Dominant language
Ruby
Stars
384
Forks
558
Avg merge
1d 7h
Merged PRs (30d)
63

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rubyforgood/casa

All issues in rubyforgood/casa

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.