Skip to content

Changes

Started by timer
Started 8 days 23 hr ago
Took 3 min 9 sec

Summary

  1. Add xAPI extension functions required for common use cases. (commit: 4a012c9) (details)
  2. Improvements for Xapi based data handling : work in progress. (commit: 6d34bd4) (details)
  3. Add environment variables that can be used to set the url of the test app manifest for maestro testing. (commit: e61e79f) (details)
  4. Update ci-run-maestro to pass TEST_APP_URL argument through. (commit: 9f4649e) (details)
  5. Improve error message logging in xapi_assignable_unit.js . (commit: 0595679) (details)
  6. Initial implementation of lang map edit field. (commit: 2ceac40) (details)
  7. Initial implementation of lang map edit field. (commit: 14511ab) (details)
  8. Fix AssignmentEditScreen (commit: 42d1b44) (details)
  9. Remove use of old langmap getTitle function. (commit: 55b6ec9) (details)
  10. Migrate class list and detail views to use xAPI statements instead of legacy `Clazz` data models. (commit: 7409512) (details)
  11. Refactor class management to support multi-language xAPI activity names and descriptions. (commit: dc9da06) (details)
  12. Use `objectActivityOrNull` and `distinctByMostRecentTimestampForActivityId` extensions in `ClazzListScreen` and `ClazzListViewModel`. (commit: 3ff5266) (details)
  13. Throw `IllegalStateException` in `ClazzEditViewModel` when account data is missing during class creation or when statement data is null during save. (commit: e57adfe) (details)
  14. Refine error handling in `onClickAddPersonToClazz` and `onClickRemovePersonFromClass` within `ClazzDetailViewModel`. (commit: e4c644b) (details)
  15. Simplify logic for title and description in `ClazzDetailViewModel` and `ClazzDetailScreen`. (commit: a5db38c) (details)
  16. Simplify logic for title and description in `ClazzDetailViewModel` and `ClazzDetailScreen`. (commit: 7786c96) (details)
Commit 4a012c9f2b6a57776b401ab7c6f133372c2dfbf4 by Mike Dawson
Add xAPI extension functions required for common use cases.

Remove some unnecessary functions that were introduced with the assignment merge.
(commit: 4a012c9)
The file was modifiedrespect-datalayer-db/src/jvmTest/kotlin/world/respect/datalayer/db/school/xapi/XapiAssertions.kt (diff)
The file was modifiedrespect-lib-xapi-core/src/commonMain/kotlin/world/respect/lib/xapi/ext/XapiStatementExt.kt (diff)
The file was modifiedrespect-datalayer-db/src/jvmTest/kotlin/world/respect/datalayer/db/school/xapi/XapiStatementsResourceDbTest.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/assignment/detail/AssignmentDetailScreen.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/xapi/XapiStatementsResourceDb.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/xapi/XapiAssignmentExt.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/xapi/adapters/XapiActorAdapter.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/assignment/edit/AssignmentEditViewModel.kt (diff)
The file was addedrespect-lib-xapi-core/src/commonMain/kotlin/world/respect/lib/xapi/ext/XapiActorExt.kt
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/learningunit/detail/LearningUnitDetailScreen.kt (diff)
The file was removedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/xapi/ext/XapiActorExt.kt
The file was addedrespect-lib-xapi-core/src/commonMain/kotlin/world/respect/lib/xapi/ext/XapiStatementObjectExt.kt
The file was removedrespect-datalayer-repository/log/respect-server.2026-05-04.0.log
The file was modifiedrespect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/school/xapi/XapiStatementsResourceRepository.kt (diff)
The file was removedrespect-lib-xapi-core/src/commonMain/kotlin/world/respect/lib/xapi/ext/AssignmentResultExt.kt
Commit 6d34bd4995ceae080606ea1aceedf1776b507845 by Mike Dawson
Improvements for Xapi based data handling : work in progress.

Add UiText support for LangMaps. Put OpenEel constants into one logical place.
(commit: 6d34bd4)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/assignment/detail/AssignmentDetailScreen.kt (diff)
The file was addedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/util/ext/LangMapExt.kt
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/components/UiTextStringResource.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/resources/UiText.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/apps/detail/AppsDetailScreen.kt (diff)
The file was modifiedrespect-lib-xapi-core/src/commonMain/kotlin/world/respect/lib/xapi/ext/XapiActivityDefinitionExt.kt (diff)
The file was addedrespect-app-compose/src/androidMain/kotlin/world/respect/app/components/LocalAppLocale.android.kt
The file was removedrespect-app-compose/src/commonMain/kotlin/world/respect/App.kt
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/assignment/edit/AssignmentEditScreen.kt (diff)
The file was modifiedrespect-lib-xapi-core/src/commonMain/kotlin/world/respect/lib/xapi/ext/XapiStatementExt.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/assignment/detail/AssignmentDetailViewModel.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/xapi/XapiAssignmentExt.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/app/App.kt (diff)
The file was modifiedrespect-app-compose/src/desktopMain/kotlin/world/respect/main.kt (diff)
The file was addedrespect-app-compose/src/commonMain/kotlin/world/respect/app/components/LocalAppLocale.kt
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/assignment/edit/AssignmentEditViewModel.kt (diff)
The file was addedrespect-app-compose/src/desktopMain/kotlin/world/respect/app/components/LocalAppLocale.desktop.kt
The file was modifiedrespect-app-compose/src/androidMain/kotlin/world/respect/MainActivity.kt (diff)
The file was addedrespect-lib-util/src/commonMain/kotlin/world/respect/libutil/ext/LangMapExt.kt
Commit e61e79f9c612ce33185054572d051ce7a535064d by Mike Dawson
Add environment variables that can be used to set the url of the test app manifest for maestro testing.
(commit: e61e79f)
The file was modified.maestro/flows/002_browse_lessons_test.yaml (diff)
The file was modified.maestro/flows/scripts/school_init.js (diff)
The file was modified.maestro/flows/subflows/admin_add_app.yaml (diff)
The file was modified.maestro/README.md (diff)
Commit 9f4649e59071d435537f5286804cc34b168cd2a9 by Mike Dawson
Update ci-run-maestro to pass TEST_APP_URL argument through.
(commit: 9f4649e)
The file was modifiedci-run-maestro.sh (diff)
Commit 05956799f0039e384a597b85aa08aeead0457ec9 by Mike Dawson
Improve error message logging in xapi_assignable_unit.js .
(commit: 0595679)
The file was modifiedrespect-server/src/main/resources/http/respect-ds/case_valid/examples/assignable-unit-1/index.html (diff)
The file was modifiedrespect-server/src/main/resources/http/respect-ds/case_valid/js/xapi_assignable_unit.js (diff)
Commit 2ceac40ca0250dba23285062068335e4eb361f88 by Mike Dawson
Initial implementation of lang map edit field.
(commit: 2ceac40)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/components/UiTextStringResource.kt (diff)
The file was addedrespect-lib-util/src/commonMain/kotlin/world/respect/libutil/util/SelectLang.kt
The file was addedrespect-app-compose/src/commonMain/kotlin/world/respect/app/components/LangMapEditField.kt
Commit 14511ab072f6ff511891a5dce7cf0f3328df1321 by Mike Dawson
Initial implementation of lang map edit field.
(commit: 14511ab)
The file was addedrespect-app-compose/src/commonMain/kotlin/world/respect/app/components/SelectLangMapStringByLocale.kt
The file was modifiedrespect-lib-util/src/commonMain/kotlin/world/respect/libutil/util/SelectLang.kt (diff)
The file was modifiedrespect-lib-xapi-core/src/commonMain/kotlin/world/respect/lib/xapi/model/XapiActivityDefinition.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/assignment/detail/AssignmentDetailScreen.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/assignment/edit/AssignmentEditViewModel.kt (diff)
The file was modifiedrespect-lib-xapi-core/src/commonMain/kotlin/world/respect/lib/xapi/ext/XapiActivityExt.kt (diff)
The file was addedrespect-app-compose/src/commonMain/kotlin/world/respect/app/components/LangMapTextField.kt
The file was removedrespect-app-compose/src/commonMain/kotlin/world/respect/app/components/langMapString.kt
The file was modifiedrespect-lib-xapi-core/src/commonMain/kotlin/world/respect/lib/xapi/ext/XapiStatementExt.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/xapi/XapiAssignmentExt.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/apps/detail/AppsDetailScreen.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/assignment/edit/AssignmentEditTaskListItem.kt (diff)
The file was modifiedrespect-lib-util/src/commonMain/kotlin/world/respect/libutil/ext/LangMapExt.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/assignment/edit/AssignmentEditScreen.kt (diff)
The file was removedrespect-app-compose/src/commonMain/kotlin/world/respect/app/components/LangMapEditField.kt
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/components/UiTextStringResource.kt (diff)
Commit 42d1b44dd3461a813e42ce0274c2357c2c3c8e54 by Mike Dawson
Fix AssignmentEditScreen

Changing description would change title.
(commit: 42d1b44)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/assignment/edit/AssignmentEditScreen.kt (diff)
The file was modifiedrespect-lib-xapi-core/src/commonMain/kotlin/world/respect/lib/xapi/ext/XapiStatementExt.kt (diff)
Commit 55b6ec900e8ea5d71463605307b0dc52ae736648 by Mike Dawson
Remove use of old langmap getTitle function.

Fix composable langmapstring function.
(commit: 55b6ec9)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/curriculum/mapping/edit/CurriculumMappingEditViewModel.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/apps/list/AppListScreen.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/learningunit/detail/LearningUnitDetailViewModel.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/learningunit/detail/LearningUnitDetailScreen.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/manageuser/acceptinvite/AcceptInviteScreen.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/manageuser/getstarted/GetStartedScreen.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/assignment/detail/AssignmentDetailTaskHeader.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/components/SelectLangMapStringByLocale.kt (diff)
The file was removedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/app/appstate/DisplayString.kt
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/apps/launcher/AppLauncherScreen.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/learningunit/list/LearningUnitListScreen.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/assignment/detail/AssignmentDetailTaskListItem.kt (diff)
Commit 7409512e7519a633fc00f0a48732d4071f0dff5b by mandvi.verma
Migrate class list and detail views to use xAPI statements instead of legacy `Clazz` data models.

- Replace `Clazz` model usage with `XapiStatement` in `ClazzDetailViewModel` and `ClazzListViewModel`.
- Update `ClazzDetailViewModel` to fetch class data via `schoolDataSource.xapiStatementsResource` using the activity ID from navigation.
- Refactor `ClazzListViewModel` to filter and display the most recent class-related xAPI statements instead of using a paging source.
- Update `ClazzDetailScreen` and `ClazzListScreen` to bind data from xAPI statement definitions (title and description).
- Update navigation routes and related use cases to utilize activity IDs.
(commit: 7409512)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/list/ClazzListScreen.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
Commit dc9da062060be247277046a98b4587b26adad87e by mandvi.verma
Refactor class management to support multi-language xAPI activity names and descriptions.

- Replace custom `classDefinitionTitle` and `classDefinitionDescription` extensions with standard `objectActivityNameOrNull` and `objectActivityOrNull` from the xAPI library.
- Update `ClazzEditScreen` to use `LangMapTextField` for editing localized name and description maps.
- Update `ClazzDetailViewModel`, `ClazzListScreen`, and `ClazzDetailScreen` to handle language map conversions for UI display using `asLangMapUiText` and `langMapString`.
- Remove obsolete xAPI helper functions and constants from `XapiClassExt.kt`.
- Move `ACTIVITY_ID_PATH` to `ClazzEditViewModel` companion object.
(commit: dc9da06)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/list/ClazzListScreen.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/edit/ClazzEditScreen.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/xapi/XapiClassExt.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
Commit 3ff52665c0c961f6b6317908effe4d81a5064a5a by mandvi.verma
Use `objectActivityOrNull` and `distinctByMostRecentTimestampForActivityId` extensions in `ClazzListScreen` and `ClazzListViewModel`.
(commit: 3ff5266)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/list/ClazzListScreen.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff)
Commit e57adfedf07a761ec49897216ba14fac71ac499a by mandvi.verma
Throw `IllegalStateException` in `ClazzEditViewModel` when account data is missing during class creation or when statement data is null during save.
(commit: e57adfe)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt (diff)
Commit e4c644bb9b01d4cc1c47bd68e8e6d3187f2061a7 by mandvi.verma
Refine error handling in `onClickAddPersonToClazz` and `onClickRemovePersonFromClass` within `ClazzDetailViewModel`.
(commit: e4c644b)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff)
Commit a5db38cef14047703acc37ec92cbf226f40c03f3 by mandvi.verma
Simplify logic for title and description in `ClazzDetailViewModel` and `ClazzDetailScreen`.
(commit: a5db38c)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
Commit 7786c963f6d8a61e03b619d62df70f384e84325a by mandvi.verma
Simplify logic for title and description in `ClazzDetailViewModel` and `ClazzDetailScreen`.
(commit: 7786c96)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)