Skip to content

Refactor(HK-163): 세부부분 수정#71

Merged
soooheeee merged 5 commits intomainfrom
refactor/HK-163-ui-refactor
Sep 8, 2025
Merged

Refactor(HK-163): 세부부분 수정#71
soooheeee merged 5 commits intomainfrom
refactor/HK-163-ui-refactor

Conversation

@soooheeee
Copy link
Copy Markdown
Contributor

@soooheeee soooheeee commented Aug 8, 2025

Motivation

  • Login, Logout 버튼을 아이콘으로 수정하기 위함
  • 비밀번호 설정 영역에서 경고 메시지가 버튼과 겹치는 현상 수정
  • SSH Connection부분
    • Connection Name필드에 띄어쓰기를 포함하면 에러 문구 발생
    • 모든 입력 필드를 작성하지 않을 경우, 버튼 비활성화

Problem Solving

  • 로그인/로그아웃 버튼을 아이콘으로 변경
    (commit: 56ae2ff)

  • 비밀번호 설정 시:

    • 경고 메시지가 버튼과 겹치는 문제 수정
      (5126bd2)
      before-1

    • 입력값을 모두 삭제해도 경고 메시지가 남아있는 문제 수정
      (5126bd2)
      before-2

  • 공백 입력 시 경고 문구 표시 및 버튼 활성화(c7dff38)
    Refactor(HK-163): 세부부분 수정 #71 (comment)

    • 코드 리뷰 반영 전
    image
    • 코드 리뷰 반영 후
    image

To Reviewer

코드 리뷰 반영해서 다시 올렸습니다~
확인해 주세요!

@aws-amplify-ap-northeast-2
Copy link
Copy Markdown

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-71.d15ua1f8x2sllg.amplifyapp.com

@Jsplix Jsplix requested review from Jsplix and juiuj August 31, 2025 12:30
Copy link
Copy Markdown
Contributor

@Jsplix Jsplix left a comment

Choose a reason for hiding this comment

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

고생하셨습니다~ 코멘트 확인부탁드립니다. ㅎㅎ

@soooheeee soooheeee self-assigned this Sep 8, 2025
@soooheeee soooheeee added enhancement New feature or request fix 코드 및 기능 수정 labels Sep 8, 2025
@soooheeee soooheeee requested a review from Jsplix September 8, 2025 07:40
const accessToken = getStoredToken();
const trimmedValues = inputValues.map((value) => value.trim());

const hasEmpty = trimmedValues.some((v) => v.length === 0);
Copy link
Copy Markdown
Contributor Author

@soooheeee soooheeee Sep 8, 2025

Choose a reason for hiding this comment

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

추가적으로 공백만 입력하면 trim()으로 잘려서 ""가 되고, v.length === 0이 되어 hasEmpty가 true가 됩니다. 이 과정으로 alert창이 뜨도록 구현했습니다!

Copy link
Copy Markdown
Contributor

@Jsplix Jsplix left a comment

Choose a reason for hiding this comment

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

확인했습니다~

@soooheeee soooheeee merged commit 7077168 into main Sep 8, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request fix 코드 및 기능 수정

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants