Skip to content

Commit 4021961

Browse files
authored
Release Teacher 1.39.0 (77) (#2914)
Release Teacher 1.39.0 (77)
2 parents 26107a2 + b0590c7 commit 4021961

File tree

247 files changed

+6371
-3867
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

247 files changed

+6371
-3867
lines changed

android-vault

apps/build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,15 @@ buildscript {
3434
classpath Plugins.FIREBASE_CRASHLYTICS
3535
if (project.coverageEnabled) { classpath Plugins.JACOCO_ANDROID }
3636
classpath Plugins.HILT
37-
classpath Plugins.HEAP
3837
}
3938
}
4039

4140
allprojects {
4241
repositories {
4342
google()
43+
maven {
44+
url = uri("https://software.mobile.pendo.io/artifactory/androidx-release")
45+
}
4446
mavenCentral()
4547
maven { url 'https://jitpack.io' }
4648
maven {

apps/buildSrc/src/main/java/GlobalDependencies.kt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ object Versions {
2323
const val GOOGLE_SERVICES = "4.4.2"
2424

2525
/* Others */
26-
const val APOLLO = "2.5.14" // There is already a brand new version, Apollo 3, that requires lots of migration
26+
const val APOLLO = "4.1.1"
2727
const val PSPDFKIT = "2024.3.1"
2828
const val PHOTO_VIEW = "2.3.0"
2929
const val MOBIUS = "1.2.1"
@@ -35,7 +35,6 @@ object Versions {
3535
const val GLIDE_VERSION = "4.16.0"
3636
const val RETROFIT = "2.11.0"
3737
const val OKHTTP = "4.12.0"
38-
const val HEAP = "1.10.6"
3938
const val ROOM = "2.6.1"
4039
const val HAMCREST = "2.2"
4140
const val NAVIGATION = "2.8.3"
@@ -54,7 +53,7 @@ object Libs {
5453

5554
/* Apollo/GraphQL */
5655
const val APOLLO_RUNTIME = "com.apollographql.apollo:apollo-runtime:${Versions.APOLLO}"
57-
const val APOLLO_ANDROID_SUPPORT = "com.apollographql.apollo:apollo-android-support:${Versions.APOLLO}"
56+
const val APOLLO_API = "com.apollographql.apollo:apollo-api:${Versions.APOLLO}"
5857
const val APOLLO_HTTP_CACHE = "com.apollographql.apollo:apollo-http-cache:${Versions.APOLLO}"
5958

6059
/* Androidx libraries */
@@ -165,7 +164,7 @@ object Libs {
165164
const val APACHE_COMMONS_TEXT = "org.apache.commons:commons-text:1.12.0"
166165
const val CAMERA_VIEW = "com.otaliastudios:cameraview:2.7.2"
167166

168-
const val HEAP_CORE = "com.contentsquare.android:sdk:0.3.0"
167+
const val PENDO = "sdk.pendo.io:pendoIO:3.6+"
169168

170169
const val ROOM = "androidx.room:room-runtime:${Versions.ROOM}"
171170
const val ROOM_COMPILER = "androidx.room:room-compiler:${Versions.ROOM}"
@@ -185,6 +184,7 @@ object Libs {
185184
const val COMPOSE_UI = "androidx.compose.ui:ui-android"
186185
const val COMPOSE_UI_TEST = "androidx.compose.ui:ui-test-junit4"
187186
const val COMPOSE_UI_TEST_MANIFEST = "androidx.compose.ui:ui-test-manifest"
187+
const val COMPOSE_MATERIAL_3 = "androidx.compose.material3:material3"
188188

189189
// Navigation
190190
const val NAVIGATION_FRAGMENT = "androidx.navigation:navigation-fragment-ktx:${Versions.NAVIGATION}"
@@ -200,5 +200,4 @@ object Plugins {
200200
const val GOOGLE_SERVICES = "com.google.gms:google-services:${Versions.GOOGLE_SERVICES}"
201201
const val JACOCO_ANDROID = "com.dicedmelon.gradle:jacoco-android:${Versions.JACOCO_ANDROID}"
202202
const val HILT = "com.google.dagger:hilt-android-gradle-plugin:${Versions.HILT}"
203-
const val HEAP = "io.heap.gradle:io.heap.gradle.gradle.plugin:0.5.0"
204203
}

apps/parent/build.gradle

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ plugins {
2323
id 'com.google.firebase.crashlytics'
2424
id 'dagger.hilt.android.plugin'
2525
id 'org.jetbrains.kotlin.plugin.compose'
26-
id 'io.heap.gradle'
2726
}
2827

2928
configurations {
@@ -99,7 +98,7 @@ android {
9998
mappingFileUploadEnabled false
10099
}
101100

102-
buildConfigField "String", "HEAP_APP_ID", "\"$heapStagingId\""
101+
buildConfigField "String", "PENDO_TOKEN", "\"$pendoAccessToken\""
103102
}
104103

105104
debugMinify {
@@ -115,7 +114,7 @@ android {
115114
shrinkResources true
116115
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
117116

118-
buildConfigField "String", "HEAP_APP_ID", "\"$heapProductionId\""
117+
buildConfigField "String", "PENDO_TOKEN", "\"$pendoAccessToken\""
119118
}
120119
}
121120

@@ -227,5 +226,5 @@ dependencies {
227226

228227
implementation Libs.ENCRYPTED_SHARED_PREFERENCES
229228

230-
implementation Libs.HEAP_CORE
229+
implementation Libs.PENDO
231230
}

apps/parent/proguard-rules.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,4 +251,7 @@
251251

252252
# AGP 8 update
253253
-dontwarn java.beans.MethodDescriptor
254-
-dontwarn java.beans.SimpleBeanInfo
254+
-dontwarn java.beans.SimpleBeanInfo
255+
256+
-keep class androidx.navigation.** { *; }
257+
-keep interface androidx.navigation.** { *; }

apps/parent/src/androidTest/java/com/instructure/parentapp/ui/compose/alerts/details/AnnouncementDetailsScreenTest.kt

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ class AnnouncementDetailsScreenTest {
6464
AnnouncementDetailsScreen(
6565
uiState = uiState,
6666
navigationActionClick = {},
67-
actionHandler = {}
67+
actionHandler = {},
68+
applyOnWebView = {}
6869
)
6970
}
7071

@@ -105,7 +106,8 @@ class AnnouncementDetailsScreenTest {
105106
AnnouncementDetailsScreen(
106107
uiState = uiState,
107108
navigationActionClick = {},
108-
actionHandler = {}
109+
actionHandler = {},
110+
applyOnWebView = {}
109111
)
110112
}
111113

@@ -135,7 +137,8 @@ class AnnouncementDetailsScreenTest {
135137
studentColor = Color.BLUE,
136138
),
137139
navigationActionClick = {},
138-
actionHandler = {}
140+
actionHandler = {},
141+
applyOnWebView = {}
139142
)
140143
}
141144

@@ -156,7 +159,8 @@ class AnnouncementDetailsScreenTest {
156159
studentColor = Color.BLUE,
157160
),
158161
navigationActionClick = {},
159-
actionHandler = {}
162+
actionHandler = {},
163+
applyOnWebView = {}
160164
)
161165
}
162166

@@ -174,7 +178,8 @@ class AnnouncementDetailsScreenTest {
174178
studentColor = Color.BLUE,
175179
),
176180
navigationActionClick = {},
177-
actionHandler = {}
181+
actionHandler = {},
182+
applyOnWebView = {}
178183
)
179184
}
180185

apps/parent/src/androidTest/java/com/instructure/parentapp/ui/compose/courses/details/summary/SummaryScreenTest.kt

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,4 +129,20 @@ class SummaryScreenTest {
129129
composeTestRule.onNodeWithText("No Due Date")
130130
.assertIsDisplayed()
131131
}
132-
}
132+
133+
@Test
134+
fun assertRefreshing() {
135+
composeTestRule.setContent {
136+
SummaryContent(
137+
uiState = SummaryUiState(
138+
state = ScreenState.Refreshing
139+
),
140+
onRefresh = {},
141+
navigateToAssignmentDetails = { _, _ -> },
142+
navigateToCalendarEvent = { _, _, _ -> }
143+
)
144+
}
145+
146+
composeTestRule.onNodeWithTag("pullRefreshIndicator").assertIsDisplayed()
147+
}
148+
}

apps/parent/src/androidTest/java/com/instructure/parentapp/ui/compose/managestudents/ManageStudentsScreenTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ class ManageStudentsScreenTest {
6060
composeTestRule.onNodeWithText("You are not observing any students.")
6161
.assertIsDisplayed()
6262
composeTestRule.onNodeWithTag("EmptyContent")
63-
.performScrollToNode(hasText("Retry"))
64-
composeTestRule.onNodeWithText("Retry")
63+
.performScrollToNode(hasText("Refresh"))
64+
composeTestRule.onNodeWithText("Refresh")
6565
.assertIsDisplayed()
6666
.assertHasClickAction()
6767
composeTestRule.onNodeWithTag(R.drawable.panda_manage_students.toString())

0 commit comments

Comments
 (0)