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

Feature/98 은행 하드코딩, 은행 선택, 미선택 UI #100

Merged
merged 2 commits into from
Feb 13, 2024

Conversation

HamBP
Copy link
Member

@HamBP HamBP commented Feb 12, 2024

Issue

작업 내용

  • 은행 코드 노가다
  • 선택, 미선택 UI 추가

코멘트

  • 은행 순서는 지금 코드 순인데, 어쩌면 은행 순서와 이름은 선호도 순으로 바뀔 수도...?
  • 기능 연결하는 건 환불 요청 기능 구현 #42 에서 하겠슴다

@HamBP HamBP added the feat 새로운 기능 label Feb 12, 2024
@HamBP HamBP added this to the my page milestone Feb 12, 2024
@HamBP HamBP self-assigned this Feb 12, 2024
Comment on lines +428 to 435
BankInfo.entries.forEach { bankInfo ->
item {
BackItem()
BackItem(
bankInfo = bankInfo,
onClick = {},
selected = bankInfo.code == "003"
)
}
Copy link
Member

Choose a reason for hiding this comment

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

image

여기는 서버 응답에 의존하는 거 아니야?

Copy link
Member Author

Choose a reason for hiding this comment

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

그거 물어봤는데, 서버에서 아이콘을 주지는 않아서 하드 코딩으로 넣었어!

Copy link
Member

Choose a reason for hiding this comment

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

code 를 key 로 해서 서버에서 내려주는 순서에 의존하는건 어때?

Copy link
Member Author

Choose a reason for hiding this comment

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

enum class는 그대로 두고, 서버에서 준 code 기준으로 정렬해서 보여주자는 뜻인가??

Copy link
Member

@mangbaam mangbaam left a comment

Choose a reason for hiding this comment

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

일단 승인 합니다

@HamBP
Copy link
Member Author

HamBP commented Feb 13, 2024

일단 이 부분은 서버에서도 코드 순서대로 내려주고 있긴 해서, 순서에 대한 논의가 필요할 듯!
머지 해놓고 나중에 수정할게
단순 코드순이 아니라 선호도 순으로 정렬되면 좋을 거 같기도 하고...

@HamBP HamBP merged commit 64069fd into develop Feb 13, 2024
@HamBP HamBP deleted the feature/98 branch February 15, 2024 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat 새로운 기능
Projects
None yet
Development

Successfully merging this pull request may close these issues.

은행 하드코딩 + 은행 선택 UI
2 participants