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

refactor: Memory -> Category 도메인명 변경 및 API URI 변경 #595 #608

Merged
merged 256 commits into from
Feb 6, 2025
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
256 commits
Select commit Hold shift + click to select a range
faa7f3a
refactor: MemoryDataSource의 메서드 파라미터명 변경
Junyoung-WON Jan 13, 2025
cc75fe5
refactor: MemoryDataSource의 메서드명 변경
Junyoung-WON Jan 13, 2025
6ca4a34
refactor: MemoryDataSource를 CategoryDataSource로 변경
Junyoung-WON Jan 13, 2025
ca3b245
refactor: MemoryRemoteDataSource의 프로퍼티명 변경
Junyoung-WON Jan 13, 2025
a14de9e
refactor: MemoryRemoteDataSource 클래스명 변경
Junyoung-WON Jan 13, 2025
a7a802d
refactor: MemoryDefaultRepository의 프로퍼티명 변경
Junyoung-WON Jan 13, 2025
a477830
refactor: MemoryDefaultRepository의 메서드 파라미터명 변경
Junyoung-WON Jan 13, 2025
d3aa506
refactor: MemoryDefaultRepository의 클래스명 변경
Junyoung-WON Jan 13, 2025
e2ab3bf
refactor: data 패키지의 memory 디렉터리명을 category 로 변경
Junyoung-WON Jan 13, 2025
b17cbbc
refactor: MemoriesResponse의 SerialName 값 변경
Junyoung-WON Jan 14, 2025
be1421a
refactor: MemoryCandidateResponse의 SerialName 값 변경
Junyoung-WON Jan 14, 2025
5276765
refactor: MemoriesResponse의 프로퍼티명 변경
Junyoung-WON Jan 14, 2025
a01d22b
refactor: MemoryCandidateResponse의 프로퍼티명 변경
Junyoung-WON Jan 14, 2025
cd2078c
refactor: MemoriesResponse 클래스명 변경
Junyoung-WON Jan 14, 2025
df56ff5
refactor: MemoryCandidateResponse 클래스명 변경
Junyoung-WON Jan 14, 2025
3f94f97
refactor: MemoryCreationResponse의 SerialName 값 변경
Junyoung-WON Jan 14, 2025
8e07424
refactor: MemoryCreationResponse의 프로퍼티명 변경
Junyoung-WON Jan 14, 2025
65474b5
refactor: MemoryCreationResponse 클래스명 변경
Junyoung-WON Jan 14, 2025
0f363d9
refactor: MemoryRequest의 SerialName 값 변경
Junyoung-WON Jan 14, 2025
faf0e82
refactor: MemoryRequest의 프로퍼티명 변경
Junyoung-WON Jan 14, 2025
170a607
refactor: MemoryRequest 클래스명 변경
Junyoung-WON Jan 14, 2025
3bd527d
refactor: MemoryResponse의 SerialName 값 변경
Junyoung-WON Jan 14, 2025
d0d1300
refactor: MemoryResponse의 프로퍼티명 변경
Junyoung-WON Jan 14, 2025
5dfac41
refactor: MemoryResponse 클래스명 변경
Junyoung-WON Jan 14, 2025
52a71bd
refactor: MemoryStaccatoDto 클래스명 변경
Junyoung-WON Jan 14, 2025
7b9f29c
refactor: data.dto의 memory 디렉터리명을 category로 변경
Junyoung-WON Jan 14, 2025
25e63e9
refactor: StaccatoCreationRequest의 SerialName 변경
Junyoung-WON Jan 15, 2025
ffaaa6e
refactor: StaccatoCreationRequest의 프로퍼티명 변경
Junyoung-WON Jan 15, 2025
22c6a67
refactor: StaccatoCreationRequest의 SerialName 값 변경
Junyoung-WON Jan 15, 2025
58f5b2b
refactor: StaccatoResponse의 SerialName 값 변경
Junyoung-WON Jan 15, 2025
6785d70
refactor: StaccatoResponse의 프로퍼티명 변경
Junyoung-WON Jan 15, 2025
e3badb9
refactor: StaccatoUpdateRequest의 SerialName 값 변경
Junyoung-WON Jan 15, 2025
0f3cd15
refactor: StaccatoUpdateRequest의 프로퍼티명 변경
Junyoung-WON Jan 15, 2025
460e628
refactor: Memory의 프로퍼티명 변경
Junyoung-WON Jan 15, 2025
08e749b
refactor: Memory의 클래스명을 Category로 변경
Junyoung-WON Jan 15, 2025
398b937
refactor: MemoryCandidate의 프로퍼티명 변경
Junyoung-WON Jan 15, 2025
1cf32c2
refactor: MemoryCandidate의 클래스명 변경
Junyoung-WON Jan 15, 2025
75edb68
refactor: MemoryCandidates의 프로퍼티명 변경
Junyoung-WON Jan 15, 2025
14c7832
refactor: MemoryCandidates findBy 메서드의 파라미터명 변경
Junyoung-WON Jan 15, 2025
83b3490
refactor: MemoryCandidates from 메서드의 파라미터명 변경
Junyoung-WON Jan 15, 2025
618a078
refactor: MemoryCandidates의 동반객체 프로퍼티명 변경
Junyoung-WON Jan 15, 2025
0cc7a28
refactor: MemoryCandidates 클래스명 변경
Junyoung-WON Jan 15, 2025
86d2a32
refactor: MemoryStaccato 클래스명 변경
Junyoung-WON Jan 15, 2025
ae14e35
refactor: NewMemory의 프로퍼티명 변경
Junyoung-WON Jan 15, 2025
aedaef3
refactor: NewMemory 클래스명을 NewCategory로 변경
Junyoung-WON Jan 15, 2025
d9c1bc3
refactor: Staccato의 프로퍼티명 변경
Junyoung-WON Jan 15, 2025
cd4555f
refactor: Timeline의 프로퍼티명 변경
Junyoung-WON Jan 15, 2025
b43fc47
refactor: MemoryMapper 파일명을 CategoryMapper로 변경
Junyoung-WON Jan 15, 2025
5391232
refactor: TimelineMemoryDto의 SerialName 값 변경
Junyoung-WON Jan 15, 2025
047a117
refactor: TimelineMemoryDto의 프로퍼티명 변경
Junyoung-WON Jan 15, 2025
8c5cac9
refactor: TimelineMemoryDto 클래스명 변경
Junyoung-WON Jan 15, 2025
7dc72c8
refactor: TimelineResponse의 SerialName 값 변경
Junyoung-WON Jan 15, 2025
3eeb078
refactor: TimelineResponse의 프로퍼티명 변경
Junyoung-WON Jan 15, 2025
9f25321
refactor: TimelineResponse toDomain 확장함수의 변수명 수정
Junyoung-WON Jan 15, 2025
a73cda6
refactor: TimelineCategoryDto의 확장함수명 변경
Junyoung-WON Jan 15, 2025
79e7171
refactor: TimelineResponse의 확장함수 수정
Junyoung-WON Jan 15, 2025
7cba9d8
refactor: CategoryDataSource 바인딩 메서드 수정
Junyoung-WON Jan 15, 2025
03282c3
refactor: CategoryRepository 바인딩 메서드 수정
Junyoung-WON Jan 15, 2025
b472daf
refactor: CategoryApiService provide 메서드 수정
Junyoung-WON Jan 15, 2025
50ae7ff
refactor: MemoryRepository의 메서드 파라미터명 변경
Junyoung-WON Jan 15, 2025
849c241
refactor: MemoryRepository의 메서드명 변경
Junyoung-WON Jan 15, 2025
da82874
refactor: MemoryRepository 클래스명 변경
Junyoung-WON Jan 15, 2025
56e389b
refactor: StaccatoRepository의 메서드 파라미터명 변경
Junyoung-WON Jan 15, 2025
bc2d7d7
refactor: TimelineRepository의 메서드명 변경
Junyoung-WON Jan 15, 2025
69b9d43
refactor: memory 패키지명을 category로 수정
Junyoung-WON Jan 16, 2025
abc3d82
refactor: StaccatoViewHolder의 bind 메서드 파라미터명 수정
Junyoung-WON Jan 16, 2025
0a4cf37
refactor: MemoryStaccatoUiModel 클래스명 수정
Junyoung-WON Jan 16, 2025
56231e3
refactor: MemoryUiModel의 프로퍼티명 수정
Junyoung-WON Jan 16, 2025
f0262ef
refactor: MemoryUiModel의 클래스명 수정
Junyoung-WON Jan 16, 2025
c193a41
refactor: MemoryViewModel의 프로퍼티명 수정
Junyoung-WON Jan 16, 2025
176eddb
refactor: MemoryViewModel의 메서드 수정
Junyoung-WON Jan 16, 2025
573d4ae
refactor: MemoryViewModel의 클래스명 수정
Junyoung-WON Jan 16, 2025
bc4f1cd
refactor: MemoryHandler -> CategoryHandler로 변경
Junyoung-WON Jan 28, 2025
f761904
refactor: Intent의 Extra key의 값 변경
Junyoung-WON Jan 28, 2025
3736aab
refactor: memoryId 프로퍼티명을 categoryId 로 변경
Junyoung-WON Jan 28, 2025
0d95761
refactor: observeMemory 메서드 내부의 memory 제거
Junyoung-WON Jan 28, 2025
8f62b00
refactor: observeMemory 메서드명 변경
Junyoung-WON Jan 28, 2025
c69165b
refactor: onUpdateClicked 메서드 내부 memory 제거
Junyoung-WON Jan 28, 2025
e377f32
refactor: MEMORY_ID_KEY 동반객체명 변경
Junyoung-WON Jan 28, 2025
e014c73
refactor: MEMORY_TITLE_KEY 동반객체명 변경
Junyoung-WON Jan 28, 2025
9117166
refactor: MemoryFragment -> CategoryFragment 로 변경
Junyoung-WON Jan 28, 2025
593c42b
refactor: memoryHandler -> categoryHandler 로 변경
Junyoung-WON Jan 28, 2025
73d2f5b
refactor: View ID의 memory를 변경
Junyoung-WON Jan 28, 2025
2410aa1
refactor: fragment_category 로 파일명 변경
Junyoung-WON Jan 29, 2025
62a8a7f
refactor: memoryCreationLauncher 변수명 변경
Junyoung-WON Jan 29, 2025
292cc4f
refactor: memoryUpdateLauncher 변수명 변경
Junyoung-WON Jan 29, 2025
200d279
refactor: handleMemoryResult 메서드명 변경
Junyoung-WON Jan 29, 2025
6510bdc
refactor: memoryRepository 프로퍼티명 변경
Junyoung-WON Jan 29, 2025
b382648
refactor: _createdMemoryId 프로퍼티명 변경
Junyoung-WON Jan 29, 2025
7b8decd
refactor: createdMemoryId 프로퍼티명 변경
Junyoung-WON Jan 29, 2025
bb8779a
refactor: setMemoryPeriod 메서드명 변경
Junyoung-WON Jan 29, 2025
c5d1ee0
refactor: createMemory 메서드명 변경
Junyoung-WON Jan 29, 2025
e513da1
refactor: createMemory 메서드의 memory 변수명 변경
Junyoung-WON Jan 29, 2025
c55156f
refactor: setCreatedMemoryId 메서드의 파라미터명 변경
Junyoung-WON Jan 29, 2025
7afab06
refactor: setCreatedMemoryId 메서드명 변경
Junyoung-WON Jan 29, 2025
04d83c3
refactor: makeNewMemory 메서드명 변경
Junyoung-WON Jan 29, 2025
24d549d
refactor: MEMORY_FILE_NAME 동반객체명 변경
Junyoung-WON Jan 29, 2025
5abea4d
refactor: MemoryCreationViewModel 클래스명 변경
Junyoung-WON Jan 29, 2025
993984c
refactor: MemoryCreationError의 제네릭 클래스명 변경
Junyoung-WON Jan 29, 2025
526294c
refactor: MemoryCreationError 클래스명 변경
Junyoung-WON Jan 29, 2025
57a146a
refactor: MemoryCreationHandler 인터페이스명 변경
Junyoung-WON Jan 29, 2025
664a8e7
refactor: reCreateMemory 메서드명 변경
Junyoung-WON Jan 29, 2025
2bf3ed4
refactor: observeCreatedMemoryId 메서드의 람다 파라미터명 변경
Junyoung-WON Jan 29, 2025
18eb5e8
refactor: observeCreatedMemoryId 메서드명 변경
Junyoung-WON Jan 29, 2025
b491a49
refactor: updateMemoryPeriod 메서드명 변경
Junyoung-WON Jan 29, 2025
cd81850
refactor: MemoryCreationActivity 클래스명 변경
Junyoung-WON Jan 29, 2025
c013625
refactor: activity_memory_creation의 View ID 변경
Junyoung-WON Jan 29, 2025
e1b74de
refactor: activity_memory_creation 파일명 변경
Junyoung-WON Jan 29, 2025
c0eb2a5
refactor: memorycreation 패키지명 변경
Junyoung-WON Jan 29, 2025
f956f72
refactor: memoryRepository 프로퍼티명 변경
Junyoung-WON Jan 29, 2025
66cae3b
refactor: _memory 프로퍼티명 변경
Junyoung-WON Jan 29, 2025
6d26760
refactor: memory 프로퍼티명 변경
Junyoung-WON Jan 29, 2025
106cf43
refactor: memoryId 프로퍼티명 변경
Junyoung-WON Jan 29, 2025
b47e020
refactor: MEMORY_FILE_NAME 동반객체명 변경
Junyoung-WON Jan 29, 2025
cfd69b8
refactor: handleInitializeMemoryException 메서드명 변경
Junyoung-WON Jan 29, 2025
d770478
refactor: handleInitializeMemoryError 메서드명 변경
Junyoung-WON Jan 29, 2025
fa0b361
refactor: makeNewMemory 메서드명 변경
Junyoung-WON Jan 29, 2025
89f465a
refactor: checkMemoryHasPeriod 메서드의 파라미터명 변경
Junyoung-WON Jan 29, 2025
87a2818
refactor: checkMemoryHasPeriod 메서드명 변경
Junyoung-WON Jan 29, 2025
c3d39d9
refactor: initializeMemory 메서드의 파라미터명 변경
Junyoung-WON Jan 29, 2025
a3d26e3
refactor: initializeMemory 메서드명 변경
Junyoung-WON Jan 29, 2025
880ca9c
refactor: setMemoryPeriod 메서드명 변경
Junyoung-WON Jan 29, 2025
d8d003d
refactor: updateMemory 메서드의 newMemory 변수명 변경
Junyoung-WON Jan 29, 2025
216886a
refactor: updateMemory 메서드명 변경
Junyoung-WON Jan 29, 2025
04fd271
refactor: fetchMemory 메서드명 변경
Junyoung-WON Jan 29, 2025
58ab9b3
refactor: MemoryUpdateViewModel 클래스명 변경
Junyoung-WON Jan 29, 2025
0a97e09
refactor: MemoryUpdateError 클래스명 변경
Junyoung-WON Jan 29, 2025
67e2114
refactor: MemoryUpdateHandler 인터페이스명 변경
Junyoung-WON Jan 29, 2025
6dad4f4
refactor: memoryId 프로퍼티명 변경
Junyoung-WON Jan 29, 2025
13d9378
refactor: startWithResultLauncher 메서드의 파라미터명 변경
Junyoung-WON Jan 29, 2025
ce81c7e
refactor: DEFAULT_MEMORY_ID 동반객체명 변경
Junyoung-WON Jan 29, 2025
1a813e1
refactor: reUpdateMemory 메서드명 변경
Junyoung-WON Jan 29, 2025
1cd9be8
refactor: reCreateThumbnailUrl 메서드명 변경
Junyoung-WON Jan 29, 2025
4324920
refactor: handleMemoryUpdateFail 메서드명 변경
Junyoung-WON Jan 29, 2025
eb7e944
refactor: navigateToMemory 메서드명 변경
Junyoung-WON Jan 29, 2025
dc46853
refactor: updateMemoryPeriod 메서드명 변경
Junyoung-WON Jan 29, 2025
c9f8875
refactor: fetchMemory 메서드명 변경
Junyoung-WON Jan 29, 2025
d8cac4b
refactor: MemoryUpdateActivity 클래스명 변경
Junyoung-WON Jan 29, 2025
2d51b4c
refactor: activity_memory_update의 View ID 변경
Junyoung-WON Jan 29, 2025
d0b025e
refactor: activity_memory_update 파일명 변경
Junyoung-WON Jan 29, 2025
ef03485
refactor: memoryupdate 패키지명 변경
Junyoung-WON Jan 29, 2025
a9f597a
refactor: StaccatoDetailUiModel의 프로퍼티명 변경
Junyoung-WON Jan 29, 2025
683bbf9
refactor: onUpdateClicked 메서드의 파라미터명 변경
Junyoung-WON Jan 29, 2025
a1fc75a
refactor: onConfirmClicked 메서드의 파라미터명 변경
Junyoung-WON Jan 29, 2025
9de12cd
refactor: MemorySelectionHandler 클래스명 변경
Junyoung-WON Jan 29, 2025
29c650d
refactor: MemorySelectionFragment의 TAG 값 변경
Junyoung-WON Jan 29, 2025
ccf658c
refactor: MemorySelectionFragment의 프로퍼티명 변경
Junyoung-WON Jan 29, 2025
d8daf8d
refactor: updateKeyMemory 메서드의 파라미터명 변경
Junyoung-WON Jan 29, 2025
e5aaae6
refactor: updateKeyMemory 메서드명 변경
Junyoung-WON Jan 29, 2025
ea8334f
refactor: setOnMemorySelected 메서드명 변경
Junyoung-WON Jan 29, 2025
7ec2ac9
refactor: MemorySelectionFragment 클래스명 변경
Junyoung-WON Jan 29, 2025
43a35ca
refactor: fragment_memory_selection의 View ID 변경
Junyoung-WON Jan 29, 2025
a4448a9
refactor: fragment_memory_selection 파일명 변경
Junyoung-WON Jan 29, 2025
3d26ed8
refactor: VisitedAtSelectionFragment의 TAG 값 변경
Junyoung-WON Jan 29, 2025
acf2c2a
refactor: StaccatoCreationHandler 인터페이스의 메서드명 변경
Junyoung-WON Jan 29, 2025
f526511
refactor: StaccatoCreationError 제네릭 클래스명 변경
Junyoung-WON Jan 29, 2025
51c4e48
refactor: StaccatoCreationViewModel 프로퍼티명 변경
Junyoung-WON Jan 29, 2025
86388eb
refactor: StaccatoCreationViewModel 프로퍼티명 변경
Junyoung-WON Jan 29, 2025
e8047b5
refactor: StaccatoCreationViewModel 프로퍼티명 변경
Junyoung-WON Jan 29, 2025
f381c56
refactor: handleMemoryCandidatesException 메서드명 변경
Junyoung-WON Jan 29, 2025
aedf259
refactor: updateMemorySelectionBy 메서드의 변수명 변경
Junyoung-WON Jan 29, 2025
33ed538
refactor: updateMemorySelectionBy 메서드의 파라미터명 변경
Junyoung-WON Jan 29, 2025
e8d3639
refactor: updateMemorySelectionBy 메서드명 변경
Junyoung-WON Jan 29, 2025
e898adb
refactor: updateMemorySelectionBy 메서드의 변수명 변경
Junyoung-WON Jan 29, 2025
5868277
refactor: updateMemorySelectionBy public 메서드명 변경
Junyoung-WON Jan 29, 2025
cd92aea
refactor: initMemoryAndVisitedAt 메서드의 파라미터명 변경
Junyoung-WON Jan 29, 2025
eea2d1a
refactor: initMemoryAndVisitedAt 메서드명 변경
Junyoung-WON Jan 29, 2025
3759303
refactor: fetchMemoryCandidates 메서드명 변경
Junyoung-WON Jan 29, 2025
417b8fe
refactor: selectMemory 메서드의 파라미터명 변경
Junyoung-WON Jan 29, 2025
cc0455b
refactor: selectMemory 메서드명 변경
Junyoung-WON Jan 29, 2025
9f35a53
refactor: MEMORY_TITLE_KEY 값 변경
Junyoung-WON Jan 29, 2025
e8a39c5
refactor: MEMORY_TITLE_KEY 동반객체명 변경
Junyoung-WON Jan 29, 2025
e44a3d5
refactor: startWithResultLauncher 메서드 파라미터명 변경
Junyoung-WON Jan 29, 2025
35b60d5
refactor: reCreateStaccato 메서드명 변경
Junyoung-WON Jan 29, 2025
8c4a501
refactor: handleMemoryCandidatesFail 메서드명 변경
Junyoung-WON Jan 29, 2025
99868b4
refactor: observeMemoryData 메서드명 변경
Junyoung-WON Jan 29, 2025
89e54da
refactor: initMemorySelectionFragment 메서드명 변경
Junyoung-WON Jan 29, 2025
9e34595
refactor: StaccatoCreationActivity 프로퍼티명 변경
Junyoung-WON Jan 29, 2025
45b8b5b
refactor: initCategorySelectionFragment 람다파라미터명 변경
Junyoung-WON Jan 29, 2025
36d61c2
refactor: StaccatoUpdateHandler 인터페이스의 메서드명 변경
Junyoung-WON Jan 30, 2025
59dc53d
refactor: StaccatoUpdateError 제네릭 클래스명 변경
Junyoung-WON Jan 30, 2025
f8748ce
refactor: StaccatoUpdateViewModel 프로퍼티명 변경
Junyoung-WON Jan 30, 2025
37990d8
refactor: handleMemoryCandidatesException 메서드명 변경
Junyoung-WON Jan 30, 2025
b6b0ce9
refactor: fetchMemoryCandidates 메서드명 변경
Junyoung-WON Jan 30, 2025
9813fef
refactor: fetchMemoryCandidates 의 람다 파라미터명 변경
Junyoung-WON Jan 30, 2025
2dca99a
refactor: initMemory 메서드명 변경
Junyoung-WON Jan 30, 2025
c989b37
refactor: updateStaccato 내부 변수명 변경
Junyoung-WON Jan 30, 2025
9dcb51a
refactor: updateMemorySelectionBy 내부 변수명 변경
Junyoung-WON Jan 30, 2025
e78e547
refactor: updateMemorySelectionBy 메서드명 변경
Junyoung-WON Jan 30, 2025
373ab6a
refactor: selectMemory 메서드 파라미터명 변경
Junyoung-WON Jan 30, 2025
1876242
refactor: selectMemory 메서드명 변경
Junyoung-WON Jan 30, 2025
0690bd1
refactor: StaccatoUpdateActivity 프로퍼티명 변경
Junyoung-WON Jan 30, 2025
ba5f5c8
refactor: startWithResultLauncher의 파라미터명 변경
Junyoung-WON Jan 30, 2025
0271b25
refactor: handleMemoryCandidatesFail 메서드명 변경
Junyoung-WON Jan 30, 2025
5550e10
refactor: observeMemoryData 메서드명 변경
Junyoung-WON Jan 30, 2025
2447f73
refactor: initMemorySelectionFragment의 람다 파라미터명 변경
Junyoung-WON Jan 30, 2025
f69233d
refactor: initMemorySelectionFragment 메서드명 변경
Junyoung-WON Jan 30, 2025
393449f
refactor: TimelineUiModel의 프로퍼티명 변경
Junyoung-WON Jan 30, 2025
f38dfcb
refactor: TimelineHandler 인터페이스의 메서드명 변경
Junyoung-WON Jan 30, 2025
23f7c5c
refactor: onCategoryClicked 메서드의 파라미터명 변경
Junyoung-WON Jan 30, 2025
3cc330d
refactor: sortByOldest 메서드의 내부 변수명 변경
Junyoung-WON Jan 30, 2025
048af13
refactor: onCategoryCreationClicked 메서드의 내부 변수명 변경
Junyoung-WON Jan 30, 2025
da75c78
refactor: navigateToMemory 메서드명 변경
Junyoung-WON Jan 30, 2025
ac705d7
refactor: MEMORY_FILE_CHILD_NAME 변수명 변경
Junyoung-WON Jan 30, 2025
d7aa70f
refactor: MEMORY_FILE_CHILD_NAME 변수 값 변경
Junyoung-WON Jan 30, 2025
0979e78
refactor: convertMemoryUriToFile 메서드명 변경
Junyoung-WON Jan 30, 2025
41d0575
refactor: convertExcretaFile 메서드 수정
Junyoung-WON Jan 30, 2025
3cfade1
refactor: activity_staccato_creation View ID 수정
Junyoung-WON Jan 30, 2025
0ea904c
refactor: activity_staccato_update View ID 수정
Junyoung-WON Jan 30, 2025
ed2182d
refactor: fragment_timeline.xml의 View ID 수정
Junyoung-WON Jan 30, 2025
6cac46c
refactor: fragment_memory_visited_at_selection 수정
Junyoung-WON Jan 30, 2025
96277b5
refactor: fragment_memory_visited_at_selection 변경
Junyoung-WON Jan 30, 2025
e4d14b9
refactor: item_timeline.xml의 memory 제거
Junyoung-WON Jan 30, 2025
d8a749f
refactor: strings.xml 리소스 이름의 memory 제거
Junyoung-WON Jan 30, 2025
10d0b7d
refactor: memory_gradient.xml 리소스 파일명 수정
Junyoung-WON Jan 30, 2025
847522f
refactor: bottom_navigation_graph.xml의 memory 제거
Junyoung-WON Jan 30, 2025
b92d6d0
refactor: MemoryCandidateFixture의 memory 제거
Junyoung-WON Jan 30, 2025
57d5ec0
refactor: 스타카토 생성 ViewModel 테스트의 memory 제거
Junyoung-WON Jan 30, 2025
322bf3e
refactor: 스타카토 수정 ViewModel 테스트의 memory 제거
Junyoung-WON Jan 30, 2025
cee2482
refactor: 스타카토 수정 ViewModel 테스트의 추억 문구 제거
Junyoung-WON Jan 30, 2025
b684ef8
refactor: BindingAdapters의 memory 문구 제거
Junyoung-WON Jan 30, 2025
b4f5384
refactor: ButtonBindingAdapters의 memory 문구 변경
Junyoung-WON Jan 30, 2025
796260b
refactor: TextBindingAdapters의 memory 문구 변경
Junyoung-WON Jan 30, 2025
e3fa0ca
refactor: TimelineMapper의 memory 문구 변경
Junyoung-WON Jan 30, 2025
070816a
refactor: MemoryMapper.kt 파일명 변경
Junyoung-WON Jan 30, 2025
5f848b1
refactor: TimelineMapper의 memories 문구 변경
Junyoung-WON Jan 30, 2025
551ea7f
refactor: CategoryResponse의 SerialName 값 수정
Junyoung-WON Jan 30, 2025
b3e98cb
refactor: CategoryStaccatoDto의 SerialName 값 수정
Junyoung-WON Jan 30, 2025
999e19f
refactor: StaccatoCreationRequest의 SerialName 값 수정
Junyoung-WON Jan 30, 2025
689846d
refactor: StaccatoCreationResponse의 SerialName 수정
Junyoung-WON Jan 30, 2025
696984d
refactor: StaccatoLocationDto의 SerialName 수정
Junyoung-WON Jan 30, 2025
133de3c
refactor: StaccatoLocationResponse의 SerialName 수정
Junyoung-WON Jan 30, 2025
50d53eb
refactor: StaccatoResponse의 SerialName 수정
Junyoung-WON Jan 30, 2025
c9711f6
refactor: StaccatoUpdateRequest의 SerialName 수정
Junyoung-WON Jan 30, 2025
5d797e5
refactor: StaccatoUpdateRequest의 프로퍼티명 수정
Junyoung-WON Jan 30, 2025
a22a797
refactor: StaccatoResponse의 프로퍼티명 수정
Junyoung-WON Jan 30, 2025
162f95e
refactor: StaccatoApiService의 API URL 수정
Junyoung-WON Jan 30, 2025
063170c
refactor: StaccatoApiService API 메서드의 파라미터명 변경
Junyoung-WON Jan 30, 2025
c13d2a9
fix: merge conflict 해결
Junyoung-WON Jan 31, 2025
5ddf4b7
style: ktlint 적용
Junyoung-WON Jan 31, 2025
6fff05d
refactor: 사용하지 않는 Model 및 Mapper 제거
Junyoung-WON Jan 31, 2025
6e41931
refactor: StaccatoRepository의 기분 변경 요청 메서드 수정
Junyoung-WON Jan 31, 2025
7f4977e
style: ktlint 적용
Junyoung-WON Jan 31, 2025
4d7a100
refactor: MemoryCandidateFixture 파일명 수정
Junyoung-WON Jan 31, 2025
4700f91
refactor: inline 학습 테스트의 Memory 도메인 수정
Junyoung-WON Jan 31, 2025
9f81e89
refactor: Comment API URL 변경 사항 반영
Junyoung-WON Feb 1, 2025
300a4d0
fix: Comment API URL의 버저닝 수정
Junyoung-WON Feb 2, 2025
a3c9519
refactor: API Url 경로 네이밍 변경
Junyoung-WON Feb 2, 2025
1521a03
fix: Merge Conflicts 해결
Junyoung-WON Feb 6, 2025
a3c894b
fix: 올바르게 반영되지 않은 변경사항 수정
Junyoung-WON Feb 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions android/Staccato_AN/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
android:screenOrientation="portrait" />

<activity
android:name=".presentation.memoryupdate.MemoryUpdateActivity"
android:name=".presentation.categoryupdate.CategoryUpdateActivity"
android:exported="false"
android:screenOrientation="portrait" />

Expand All @@ -85,7 +85,7 @@
android:screenOrientation="portrait" />

<activity
android:name=".presentation.memorycreation.MemoryCreationActivity"
android:name=".presentation.categorycreation.CategoryCreationActivity"
android:exported="false"
android:screenOrientation="portrait" />

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
package com.on.staccato.data.category

import com.on.staccato.data.ApiResult
import com.on.staccato.data.dto.category.CategoriesResponse
import com.on.staccato.data.dto.category.CategoryCreationResponse
import com.on.staccato.data.dto.category.CategoryRequest
import com.on.staccato.data.dto.category.CategoryResponse
import retrofit2.http.Body
import retrofit2.http.DELETE
import retrofit2.http.GET
import retrofit2.http.POST
import retrofit2.http.PUT
import retrofit2.http.Path
import retrofit2.http.Query

interface CategoryApiService {
@GET(CATEGORY_PATH_WITH_ID)
suspend fun getCategory(
@Path(CATEGORY_ID) categoryId: Long,
): ApiResult<CategoryResponse>

@GET(CATEGORY_PATH_WITH_CANDIDATES)
suspend fun getCategories(
@Query(CURRENT_DATE) currentDate: String?,
): ApiResult<CategoriesResponse>

@POST(CATEGORIES_PATH)
suspend fun postCategory(
@Body categoryRequest: CategoryRequest,
): ApiResult<CategoryCreationResponse>

@PUT(CATEGORY_PATH_WITH_ID)
suspend fun putCategory(
@Path(CATEGORY_ID) categoryId: Long,
@Body categoryRequest: CategoryRequest,
): ApiResult<Unit>

@DELETE(CATEGORY_PATH_WITH_ID)
suspend fun deleteCategory(
@Path(CATEGORY_ID) categoryId: Long,
): ApiResult<Unit>

companion object {
const val CATEGORIES_PATH = "/categories"
private const val CANDIDATES_PATH = "/candidates"
private const val CATEGORY_ID = "categoryId"
private const val CATEGORY_PATH_WITH_ID = "$CATEGORIES_PATH/{$CATEGORY_ID}"
private const val CATEGORY_PATH_WITH_CANDIDATES = "$CATEGORIES_PATH$CANDIDATES_PATH"
private const val CURRENT_DATE = "currentDate"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package com.on.staccato.data.category

import com.on.staccato.data.ApiResult
import com.on.staccato.data.dto.category.CategoriesResponse
import com.on.staccato.data.dto.category.CategoryCreationResponse
import com.on.staccato.data.dto.category.CategoryResponse
import com.on.staccato.domain.model.NewCategory

interface CategoryDataSource {
suspend fun getCategory(categoryId: Long): ApiResult<CategoryResponse>

suspend fun getCategories(currentDate: String?): ApiResult<CategoriesResponse>

suspend fun createCategory(newCategory: NewCategory): ApiResult<CategoryCreationResponse>

suspend fun updateCategory(
categoryId: Long,
newCategory: NewCategory,
): ApiResult<Unit>

suspend fun deleteCategory(categoryId: Long): ApiResult<Unit>
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package com.on.staccato.data.category

import com.on.staccato.data.ApiResult
import com.on.staccato.data.dto.category.CategoryCreationResponse
import com.on.staccato.data.dto.mapper.toDomain
import com.on.staccato.data.handle
import com.on.staccato.domain.model.Category
import com.on.staccato.domain.model.CategoryCandidates
import com.on.staccato.domain.model.NewCategory
import com.on.staccato.domain.repository.CategoryRepository
import javax.inject.Inject

class CategoryDefaultRepository
@Inject
constructor(
private val categoryDataSource: CategoryDataSource,
) : CategoryRepository {
override suspend fun getCategory(categoryId: Long): ApiResult<Category> =
categoryDataSource.getCategory(categoryId).handle { it.toDomain() }

override suspend fun getCategories(currentDate: String?): ApiResult<CategoryCandidates> =
categoryDataSource.getCategories(currentDate).handle { it.toDomain() }

override suspend fun createCategory(newCategory: NewCategory): ApiResult<CategoryCreationResponse> =
categoryDataSource.createCategory(newCategory).handle { it }

override suspend fun updateCategory(
categoryId: Long,
newCategory: NewCategory,
): ApiResult<Unit> = categoryDataSource.updateCategory(categoryId, newCategory).handle()

override suspend fun deleteCategory(categoryId: Long): ApiResult<Unit> = categoryDataSource.deleteCategory(categoryId).handle()
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
package com.on.staccato.data.category

import com.on.staccato.data.ApiResult
import com.on.staccato.data.dto.category.CategoriesResponse
import com.on.staccato.data.dto.category.CategoryCreationResponse
import com.on.staccato.data.dto.category.CategoryResponse
import com.on.staccato.data.dto.mapper.toDto
import com.on.staccato.domain.model.NewCategory
import javax.inject.Inject

class CategoryRemoteDataSource
@Inject
constructor(
private val categoryApiService: CategoryApiService,
) : CategoryDataSource {
override suspend fun getCategory(categoryId: Long): ApiResult<CategoryResponse> =
categoryApiService.getCategory(
categoryId,
)

override suspend fun getCategories(currentDate: String?): ApiResult<CategoriesResponse> =
categoryApiService.getCategories(
currentDate,
)

override suspend fun createCategory(newCategory: NewCategory): ApiResult<CategoryCreationResponse> =
categoryApiService.postCategory(
newCategory.toDto(),
)

override suspend fun updateCategory(
categoryId: Long,
newCategory: NewCategory,
): ApiResult<Unit> =
categoryApiService.putCategory(
categoryId,
newCategory.toDto(),
)

override suspend fun deleteCategory(categoryId: Long): ApiResult<Unit> =
categoryApiService.deleteCategory(
categoryId,
)
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,32 @@ import retrofit2.http.Path
import retrofit2.http.Query

interface CommentApiService {
@GET(COMMENTS_URI)
@GET(COMMENTS_PATH_V2)
suspend fun getComments(
@Query(STACCATO_ID) staccatoId: Long,
): ApiResult<CommentsResponse>

@POST(COMMENTS_URI)
@POST(COMMENTS_PATH_V2)
suspend fun postComment(
@Body commentRequest: CommentRequest,
): ApiResult<Unit>

@PUT(COMMENTS_URI_WITH_COMMENT_ID)
@PUT(COMMENTS_PATH_WITH_COMMENT_ID)
suspend fun putComment(
@Path(COMMENT_ID) commentId: Long,
@Body commentUpdateRequest: CommentUpdateRequest,
): ApiResult<Unit>

@DELETE(COMMENTS_URI_WITH_COMMENT_ID)
@DELETE(COMMENTS_PATH_WITH_COMMENT_ID)
suspend fun deleteComment(
@Path(COMMENT_ID) commentId: Long,
): ApiResult<Unit>

companion object {
private const val COMMENTS_URI = "/comments"
private const val STACCATO_ID = "momentId"
private const val COMMENTS_PATH = "/comments"
private const val COMMENTS_PATH_V2 = "$COMMENTS_PATH/v2"
private const val STACCATO_ID = "staccatoId"
private const val COMMENT_ID = "commentId"
private const val COMMENTS_URI_WITH_COMMENT_ID = "$COMMENTS_URI/{$COMMENT_ID}"
private const val COMMENTS_PATH_WITH_COMMENT_ID = "$COMMENTS_PATH/{$COMMENT_ID}"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package com.on.staccato.data.dto.category

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class CategoriesResponse(
@SerialName("categories") val categories: List<CategoryCandidateResponse>,
)

@Serializable
data class CategoryCandidateResponse(
@SerialName("categoryId") val categoryId: Long,
@SerialName("categoryTitle") val categoryTitle: String,
@SerialName("startAt") val startAt: String,
@SerialName("endAt") val endAt: String,
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package com.on.staccato.data.dto.category

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class CategoryCreationResponse(
@SerialName("categoryId") val categoryId: Long,
)
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.on.staccato.data.dto.memory
package com.on.staccato.data.dto.category

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class MemoryRequest(
@SerialName("memoryThumbnailUrl") val memoryThumbnailUrl: String? = null,
@SerialName("memoryTitle") val memoryTitle: String,
data class CategoryRequest(
@SerialName("categoryThumbnailUrl") val categoryThumbnailUrl: String? = null,
@SerialName("categoryTitle") val categoryTitle: String,
@SerialName("description") val description: String? = null,
@SerialName("startAt") val startAt: String? = null,
@SerialName("endAt") val endAt: String? = null,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
package com.on.staccato.data.dto.memory
package com.on.staccato.data.dto.category

import com.on.staccato.data.dto.member.MemberDto
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class MemoryResponse(
@SerialName("memoryId") val memoryId: Long,
@SerialName("memoryThumbnailUrl") val memoryThumbnailUrl: String? = null,
@SerialName("memoryTitle") val memoryTitle: String,
data class CategoryResponse(
@SerialName("categoryId") val categoryId: Long,
@SerialName("categoryThumbnailUrl") val categoryThumbnailUrl: String? = null,
@SerialName("categoryTitle") val categoryTitle: String,
@SerialName("startAt") val startAt: String? = null,
@SerialName("endAt") val endAt: String? = null,
@SerialName("description") val description: String? = null,
@SerialName("mates") val mates: List<MemberDto>,
@SerialName("moments") val staccatos: List<MemoryStaccatoDto>,
@SerialName("staccatos") val staccatos: List<CategoryStaccatoDto>,
)
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.on.staccato.data.dto.memory
package com.on.staccato.data.dto.category

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class MemoryStaccatoDto(
@SerialName("momentId") val staccatoId: Long,
data class CategoryStaccatoDto(
@SerialName("staccatoId") val staccatoId: Long,
@SerialName("staccatoTitle") val staccatoTitle: String,
@SerialName("momentImageUrl") val staccatoImageUrl: String? = null,
@SerialName("staccatoImageUrl") val staccatoImageUrl: String? = null,
@SerialName("visitedAt") val visitedAt: String,
)
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ import kotlinx.serialization.Serializable

@Serializable
data class CommentRequest(
@SerialName("momentId") val staccatoId: Long,
@SerialName("staccatoId") val staccatoId: Long,
@SerialName("content") val content: String,
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
package com.on.staccato.data.dto.mapper

import com.on.staccato.data.dto.category.CategoriesResponse
import com.on.staccato.data.dto.category.CategoryRequest
import com.on.staccato.data.dto.category.CategoryResponse
import com.on.staccato.data.dto.category.CategoryStaccatoDto
import com.on.staccato.domain.model.Category
import com.on.staccato.domain.model.CategoryCandidate
import com.on.staccato.domain.model.CategoryCandidates
import com.on.staccato.domain.model.CategoryStaccato
import com.on.staccato.domain.model.NewCategory
import java.time.LocalDate
import java.time.LocalDateTime

fun CategoryResponse.toDomain() =
Category(
categoryId = categoryId,
categoryThumbnailUrl = categoryThumbnailUrl,
categoryTitle = categoryTitle,
startAt = startAt?.let { LocalDate.parse(startAt) },
endAt = endAt?.let { LocalDate.parse(endAt) },
description = description,
mates = mates.map { it.toDomain() },
staccatos = staccatos.map { it.toDomain() },
)

fun CategoriesResponse.toDomain(): CategoryCandidates =
CategoryCandidates(
this.categories.map {
CategoryCandidate(
categoryId = it.categoryId,
categoryTitle = it.categoryTitle,
startAt = LocalDate.parse(it.startAt),
endAt = LocalDate.parse(it.endAt),
)
},
)

fun CategoryStaccatoDto.toDomain() =
CategoryStaccato(
staccatoId = staccatoId,
staccatoTitle = staccatoTitle,
staccatoImageUrl = staccatoImageUrl,
visitedAt = LocalDateTime.parse(visitedAt),
)

fun NewCategory.toDto() =
CategoryRequest(
categoryThumbnailUrl = categoryThumbnailUrl,
categoryTitle = categoryTitle,
description = description,
startAt = startAt?.toString(),
endAt = endAt?.toString(),
)
Loading