Skip to content

Conversation

@yyezzzy
Copy link
Collaborator

@yyezzzy yyezzzy commented Dec 12, 2024

해야할 것

  • 지원현황 정렬
  • 삭제 api 연결

한 것

  • 수정하기 버튼 클릭시 /edit
  • 로딩스피너 추가
  • alba/[formId] 폴더 합치기, albax 삭제
  • 지원자/사장님/비회원 조건부 꼼꼼히 처리

@yyezzzy yyezzzy added 📦️ Chore 자잘한 수정 ✨ Feat 새로운 기능 labels Dec 12, 2024
@yyezzzy yyezzzy self-assigned this Dec 12, 2024
@github-actions
Copy link

github-actions bot commented Dec 12, 2024

💄 Storybook: https://673dcf13c9a3a1189a7c6fd4-istdvbpevn.chromatic.com/ # Chromatic에서 생성된 Storybook URL
🕖 Update: 2024년 12월 12일 21시 23분 05초 # 현재 시간

@cccwon2 cccwon2 requested review from cccwon2, hongggyelim and imtaejunk and removed request for cccwon2 December 12, 2024 09:16
Copy link
Contributor

@cccwon2 cccwon2 left a comment

Choose a reason for hiding this comment

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

수고하셨습니다.

if (!isOwnerRole) {
return (
<div className="space-y-4 text-2xl">
<Button className="h-10 sm:h-12 md:h-16" width="lg" icon={<FcFile />}>
Copy link
Collaborator

Choose a reason for hiding this comment

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

"h-10 sm:h-12 md:h-16"와 같이 반복되는 코드는 별도 변수로 사용하는게 유지보수 측면에서도 좋다고 생각합니다!

Copy link
Collaborator

Choose a reason for hiding this comment

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

제가 폴더 합치면서 edit 밑에 components 폴더를 추가했네요! 상세 페이지와 관련된 컴포넌트는 alba/[formId]/component 경로로 두는게 더 좋을것같아요

Copy link
Collaborator

Choose a reason for hiding this comment

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

파일 이름에 오타가 났네욥 Info(r)mation

<div className="flex h-[calc(100vh-200px)] items-center justify-center">
<LoadingSpinner />
</div>
);
Copy link
Collaborator

Choose a reason for hiding this comment

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

👍

{albaFormDetailData && (
<>
<FormHeader albaFormDetailData={albaFormDetailData} />
<FormDetails albaFormDetailData={albaFormDetailData} />
Copy link
Collaborator

Choose a reason for hiding this comment

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

쿼리 데이터를 prop으로 넘겨줄 필요가 있을까요? 🤔 컴포넌트 내에서 데이터 값을 가져오는건 어떨까요? 잘 모르겠네용

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

저도 쿼리를 호출하느냐 props로 넘겨주느냐 AI 선생님한테 물어봤는데 현재 코드는 깊이가 별로 안되어서 넘겨주는게 더 낫다고 하더라구요 👀

Copy link
Collaborator

Choose a reason for hiding this comment

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

아항 쿼리를 호출하는게 반드시 효율적인건 아닌가보네요! 👍


import React from "react";

export default function DotLodingSpinner() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Loading a가 빠졌네욥

Copy link
Collaborator Author

@yyezzzy yyezzzy Dec 12, 2024

Choose a reason for hiding this comment

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

오타 잘 찾으시네요 ㅎㅋㅋ 👍

Copy link
Collaborator

@hongggyelim hongggyelim left a comment

Choose a reason for hiding this comment

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

로딩스피너 추가 감사합니다 👍

@cccwon2 cccwon2 merged commit 7d138b3 into dev Dec 12, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📦️ Chore 자잘한 수정 ✨ Feat 새로운 기능

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants