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

#44 refactor : 로딩 컴포넌트 추가 및 QA(+디자인) 수정 #45

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

odukong
Copy link
Member

@odukong odukong commented Feb 26, 2025

1. 무슨 이유로 코드를 변경했나요?

2. 어떤 위험이나 장애를 발견했나요?

X

3. 관련 스크린샷을 첨부해주세요.

메인 홈 이미지 파일 변경

image

닉네임 기본 입력

image

Skeleton UI

image

마이페이지 헤더 X버튼 추가

image

4. 완료 사항

  • API 통신 중 발생하는 로딩에 대한 컴포넌트(Loading) 구현 > 기본적인 로딩 UI (동글뱅이..)
  • 이미지가 늦게 로드되는 현상에 대해서는 로딩이 아닌 Skeleton UI 적용
  • 초대장 기본 닉네임이 입력되도록 반영
  • (내부 QA) MyPageHeader에서 X버튼 추가
    • (초대장 상세보기 페이지)에서 헤더의 X버튼을 클릭하면 이전 페이지(1. 받은초대장 리스트, 2. 보낸초대장 리스트 3. 마이페이지)로 이동하도록 수정.
  • 디자인 수정사항 반영 (전체적인 border 추가, 로고파일 수정)

5. 추가 사항

  • 로그인 페이지의 gif?에 대한 로딩은 적용이 안된 .. 상태
  • 추가적으로 로딩이 필요한 페이지는 구현된 Loading 컴포넌트를 사용하시면 될 것 같습니다..!

- QA 수정사항
- 초기 닉네임 설정을 사용자 nickname으로 기본설정하도록 설정

ref : #44
- 초대장 상세보기 X버튼 추가

ref : #44
- 참석자 라벨 border 추가
- 템플릿 컴포넌트 border 추가 (마이페이지, 초대장 앞면)

ref : #44
- export 문법을 통일하였습니다.

ref : #44
@odukong odukong added 🔨 Refactor 코드 리팩토링 🎨 Html&css 마크업 & 스타일링 labels Feb 26, 2025
@odukong odukong self-assigned this Feb 26, 2025
@odukong odukong linked an issue Feb 26, 2025 that may be closed by this pull request
4 tasks
@odukong odukong requested a review from yezzan9 February 26, 2025 12:37
src/App.tsx Outdated
Copy link
Member

Choose a reason for hiding this comment

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

오앙 여기는 import문에 대해 정렬이 적용된 건가요?!

Copy link
Member Author

Choose a reason for hiding this comment

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

허허 원래는 App.tsx에서 각 컴포넌트에 lazy loading을 적용하려 import문을 수정한 것이었는데 잘 안된 이슈로..🥹
수정된 김에 보기 좋은 선에서 import문 정리했습니다..!

Comment on lines 115 to 126
const Skeleton = styled.div<{ width: string; height: string }>`
width: ${(props) => props.width};
height: ${(props) => props.height};
border-radius: 8px;
background: linear-gradient(
120deg,
rgba(245, 245, 245, 1) 0%,
#ffffffae 10%,
rgba(245, 245, 245, 1) 20%
);
animation: loading 1.5s infinite linear;
`;
Copy link
Member

Choose a reason for hiding this comment

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

이미지와 관련된 부분에 스켈레톤 로딩을 추가한 것 같은데, 상세조회 시에도 추가하면 좋을 것 같아요!!
그리고 스타일을 전역적으로 사용할 수 있게 분리해도 좋을 것 같아요!

Copy link
Member Author

@odukong odukong Feb 26, 2025

Choose a reason for hiding this comment

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

각 컴포넌트에 중복적으로 작성되어있던 스켈레톤 컴포넌트를 삭제하고 별도의 공통 컴포넌트로 분리하였습니다!
추가적으로 상세조회 시 보여지는 초대장 앞면 이미지에 대해서도 스켈레톤 UI가 적용되도록 수정했습니다:)

- 스켈레톤 컴포넌트 분리
- 상세페이지 이미지 스켈레톤 UI 추가 (InvitationFront.tsx)

ref : #44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎨 Html&css 마크업 & 스타일링 🔨 Refactor 코드 리팩토링
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[refactor] #44 로딩화면 추가 및 QA(디자인) 수정
2 participants