Skip to content

Conversation

@kss761036
Copy link
Owner

@kss761036 kss761036 commented Apr 8, 2025

❓이슈

📝 Description

에피그램 작성 시 '본인' 선택 -> 작성자 닉네임 노출

  const { data: session } = useSession();
  const myNickname = session?.user?.nickname || '';

session값으로 닉네임값 받아오기

const finalAuthor =
      data.selectedAuthor === '본인'
        ? myNickname
        : data.selectedAuthor === '직접 입력'
          ? data.author?.trim() || ''
          : data.selectedAuthor;

넘기는 값이 '본인'이면 닉네임으로 변경

  • 이미 작성된 데이터나 다른 팀들의 데이터는 본인 그대로 노출됨.

에피그램 내용 줄바꿈 작성 시 그대로

  • whitespace-pre-wrap 테일윈드 클래스 추가

🌀 PR Type

어떤 변경 사항이 있나요?

  • 새로운 기능 추가
  • 버그 수정
  • CSS 등 사용자 UI 디자인 변경
  • 코드에 영향을 주지 않는 변경사항 (오타 수정, 탭 사이즈 변경, 변수명 변경)
  • 코드 리팩토링
  • 주석 추가 및 수정
  • 문서 수정
  • 테스트 추가, 테스트 리팩토링
  • 빌드 부분 혹은 패키지 매니저 수정
  • 파일 혹은 폴더명 수정
  • 파일 혹은 폴더 삭제

PR

  • Branch Convention 확인

    feat/* 기능 구현, fix/* 버그 수정, refactor/* 개선

  • Base Branch 확인
  • 적절한 Label 지정
  • Assignee 및 Reviewer 지정

@kss761036 kss761036 added Priority: Medium 🔖 우선순위 보통 Type: Refactor ♻️ 리팩토링 labels Apr 8, 2025
@kss761036 kss761036 requested a review from LMS10 April 8, 2025 08:27
@kss761036 kss761036 self-assigned this Apr 8, 2025
@kss761036 kss761036 linked an issue Apr 8, 2025 that may be closed by this pull request
2 tasks
@vercel
Copy link

vercel bot commented Apr 8, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
epigram-gilv ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 8, 2025 9:41am

@github-actions
Copy link

github-actions bot commented Apr 8, 2025

@github-actions
Copy link

github-actions bot commented Apr 8, 2025

Copy link
Collaborator

@LMS10 LMS10 left a comment

Choose a reason for hiding this comment

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

👍🏻 수고하셨습니다~!

@kss761036 kss761036 merged commit d41a399 into main Apr 8, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: Medium 🔖 우선순위 보통 Type: Refactor ♻️ 리팩토링

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor: 에피상세 리팩토링

3 participants