From 8c934025f82fb51c64cf029879f20a5a4d59c58c Mon Sep 17 00:00:00 2001 From: Ahn-seokjoo Date: Wed, 18 Sep 2024 21:35:16 +0900 Subject: [PATCH 01/21] =?UTF-8?q?[feature]=20api=20=ED=98=B8=EC=B6=9C?= =?UTF-8?q?=EB=A1=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/AIClassificationRemoteDataSource.kt | 2 +- .../AIClassificationRemoteDataSourceImpl.kt | 4 +- .../service/AIClassificationService.kt | 2 +- .../AIClassificationRepositoryImpl.kt | 19 +++++---- .../repository/AIClassificationRepository.kt | 3 +- ...GetAIClassificationPostsByFolderUseCase.kt | 2 - .../ClassificationListScreen.kt | 30 ++++++-------- .../classification/ClassificationViewModel.kt | 41 +++++++++++++++++++ 8 files changed, 70 insertions(+), 33 deletions(-) diff --git a/data/src/main/kotlin/com/mashup/dorabangs/data/datasource/remote/api/AIClassificationRemoteDataSource.kt b/data/src/main/kotlin/com/mashup/dorabangs/data/datasource/remote/api/AIClassificationRemoteDataSource.kt index 69897896..1de4be35 100644 --- a/data/src/main/kotlin/com/mashup/dorabangs/data/datasource/remote/api/AIClassificationRemoteDataSource.kt +++ b/data/src/main/kotlin/com/mashup/dorabangs/data/datasource/remote/api/AIClassificationRemoteDataSource.kt @@ -23,7 +23,7 @@ interface AIClassificationRemoteDataSource { page: Int? = null, limit: Int? = null, order: String? = null, - ): AIClassificationPosts + ): AIClassificationAIPostListResponseModel suspend fun deletePostFromAIClassification( postId: String, diff --git a/data/src/main/kotlin/com/mashup/dorabangs/data/datasource/remote/impl/AIClassificationRemoteDataSourceImpl.kt b/data/src/main/kotlin/com/mashup/dorabangs/data/datasource/remote/impl/AIClassificationRemoteDataSourceImpl.kt index 614180c3..7a11e090 100644 --- a/data/src/main/kotlin/com/mashup/dorabangs/data/datasource/remote/impl/AIClassificationRemoteDataSourceImpl.kt +++ b/data/src/main/kotlin/com/mashup/dorabangs/data/datasource/remote/impl/AIClassificationRemoteDataSourceImpl.kt @@ -38,13 +38,13 @@ class AIClassificationRemoteDataSourceImpl @Inject constructor( page: Int?, limit: Int?, order: String?, - ): AIClassificationPosts = + ): AIClassificationAIPostListResponseModel = service.getAIClassificationPostsByFolder( folderId = folderId, page = page, limit = limit, order = order, - ).toDomain() + ) override suspend fun deletePostFromAIClassification(postId: String) = service.deletePostFromAIClassification( diff --git a/data/src/main/kotlin/com/mashup/dorabangs/data/network/service/AIClassificationService.kt b/data/src/main/kotlin/com/mashup/dorabangs/data/network/service/AIClassificationService.kt index 19541233..3d5f3ebe 100644 --- a/data/src/main/kotlin/com/mashup/dorabangs/data/network/service/AIClassificationService.kt +++ b/data/src/main/kotlin/com/mashup/dorabangs/data/network/service/AIClassificationService.kt @@ -40,7 +40,7 @@ interface AIClassificationService { @Query("page") page: Int? = null, @Query("limit") limit: Int? = null, @Query("order") order: String? = null, - ): AIClassificationPostsResponseModel + ): AIClassificationAIPostListResponseModel @DELETE("classification/posts/{postId}") suspend fun deletePostFromAIClassification( diff --git a/data/src/main/kotlin/com/mashup/dorabangs/data/repository/AIClassificationRepositoryImpl.kt b/data/src/main/kotlin/com/mashup/dorabangs/data/repository/AIClassificationRepositoryImpl.kt index 5e905144..eae13f7e 100644 --- a/data/src/main/kotlin/com/mashup/dorabangs/data/repository/AIClassificationRepositoryImpl.kt +++ b/data/src/main/kotlin/com/mashup/dorabangs/data/repository/AIClassificationRepositoryImpl.kt @@ -44,16 +44,19 @@ class AIClassificationRepositoryImpl @Inject constructor( override suspend fun getAIClassificationPostsByFolder( folderId: String, - page: Int?, limit: Int?, order: String?, - ): AIClassificationPosts = - remoteDataSource.getAIClassificationPostsByFolder( - folderId = folderId, - page = page, - limit = limit, - order = order, - ) + ): Flow> = + doraPager( + apiExecutor = { page -> + remoteDataSource.getAIClassificationPostsByFolder( + folderId = folderId, + page = page, + limit = limit, + order = order, + ).toPagingDomain() + }, + ).flow override suspend fun deletePostFromAIClassification(postId: String): DoraSampleResponse { return kotlin.runCatching { diff --git a/domain/src/main/kotlin/com/mashup/dorabangs/domain/repository/AIClassificationRepository.kt b/domain/src/main/kotlin/com/mashup/dorabangs/domain/repository/AIClassificationRepository.kt index f78dd75b..201c37a1 100644 --- a/domain/src/main/kotlin/com/mashup/dorabangs/domain/repository/AIClassificationRepository.kt +++ b/domain/src/main/kotlin/com/mashup/dorabangs/domain/repository/AIClassificationRepository.kt @@ -22,10 +22,9 @@ interface AIClassificationRepository { suspend fun getAIClassificationPostsByFolder( folderId: String, - page: Int? = null, limit: Int? = null, order: String? = null, - ): AIClassificationPosts + ): Flow> suspend fun deletePostFromAIClassification( postId: String, diff --git a/domain/src/main/kotlin/com/mashup/dorabangs/domain/usecase/aiclassification/GetAIClassificationPostsByFolderUseCase.kt b/domain/src/main/kotlin/com/mashup/dorabangs/domain/usecase/aiclassification/GetAIClassificationPostsByFolderUseCase.kt index 95f6fd9e..ee9753b3 100644 --- a/domain/src/main/kotlin/com/mashup/dorabangs/domain/usecase/aiclassification/GetAIClassificationPostsByFolderUseCase.kt +++ b/domain/src/main/kotlin/com/mashup/dorabangs/domain/usecase/aiclassification/GetAIClassificationPostsByFolderUseCase.kt @@ -10,13 +10,11 @@ class GetAIClassificationPostsByFolderUseCase @Inject constructor( suspend operator fun invoke( folderId: String, - page: Int? = null, limit: Int? = null, order: Sort? = null, ) = aiClassificationRepository.getAIClassificationPostsByFolder( folderId = folderId, - page = page, limit = limit, order = order?.query, ) diff --git a/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationListScreen.kt b/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationListScreen.kt index 16821ac1..0b43f187 100644 --- a/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationListScreen.kt +++ b/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationListScreen.kt @@ -55,26 +55,22 @@ fun ClassificationListScreen( pagingList[idx]?.let { item -> when (item) { is FeedUiModel.DoraChipUiModel -> { - if (state.selectedFolder == item.title || state.selectedFolder == "전체") { - ClassificationFolderMove( - selectedFolder = item.title, - onClickAllItemMoveButton = { onClickAllItemMoveButton(item.folderId) }, - count = item.postCount, - ) - } + ClassificationFolderMove( + selectedFolder = item.title, + onClickAllItemMoveButton = { onClickAllItemMoveButton(item.folderId) }, + count = item.postCount, + ) } is FeedUiModel.FeedCardUiModel -> { - if (state.selectedFolder == item.category || state.selectedFolder == "전체") { - ClassificationCardItem( - idx = idx, - lastIndex = pagingList.itemCount - 1, - cardItem = item, - onClickDeleteButton = onClickDeleteButton, - onClickMoveButton = onClickMoveButton, - onClickCardItem = onClickCardItem, - ) - } + ClassificationCardItem( + idx = idx, + lastIndex = pagingList.itemCount - 1, + cardItem = item, + onClickDeleteButton = onClickDeleteButton, + onClickMoveButton = onClickMoveButton, + onClickCardItem = onClickCardItem, + ) } } } diff --git a/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationViewModel.kt b/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationViewModel.kt index 64143288..cb16e177 100644 --- a/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationViewModel.kt +++ b/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationViewModel.kt @@ -11,9 +11,11 @@ import com.mashup.dorabangs.core.coroutine.doraLaunch import com.mashup.dorabangs.core.designsystem.component.chips.FeedUiModel import com.mashup.dorabangs.domain.model.AIClassificationFolders import com.mashup.dorabangs.domain.model.PostInfo +import com.mashup.dorabangs.domain.model.Sort import com.mashup.dorabangs.domain.model.classification.AIClassificationFeedPost import com.mashup.dorabangs.domain.usecase.aiclassification.DeletePostFromAIClassificationUseCase import com.mashup.dorabangs.domain.usecase.aiclassification.GetAIClassificationFolderListUseCase +import com.mashup.dorabangs.domain.usecase.aiclassification.GetAIClassificationPostsByFolderUseCase import com.mashup.dorabangs.domain.usecase.aiclassification.GetAIClassificationPostsUseCase import com.mashup.dorabangs.domain.usecase.aiclassification.MoveAllPostsToRecommendedFolderUseCase import com.mashup.dorabangs.domain.usecase.aiclassification.MoveSinglePostToRecommendedFolderUseCase @@ -33,6 +35,7 @@ import javax.inject.Inject class ClassificationViewModel @Inject constructor( private val getAIClassificationFolderListUseCase: GetAIClassificationFolderListUseCase, private val getAIClassificationPostsUseCase: GetAIClassificationPostsUseCase, + private val getAIClassificationFolderListByIdUseCase: GetAIClassificationPostsByFolderUseCase, private val deletePostUseCase: DeletePostFromAIClassificationUseCase, private val moveSinglePostUseCase: MoveSinglePostToRecommendedFolderUseCase, private val moveAllPostUseCase: MoveAllPostsToRecommendedFolderUseCase, @@ -110,6 +113,44 @@ class ClassificationViewModel @Inject constructor( } fun changeCategory(idx: Int) = intent { + val selectedFolderItem = state.chipState.chipList.getOrNull(idx) + val selectedFolderId = selectedFolderItem?.id.orEmpty() + val selectedFolderName = selectedFolderItem?.title.orEmpty() + + getAIClassificationFolderListByIdUseCase.invoke( + folderId = selectedFolderId, + limit = LIMIT, + order = Sort.DESC, + ).map { pagedData -> + // chip create + pagedData.map { + val category = + state.chipState.chipList.firstOrNull { chip -> chip.id == it.folderId }?.title.orEmpty() + it.toUiModel(category) + } + }.map { + // add seperator + it.insertSeparators { before, after -> + after?.let { + if (before?.category != after.category) { + FeedUiModel.DoraChipUiModel( + id = selectedFolderId, + mergedTitle = "", + title = selectedFolderName, + postCount = selectedFolderItem?.postCount?: 0, + folderId = after.folderId, + icon = null, + ) + } else { + null + } + } + } + }.cachedIn(viewModelScope) + .let { + _paging.value = it.firstOrNull() ?: PagingData.empty() + } + reduce { state.copy( chipState = state.chipState.copy(currentIndex = idx), From 3ee11815edd6a260db11da8904951c081a46fc22 Mon Sep 17 00:00:00 2001 From: Ahn-seokjoo Date: Wed, 18 Sep 2024 21:56:20 +0900 Subject: [PATCH 02/21] =?UTF-8?q?[feature]=20chip=200=EB=B2=88=EC=A8=B0?= =?UTF-8?q?=EB=A1=9C=20=EC=9D=B4=EB=8F=99=ED=95=98=EB=8A=94=EA=B2=83=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mashup/feature/classification/ClassificationViewModel.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationViewModel.kt b/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationViewModel.kt index cb16e177..fe937a6e 100644 --- a/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationViewModel.kt +++ b/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationViewModel.kt @@ -189,7 +189,7 @@ class ClassificationViewModel @Inject constructor( intent { reduce { state.copy( - chipState = ChipState( + chipState = state.chipState.copy( totalCount = chips.totalCounts, chipList = chipList, ), @@ -208,7 +208,7 @@ class ClassificationViewModel @Inject constructor( intent { reduce { state.copy( - chipState = ChipState( + chipState = state.chipState.copy( totalCount = chips.totalCounts, chipList = chipList, ), From b3d41ccac8e6f5552d6a0dda2075dd872fe2445e Mon Sep 17 00:00:00 2001 From: Ahn-seokjoo Date: Wed, 18 Sep 2024 22:31:34 +0900 Subject: [PATCH 03/21] =?UTF-8?q?[feature]=20=EC=B9=A9=20=EB=82=B4?= =?UTF-8?q?=EB=B6=80=EB=8F=84=20=EC=97=85=EB=8D=B0=EC=9D=B4=ED=8A=B8=20~!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../classification/ClassificationViewModel.kt | 94 +++++++++++-------- 1 file changed, 54 insertions(+), 40 deletions(-) diff --git a/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationViewModel.kt b/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationViewModel.kt index fe937a6e..7e9c9e0b 100644 --- a/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationViewModel.kt +++ b/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationViewModel.kt @@ -30,6 +30,7 @@ import org.orbitmvi.orbit.syntax.simple.intent import org.orbitmvi.orbit.syntax.simple.reduce import org.orbitmvi.orbit.viewmodel.container import javax.inject.Inject +import kotlinx.coroutines.flow.filter @HiltViewModel class ClassificationViewModel @Inject constructor( @@ -112,50 +113,52 @@ class ClassificationViewModel @Inject constructor( } } - fun changeCategory(idx: Int) = intent { - val selectedFolderItem = state.chipState.chipList.getOrNull(idx) - val selectedFolderId = selectedFolderItem?.id.orEmpty() - val selectedFolderName = selectedFolderItem?.title.orEmpty() + fun changeCategory(idx: Int) = viewModelScope.doraLaunch { + intent { + val selectedFolderItem = state.chipState.chipList.getOrNull(idx) + val selectedFolderId = selectedFolderItem?.id.orEmpty() + val selectedFolderName = selectedFolderItem?.title.orEmpty() - getAIClassificationFolderListByIdUseCase.invoke( - folderId = selectedFolderId, - limit = LIMIT, - order = Sort.DESC, - ).map { pagedData -> - // chip create - pagedData.map { - val category = - state.chipState.chipList.firstOrNull { chip -> chip.id == it.folderId }?.title.orEmpty() - it.toUiModel(category) - } - }.map { - // add seperator - it.insertSeparators { before, after -> - after?.let { - if (before?.category != after.category) { - FeedUiModel.DoraChipUiModel( - id = selectedFolderId, - mergedTitle = "", - title = selectedFolderName, - postCount = selectedFolderItem?.postCount?: 0, - folderId = after.folderId, - icon = null, - ) - } else { - null + getAIClassificationFolderListByIdUseCase.invoke( + folderId = selectedFolderId, + limit = LIMIT, + order = Sort.DESC, + ).map { pagedData -> + // chip create + pagedData.map { + val category = + state.chipState.chipList.firstOrNull { chip -> chip.id == it.folderId }?.title.orEmpty() + it.toUiModel(category) + } + }.map { + // add seperator + it.insertSeparators { before, after -> + after?.let { + if (before?.category != after.category) { + FeedUiModel.DoraChipUiModel( + id = selectedFolderId, + mergedTitle = "", + title = selectedFolderName, + postCount = selectedFolderItem?.postCount ?: 0, + folderId = after.folderId, + icon = null, + ) + } else { + null + } } } - } - }.cachedIn(viewModelScope) - .let { - _paging.value = it.firstOrNull() ?: PagingData.empty() - } + }.cachedIn(viewModelScope) + .let { + _paging.value = it.firstOrNull() ?: PagingData.empty() + } - reduce { - state.copy( - chipState = state.chipState.copy(currentIndex = idx), - selectedFolder = state.chipState.chipList.getOrNull(idx)?.title ?: "전체", - ) + reduce { + state.copy( + chipState = state.chipState.copy(currentIndex = idx), + selectedFolder = state.chipState.chipList.getOrNull(idx)?.title ?: "전체", + ) + } } } @@ -185,6 +188,7 @@ class ClassificationViewModel @Inject constructor( if (move.isSuccess) { val (chips, chipList) = updateChipList() updateListScreenWithSingleItem(cardItem) + updateSeparator(chipList) intent { reduce { @@ -204,6 +208,7 @@ class ClassificationViewModel @Inject constructor( if (delete.isSuccess) { val (chips, chipList) = updateChipList() updateListScreenWithSingleItem(cardItem) + updateSeparator(chipList) intent { reduce { @@ -218,6 +223,15 @@ class ClassificationViewModel @Inject constructor( } } + private fun updateSeparator(chipList: List) { + _paging.value = _paging.value.map { + if (it is FeedUiModel.DoraChipUiModel) { + val updateItem = chipList.find { chip -> chip.id == it.folderId } + it.copy(postCount = updateItem?.postCount ?: it.postCount) + } else it + } + } + private suspend fun updateListScreenWithSingleItem(cardItem: FeedUiModel.FeedCardUiModel) { // list update paging.map { pagingData -> From 73f59059c11c4b03e0214ebbf90302cd17a1e554 Mon Sep 17 00:00:00 2001 From: Ahn-seokjoo Date: Wed, 18 Sep 2024 23:05:40 +0900 Subject: [PATCH 04/21] =?UTF-8?q?[feature]=200=EA=B0=9C=EA=B0=80=20?= =?UTF-8?q?=EB=90=90=EC=9D=84=20=EB=95=8C=20separator=EB=A7=8C=20=EB=82=A8?= =?UTF-8?q?=EC=95=84=EC=9E=88=EB=8A=94=20=EB=B2=84=EA=B7=B8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../classification/ClassificationViewModel.kt | 69 ++++++++++++++----- 1 file changed, 53 insertions(+), 16 deletions(-) diff --git a/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationViewModel.kt b/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationViewModel.kt index 7e9c9e0b..1554182b 100644 --- a/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationViewModel.kt +++ b/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationViewModel.kt @@ -30,7 +30,6 @@ import org.orbitmvi.orbit.syntax.simple.intent import org.orbitmvi.orbit.syntax.simple.reduce import org.orbitmvi.orbit.viewmodel.container import javax.inject.Inject -import kotlinx.coroutines.flow.filter @HiltViewModel class ClassificationViewModel @Inject constructor( @@ -180,17 +179,28 @@ class ClassificationViewModel @Inject constructor( } fun moveSelectedItem(cardItem: FeedUiModel.FeedCardUiModel) = viewModelScope.doraLaunch { - val move = moveSinglePostUseCase.invoke( - postId = cardItem.postId, - suggestionFolderId = cardItem.folderId, - ) + intent { + reduce { + state.copy( + isLoading = true, + ) + } + val move = moveSinglePostUseCase.invoke( + postId = cardItem.postId, + suggestionFolderId = cardItem.folderId, + ) - if (move.isSuccess) { - val (chips, chipList) = updateChipList() - updateListScreenWithSingleItem(cardItem) - updateSeparator(chipList) + if (move.isSuccess) { + val (chips, chipList) = updateChipList() + val findCategory = chips.list.find { it.folderId == cardItem.folderId } + + if (findCategory != null) { + updateListScreenWithSingleItem(cardItem) + updateSeparator(chipList) + } else { + getInitialData() + } - intent { reduce { state.copy( chipState = state.chipState.copy( @@ -201,16 +211,35 @@ class ClassificationViewModel @Inject constructor( } } } + }.invokeOnCompletion { + intent { + reduce { + state.copy( + isLoading = false + ) + } + } } fun deleteSelectedItem(cardItem: FeedUiModel.FeedCardUiModel) = viewModelScope.doraLaunch { - val delete = deletePostUseCase.invoke(cardItem.postId) - if (delete.isSuccess) { - val (chips, chipList) = updateChipList() - updateListScreenWithSingleItem(cardItem) - updateSeparator(chipList) + intent { + reduce { + state.copy( + isLoading = true, + ) + } + val delete = deletePostUseCase.invoke(cardItem.postId) + if (delete.isSuccess) { + val (chips, chipList) = updateChipList() + val findCategory = chips.list.find { it.folderId == cardItem.folderId } + + if (findCategory != null) { + updateListScreenWithSingleItem(cardItem) + updateSeparator(chipList) + } else { + getInitialData() + } - intent { reduce { state.copy( chipState = state.chipState.copy( @@ -221,6 +250,14 @@ class ClassificationViewModel @Inject constructor( } } } + }.invokeOnCompletion { + intent { + reduce { + state.copy( + isLoading = false, + ) + } + } } private fun updateSeparator(chipList: List) { From 3da50b6cca7243ab7dba53c15b61dfed0e9f044b Mon Sep 17 00:00:00 2001 From: Ahn-seokjoo Date: Wed, 18 Sep 2024 23:06:46 +0900 Subject: [PATCH 05/21] [spotless] Apply --- .../remote/api/AIClassificationRemoteDataSource.kt | 1 - .../remote/impl/AIClassificationRemoteDataSourceImpl.kt | 1 - .../data/network/service/AIClassificationService.kt | 1 - .../data/repository/AIClassificationRepositoryImpl.kt | 1 - .../domain/repository/AIClassificationRepository.kt | 1 - .../feature/classification/ClassificationViewModel.kt | 6 ++++-- 6 files changed, 4 insertions(+), 7 deletions(-) diff --git a/data/src/main/kotlin/com/mashup/dorabangs/data/datasource/remote/api/AIClassificationRemoteDataSource.kt b/data/src/main/kotlin/com/mashup/dorabangs/data/datasource/remote/api/AIClassificationRemoteDataSource.kt index 1de4be35..5c6fe200 100644 --- a/data/src/main/kotlin/com/mashup/dorabangs/data/datasource/remote/api/AIClassificationRemoteDataSource.kt +++ b/data/src/main/kotlin/com/mashup/dorabangs/data/datasource/remote/api/AIClassificationRemoteDataSource.kt @@ -2,7 +2,6 @@ package com.mashup.dorabangs.data.datasource.remote.api import com.mashup.dorabangs.data.model.classification.AIClassificationAIPostListResponseModel import com.mashup.dorabangs.domain.model.AIClassificationFolders -import com.mashup.dorabangs.domain.model.AIClassificationPosts interface AIClassificationRemoteDataSource { diff --git a/data/src/main/kotlin/com/mashup/dorabangs/data/datasource/remote/impl/AIClassificationRemoteDataSourceImpl.kt b/data/src/main/kotlin/com/mashup/dorabangs/data/datasource/remote/impl/AIClassificationRemoteDataSourceImpl.kt index 7a11e090..ffbd7d06 100644 --- a/data/src/main/kotlin/com/mashup/dorabangs/data/datasource/remote/impl/AIClassificationRemoteDataSourceImpl.kt +++ b/data/src/main/kotlin/com/mashup/dorabangs/data/datasource/remote/impl/AIClassificationRemoteDataSourceImpl.kt @@ -6,7 +6,6 @@ import com.mashup.dorabangs.data.model.classification.AIClassificationAIPostList import com.mashup.dorabangs.data.model.toDomain import com.mashup.dorabangs.data.network.service.AIClassificationService import com.mashup.dorabangs.domain.model.AIClassificationFolders -import com.mashup.dorabangs.domain.model.AIClassificationPosts import javax.inject.Inject class AIClassificationRemoteDataSourceImpl @Inject constructor( diff --git a/data/src/main/kotlin/com/mashup/dorabangs/data/network/service/AIClassificationService.kt b/data/src/main/kotlin/com/mashup/dorabangs/data/network/service/AIClassificationService.kt index 3d5f3ebe..8e0e85f3 100644 --- a/data/src/main/kotlin/com/mashup/dorabangs/data/network/service/AIClassificationService.kt +++ b/data/src/main/kotlin/com/mashup/dorabangs/data/network/service/AIClassificationService.kt @@ -1,7 +1,6 @@ package com.mashup.dorabangs.data.network.service import com.mashup.dorabangs.data.model.AIClassificationFoldersResponseModel -import com.mashup.dorabangs.data.model.AIClassificationPostsResponseModel import com.mashup.dorabangs.data.model.AiClassificationMoveSinglePostRequestModel import com.mashup.dorabangs.data.model.classification.AIClassificationAIPostListResponseModel import retrofit2.http.Body diff --git a/data/src/main/kotlin/com/mashup/dorabangs/data/repository/AIClassificationRepositoryImpl.kt b/data/src/main/kotlin/com/mashup/dorabangs/data/repository/AIClassificationRepositoryImpl.kt index eae13f7e..c330171d 100644 --- a/data/src/main/kotlin/com/mashup/dorabangs/data/repository/AIClassificationRepositoryImpl.kt +++ b/data/src/main/kotlin/com/mashup/dorabangs/data/repository/AIClassificationRepositoryImpl.kt @@ -5,7 +5,6 @@ import com.mashup.dorabangs.data.datasource.remote.api.AIClassificationRemoteDat import com.mashup.dorabangs.data.model.classification.toPagingDomain import com.mashup.dorabangs.data.utils.doraPager import com.mashup.dorabangs.domain.model.AIClassificationFolders -import com.mashup.dorabangs.domain.model.AIClassificationPosts import com.mashup.dorabangs.domain.model.DoraSampleResponse import com.mashup.dorabangs.domain.model.classification.AIClassificationFeedPost import com.mashup.dorabangs.domain.repository.AIClassificationRepository diff --git a/domain/src/main/kotlin/com/mashup/dorabangs/domain/repository/AIClassificationRepository.kt b/domain/src/main/kotlin/com/mashup/dorabangs/domain/repository/AIClassificationRepository.kt index 201c37a1..7260d7ec 100644 --- a/domain/src/main/kotlin/com/mashup/dorabangs/domain/repository/AIClassificationRepository.kt +++ b/domain/src/main/kotlin/com/mashup/dorabangs/domain/repository/AIClassificationRepository.kt @@ -2,7 +2,6 @@ package com.mashup.dorabangs.domain.repository import androidx.paging.PagingData import com.mashup.dorabangs.domain.model.AIClassificationFolders -import com.mashup.dorabangs.domain.model.AIClassificationPosts import com.mashup.dorabangs.domain.model.DoraSampleResponse import com.mashup.dorabangs.domain.model.classification.AIClassificationFeedPost import kotlinx.coroutines.flow.Flow diff --git a/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationViewModel.kt b/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationViewModel.kt index 1554182b..65fa789a 100644 --- a/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationViewModel.kt +++ b/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationViewModel.kt @@ -215,7 +215,7 @@ class ClassificationViewModel @Inject constructor( intent { reduce { state.copy( - isLoading = false + isLoading = false, ) } } @@ -265,7 +265,9 @@ class ClassificationViewModel @Inject constructor( if (it is FeedUiModel.DoraChipUiModel) { val updateItem = chipList.find { chip -> chip.id == it.folderId } it.copy(postCount = updateItem?.postCount ?: it.postCount) - } else it + } else { + it + } } } From 98efef770bd907ccbdcaf67af7f770d2a9486f6e Mon Sep 17 00:00:00 2001 From: Ahn-seokjoo Date: Wed, 18 Sep 2024 23:12:34 +0900 Subject: [PATCH 06/21] =?UTF-8?q?[refactoring]=20=EB=B6=88=ED=95=84?= =?UTF-8?q?=EC=9A=94=20=EA=B0=92=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/mashup/feature/classification/ClassificationState.kt | 1 - .../com/mashup/feature/classification/ClassificationViewModel.kt | 1 - 2 files changed, 2 deletions(-) diff --git a/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationState.kt b/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationState.kt index 90827be0..82b1bfc8 100644 --- a/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationState.kt +++ b/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationState.kt @@ -4,7 +4,6 @@ import com.mashup.dorabangs.core.designsystem.component.chips.FeedUiModel data class ClassificationState( val chipState: ChipState = ChipState(), - val selectedFolder: String = "전체", val isLoading: Boolean = false, ) diff --git a/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationViewModel.kt b/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationViewModel.kt index 65fa789a..3f62ad3b 100644 --- a/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationViewModel.kt +++ b/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationViewModel.kt @@ -155,7 +155,6 @@ class ClassificationViewModel @Inject constructor( reduce { state.copy( chipState = state.chipState.copy(currentIndex = idx), - selectedFolder = state.chipState.chipList.getOrNull(idx)?.title ?: "전체", ) } } From c2792e9c7a33520e39aae9c9616181ca53db67b5 Mon Sep 17 00:00:00 2001 From: Ahn-seokjoo Date: Fri, 20 Sep 2024 00:31:32 +0900 Subject: [PATCH 07/21] =?UTF-8?q?[refactoring]=20=EB=84=A4=EC=9D=B4?= =?UTF-8?q?=EB=B0=8D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../classification/ClassificationViewModel.kt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationViewModel.kt b/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationViewModel.kt index 3f62ad3b..6a56358e 100644 --- a/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationViewModel.kt +++ b/feature/classification/src/main/java/com/mashup/feature/classification/ClassificationViewModel.kt @@ -166,9 +166,9 @@ class ClassificationViewModel @Inject constructor( state.copy(isLoading = true) } } - val allMove = moveAllPostUseCase.invoke(suggestionFolderId = folderId) + val allMoveItem = moveAllPostUseCase.invoke(suggestionFolderId = folderId) - if (allMove.isSuccess) { + if (allMoveItem.isSuccess) { getInitialData() } }.invokeOnCompletion { @@ -184,12 +184,12 @@ class ClassificationViewModel @Inject constructor( isLoading = true, ) } - val move = moveSinglePostUseCase.invoke( + val moveItem = moveSinglePostUseCase.invoke( postId = cardItem.postId, suggestionFolderId = cardItem.folderId, ) - if (move.isSuccess) { + if (moveItem.isSuccess) { val (chips, chipList) = updateChipList() val findCategory = chips.list.find { it.folderId == cardItem.folderId } @@ -227,8 +227,8 @@ class ClassificationViewModel @Inject constructor( isLoading = true, ) } - val delete = deletePostUseCase.invoke(cardItem.postId) - if (delete.isSuccess) { + val deleteItem = deletePostUseCase.invoke(cardItem.postId) + if (deleteItem.isSuccess) { val (chips, chipList) = updateChipList() val findCategory = chips.list.find { it.folderId == cardItem.folderId } From ea4bc8581e81059581e02ca7cd9068d3764eaef6 Mon Sep 17 00:00:00 2001 From: Ahn-seokjoo Date: Sat, 21 Sep 2024 00:18:30 +0900 Subject: [PATCH 08/21] =?UTF-8?q?[feature]=20auto-assignee=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/auto-assignee.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/auto-assignee.yaml diff --git a/.github/workflows/auto-assignee.yaml b/.github/workflows/auto-assignee.yaml new file mode 100644 index 00000000..7627bccc --- /dev/null +++ b/.github/workflows/auto-assignee.yaml @@ -0,0 +1,17 @@ +name: Auto Assignees + +on: + pull_request: + types: + - opened + - synchronize + +jobs: + add-auto-assignees: + runs-on: ubuntu-latest + + steps: + - name: add assignees + run: | + echo ${{ github.event.number }} + From 719d9f17649bead690e97c9899e6fa34f0bf932a Mon Sep 17 00:00:00 2001 From: Ahn-seokjoo Date: Sat, 21 Sep 2024 00:59:40 +0900 Subject: [PATCH 09/21] [feature] actor check --- .github/workflows/auto-assignee.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/auto-assignee.yaml b/.github/workflows/auto-assignee.yaml index 7627bccc..5adb555f 100644 --- a/.github/workflows/auto-assignee.yaml +++ b/.github/workflows/auto-assignee.yaml @@ -15,3 +15,6 @@ jobs: run: | echo ${{ github.event.number }} + - name: print name + run: | + echo ${{ github.actor }} From 3587efabb36c0ec48a746178efefe2573c390ada Mon Sep 17 00:00:00 2001 From: Ahn-seokjoo Date: Sat, 21 Sep 2024 01:05:31 +0900 Subject: [PATCH 10/21] =?UTF-8?q?[feature]=20curl=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/auto-assignee.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/auto-assignee.yaml b/.github/workflows/auto-assignee.yaml index 5adb555f..84fc5bb7 100644 --- a/.github/workflows/auto-assignee.yaml +++ b/.github/workflows/auto-assignee.yaml @@ -4,7 +4,6 @@ on: pull_request: types: - opened - - synchronize jobs: add-auto-assignees: @@ -13,8 +12,7 @@ jobs: steps: - name: add assignees run: | - echo ${{ github.event.number }} - - - name: print name - run: | - echo ${{ github.actor }} + curl -X POST https://api.github.com/repos/mash-up-kr/Dorabangs_Android/issues/${{ github.event.number }}/assignees \ + -H "Accept: application/vnd.github+json" \ + -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ + -d '{"assignees": ${{ github.actor }} }' From b05b5f1ebed6c296408e03217d8f01ae6ef8da07 Mon Sep 17 00:00:00 2001 From: Ahn-seokjoo Date: Sat, 21 Sep 2024 01:08:13 +0900 Subject: [PATCH 11/21] [refactoring] auto assignee update --- .github/workflows/auto-assignee.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/auto-assignee.yaml b/.github/workflows/auto-assignee.yaml index 84fc5bb7..5062ea3d 100644 --- a/.github/workflows/auto-assignee.yaml +++ b/.github/workflows/auto-assignee.yaml @@ -4,6 +4,7 @@ on: pull_request: types: - opened + - synchronize jobs: add-auto-assignees: @@ -12,7 +13,10 @@ jobs: steps: - name: add assignees run: | - curl -X POST https://api.github.com/repos/mash-up-kr/Dorabangs_Android/issues/${{ github.event.number }}/assignees \ + curl -L + -X POST \ -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ + -H "X-GitHub-Api-Version: 2022-11-28" \ + https://api.github.com/repos/mash-up-kr/Dorabangs_Android/issues/${{ github.event.number }}/assignees \ -d '{"assignees": ${{ github.actor }} }' From 49b73cbb57cf741f3b947ed334234743fed890de Mon Sep 17 00:00:00 2001 From: Ahn-seokjoo Date: Sat, 21 Sep 2024 01:09:01 +0900 Subject: [PATCH 12/21] =?UTF-8?q?[refactoring]=20=EC=98=A4=ED=83=80=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/auto-assignee.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-assignee.yaml b/.github/workflows/auto-assignee.yaml index 5062ea3d..c8b702c9 100644 --- a/.github/workflows/auto-assignee.yaml +++ b/.github/workflows/auto-assignee.yaml @@ -13,7 +13,7 @@ jobs: steps: - name: add assignees run: | - curl -L + curl -L \ -X POST \ -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ From bd2268212ac814398a39d5288bf1989be9b1e305 Mon Sep 17 00:00:00 2001 From: Ahn-seokjoo Date: Sat, 21 Sep 2024 01:10:40 +0900 Subject: [PATCH 13/21] =?UTF-8?q?[refactoring]=20array=EB=A1=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/auto-assignee.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-assignee.yaml b/.github/workflows/auto-assignee.yaml index c8b702c9..c0f5c8ea 100644 --- a/.github/workflows/auto-assignee.yaml +++ b/.github/workflows/auto-assignee.yaml @@ -19,4 +19,4 @@ jobs: -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ -H "X-GitHub-Api-Version: 2022-11-28" \ https://api.github.com/repos/mash-up-kr/Dorabangs_Android/issues/${{ github.event.number }}/assignees \ - -d '{"assignees": ${{ github.actor }} }' + -d '{"assignees": [${{ github.actor }}]}' From b8454992e0065ce08cb1d34094aecc2073fd987e Mon Sep 17 00:00:00 2001 From: Ahn-seokjoo Date: Sat, 21 Sep 2024 01:12:45 +0900 Subject: [PATCH 14/21] =?UTF-8?q?[refactoring]=20""=EB=A1=9C=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/auto-assignee.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-assignee.yaml b/.github/workflows/auto-assignee.yaml index c0f5c8ea..462f673e 100644 --- a/.github/workflows/auto-assignee.yaml +++ b/.github/workflows/auto-assignee.yaml @@ -19,4 +19,4 @@ jobs: -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ -H "X-GitHub-Api-Version: 2022-11-28" \ https://api.github.com/repos/mash-up-kr/Dorabangs_Android/issues/${{ github.event.number }}/assignees \ - -d '{"assignees": [${{ github.actor }}]}' + -d '{"assignees": ["${{ github.actor }}"]}' From e7d5accbc8f8757499f90e9659c970cb3a47a0a2 Mon Sep 17 00:00:00 2001 From: Ahn-seokjoo Date: Sat, 21 Sep 2024 01:13:53 +0900 Subject: [PATCH 15/21] =?UTF-8?q?[refactoring]=20test=EC=9A=A9=20synchroni?= =?UTF-8?q?ze=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/auto-assignee.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/auto-assignee.yaml b/.github/workflows/auto-assignee.yaml index 462f673e..a2b75dcd 100644 --- a/.github/workflows/auto-assignee.yaml +++ b/.github/workflows/auto-assignee.yaml @@ -4,7 +4,6 @@ on: pull_request: types: - opened - - synchronize jobs: add-auto-assignees: From cca838f5fbe7743562373adcd2745de4fccf6ec7 Mon Sep 17 00:00:00 2001 From: Ahn-seokjoo Date: Sat, 21 Sep 2024 15:40:28 +0900 Subject: [PATCH 16/21] =?UTF-8?q?[feature]=20suffix=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle.kts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 1260aede..8f67cca2 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -34,6 +34,7 @@ android { buildTypes { debug { + applicationIdSuffix = ".debug" isDebuggable = true isMinifyEnabled = false buildConfigField("Boolean", "DEBUG_MODE", "true") From ecaedcbd94fa0cce2a74936553c6689d647c8859 Mon Sep 17 00:00:00 2001 From: Ahn-seokjoo Date: Sat, 21 Sep 2024 16:01:52 +0900 Subject: [PATCH 17/21] =?UTF-8?q?[feature]=20ci=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/common-setup.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/common-setup.yaml b/.github/workflows/common-setup.yaml index ab3a1173..815be6f1 100644 --- a/.github/workflows/common-setup.yaml +++ b/.github/workflows/common-setup.yaml @@ -14,7 +14,10 @@ jobs: - name: Putting Json data env: GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON }} - run: echo "$GOOGLE_SERVICES_JSON" > /home/runner/work/Dorabangs_Android/Dorabangs_Android/app/google-services.json + GOOGLE_SERVICES_JSON_DEBUG: ${{ secrets.GOOGLE_SERVICES_JSON_DEBUG }} + run: | + echo "$GOOGLE_SERVICES_JSON" > /home/runner/work/Dorabangs_Android/Dorabangs_Android/app/release/google-services.json + echo "$GOOGLE_SERVICES_JSON_DEBUG" > /home/runner/work/Dorabangs_Android/Dorabangs_Android/app/google-services.json - name: Access SERVER_BASE_URL run: | @@ -27,3 +30,4 @@ jobs: path: | /home/runner/work/Dorabangs_Android/Dorabangs_Android/local.properties /home/runner/work/Dorabangs_Android/Dorabangs_Android/app/google-services.json + /home/runner/work/Dorabangs_Android/Dorabangs_Android/app/release/google-services.json From 23019f6d7c2d7d908e60f51012aeb45ad7f453c8 Mon Sep 17 00:00:00 2001 From: Ahn-seokjoo Date: Sat, 21 Sep 2024 16:04:44 +0900 Subject: [PATCH 18/21] =?UTF-8?q?[feature]=20release=20=ED=8F=B4=EB=8D=94?= =?UTF-8?q?=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/common-setup.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/common-setup.yaml b/.github/workflows/common-setup.yaml index 815be6f1..b73edf38 100644 --- a/.github/workflows/common-setup.yaml +++ b/.github/workflows/common-setup.yaml @@ -16,6 +16,7 @@ jobs: GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON }} GOOGLE_SERVICES_JSON_DEBUG: ${{ secrets.GOOGLE_SERVICES_JSON_DEBUG }} run: | + mkdir /home/runner/work/Dorabangs_Android/Dorabangs_Android/app/release echo "$GOOGLE_SERVICES_JSON" > /home/runner/work/Dorabangs_Android/Dorabangs_Android/app/release/google-services.json echo "$GOOGLE_SERVICES_JSON_DEBUG" > /home/runner/work/Dorabangs_Android/Dorabangs_Android/app/google-services.json From 6cf87ca6db621a673dbe5ae860ca708974e9e537 Mon Sep 17 00:00:00 2001 From: Ahn-seokjoo Date: Sat, 21 Sep 2024 16:05:47 +0900 Subject: [PATCH 19/21] =?UTF-8?q?=ED=85=8C=EC=8A=A4=ED=8A=B8=EC=9A=A9=20li?= =?UTF-8?q?nt=20check=20=EC=9E=A0=EC=8B=9C=20=EB=A7=89=EC=9D=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/lint_check.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint_check.yaml b/.github/workflows/lint_check.yaml index aa4523a3..f3986ea8 100644 --- a/.github/workflows/lint_check.yaml +++ b/.github/workflows/lint_check.yaml @@ -1,6 +1,9 @@ name: Lint Check -on: pull_request +on: + pull_request: + types: + - closed jobs: lint-check: From 1b2dbda1d58ba0b17a616e83ccda54b0ded16adc Mon Sep 17 00:00:00 2001 From: Ahn-seokjoo Date: Sat, 21 Sep 2024 16:22:13 +0900 Subject: [PATCH 20/21] =?UTF-8?q?Revert=20"=ED=85=8C=EC=8A=A4=ED=8A=B8?= =?UTF-8?q?=EC=9A=A9=20lint=20check=20=EC=9E=A0=EC=8B=9C=20=EB=A7=89?= =?UTF-8?q?=EC=9D=8C"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 6cf87ca6db621a673dbe5ae860ca708974e9e537. --- .github/workflows/lint_check.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/lint_check.yaml b/.github/workflows/lint_check.yaml index f3986ea8..aa4523a3 100644 --- a/.github/workflows/lint_check.yaml +++ b/.github/workflows/lint_check.yaml @@ -1,9 +1,6 @@ name: Lint Check -on: - pull_request: - types: - - closed +on: pull_request jobs: lint-check: From 6b61b881909b1c8d2ffc83189430016027f0e2a0 Mon Sep 17 00:00:00 2001 From: Ahn-seokjoo Date: Sat, 21 Sep 2024 16:46:11 +0900 Subject: [PATCH 21/21] =?UTF-8?q?[v1.0.8]=20=EB=B0=B0=ED=8F=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 93e968be..c0a2641d 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -4,7 +4,7 @@ compile-sdk = "34" min-sdk = "28" target-sdk = "34" -versionName = "1.0.7" +versionName = "1.0.8" agp = "8.1.3" org-jetbrains-kotlin-android = "1.9.0"