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

[Feat/#283] 방 생성 정보입력 페이지 프로그레스바 구현 #292

Merged
merged 26 commits into from
Aug 10, 2024

Conversation

ljh0608
Copy link
Member

@ljh0608 ljh0608 commented Jul 28, 2024

🌀 해당 이슈 번호

🔹 어떤 것을 변경했나요?

  • 방생성 정보입력 페이지에 프로그레스바 구현

🔹 어떻게 구현했나요?

step에 따라 bar의 색상을 변경해서 구현

🔹 PR 포인트를 알려주세요!

커밋이 한개인게 포인트...

🔹 스크린샷을 남겨주세요!

image

@ljh0608 ljh0608 added the feat new feature label Jul 28, 2024
@ljh0608 ljh0608 requested a review from simeunseo July 28, 2024 16:00
@ljh0608 ljh0608 self-assigned this Jul 28, 2024
Copy link
Member

@simeunseo simeunseo left a comment

Choose a reason for hiding this comment

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

굉장히 심플하네요!!!
제가 브랜치 들어가서 확인해보니, 아직 '선호시간대 입력'뷰가 남아있는 걸로 보여요
지금 develop에는 선호시간대 입력 뷰가 없어진 상태일텐데 혹시 이 부분 확인해보셨을까요..?!!
머지가 안된걸지요?

@@ -42,7 +45,16 @@ function CreateMeeting() {
}

export default CreateMeeting;

const StepBar = styled.div<{ step: number }>`
width: ${({ step }) => `calc(100%* ${step}/6)`};
Copy link
Member

@simeunseo simeunseo Jul 29, 2024

Choose a reason for hiding this comment

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

선호시간대 입력 뷰 없애면, step의 범위는 0~5(6단계)인데 프로그레스바는 1/6만큼 채워져있는 상태에서 시작해야해서, 1/6, 2/6, 3/6, 4/6, 5/6, 6/6 이렇게 변화해야하니 아래와 같이 해야하지 않나 싶은데,, 한번 확인해주세요!

Suggested change
width: ${({ step }) => `calc(100%* ${step}/6)`};
width: ${({ step }) => `calc(100%* ${step + 1}/6)`};

Copy link
Member Author

@ljh0608 ljh0608 Aug 7, 2024

Choose a reason for hiding this comment

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

          <StepBar step={step + 1} />

이렇게 넣어주고 있어 구현상 문제는 없습니다!

Copy link
Member

Choose a reason for hiding this comment

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

아 좋습니다~!

@@ -42,7 +45,16 @@ function CreateMeeting() {
}

export default CreateMeeting;

const StepBar = styled.div<{ step: number }>`
Copy link
Member

@simeunseo simeunseo Jul 29, 2024

Choose a reason for hiding this comment

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

StepBar의 width가 변경될 때 transition이 있으면 훨씬 좋을 것 같은데요!
transition: width 0.3s;정도 추가해주는 것 어떻게 생각하시나요?
그러면 이렇게 부드러워집니당
그리고 이 결과물을 디자인쪽에 보여주면서 어떤지, 조정이 필요할지 물어보면 좋을거같아욥

2024-07-29.7.41.01.mov

Copy link
Member Author

Choose a reason for hiding this comment

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

이방향성이 더 좋은 것 같아 이렇게 진행하겠습니다!

@github-actions github-actions bot added size/XXL and removed size/S labels Aug 7, 2024
@github-actions github-actions bot added size/S and removed size/XXL labels Aug 7, 2024
@ljh0608 ljh0608 merged commit b38b83c into develop Aug 10, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat new feature size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feat] 회의 생성 플로우 프로그레스바 구현
2 participants