diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 781ca3b7b..cc1617cf1 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -8,7 +8,7 @@ assignees: '' --- **Describe the bug** -A clear and concise description of what the bug is. +A clear and concise description of what the bug is. If your issue is not related to a specific bug, please submit it as a suggestion through our form: https://forms.gle/Fa6oztkDsbzLqSvE9 **To Reproduce** Steps to reproduce the behavior: diff --git a/.github/ISSUE_TEMPLATE/crash_report.md b/.github/ISSUE_TEMPLATE/crash_report.md new file mode 100644 index 000000000..7a79469ec --- /dev/null +++ b/.github/ISSUE_TEMPLATE/crash_report.md @@ -0,0 +1,26 @@ +--- +name: Crash report +about: Create a report for app crash instances +title: '' +labels: 'Type: Crash' +assignees: '' + +--- + +**Describe the crash** +What were you doing before the issue? Was there an error, did the app stall, or did it fully close? + +**To Reproduce** +Can you reliably reproduce the crash? If so, list steps. + +**Screenshots/Video** +If applicable, add screenshots or video to help show the problem + +**Smartphone (please complete the following information):** + - Device: [e.g. Moto G5] + - OS: [e.g. Android 9] + - App Version: [e.g. 2.2] + - Habitica Username: + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 63b82974a..000000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: '' -labels: 'Type: Feature' -assignees: '' - ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request here. diff --git a/Habitica/AndroidManifest.xml b/Habitica/AndroidManifest.xml index 3c501e746..29014507c 100644 --- a/Habitica/AndroidManifest.xml +++ b/Habitica/AndroidManifest.xml @@ -5,11 +5,8 @@ android:screenOrientation="portrait" android:installLocation="auto" > - - - diff --git a/Habitica/build.gradle b/Habitica/build.gradle index 5e4e1dce1..d3280604b 100644 --- a/Habitica/build.gradle +++ b/Habitica/build.gradle @@ -18,7 +18,7 @@ buildscript { } dependencies { classpath 'io.fabric.tools:gradle:1.+' - classpath 'com.android.tools.build:gradle:3.6.2' + classpath 'com.android.tools.build:gradle:4.0.0' classpath('com.noveogroup.android:check:1.2.5') { exclude module: 'checkstyle' exclude module: 'pmd-java' @@ -129,12 +129,12 @@ dependencies { implementation 'androidx.multidex:multidex:2.0.1' implementation 'com.nex3z:flow-layout:1.2.2' - implementation 'androidx.core:core-ktx:1.2.0' + implementation 'androidx.core:core-ktx:1.3.0' implementation "androidx.lifecycle:lifecycle-extensions:2.2.0" implementation "androidx.lifecycle:lifecycle-common-java8:2.2.0" - implementation 'androidx.navigation:navigation-fragment-ktx:2.2.1' - implementation 'androidx.navigation:navigation-ui-ktx:2.2.1' - implementation "androidx.paging:paging-runtime-ktx:2.1.1" + implementation 'androidx.navigation:navigation-fragment-ktx:2.2.2' + implementation 'androidx.navigation:navigation-ui-ktx:2.2.2' + implementation "androidx.paging:paging-runtime-ktx:2.1.2" implementation 'com.plattysoft.leonids:LeonidsLib:1.3.2' implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.3' implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.3' @@ -162,8 +162,8 @@ android { multiDexEnabled true resConfigs "en", "bg", "de", "en-rGB", "es", "fr", "hr-rHR", "in", "it", "iw", "ja", "ko", "lt", "nl", "pl", "pt-rBR", "pt-rPT", "ru", "tr", "zh", "zh-rTW" - versionCode 2404 - versionName "2.5" + versionCode 2421 + versionName "2.6.2" } viewBinding { @@ -213,6 +213,12 @@ android { dimension "buildType" } + staff { + dimension "buildType" + buildConfigField "String", "TESTING_LEVEL", "\"staff\"" + resValue "string", "app_name", "Habitica Staff" + } + alpha { dimension "buildType" buildConfigField "String", "TESTING_LEVEL", "\"alpha\"" diff --git a/Habitica/res/drawable-hdpi/gold_coins_left.png b/Habitica/res/drawable-hdpi/gold_coins_left.png new file mode 100644 index 000000000..adf6d3ca1 Binary files /dev/null and b/Habitica/res/drawable-hdpi/gold_coins_left.png differ diff --git a/Habitica/res/drawable-hdpi/gold_coins_right.png b/Habitica/res/drawable-hdpi/gold_coins_right.png new file mode 100644 index 000000000..34d071e45 Binary files /dev/null and b/Habitica/res/drawable-hdpi/gold_coins_right.png differ diff --git a/Habitica/res/drawable-hdpi/ic_keyboard_arrow_right.png b/Habitica/res/drawable-hdpi/ic_keyboard_arrow_right.png new file mode 100644 index 000000000..5b4950a2e Binary files /dev/null and b/Habitica/res/drawable-hdpi/ic_keyboard_arrow_right.png differ diff --git a/Habitica/res/drawable-mdpi/baseline_keyboard_arrow_right_black_18dp.png b/Habitica/res/drawable-mdpi/baseline_keyboard_arrow_right_black_18dp.png new file mode 100644 index 000000000..35d43f55a Binary files /dev/null and b/Habitica/res/drawable-mdpi/baseline_keyboard_arrow_right_black_18dp.png differ diff --git a/Habitica/res/drawable-mdpi/gold_coins_left.png b/Habitica/res/drawable-mdpi/gold_coins_left.png new file mode 100644 index 000000000..62b9ba544 Binary files /dev/null and b/Habitica/res/drawable-mdpi/gold_coins_left.png differ diff --git a/Habitica/res/drawable-mdpi/gold_coins_right.png b/Habitica/res/drawable-mdpi/gold_coins_right.png new file mode 100644 index 000000000..58b23943e Binary files /dev/null and b/Habitica/res/drawable-mdpi/gold_coins_right.png differ diff --git a/Habitica/res/drawable-mdpi/ic_keyboard_arrow_right.png b/Habitica/res/drawable-mdpi/ic_keyboard_arrow_right.png new file mode 100644 index 000000000..355277b9a Binary files /dev/null and b/Habitica/res/drawable-mdpi/ic_keyboard_arrow_right.png differ diff --git a/Habitica/res/drawable-xhdpi/gold_coins_left.png b/Habitica/res/drawable-xhdpi/gold_coins_left.png new file mode 100644 index 000000000..ace067333 Binary files /dev/null and b/Habitica/res/drawable-xhdpi/gold_coins_left.png differ diff --git a/Habitica/res/drawable-xhdpi/gold_coins_right.png b/Habitica/res/drawable-xhdpi/gold_coins_right.png new file mode 100644 index 000000000..f3b918478 Binary files /dev/null and b/Habitica/res/drawable-xhdpi/gold_coins_right.png differ diff --git a/Habitica/res/drawable-xhdpi/ic_keyboard_arrow_right.png b/Habitica/res/drawable-xhdpi/ic_keyboard_arrow_right.png new file mode 100644 index 000000000..7daf30463 Binary files /dev/null and b/Habitica/res/drawable-xhdpi/ic_keyboard_arrow_right.png differ diff --git a/Habitica/res/drawable-xxhdpi/gold_coins_left.png b/Habitica/res/drawable-xxhdpi/gold_coins_left.png new file mode 100644 index 000000000..f36dd59f9 Binary files /dev/null and b/Habitica/res/drawable-xxhdpi/gold_coins_left.png differ diff --git a/Habitica/res/drawable-xxhdpi/gold_coins_right.png b/Habitica/res/drawable-xxhdpi/gold_coins_right.png new file mode 100644 index 000000000..a5a90e515 Binary files /dev/null and b/Habitica/res/drawable-xxhdpi/gold_coins_right.png differ diff --git a/Habitica/res/drawable-xxhdpi/ic_keyboard_arrow_right.png b/Habitica/res/drawable-xxhdpi/ic_keyboard_arrow_right.png new file mode 100644 index 000000000..71b4b80c0 Binary files /dev/null and b/Habitica/res/drawable-xxhdpi/ic_keyboard_arrow_right.png differ diff --git a/Habitica/res/drawable-xxxhdpi/gold_coins_left.png b/Habitica/res/drawable-xxxhdpi/gold_coins_left.png new file mode 100644 index 000000000..db0ab7495 Binary files /dev/null and b/Habitica/res/drawable-xxxhdpi/gold_coins_left.png differ diff --git a/Habitica/res/drawable-xxxhdpi/gold_coins_right.png b/Habitica/res/drawable-xxxhdpi/gold_coins_right.png new file mode 100644 index 000000000..6c71c1cd7 Binary files /dev/null and b/Habitica/res/drawable-xxxhdpi/gold_coins_right.png differ diff --git a/Habitica/res/drawable-xxxhdpi/ic_keyboard_arrow_right.png b/Habitica/res/drawable-xxxhdpi/ic_keyboard_arrow_right.png new file mode 100644 index 000000000..e81763f3f Binary files /dev/null and b/Habitica/res/drawable-xxxhdpi/ic_keyboard_arrow_right.png differ diff --git a/Habitica/res/drawable/adventure_guide_menu_bg.xml b/Habitica/res/drawable/adventure_guide_menu_bg.xml new file mode 100644 index 000000000..b5877fa91 --- /dev/null +++ b/Habitica/res/drawable/adventure_guide_menu_bg.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Habitica/res/drawable/adventure_guide_menu_card_bg.xml b/Habitica/res/drawable/adventure_guide_menu_card_bg.xml new file mode 100644 index 000000000..be6da8b36 --- /dev/null +++ b/Habitica/res/drawable/adventure_guide_menu_card_bg.xml @@ -0,0 +1,6 @@ + + + + + diff --git a/Habitica/res/drawable/adventure_guide_menu_card_gray.xml b/Habitica/res/drawable/adventure_guide_menu_card_gray.xml new file mode 100644 index 000000000..4a16d5346 --- /dev/null +++ b/Habitica/res/drawable/adventure_guide_menu_card_gray.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Habitica/res/layout/activity_fixcharacter.xml b/Habitica/res/layout/activity_fixcharacter.xml index 359ce75ee..7dce1e80b 100644 --- a/Habitica/res/layout/activity_fixcharacter.xml +++ b/Habitica/res/layout/activity_fixcharacter.xml @@ -35,72 +35,266 @@ android:background="@color/gray_700" android:layout_marginBottom="16dp" /> - - - + + + + + + + + + + - + + + + + + + + + + - + + + + + + + + + + - + + + + + + + + + + - + + + + + + + + + + + android:layout_marginBottom="12dp" > + + + + + + + + + \ No newline at end of file diff --git a/Habitica/res/layout/activity_login.xml b/Habitica/res/layout/activity_login.xml index f216f1e8d..fac9e4388 100644 --- a/Habitica/res/layout/activity_login.xml +++ b/Habitica/res/layout/activity_login.xml @@ -220,8 +220,7 @@ android:layout_height="@dimen/diamond_button_height" android:text="@string/login_btn_apple" android:drawableStart="@drawable/apple_icon" - style="@style/LoginButton" - android:visibility="gone"/> + style="@style/LoginButton"/>