Repository navigation
Refactor/mobile remove legacy fields - #146
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
작업 내용
user_club_review.rating제거club.articleUploadedAt제거club.activityCycle제거club.college제거club.articleUploadedAt대신 대표club_recruitment.updatedAt기준으로 변경했습니다.activityCycle대신minActivityPeriod기준으로 통일했습니다.club.college대신collegeMajor관계로 표시하도록 변경했습니다.collegeMajor관계를 함께 반환하도록 검색 쿼리를 수정했습니다.동아리 description 표시 규칙
club.description은 이번 PR에서 제거하지 않고 구데이터 호환을 위한 fallback으로 유지했습니다.기본 동아리 목록·검색·상세·관리 화면은 다음 규칙을 사용합니다.
shortDescription이 있고 소속이기타가 아닌 경우shortDescription이 없는 경우이 경우 소속 정보는 함께 표시하지 않습니다.
affiliationType이기타인 경우기타 소속문구는 표시하지 않습니다.홈의 다음 캐러셀에서는 소속 정보 없이 요약만 표시합니다.
캐러셀 표시 규칙:
text shortDescription → 없으면 descriptiondescriptionfallback은 기존 데이터 중short_description이 비어 있는 동아리의 소개가 사라지는 것을 방지하기 위해 유지했습니다. 추후 데이터 백필과 서버 전환이 완료되면 별도로 제거할 수 있습니다.변경 이유
club.college가 아닌club.college_major_id→college_major관계 기준으로 통일하기 위함입니다.모집공고와 활동 기간 정보를 각각
club_recruitment,minActivityPeriod기준으로 통일하기 위함입니다.기존 데이터에
short_description이 없는 경우를 고려해description을 한시적인 fallback으로 유지했습니다.테스트한 내용
스크린샷 (선택)
체크