This repository was archived by the owner on Jun 2, 2026. It is now read-only.
讓 Project Scope 內的 Template 支援查看、編輯與影響範圍檢視#53
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
這次主要是補齊 Project 頁面中「選完 Project / Factory / Environment 後查看 Template」的操作流程。
原本在 Project 的 Templates Used 裡點 View,只能看到比較單純的 scope template 內容;但使用者實際操作時,會期待它跟 Template Library 裡的 template view 有一致的能力,例如查看完整 definition、查看 impacted files、提出編輯 change request,或是走刪除申請流程。
這次改動把 Project scope 裡的 selected template view 改成重用既有的 Template detail modal,所以 Project 頁面現在可以直接使用:
同時也在 Project 頁接上既有的 template update/delete/impact handler,讓這些操作不是單純 UI,而是沿用目前已經存在的後端與 change request 流程。
驗證部分已在本地跑過:
npm run test:coveragenpm run build兩者皆通過。