Skip to content

Feature: 다시보기 완성 #299

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

Merged
merged 1 commit into from
Dec 14, 2023
Merged

Conversation

Jw705
Copy link
Collaborator

@Jw705 Jw705 commented Dec 14, 2023

서버에서 받아온 데이터로 다시보기를 확인 할 수 있습니다.

작업 개요

다시보기 데이터를 서버에서 받아서 실행 할 수 있습니다.

작업 사항

  • 다시보기 페이지에 입장하면 주소로 받은 id로 서버에 다시보기 데이터를 요청한다.
  • 다시보기 데이터를 받으면 프로그래스바를 활성화 시키고 다시보기를 볼 수 있다.

스크린샷

55.mp4

서버에서 받아온 데이터로 다시보기를 확인 할 수 있습니다.
@Jw705 Jw705 added ✨ Feat 기능 개발 FE 프론트엔드 작업 labels Dec 14, 2023
@Jw705 Jw705 added this to the 6주차 milestone Dec 14, 2023
@Jw705 Jw705 self-assigned this Dec 14, 2023
Copy link

netlify bot commented Dec 14, 2023

Deploy Preview for boarlog ready!

Name Link
🔨 Latest commit 4fca3a7
🔍 Latest deploy log https://app.netlify.com/sites/boarlog/deploys/657a65ef4db0a100088c39b8
😎 Deploy Preview https://deploy-preview-299--boarlog.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@Byeonjin Byeonjin left a comment

Choose a reason for hiding this comment

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

고생 많으셨습니다!

Copy link
Collaborator

@LellowMellow LellowMellow left a comment

Choose a reason for hiding this comment

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

LGTM입니다! 너무 고생 많으셨어요 주완님! :)

Comment on lines +84 to 90
console.log(result.data.logs);
loadedDataRef.current = result.data.logs;
scriptListRef.current = result.data.subtitles;
localAudioRef.current!.src = result.data.audio_file;
localAudioRef.current!.addEventListener("loadedmetadata", () => {
totalTimeRef.current = localAudioRef.current!.duration * 1000;
});
Copy link
Collaborator

Choose a reason for hiding this comment

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

지금은 크게 중요한건 아니지만... 크롱님이 남겨주셨던 코드리뷰가 떠오르네요.. ㅎㅎㅎ 구조분해할당으로 한 번만 객체의 요소에 접근하도록 하는 것도 하나의 방법일 것 같습니다. 나중에 같이 개선해봐요 :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

네 좋아요!

@Jw705 Jw705 merged commit 8af8d44 into boostcampwm2023:dev Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FE 프론트엔드 작업 ✨ Feat 기능 개발
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants