Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#213 : 쪽지 내 버그 수정해요 #216

Merged
merged 9 commits into from
Jan 13, 2025
Merged

Conversation

jeongjaino
Copy link
Member

1. 📄 관련된 이슈 및 소개

#213 : 쪽지 버그 수정해요

2. 🔥 변경된 점

  1. 수정완료/작성완료/신고완료 토스트 노출 시점 변경
  2. 유저 선택 페이지 하단 아이템 짤리는 이슈 수정
  3. 쪽지 수정 후, 뒤로가기시 이전 작성 페이지로 전환되는 이슈 수정

3. ✅ 필수 체크 사항

기존 MessageScreen에서 argument로 넘겨서 토스트를 노출하고 있었는데요 !

근데, showToast를 주입해주고 있어서, 굳이 넘길 필요가 없었어요.

오히려 넘기면서 argument가 재사용되는 케이스가 있어서, 토스트가 중복 노출되는 경우 이슈가 있었어요.

  • 쪽지를 작성하고, 쪽지 홈으로 와서, 투표 탭으로 갔다가 뒤로가기하면 토스트가 중복 노출되었던 것 같아요.
  • showToast를 하면서, 화면 전환하도록 수정했어요.

그리고 기존에 다 쪽지 홈으로 전환하기 위해서 MessageScreen으로 navigate하면서 popUpTo를 함께 해주고 있었는데,
전부 popBackStack으로 처리하도록 수정했어요.

  • 둘 차이는 전환되기 전 화면이 백스택에 추가되는지 유무에요.
  • 이 이슈로 인해서, 쪽지 수정 후 예약 페이지로 왔다가, 뒤로가기를 했을 때 쪽지 수정 페이지로 다시 전환되는 이슈가 있었어요.

4. 📸 작업물 사진 공유(선택)

하단 버튼에 마지막 아이템 가려지는 이슈 수정

image

쪽지 예약 후, 뒤로가기시 다시 쪽지 작성 페이지로 진입하는 이슈 수정

Screen_Recording_20250113-211155_WeSpot.webm

5. 💡알게된 혹은 궁금한 사항

궁금한데, 동적으로 높이를 계산해야 할까요 ?

쪽지를 보낼 대상 선택 리스트의 맨 마지막 아이템이, 버튼에 가려지는 이슈가 있었는데요.

해당 케이스의 경우 버튼 크기 만큼 고정 높이를 줘서 해결했는데, glboalPositioned, constraint, layout 이런걸로 계산해서 동적으로 수정해야할지 고민이에요.

@jeongjaino jeongjaino self-assigned this Jan 13, 2025
@jeongjaino jeongjaino added 🍻제이콥🍻 24기 정진호 🔨픽스🔨 버그 및 잠재적 문제 해결 🔥리뷰 기다리는 중🔥 PR을 올리고 코드리뷰를 기다리고 있는 상태입니다. labels Jan 13, 2025
@jeongjaino jeongjaino linked an issue Jan 13, 2025 that may be closed by this pull request
3 tasks
Copy link
Contributor

@flash159483 flash159483 left a comment

Choose a reason for hiding this comment

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

LGTM

modifier = Modifier
.fillMaxSize()
.imePadding(),
modifier = Modifier.fillMaxSize().imePadding().zIndex(1f),
Copy link
Contributor

Choose a reason for hiding this comment

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

cmd + option + L를 눌러봐용

Copy link
Member Author

Choose a reason for hiding this comment

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

수정했떠영

@jeongjaino jeongjaino merged commit 4120513 into develop Jan 13, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍻제이콥🍻 24기 정진호 🔥리뷰 기다리는 중🔥 PR을 올리고 코드리뷰를 기다리고 있는 상태입니다. 🔨픽스🔨 버그 및 잠재적 문제 해결
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WS-453 [FIX]: 쪽지 버그 수정해요
2 participants