fix(M02): [재적용] 가져온이 새로 적음 · M02 미리보기 이름표 [삭제] 작은 단추 틀(142-2 · 136-3 뒤처리)

- reapply(who) · 라우터가 세션 가져온이를 넘김
- M02_SO_Style.css 미리보기 상자 이름표 단추 = B05 작은 단추 틀과 같은 꼴
- 시험: test_item_copy_complete 재적용 가져온이 · test_136_3 M02 규칙

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015sDZSjFvoiDjdGpgj3muc3
This commit is contained in:
2026-10-09 15:11:32 +09:00
co-authored by Claude Opus 5.5
parent da8bedf115
commit 4bb72b5987
5 changed files with 31 additions and 3 deletions
@@ -29,6 +29,7 @@ from common_util.common_util_summary_item import parse_summary_item
from M02_MasterTemplete import M02_Item_Copy as copies
from M02_MasterTemplete import M02_MasterTemplete_Router_Layers as layer_routes
from M02_MasterTemplete import M02_MasterTemplete_Store as store
from M02_MasterTemplete.M02_Item_Snapshot import importer
from M02_MasterTemplete.M02_Item_Source import item_name
router = APIRouter(prefix="/api/projects", tags=["M02 Project Items"])
@@ -162,7 +163,8 @@ async def write_item_file(
async def reapply_item(
project_id: str, folder: str, session: dict[str, Any] = Depends(verify_session)
) -> dict[str, Any]:
return await _run(copies.reapply, await _root(session, project_id), folder)
root = await _root(session, project_id)
return await _run(copies.reapply, root, folder, importer(session)) # 가져온이(142-2)
@router.post("/{project_id}/items/{folder}/save-as")