musora-content-services 2.155.2 → 2.155.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,26 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [2.155.7](https://github.com/railroadmedia/musora-content-services/compare/v2.155.6...v2.155.7) (2026-04-23)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * remove timestamp filtering of practice records in offline mode ([#938](https://github.com/railroadmedia/musora-content-services/issues/938)) ([1a8ac03](https://github.com/railroadmedia/musora-content-services/commit/1a8ac03bfa1b9b3670c45049adb9b833263ef871))
11
+
12
+ ### [2.155.6](https://github.com/railroadmedia/musora-content-services/compare/v2.155.5...v2.155.6) (2026-04-23)
13
+
14
+ ### [2.155.5](https://github.com/railroadmedia/musora-content-services/compare/v2.155.4...v2.155.5) (2026-04-23)
15
+
16
+ ### [2.155.4](https://github.com/railroadmedia/musora-content-services/compare/v2.155.3...v2.155.4) (2026-04-23)
17
+
18
+ ### [2.155.3](https://github.com/railroadmedia/musora-content-services/compare/v2.155.2...v2.155.3) (2026-04-23)
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * **BR-460:** report option label updates ([#940](https://github.com/railroadmedia/musora-content-services/issues/940)) ([8ad8f72](https://github.com/railroadmedia/musora-content-services/commit/8ad8f72dd9a1284b4098aa00f08962a53a170275))
24
+
5
25
  ### [2.155.2](https://github.com/railroadmedia/musora-content-services/compare/v2.155.1...v2.155.2) (2026-04-22)
6
26
 
7
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "musora-content-services",
3
- "version": "2.155.2",
3
+ "version": "2.155.7",
4
4
  "description": "A package for Musoras content services ",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -20,7 +20,7 @@ interface Activity {
20
20
  * @returns `{ currentPage, totalPages, data }` where `data` is a page of `Activity` records
21
21
  */
22
22
  export async function getRecentActivityOffline(
23
- offlineTimestamp: number,
23
+ _offlineTimestamp: number,
24
24
  {
25
25
  page = 1,
26
26
  limit = 5,
@@ -34,7 +34,7 @@ export async function getRecentActivityOffline(
34
34
  // because setting up watermelon user activities table is extremely complicated.
35
35
  // Note: this implementation does not persist "activities" beyond when the corresponding record is deleted. That's ok right now.
36
36
 
37
- const clauses = getClauses(offlineTimestamp, tabName)
37
+ const clauses = getClauses(tabName)
38
38
 
39
39
  const query = await db.contentProgress.queryAll(...clauses)
40
40
  const progress = query.data
@@ -54,9 +54,8 @@ export async function getRecentActivityOffline(
54
54
  }
55
55
  }
56
56
 
57
- function getClauses(offlineTimestamp: number, tabName: string|null) {
57
+ function getClauses(tabName: string|null) {
58
58
  let clauses: Q.Clause[] = [
59
- Q.where('updated_at', Q.gte(offlineTimestamp)),
60
59
  Q.sortBy('created_at', 'desc'),
61
60
  ]
62
61
 
@@ -15,7 +15,6 @@ export async function getPracticeSessionsOffline(
15
15
  ) {
16
16
 
17
17
  const query = await db.practices.queryAll(
18
- Q.where('updated_at', Q.gte(offlineTimestamp)),
19
18
  Q.where('date', day),
20
19
  Q.sortBy('created_at', 'asc'))
21
20
  const practices = query.data
@@ -224,7 +224,7 @@ export function getReportIssueOptions(
224
224
 
225
225
  contentOptions.push(
226
226
  { value: 'assignment_issue', label: 'An issue with lesson assignment' },
227
- { value: 'other', label: 'Other' }
227
+ { value: 'other', label: 'Other reasons' }
228
228
  )
229
229
 
230
230
  return contentOptions
@@ -245,12 +245,12 @@ export function getReportIssueOptions(
245
245
 
246
246
  playlistOptions.push(
247
247
  { value: 'assignment_issue', label: 'An issue with lesson assignment' },
248
- { value: 'other', label: 'Other' }
248
+ { value: 'other', label: 'Other reasons' }
249
249
  )
250
250
 
251
251
  return playlistOptions
252
252
 
253
253
  default:
254
- return [{ value: 'other', label: 'Other' }]
254
+ return [{ value: 'other', label: 'Other reasons' }]
255
255
  }
256
256
  }