ui: ProjectsDialog の Portfolio 表示を維持して整理

Open
#1,529 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
55/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Active
Tech stack
java
Domain
desktop

Research direction

Start with modules/microproject_ui/src/main/java/com/microproject/ui/view/views/ProjectsDialog.java and trace how Portfolio supplies rows to ProjectView; inspect ProjectsDialogPortfolioBehaviorTest and RibbonButtonBehaviorTest for the expected separation from Backstage recent and browse actions. Keep the dialog's class identity, UID, serialized fields, and behavior intact, then run the listed focused tests and full :microproject_ui:test; done means the inventory check and git diff --check pass, with no more than two changed files and 400 diff lines.

Written by the indexing model from the issue text.

Description

area: ui enhancement priority: low status: ready

概要

ProjectsDialog presents the live Portfolio through ProjectView and is an active project-management view.
It is distinct from the Backstage recent-project and browse actions, which operate on recent items and file selection.
Refactor this dialog while retaining its Portfolio-backed behavior and serialized class identity, UID, and fields.
Refs #1444

作業手順

  1. Refactor only modules/microproject_ui/src/main/java/com/microproject/ui/view/views/ProjectsDialog.java; keep its Portfolio-to-ProjectView data path and existing dialog behavior.
  2. Preserve ProjectsDialog class identity, UID 1234142818258607810L, and serialized fields. Do not redirect this view to Backstage recent/browse actions.
  3. Add or update ProjectsDialogPortfolioBehaviorTest to verify Portfolio-backed project rows and the distinction from Backstage recent/browse behavior. Keep changed files to 2 or fewer and the diff at or below 400 lines.

検証

.\gradlew.bat :microproject_ui:test --tests "com.microproject.ui.view.views.ProjectsDialogPortfolioBehaviorTest" --tests "com.microproject.ui.frame.RibbonButtonBehaviorTest" --console=plain
.\gradlew.bat :microproject_ui:test --console=plain
python scripts/test_source_inventory.py --check --output build/audit/test-source-inventory.json
git diff --check

Run GUI acceptance and visual procedures in docs/gui-quality-gate.md for any visible change to the project dialog, and verify Backstage recent/browse routes remain distinct.

完了条件

  • ProjectsDialog continues to display projects from Portfolio through ProjectView
  • Backstage recent-project and browse actions remain separate and retain their existing behavior
  • ProjectsDialog class identity, UID, and serialized fields remain unchanged
  • Focused tests, :microproject_ui:test, test source inventory, and git diff --check pass
  • Changes are limited to 2 files and the diff is at most 400 lines
  • GUI acceptance and visual checks pass for any visible change

範囲外

  • Backstage recent-project or browse implementation
  • Ribbon command routing changes
  • Other #1444 targets
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

  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 tetsuji16/microProject

All issues in tetsuji16/microProject

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.