Remove the datatables.net-dt package (nothing uses it after the dead scripts go)

オープン
#7,304 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@IG-ABHINAV がすでに取り組んでいます。

2026年11月13日 から。

評価

難易度
1/5
見積もり時間
1〜3時間
初心者へのやさしさ
52/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
javascript, jquery

調査の方向性

This is blocked until #7302 and #7303 are merged, so wait for those first. Then remove the datatables.net-dt require line from app/javascript/application.js, drop the package from package.json, and run npm install to update package-lock.json. Run grep -rn -i datatables app/ config/ to catch leftover CSS imports. Done when no DataTables references remain, npm run build succeeds, and bin/rails spec passes.

索引モデルが issue の本文から書いたものです。

説明

Difficulty: Easy Good First Issue Help Wanted javascript

What

Once the two dead DataTables scripts are deleted (see the linked issues), nothing uses DataTables. Remove the package.

Blocked by: #7302 and #7303.

Checklist

  • Remove require('datatables.net-dt')(null, window.jQuery) from app/javascript/application.js
  • Remove datatables.net-dt from package.json and run npm install to update package-lock.json
  • Remove any DataTables CSS imports (grep -rn -i datatables app/ config/)
  • npm run build works, and bin/rails spec passes
  • In the PR description, note that this makes #7278 (the DataTables 3 upgrade) unnecessary

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.
主要言語
Ruby
スター
384
フォーク
558
平均マージ
1日 7時間
マージ済み PR(30日)
63

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

rubyforgood/casa のほかの issue

rubyforgood/casa の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。