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

Refactoring : 모임 상세 페이지 리팩토링 #229

Merged
merged 18 commits into from
Aug 18, 2023

Conversation

kangju2000
Copy link
Contributor

💡 왜 PR을 올렸나요?

💁 무엇이 어떻게 바뀌나요?

  1. 모임 상세 페이지를 디자인에 맞게 수정했습니다.

  2. member api 및 notice api를 추가 후 연결했습니다.

  3. Flex의 flex-column -> flex-col 로 변경 / Modal의 취소 text 워딩 변경(아니요 -> 아니오)

  4. next 이미지의 remotePattern을 전체로 허용했습니다.

외부 url의 권한을 설정하지 않으면 에러가 뜨기 때문에, 개발 시 전체로 권한을 두고 후에 설정하는 것이 좋을 것 같아 전체 권한으로 두었습니다.

💬 리뷰어분들께

@github-actions
Copy link

Labeler가 제목과 설명에 있는 특별한 텍스트와 일치하는 레이블을 적용했습니다.
Label을 검토하고 필요한 변경 사항을 적용해 주세요.

@github-actions github-actions bot added the Refactoring 리팩토링을 수행한 경우 label Aug 17, 2023
/>
<div className="grow">
<Flex align="center">
<p className="text-paragraph-2 text-sign-secondary">{article.name}</p>
Copy link
Member

Choose a reason for hiding this comment

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

p3)

article을 구조분해 할당하여 각 사용하는 곳에서 article.없이 사용할 수 있게 하는 방식으로 통일하는 게 어떤가요 ??

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Grouping에서의 isCaptain과 Article에서의 isCaptain을 구분 짓기 위해 이렇게 했는데, 더 좋은 방법이 있을까요?


import type { Article } from '@/apis/groups/type';

interface ArticleItemProps {
article: Article;
isBoardDetail?: boolean;
isCaptain: boolean;
Copy link
Member

Choose a reason for hiding this comment

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

p3)

호스트의 비중이 호스트 아닌사람 보다 적으니, isCaption의 default값을 false로 설정해두면 좋을 것 같네요 !

Copy link
Contributor Author

Choose a reason for hiding this comment

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

isCaptain은 서버에서 받아오는 데이터가 필수로 들어가야하기 때문에 디폴트 설정이 필요 없습니다! 옵셔널로 할 때만 디폴트 설정을 넣으면 될 것 같아요

Copy link
Member

@guesung guesung left a comment

Choose a reason for hiding this comment

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

LGTM 👍

코멘트 부분만 확인해주세용!

@kangju2000 kangju2000 merged commit 64cbcde into develop Aug 18, 2023
1 check passed
@kangju2000 kangju2000 deleted the feature/224-refactoring-grouping-page branch August 18, 2023 10:34
guesung pushed a commit that referenced this pull request Jul 12, 2024
…ing-page

Refactoring : 모임 상세 페이지 리팩토링
guesung pushed a commit that referenced this pull request Jul 17, 2024
…ing-page

Refactoring : 모임 상세 페이지 리팩토링
guesung pushed a commit that referenced this pull request Jul 17, 2024
…ing-page

Refactoring : 모임 상세 페이지 리팩토링
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Refactoring 리팩토링을 수행한 경우
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Refactoring] 모임 페이지 변경된 디자인에 맞게 리팩토링
2 participants