Skip to content

[FEAT] 프로필 정보 보내기 api 구현#54

Merged
FLU0RITE merged 4 commits intodevelopfrom
feat/profile_api
May 10, 2025
Merged

[FEAT] 프로필 정보 보내기 api 구현#54
FLU0RITE merged 4 commits intodevelopfrom
feat/profile_api

Conversation

@FLU0RITE
Copy link
Collaborator

#️⃣연관된 이슈

close #51

📝작업 내용

  • 작성한 프로필에 대한 viewmodel 생성
  • api 추가

스크린샷 or 작업영상

같이 작업하며 확인 완료한 관계로 생략하겠습니다!

💬리뷰 요구사항

리펙토링해야 하는 부분이 있습니다.

viewmodel을 어떻게 분리해야할지 의견 부탁드립니다!

@FLU0RITE FLU0RITE requested a review from kkosang May 10, 2025 02:09
@FLU0RITE FLU0RITE self-assigned this May 10, 2025
@FLU0RITE FLU0RITE added the feat Improvements or additions to documentation label May 10, 2025
Copy link
Collaborator

@kkosang kkosang left a comment

Choose a reason for hiding this comment

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

하나로 관리하니까 확실히 어마무시하긴 하네요..😱
나중에 리펙토링데이 함 하시죠

final String job;
final String alcohol;
final String smoke;
final List<String> hobby;
Copy link
Collaborator

Choose a reason for hiding this comment

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

서버에서 사용하는 Dto와 앱에서 사용하는 프로퍼티의 이름을 따로 사용하고 싶으면 애노테이션을 활용하면 좋을 것 같습니돠 !

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

넵! 반영하겠씁니다!!

suffixIcon: IconButton(
icon: Icon(Icons.clear, size: 16),
onPressed: () => {/*todo 삭제버튼*/},
onPressed: () => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

옹 삭제버튼 굿입니다~

alignment: Alignment.centerRight,
child: Text(
"${selectedIndexes.length} / $maxSelection",
"${state.selectedInterestOptions.length} / 5",
Copy link
Collaborator

Choose a reason for hiding this comment

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

여기서 maxSelection에서 매직넘버로 바꼈네요 이유가 있나요??

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

maxSelection을 지금 생각해 보니까 써야겠네요!
저번엔 따로 관리해야겠다는 차원에서 일단 숫자로 직접 쓴 후 나중에 리펙토링하면서 바꾸려고 했는데
그냥 쓰면 됐겠네요!

@FLU0RITE FLU0RITE merged commit 670b11b into develop May 10, 2025
1 check passed
@FLU0RITE FLU0RITE deleted the feat/profile_api branch May 10, 2025 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants