Skip to content

Commit

Permalink
Release 2.4.0 (#127)
Browse files Browse the repository at this point in the history
Fix strike throguh for multi line tasks (#106)
Fix order task (#112)
Fix calendar localization (#113)
Fix edit task's day issue with position (#121)
  • Loading branch information
costular authored Dec 8, 2023
1 parent 58a6d89 commit a903868
Show file tree
Hide file tree
Showing 39 changed files with 408 additions and 218 deletions.
3 changes: 0 additions & 3 deletions .idea/.gitignore

This file was deleted.

129 changes: 0 additions & 129 deletions .idea/codeStyles/Project.xml

This file was deleted.

5 changes: 0 additions & 5 deletions .idea/codeStyles/codeStyleConfig.xml

This file was deleted.

26 changes: 0 additions & 26 deletions .idea/deploymentTargetDropDown.xml

This file was deleted.

41 changes: 0 additions & 41 deletions .idea/inspectionProfiles/Project_Default.xml

This file was deleted.

14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Security

## [2.4.0] 2023-12-07

### Added
- In-App review dialog that will be shown when the user completes a determinate amount of tasks

### Changed

### Deprecated

### Removed

### Fixed
- Fix edit task's day that caused issues when editing a task changing it's day when there were other tasks with the same position

## [2.3.0] 2023-11-30

### Added
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.costular.atomtasks

object Versioning {
const val VersionCode = 13
const val VersionName = "2.3.0"
const val VersionCode = 14
const val VersionName = "2.4.0"
}
1 change: 1 addition & 0 deletions core/preferences/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
16 changes: 16 additions & 0 deletions core/preferences/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
plugins {
id("atomtasks.android.library")
id("kotlin-android")
id("atomtasks.detekt")
id("atomtasks.android.library.jacoco")
id("atomtasks.android.hilt")
}

android {
namespace = "com.costular.atomtasks.core.preferences"
}

dependencies {
implementation(projects.core)
api(libs.preferences.datastore)
}
Empty file.
21 changes: 21 additions & 0 deletions core/preferences/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
4 changes: 4 additions & 0 deletions core/preferences/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

</manifest>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.costular.atomtasks.data
package com.costular.atomtasks.preferences

import android.content.Context
import androidx.datastore.core.DataStore
Expand All @@ -20,7 +20,6 @@ import kotlinx.coroutines.SupervisorJob
@InstallIn(SingletonComponent::class)
@Module
class DataStoreModule {

@Singleton
@Provides
fun provideDataStore(
Expand Down
1 change: 1 addition & 0 deletions core/review/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
32 changes: 32 additions & 0 deletions core/review/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
plugins {
id("atomtasks.android.library")
id("atomtasks.android.library.compose")
id("kotlin-android")
id("atomtasks.detekt")
id("atomtasks.android.library.jacoco")
id("atomtasks.android.hilt")
}

android {
namespace = "com.costular.atomtasks.core.review"
}

dependencies {
implementation(projects.data)
implementation(projects.core.ui)
implementation(projects.core.logging)
implementation(libs.androidx.core)
implementation(libs.compose.runtime)
implementation(libs.compose.ui)
implementation(libs.play.review)

testImplementation(libs.android.junit)
testImplementation(libs.junit)
testImplementation(libs.coroutines.test)
testImplementation(libs.turbine)
testImplementation(libs.truth)
testImplementation(libs.androidx.test)
testImplementation(libs.mockk)
testImplementation(libs.compose.ui.test)
testImplementation(libs.testparameterinjector)
}
Empty file added core/review/consumer-rules.pro
Empty file.
21 changes: 21 additions & 0 deletions core/review/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
4 changes: 4 additions & 0 deletions core/review/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

</manifest>
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package com.costular.atomtasks.review.di

import com.costular.atomtasks.review.strategy.ReviewStrategy
import com.costular.atomtasks.review.strategy.ReviewStrategyImpl
import dagger.Binds
import dagger.Module
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent

@InstallIn(SingletonComponent::class)
@Module
interface ReviewStrategyModule {
@Binds
fun bindsReviewStrategy(impl: ReviewStrategyImpl): ReviewStrategy
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package com.costular.atomtasks.review.model

sealed interface ShouldAskReviewError {
data object UnknownError : ShouldAskReviewError
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package com.costular.atomtasks.review.strategy

interface ReviewStrategy {
suspend fun shouldShowReview(): Boolean
}
Loading

0 comments on commit a903868

Please sign in to comment.