Remove unreachable general-constraints UI (cbit.vcell.constraints.gui) (#1605 audit S6)

オープン 初心者向け
#2,137 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

まだ誰も着手していません。

評価

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

調査の方向性

まず rg -n "ConstraintPanel|ConstraintTableCellRenderer" --type java を実行し、リフレクションや XML メニュー設定を含めて vcell-client/src/main/java/cbit/vcell/constraints/gui/ を参照しているものがないことを確認するため、検索をメニューやアクションの登録にまで広げる。問題がなければ、そのパッケージを削除し、vcell-core/.../constraints/graph/ の BoundsNode と GeneralConstraintNode について、他の利用箇所がないか確認してからそれらも削除する。完了の基準は、rg コマンドが何も返さず、mvn compile test-compile -pl vcell-client -am が成功すること。

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

説明

Accessibility Requirement Java-based

Follow-up from the #1605 color audit, row S6 (docs/accessibility/color-audit.md).

Finding. The general-constraints UI in vcell-client/src/main/java/cbit/vcell/constraints/gui/ (ConstraintPanel, ConstraintTableCellRenderer, GeneralConstraintsTableModel, …) is not reachable. Nothing outside that package references ConstraintPanel. The renderer's red "inconsistent" text (4.00:1) is therefore not an accessibility problem in the shipped client, but it keeps showing up in color searches and audits.

Task. Confirm there is no reflective or menu entry point, then delete the package. Also delete the graph nodes it alone uses (vcell-core/.../constraints/graph/BoundsNode, GeneralConstraintNode) if they have no other users.

Acceptance.

  • rg -n "ConstraintPanel|ConstraintTableCellRenderer" --type java returns no matches.
  • mvn compile test-compile -pl vcell-client -am succeeds.

Part of #1603 (audit hygiene).

主要言語
Java
スター
140
フォーク
35
平均マージ
11時間 28分
マージ済み PR(30日)
19

環境構築

はじめの一歩

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

virtualcell/vcell のほかの issue

virtualcell/vcell の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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