Feature/refactor domain model structure#103
Merged
Conversation
- 일정 관련 공통 속성(`id`, `title`, `location`, `scheduleTime`, `scheduleStatus`)을 `ScheduleBase` 추상 클래스로 분리하였습니다. - 기존 `GroupScheduleSummary`는 `JoinableGroupSchedule`로 이름을 변경하여, 참여 가능한 일정이며 소유자 정보를 포함한다는 역할을 명확히 했습니다. - `GroupSchedule`, `JoinableGroupSchedule`, `UpcomingSchedule` 등이 이를 상속하도록 구조를 통합했습니다. - 네이밍 일관성을 위해 `scheduleName` → `title`로, `scheduleId` → `id`로 통일했습니다.
- 그룹 공통 속성(id, name, memberSize)을 GroupBase 추상 클래스로 분리하여 중복을 제거하였습니다. - JoinedGroup은 사용자가 참여한 그룹 요약 정보를 나타내며, lastScheduleTime 속성을 포함합니다. - GroupDetail은 상세 정보 화면에서 사용되며, members 리스트를 기반으로 memberSize를 자동 계산합니다.
…Schedule - 홈 화면에서 사용하던 'GroupSummary' 용어를 'JoinedGroup'으로 전면 교체하여 명확한 의미 전달이 가능하도록 수정했습니다. - 약속 관련 모델 및 UI에서 사용되던 'Schedule' 용어를 'UpcomingSchedule'로 변경하여 다가오는 일정임을 명시적으로 표현했습니다. - 이에 따라 클래스명, 함수명, 변수명, 주석, 문자열 리소스 등을 일괄적으로 수정했습니다. - PreviewProvider 이름도 새로운 네이밍 규칙에 맞춰 함께 변경했습니다.
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.
PULL REQUEST
그룹(Group) 및 일정(Schedule) 관련 도메인 모델, UI 구성, 네이밍 구조 전반에 걸친 리팩터링 작업입니다.
기존 중복된 속성 구조를 통합하고, 각 모델의 역할을 명확히 구분하며, 용어 및 코드 컨벤션을 일관되게 정리하였습니다.
Description
일정(Schedule) 모델 구조 개선
ScheduleBase추상 클래스를 도입하여 중복되는 일정 공통 필드(id,title,location,scheduleTime,scheduleStatus)를 통합했습니다.ScheduleBase를 상속하도록 리팩터링:GroupScheduleJoinableGroupSchedule(이전:GroupScheduleSummary)UpcomingSchedule(이전:Schedule)scheduleId→idscheduleName→title그룹(Group) 모델 구조 개선
id,name,memberSize)을GroupBase추상 클래스로 분리하여 중복 제거.GroupBase를 상속하도록 구조화:JoinedGroup(이전:GroupSummary)lastScheduleTime을 포함해 최근 활동 여부 확인 가능GroupDetailmemberSize자동 계산네이밍 및 UI 구조 전반 정리
GroupSummaryCard→JoinedGroupCard, 등)getGroupSummaryPagingData()→getJoinedGroupsPagingData()GroupSummaryContent→JoinedGroupsContentGroupSummaryCard→JoinedGroupCardGroupSummaryList→JoinedGroupListContent기대 효과