Skip to content

[UI] 한 줄 자기소개 화면 구현#37

Merged
FLU0RITE merged 6 commits intodevelopfrom
ui/intro
Apr 28, 2025
Merged

[UI] 한 줄 자기소개 화면 구현#37
FLU0RITE merged 6 commits intodevelopfrom
ui/intro

Conversation

@FLU0RITE
Copy link
Collaborator

#️⃣연관된 이슈

close #35

📝작업 내용

한 줄 자기소개 화면 구현

스크린샷 or 작업영상

Screen_recording_20250426_014814.webm

Simulator Screen Recording - iPhone 13 mini - 2025-04-26 at 02 09 42

💬리뷰 요구사항

다음 계획

승인 대기중

@FLU0RITE FLU0RITE added the ui Further information is requested label Apr 25, 2025
@FLU0RITE FLU0RITE requested a review from kkosang April 25, 2025 17:18
@FLU0RITE FLU0RITE self-assigned this Apr 25, 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.

굿 좋습니다 몇가지 코멘트 남겨놨으니 확인 부탁드려요~

);
}

Widget _buildHeaderText() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

함수분리 좋습니다~!

Copy link
Collaborator

Choose a reason for hiding this comment

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

해당 파일명은 viewmodel인데, 안에는 Notifier로 쓰고 있네요 !
이 부분 통일 하는게 좋을 것 같아요
~notifier와 viewmodel 중 어떤 네이밍을 선호하시나요

Copy link
Collaborator Author

@FLU0RITE FLU0RITE Apr 27, 2025

Choose a reason for hiding this comment

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

아 그렇네요!! 뷰모델로 변경하겠습니다!!

class ProfileIntroduceNotifier extends StateNotifier<ProfileIntroduceState> {
ProfileIntroduceNotifier() : super(ProfileIntroduceState());

void updateIntroduction(String introduction) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

state를 갱신하는 로직이 조금 어색하게 느껴져요
isValid로 갱신하려는거면 아래와 같은 방법으로 검증하고 값을 넘겨주는게 어떤가요
final isValid = introduction.isNotEmpty && introduction.length <= 15;

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

알려주셔서 감사합니다!!

@FLU0RITE FLU0RITE merged commit fc46f0e into develop Apr 28, 2025
1 check passed
@FLU0RITE FLU0RITE deleted the ui/intro branch April 28, 2025 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ui Further information is requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants