core: decide the node hierarchy boundary before replacing javax.swing.tree
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 43/100
- Issue type
- Refactor
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- java
- Domain
- desktop, developer-experience
Research direction
Read modules/microproject_core/src/main/java/com/microproject/node/ and schedule/criticalpath/PredecessorTaskTree.java, then trace the UI references with the listed git grep commands. Compare the two proposed boundaries across serialization, POD compatibility, JTree notification order, and implementation effort; check the ClassRelocations rationale and POD evidence for PredecessorTaskTree, marking any unverified points. Done when an issue comment recommends A or B with evidence and, for B, lists the core tree API methods and UI adapter location.
Written by the indexing model from the issue text.
Description
概要
microproject_core のノード階層は javax.swing.tree(DefaultMutableTreeNode、MutableTreeNode、TreeNode、TreePath、TreeModel、TreeModelListener)を直接実装し、debt ledger に 17 行として記録されている。UI の JTree がこれらの型を直接利用するため、core 独自の木 API への置き換えには UI adapter の設計が必要。#737 の方針決定として、まず調査して結論をコメントする。
作業手順
modules/microproject_core/src/main/java/com/microproject/node/とschedule/criticalpath/PredecessorTaskTree.javaを読み、Swing tree 型を継承・実装しているクラスと、その API のうち実際に呼ばれているメソッドを列挙する。git grepで UI 側のJTree、TreeModel、TreePath、TreeModelListenerの利用箇所を列挙し、core のNode/MutableNodeHierarchy/DefaultNodeModelが JTree へどのように渡されているかを追う。PredecessorTaskTreeがClassRelocationsに載っている理由を確認し、旧 POD ファイルにこのクラスが現れる根拠があるか(fixture、テスト、Saved/Deserialize 経路)を調べる。根拠がなければ「未確認」と明記する。- 選択肢を (A) headless な JDK tree 型として残す、(B) core に木 API を置き UI で JTree adapter を提供する、の 2 つに絞り、serialization、POD 互換、JTree の通知順序、実装工数で比較する。
- 結論と根拠、採用した場合の分割手順をコメントに書く。
検証
git grep -n "javax.swing.tree\|TreeModelListener" -- modules/microproject_core/src/main/javagit grep -n "JTree\|TreeModel\|TreePath" -- modules/microproject_ui/src/main/javagit grep -n "PredecessorTaskTree" -- modules- コードは変更しないため、ビルドコマンドは不要。
完了条件
- 方針 (A) または (B) と、その根拠が issue コメントに書かれている
- (B) を推す場合、core の木 API が必要とするメソッド一覧と UI adapter の配置先がコメントに書かれている
-
PredecessorTaskTreeの POD 互換について、確認できた根拠と未確認の点が区別してコメントに書かれている
範囲外
- 木構造の実移行。方針決定後に別の実装 issue で扱う。
- undo、graphic configuration、print の境界(別の調査 issue で扱う)。
- Dominant language
- Java
- Stars
- 2
- Forks
- 1
- Avg merge
- 4h 52m
- Merged PRs (30d)
- 349
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from tetsuji16/microProject
-
area: ui priority: medium
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
tetsuji16/microProject#1721 ·
Maintainers usually reply within 1 day
-
area: ui enhancement priority: low status: ready
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
tetsuji16/microProject#1386 · 3 comments ·
Maintainers usually reply within 1 day
-
area: ui enhancement priority: low status: ready
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
tetsuji16/microProject#1384 ·
Maintainers usually reply within 1 day
-
area: ui enhancement priority: low status: ready
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
tetsuji16/microProject#1385 ·
Maintainers usually reply within 1 day
-
area: ui enhancement priority: low status: ready
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
tetsuji16/microProject#1383 · 1 comment ·
Maintainers usually reply within 1 day
All issues in tetsuji16/microProject
Similar issues
-
triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
eclipse-edc/IdentityHub#1296 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
cloudfoundry/uaa#4194 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days
-
The engine's "loaded, but had errors" message leaves out which library and line each error is inOpen
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
cqframework/clinical_quality_language#1980 ·
Maintainers usually reply within 3 days
-
windows-sys 0.101.0Open
Difficulty 2/5 1-3 hours Newbie friendliness 61/100