Skip to content

Conversation

@BaeZzi813
Copy link
Contributor

@BaeZzi813 BaeZzi813 commented Oct 17, 2025

📝 작업 개요 (필수)

가게 등록 공고 조회 / 6개 이상 카드 무한 스크롤로 데이터 호출 구현

추가적으로, 제 페이지 작업하면서 포스트맨으로 테스트 마구 쐈던 공고들 어느정도 PUT 으로 수정해놨습니다😂

✨ 작업 내용 (필수)

  • 기능 구현
  • 버그 수정
  • 스타일/UI 변경
  • 리팩토링
  • 최적화/성능개선
  • 문서 업데이트
  • 기타 변경사항

📸 스크린샷

🧐 해결해야 하는 문제

🤔 리뷰어 확인 필요 사항

🔗 관련 이슈

🛠️ 후속 작업

  • 화면 전환 시 화면 깜빡임 현상 발생으로, API 함수 호출 최적화

✅ 체크리스트 (필수)

  • 작업한 내용과 커밋 메시지 컨벤션을 통일했는지 확인
  • 내가 작성한 코드를 테스트까지 완료했는지 잘 작동했는지 확인
  • ESLint 검사 통과
  • Prettier 포맷팅 적용
  • TypeScript 에러 없음
  • 빌드 에러 없음

@vercel
Copy link

vercel bot commented Oct 17, 2025

@BaeZzi813 is attempting to deploy a commit to the projects Team on Vercel.

A member of the Team first needs to authorize it.

@BaeZzi813 BaeZzi813 added the ✨ feat 새로운 기능 추가 label Oct 17, 2025
@BaeZzi813 BaeZzi813 self-assigned this Oct 17, 2025
@vercel
Copy link

vercel bot commented Oct 18, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
thejulge Error Error Oct 18, 2025 7:23pm

💡 Enable Vercel Agent with $100 free credit for automated AI reviews

Copy link
Contributor

@sohyun0 sohyun0 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
Contributor

Choose a reason for hiding this comment

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

스크린샷 2025-10-18 오후 2 30 40 해당부분 export 변경되면서 다른파일에서 모듈을 읽지못하고 있어서 버셀 에러가 발생했습니다 수정부탁드립니다!

파일 : ./src/api/employer.ts:2:8
내용 : Type error: Module '"/vercel/path0/src/types/myShop"' has no default export. Did you mean to use 'import { RegisterFormData } from "/vercel/path0/src/types/myShop"' instead?
위치 : import RegisterFormData from '@/types/myShop';

Copy link
Contributor Author

Choose a reason for hiding this comment

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

네 수정했습니다!

Copy link
Contributor

@sohyun0 sohyun0 Oct 18, 2025

Choose a reason for hiding this comment

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

./src/components/features/my-shop/registerAddress.tsx:3:8
Type error: Module '"/vercel/path0/src/types/myShop"'
import RegisterFormData from '@/types/myShop';
부분도 수정부탁드립니다!

스크린샷 2025-10-19 오전 2 32 59

이렇게 검색되어서 나오는 부분은 전부 export 수정해주셔야 합니다!

const USER_ID_KEY = 'thejulge_user_id';
const EXPIRES_KEY = 'thejulge_expires_at';
const EXPIRES_DURATION_MS = 10 * 60 * 1000; // 10분
const EXPIRES_DURATION_MS = 1000 * 60 * 1000; // 10분
Copy link
Contributor

Choose a reason for hiding this comment

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

재영님께서 수정해서 올리시면 신천님께서 다시계속 수정하셔서 이 부분은 커밋하실때 제외하시는게 좋을것 같습니다!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

네 수정했습니다!

Comment on lines 82 to 90
if (!user)
return (
<Frame
title='내 가게'
content='로그인 후 가게를 관리할 수 있습니다.'
buttonText='로그인하기'
href='/login'
/>
);
Copy link
Contributor

Choose a reason for hiding this comment

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

user가 알바생일 경우에는 해당 페이지가 보여지면 안돼니까 그냥 가장 상단에서 role 를 판별해서 사장님이아니면 메인페이지로 보내버리는게 어떨까요? 이부분 동작은 인화님과 동일하게 가져가야할것 같습니다!
(유저는 하나의 내가게로 인식할텐데 어디페이지에서는 노출하고, 어디페이지에서는 메인으로 보내버리므로 통일화 필요)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

네! 게스트일 경우 로그인화면으로 / 알바일 경우 메인페이지로 경고 모달과 함께 리다이렉트 시켰습니다.

</Notice>
<section className='mt-10 max-w-full bg-gray-100 tablet:mt-20'>
{shopNotice.length > 0 ? (
<>
Copy link
Contributor

Choose a reason for hiding this comment

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

프래그먼트 태그는 없어도 될 것 같습니다~!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

user 형태에 따라 모달 띄우는 것 때문에 return 내 구조를 조금 바꾸면서 해당 내용 바뀌었습니다!

{shopNotice.length > 0 ? (
<>
<Container as='section' isPage className='pt-0'>
<div className='mt-7 tablet:mt-0'>
Copy link
Contributor

Choose a reason for hiding this comment

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

이부분 태그 없애고 container 에 넣을수도 있을것 같습니다!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

네 시멘틱태그 수정했습니다!

@sohyun0 sohyun0 merged commit 10c47ce into codeit-FE18-part3:develop Oct 18, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ feat 새로운 기능 추가

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants