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/#306: 채용공지사항 기능 추가 #307

Merged
merged 2 commits into from
Jan 7, 2024
Merged

Feat/#306: 채용공지사항 기능 추가 #307

merged 2 commits into from
Jan 7, 2024

Conversation

pp449
Copy link
Member

@pp449 pp449 commented Jan 5, 2024

🤠 개요

  • closes: Feat: 채용 공지사항 추가 #306
  • 채용 공지사항을 볼 수 있도록 기능을 추가했어요
  • 채용 공지사항의 경우 업로드 날짜가 아닌 채용 기간을 보여주고 작성자는 보여주지 않도록 했어요

💫 설명

📷 스크린샷 (Optional)

image

pp449 added 2 commits January 5, 2024 20:06
채용 공지는 다른 공지와는 다르게 공지 업로드 날짜가 아닌 채용 기간을 보여주기로 결정했기에 날짜에 대한 변수값이 달라요
그렇기에 해당 변수명도 props 로 받아 보여질 수 있도록 하였고 채용 공지의 경우 작성자가 보이지 않도록 했어요
@pp449 pp449 added the ✨ feat label Jan 5, 2024
@pp449 pp449 self-assigned this Jan 5, 2024
Copy link
Collaborator

@hwinkr hwinkr left a comment

Choose a reason for hiding this comment

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

✅ LGTM

}

const AnnounceCard = ({
title,
link,
uploadDate,
recruitment_period,
Copy link
Collaborator

Choose a reason for hiding this comment

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

AnnounceCard 컴포넌트가 받는 props가 점점 더 많아지고 있는 것 같네요...
이 컴포넌트도 합성 컴포넌트 패턴을 적용하면 더 유연하게 대처할 수 있을 것 같아요.
다른 공지사항들도 AnnounceCard 컴포넌트를 사용하고, 또 다른 props를 추가로 전달해야 한다면
이 상황이 필요한 모달들(ConfirmModal, AlertModal, SuggestionModal)을 모두 만들었던 이전의 상황과 비슷해지고 있다는 생각이 들어서 다음 회의 때 한번 얘기 나눠보면 좋을 것 같아요!

@pp449 pp449 merged commit 7e2221c into dev Jan 7, 2024
1 check passed
@pp449 pp449 deleted the feat/#306 branch January 7, 2024 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feat: 채용 공지사항 추가
2 participants