Skip to content

Conversation

@lcs9317
Copy link
Collaborator

@lcs9317 lcs9317 commented Oct 9, 2025

제목(필수): [TYPE]: 제목 예) [FEAT]: 회원가입 기능 추가

제목 규칙 자세히 보기
  • 형식: [TYPE]: 제목
  • 제한: 50자 이내, 첫 글자 대문자, 명령문
  • TYPE: FEAT FIX REFACTOR COMMENT STYLE TEST CHORE INIT

무엇을 / 왜

  • 무엇(What):
  1. 시나리오 생성시 마지막 노드 저장과 동시에 시나리오 바로 생성
  2. 트리구조 조회시 출력 형태를 정제된 트리구조로 변경
  • 왜(Why):
  1. api 2중 호출을 막기 위함
  2. 트리구조 조회시 포크를 여러번 하는 경우 프론트에서의 연산이 계속 늘어나기 때문에 백엔드에서 연산 후 정제된 트리구조를 출력

어떻게(요약) — 3줄 이내

  • nodenextRequestDto를 가져와서 사용, slack에 올린 사항대로 requestbody에서 requestpart로 변경
    트리구조를 BFS로 정렬후 프론트에서 뽑아낼 힌트(fromnode의 id와 그 라인의 종류(normal / fork))를 담아서 보냄

영향 범위

  • API 변경
  • DB 마이그레이션
  • Breaking Change
  • 보안/권한 영향
  • 문서/가이드 업데이트 필요

체크리스트

  • 타입 라벨 부착 (FEAT/FIX/REFACTOR/COMMENT/STYLE/TEST/CHORE/INIT)
  • 로컬/CI 테스트 통과
  • 영향도 점검 완료
  • 주석/문서 반영(필요 시)

ToDo (선택)

  • 할 일 1
  • 할 일 2

스크린샷/증빙(선택)

이슈 연결 (자동)

Closes #89

Copy link
Collaborator

@johnbosco0414 johnbosco0414 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다!

Copy link
Collaborator

@Gooraeng Gooraeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

확인했습니다. 고생 많으셨습니다

@lcs9317 lcs9317 merged commit 635e3f8 into main Oct 9, 2025
3 checks passed
@lcs9317 lcs9317 deleted the node/9 branch October 9, 2025 03:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

REFACTOR 리팩토링

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[REFACTOR]: 시나리오 생성시 마지막 노드 & 트리구조 출력 변경

4 participants