[Fix] 업무 생성 화면의 가짜 미리보기 데이터·미구현 원문수정 버튼 제거 - #314
Merged
Conversation
- 원본 요청을 실제 편집 가능한 textarea로 변경 (프리필 없으면 빈 값) - Agent가 이해한 요청/업무 건 지금 할 일/대상 근로자/필수정보 등 하드코딩된 가짜 레일 카드 전부 제거 — 실제 입력과 무관하게 항상 같은 값을 보여주고 있었음 - 원문 수정 스텁 버튼 제거 (텍스트영역이 항상 편집 가능하므로 불필요) - createWorkData.ts에서 안 쓰이게 된 가짜 데이터 export 정리 closes #313
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
closes #313
문제
/tasks/new는 실제createAiRunAPI를 호출하는데, 같은 화면의 레일 카드들이 전부 하드코딩된 가짜 데이터였음. 프리필 없이 진입하면 하드코딩된 예시 문구가 그대로 있어서 실수로 예시를 실제 요청처럼 제출할 수 있는 위험도 있었음.변경 사항
<textarea>로 변경, 프리필 없으면 빈 값(빈 값이면 제출 비활성)createWorkData.ts안 쓰는 export 정리검증
tsc -b통과lint0 errorsCreateWorkPage테스트 5개 통과build통과