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

[IDLE-000] 메인화면 위치표시및 공고 카드 변경된 디자인 적용 #53

Merged
merged 5 commits into from
Sep 5, 2024

Conversation

J0onYEong
Copy link
Contributor

변경된점

  • 메인화면 좌측 상단에 요양보호사 위치표시
  • 공고 카드 상단에, 도보거리표시

메인화면 좌측 상단에 요양보호사 위치표시

앱을 시작하면 로컬에 저장된 정보(토큰, 유저타입)을 사용하여 유저 프로필을 요청합니다.
해당 요청이 발생하는 이유 두가지 입니다.

  • 앱시작시 불러온 프로필 정보를 로컬에 캐싱해 두고 필요할 때마다 꺼내 쓰기
  • 유저의 토큰을 앱시작시 강제로 리프래쉬 하게하고 만료시 바로 로그인 화면으로 이동시키기 위해서

Worker/Center의 ProfileUseCase에서 요청전 캐싱정보가 있는지 확인합니다.

스크린샷 2024-09-05 오후 1 14 23

스크린샷 2024-09-05 오후 1 13 30

공고 카드에 도보거리 태그 표시

스크린샷 2024-09-05 오후 1 11 16

현재 서버로부터 전달받는 거리는 미터 단위입니다. 이를 도보 거리로 변경하기 위한 로직은 Cell의 RenderObject가 보유하고 있습니다.
추후에 다른 곳에서 사용할 수 있는 경우 UseCase등으로 빼려고 합니다

@J0onYEong J0onYEong requested a review from monibu1548 September 5, 2024 04:14
@J0onYEong J0onYEong merged commit d9caa9e into develop Sep 5, 2024
1 check passed
@J0onYEong J0onYEong deleted the feature/worker_location_and_card branch September 5, 2024 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant