Skip to content
Failed

Changes

Summary

  1. clazz renamed to classes (commit: 36538be) (details)
  2. classes renamed to clazz (commit: 5c627ee) (details)
  3. ClassList and ClassDetail screen setup (commit: 0942ba9) (details)
  4. ClassList (commit: 4fef5fd) (details)
  5. The `ClazzListScreen` and `ClazzListViewModel` have been temporarily updated to use dummy data for list items. (commit: 6575021) (details)
  6. The `ClazzListScreen` and `ClazzListViewModel` have been temporarily updated to use dummy data for list items. (commit: 197802b) (details)
  7. This commit adds navigation to the class detail screen upon clicking a class. (commit: e281d2d) (details)
  8. Implement filter functionality in class list (commit: bb83117) (details)
  9. Accept Invit and add student screen setup added (commit: 8390e9c) (details)
  10. AcceptInvite (commit: b49d22b) (details)
  11. AcceptInvite (commit: b34d65a) (details)
  12. AcceptInvite (commit: e6fef28) (details)
  13. AcceptInvite (commit: 9743a26) (details)
  14. AcceptInvite (commit: cf154e5) (details)
  15. AcceptInvite (commit: f176517) (details)
  16. Add student screen added (commit: 3f19f08) (details)
  17. Integrate fake roster data for class list (commit: 45756d7) (details)
  18. Add Class screen added (commit: 62369a9) (details)
  19. Added save button (commit: 4821fc9) (details)
  20. Added class screen (commit: bb99e0d) (details)
  21. adding dummy list (commit: af1abc3) (details)
  22. sort ui (commit: 43901be) (details)
  23. sort ui (commit: a5e291a) (details)
  24. Accept invite icon changed (commit: 1202643) (details)
  25. Accept invite icon changed (commit: 74b5d2e) (details)
  26. Sort in Clazz Detail Screen (commit: ddf535c) (details)
  27. Filter Chip Row (commit: 210cd74) (details)
  28. Filter Chip Row (commit: a2d9ebf) (details)
  29. FilterChip and SortOption (commit: 363fff6) (details)
  30. FilterChip and SortOption (commit: f23cfe6) (details)
  31. FilterChip and SortOption (commit: b70df82) (details)
  32. FilterChip and SortOption (commit: 30295a7) (details)
  33. Moved Sort and filter to lazy column and also renamed the sort function (commit: e1b7f6f) (details)
  34. Refactor lambda expressions to method references (commit: 090771e) (details)
  35. Remove trailing commas in ViewModel state classes (commit: ce88658) (details)
  36. Refactor: Rename StudentViewModel to AddPersonToClazzViewModel (commit: 890b37f) (details)
  37. Refactor: Rename StudentViewModel to AddPersonToClazzViewModel (commit: 837321e) (details)
  38. merge (commit: 2d3c1fd) (details)
  39. moving pending invites to clazz detail screen (commit: 1ab6ff6) (details)
  40. Refactor: Rename Student route to AddPersonToClazz (commit: 24b546c) (details)
  41. Populate Class Detail screen with fake roster data (commit: 90b3a2b) (details)
  42. Integrate pending invite list into class detail screen (commit: 7ea89d7) (details)
  43. Remove AcceptInvite feature (commit: 898149d) (details)
  44. Remove AcceptInvite feature (commit: 6d2b783) (details)
  45. Add fields for class description, start date, and end date to AddClazzScreen (commit: 0b8949e) (details)
  46. Enable adding new classes and saving them (commit: 5ccdbf9) (details)
  47. Refactor: Remove RespectAppLauncher from AppNavHost (commit: 48fb2c0) (details)
  48. Add localized sort options (commit: 0377053) (details)
  49. Rename Sort and Filter Chip components to Header (commit: 80a497f) (details)
  50. unused (commit: dc70349) (details)
  51. unused (commit: b2b73a3) (details)
  52. unused (commit: 6358ce9) (details)
  53. unused (commit: ab981b5) (details)
  54. unused (commit: cda436a) (details)
  55. filter (commit: 50982ac) (details)
  56. app nav (commit: cddaa9a) (details)
  57. Refactor: Move AddPersonToClazzViewModel to addperson package (commit: bd2548f) (details)
  58. Refactor sort functionality and introduce bottom sheet option (commit: 75834b1) (details)
  59. Remove unused imports and constants (commit: 7e1a4ba) (details)
  60. Add `getClazzBySourcedId` function to OneRosterDataSource (commit: 30bd1a9) (details)
  61. Add `getClazzBySourcedId` function to OneRosterDataSource (commit: 9340a19) (details)
  62. Refactor ClazzDetailScreen and ClazzListScreen for UI consistency (commit: 909f215) (details)
  63. Add "Edit" string resource and update ClazzDetailViewModel (commit: ae27aaf) (details)
  64. Removed unused import from ClazzListScreen (commit: d4b7d7b) (details)
  65. Add calendar icon to date fields in AddClazzScreen (commit: ca60ee4) (details)
  66. Expand fake class data and integrate with UI (commit: 847caa4) (details)
  67. Refactor: Use default item padding in AddClazzScreen (commit: 6f20d28) (details)
  68. RespectPersonAvatar component updated (commit: aca85a2) (details)
  69. Refactor: Rename AddClazz to ClazzEdit (commit: daaaaae) (details)
  70. Refactor: Rename AddClazz to ClazzEdit (commit: 8bb61e2) (details)
  71. Refactor: Simplify `OneRosterClass` and update `ClazzDetailViewModel` (commit: d12c541) (details)
  72. Refactor ClazzEditScreen to use OneRosterClass for data binding (commit: 3bed6f8) (details)
  73. Refactor: Update ClazzEditScreen with class name validation (commit: ede2aa8) (details)
  74. Updated `ClazzDetail` route to accept `sourcedId` as a parameter. (commit: 4013b9d) (details)
  75. Refactor `ClazzEdit` route to accept `sourcedId` (commit: 5df3280) (details)
  76. Enhance class editing with description and date fields (commit: 91970e9) (details)
  77. Remove unused imports from ClazzEditScreen (commit: fdd8847) (details)
  78. Set Acknowledgement as start destination (commit: 065cee6) (details)
  79. Set Acknowledgement as start destination (commit: 0cce2c7) (details)
  80. Refactor AddPersonToClazz route to accept roleType (commit: f2fc77b) (details)
  81. using asUiText (commit: 10c9a0c) (details)
  82. using asUiText (commit: f313fe4) (details)
  83. I hva ecommented the description UI once description field is added it will be uncommented ad functional (commit: 43cb162) (details)
  84. I hvae commented the description UI once description field is added it will be uncommented ad functional (commit: f5276df) (details)
  85. Remove unused location property in ClazzEditViewModel (commit: 6b8f67b) (details)
  86. Refactor FakeRosterDataSource to be a class and inject it (commit: a8035e4) (details)
  87. Add collapsible sections to ClazzDetailScreen (commit: 7b8f8c9) (details)
  88. Remove extraneous blank lines (commit: 4643f7d) (details)
  89. maestro test added - as per prototype for classes (commit: 0643d11) (details)
  90. Add content descriptions to expand/collapse icons in ClazzDetailScreen (commit: 9a2963f) (details)
  91. maestro test login updated (commit: 545d969) (details)
  92. Refactor string resource usage and remove unused strings (commit: 0a04537) (details)
  93. Refactor class ViewModels to use method references for FAB and action bar clicks. (commit: d08cc53) (details)
  94. feat: Implement OneRosterClass data layer and integrate with UI (commit: 9e67837) (details)
  95. Refactor: Remove unused imports and function from OneRosterRosterDataSource (commit: 662e28c) (details)
  96. feat: Add OneRosterClassEntity to database schema (commit: 42ffd53) (details)
  97. Refactor OneRosterDataSource and related classes (commit: eeae70f) (details)
  98. Refactor: Remove unused imports (commit: 6c1f828) (details)
  99. Refactor: Rename OneRoaster to OneRoster and add User entity (commit: 4088f95) (details)
  100. Refactor OneRoster adapters and FakeRosterDataSource (commit: 62792d5) (details)
  101. Add input validation for class name in ClazzEditViewModel. (commit: 7ef5eb9) (details)
  102. Refactor: Move OneRoster models and remove FakeRosterDataSource (commit: e7571ae) (details)
  103. Remove unused imports in RealmTypeConverters.kt. (commit: f8861bb) (details)
  104. Add `TypeConverter`s for `OneRosterBaseStatusEnum` and `JsonObject` (commit: db4b500) (details)
  105. Refactor: Rename OneRoasterSourceRepository and OneRosterClassEntityDao (commit: f98bc73) (details)
  106. Refactor: Rename Realm to School (commit: 9b3f8a8) (details)
  107. remove (commit: 30a4288) (details)
  108. refactor (commit: 2d70a44) (details)
  109. changes made as per review comments (commit: fa30eec) (details)
  110. using PersonEntity (commit: 25fd20f) (details)
  111. using PersonEntity (commit: 685806d) (details)
  112. using PersonEntity (commit: 412c332) (details)
  113. Refactor: Add sourcedId parameter to getAllUsers (commit: 54a132f) (details)
  114. Refactor: Update AGP version and ClazzListScreen UI (commit: 71582c4) (details)
  115. Refactor: Implement OneRoster primary key generation and update data sources (commit: 16fced6) (details)
  116. fix date (commit: a0e6638) (details)
  117. Refactor: Remove unused imports and string resources (commit: bdbfaca) (details)
  118. Refactor: Remove nested launch in ClazzListViewModel (commit: df8ab60) (details)
  119. Refactoring class datasource. (commit: 324a0dd) (details)
  120. Fix defaultItemPadding usage. (commit: 6d22e01) (details)
  121. Fix defaultItemPadding usage. (commit: c5d4c1e) (details)
  122. Remove OneRoster data source / entity classes. (commit: ec9ba3d) (details)
  123. Fixes/updates handling school list (commit: edff664) (details)
  124. changes related to redeeminvite req (commit: bf9bf09) (details)
The file was removedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/ClazzScreen.kt
The file was addedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/classes/ClassesScreen.kt
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/app/App.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/ClazzViewModel.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/app/AppNavHost.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/learningunit/list/LearningUnitListScreen.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff)
The file was addedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/detail/ClazzDetailViewModel.kt
The file was addedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/classes/ClazzListScreen.kt
The file was modifiedrespect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/learningunit/list/LearningUnitListScreen.kt (diff)
The file was addedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt
The file was removedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/classes/ClassesScreen.kt
The file was removedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/ClazzViewModel.kt
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/app/App.kt (diff)
Commit 0942ba9f5c20ddb63e529148802d799ec43d6106 by mandvi.verma
ClassList and ClassDetail screen setup
(commit: 0942ba9)
The file was modifiedrespect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff)
The file was addedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/classes/list/ClazzListScreen.kt
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/app/App.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff)
The file was removedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/classes/ClazzListScreen.kt
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff)
The file was addedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/classes/detail/ClazzDetailScreen.kt
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/learningunit/list/LearningUnitListScreen.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/detail/ClazzDetailViewModel.kt (diff)
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/clazz/model/ClazzDataSource.kt
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/clazz/model/FakeClazzList.kt
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/classes/list/ClazzListScreen.kt (diff)
Commit 65750213695d418b1b091e72c5de49e5313a1df4 by mandvi.verma
The `ClazzListScreen` and `ClazzListViewModel` have been temporarily updated to use dummy data for list items.
(commit: 6575021)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.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/classes/list/ClazzListScreen.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/classes/detail/ClazzDetailScreen.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/detail/ClazzDetailViewModel.kt (diff)
Commit 197802b829b50973bb7107662fea8e08696d69ea by mandvi.verma
The `ClazzListScreen` and `ClazzListViewModel` have been temporarily updated to use dummy data for list items.
(commit: 197802b)
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/classes/list/ClazzListScreen.kt (diff)
Commit e281d2dff2b9b13c59fca1f3faef86f80fd84fc8 by mandvi.verma
This commit adds navigation to the class detail screen upon clicking a class.
(commit: e281d2d)
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/classes/list/ClazzListScreen.kt (diff)
Commit bb831171f04fe951c683f8e2d2c6da168f06a2d9 by mandvi.verma
Implement filter functionality in class list

-   Added `clazzFilter` and `selectedFilterTitle` to `ClazzListUiState`.
-   Implemented `onClickFilter` function in `ClazzListViewModel` to update the selected filter.
-   Updated `ClazzListScreen` to display a dropdown menu for selecting filters.
-   The selected filter is now displayed, and the dropdown shows available filter options.
(commit: bb83117)
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/classes/list/ClazzListScreen.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/classes/detail/ClazzDetailScreen.kt (diff)
Commit 8390e9c1a4ef924969b04fad2061a6af5874bbd0 by mandvi.verma
Accept Invit and add student screen setup added
(commit: 8390e9c)
The file was addedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/acceptinvite/AcceptInviteViewModel.kt
The file was addedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt
The file was removedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/classes/list/ClazzListScreen.kt
The file was addedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt
The file was addedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/student/StudentViewModel.kt
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff)
The file was addedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/student/StudentScreen.kt
The file was removedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/classes/detail/ClazzDetailScreen.kt
The file was addedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/list/ClazzListScreen.kt
The file was modifiedrespect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff)
The file was removedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/detail/ClazzDetailViewModel.kt
The file was addedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/acceptinvite/AcceptInviteScreen.kt
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.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)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/acceptinvite/AcceptInviteViewModel.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/acceptinvite/AcceptInviteViewModel.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/clazz/acceptinvite/AcceptInviteScreen.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/acceptinvite/AcceptInviteScreen.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/acceptinvite/AcceptInviteViewModel.kt (diff)
The file was modifiedrespect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/acceptinvite/AcceptInviteScreen.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/acceptinvite/AcceptInviteScreen.kt (diff)
The file was removedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/clazz/model/FakeClazzList.kt
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff)
The file was removedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/clazz/model/ClazzDataSource.kt
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/acceptinvite/AcceptInviteScreen.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/student/StudentViewModel.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/student/StudentScreen.kt (diff)
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/detail/ClazzDetailScreen.kt (diff)
Commit 45756d7e1bf5b231e3cd0248db06d480cfd92a4f by mandvi.verma
Integrate fake roster data for class list

The `ClazzListScreen` has been updated to display the class titles from the `oneRoasterClass` list in the UI state.
(commit: 45756d7)
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/FakeRosterDataSource.kt
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/list/ClazzListScreen.kt (diff)
The file was addedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/addclazz/AddClazzViewModel.kt
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff)
The file was addedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/addclazz/AddClazzScreen.kt
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff)
The file was modifiedrespect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff)
The file was addedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/app/appstate/ActionBarButtonUiState.kt
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/app/appstate/AppUiState.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppBar.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/addclazz/AddClazzViewModel.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/addclazz/AddClazzScreen.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/addclazz/AddClazzViewModel.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/clazz/acceptinvite/AcceptInviteScreen.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/composeResources/values/strings.xml (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/acceptinvite/AcceptInviteViewModel.kt (diff)
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)
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/learningunit/list/LearningUnitListScreen.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.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/clazz/detail/ClazzDetailScreen.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
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/detail/ClazzDetailScreen.kt (diff)
The file was addedrespect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectFilterChipRow.kt
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/detail/ClazzDetailViewModel.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff)
The file was addedrespect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectFilterChip.kt
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/list/ClazzListScreen.kt (diff)
The file was removedrespect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectFilterChipRow.kt
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/learningunit/list/LearningUnitListScreen.kt (diff)
The file was addedrespect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectSortOption.kt
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/learningunit/list/LearningUnitListScreen.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectFilterChip.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
Commit e1b7f6f2f3ae65c1d908425397a95205ad2dfa2e by mandvi.verma
Moved Sort and filter to lazy column and also renamed the sort function
(commit: e1b7f6f)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff)
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)
Commit 090771e56ecbbecf909869f26cd321f91741d618 by mandvi.verma
Refactor lambda expressions to method references
(commit: 090771e)
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/detail/ClazzDetailScreen.kt (diff)
Commit ce88658e171f1536f1ab02a27fa32be92463fe12 by mandvi.verma
Remove trailing commas in ViewModel state classes
(commit: ce88658)
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)
Commit 890b37fc5163de13a56bc6c9e385a66d90548630 by mandvi.verma
Refactor: Rename StudentViewModel to AddPersonToClazzViewModel

This commit renames `StudentViewModel` to `AddPersonToClazzViewModel` and updates its usages.
The corresponding UI state `AddStudentUIState` is also renamed to `AddPersonToClazzUIState`.
The `StudentScreen` composable is renamed to `AddPersonToClazzScreen`.
(commit: 890b37f)
The file was addedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/student/AddPersonToClazzViewModel.kt
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff)
The file was modifiedrespect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/student/StudentScreen.kt (diff)
The file was removedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/student/StudentViewModel.kt
Commit 837321ef07da5b13217294351780935d5b247037 by mandvi.verma
Refactor: Rename StudentViewModel to AddPersonToClazzViewModel

This commit renames `StudentViewModel` to `AddPersonToClazzViewModel` and updates its usages.
The corresponding UI state `AddStudentUIState` is also renamed to `AddPersonToClazzUIState`.
The `StudentScreen` composable is renamed to `AddPersonToClazzScreen`.
(commit: 837321e)
The file was addedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/addperson/AddPersonToClazzScreen.kt
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff)
The file was removedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/student/StudentScreen.kt
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff)
Commit 1ab6ff6d3848749798c303f7991288b283af875a by mandvi.verma
moving pending invites to clazz detail screen
(commit: 1ab6ff6)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/list/ClazzListScreen.kt (diff)
Commit 24b546c5c3c17c06859829cd6f2dd993690e3913 by mandvi.verma
Refactor: Rename Student route to AddPersonToClazz

The `Student` route in `AppRoutes.kt` has been renamed to `AddPersonToClazz`.

This change is reflected in:
- `ClazzDetailViewModel.kt`: The navigation command for adding a person to a class now uses `AddPersonToClazz`.
- `AppNavHost.kt`: The composable for the add person screen is now associated with the `AddPersonToClazz` route.
- `AddPersonToClazzScreen.kt`: The "share with link or QR code" and "share QR code" options have been removed from this screen.
- `ClazzDetailScreen.kt`: The "Invite Student" list item now navigates to `AddPersonToClazz`. The "Pending Invite", "Teachers", and "Students" list items now have a trailing arrow icon. The `onClickInviteStudent` parameter has been renamed to `onClickAddPersonToClazz`.
(commit: 24b546c)
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/detail/ClazzDetailScreen.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/addperson/AddPersonToClazzScreen.kt (diff)
Commit 90b3a2b22155daf7b8fadd3c3a2e603905ec7efb by mandvi.verma
Populate Class Detail screen with fake roster data

The `ClazzDetailScreen` now displays teachers and students fetched from `FakeRosterDataSource`. The `FakeRosterDataSource` has been updated to provide a list of fake users with teacher and student roles.
(commit: 90b3a2b)
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/detail/ClazzDetailScreen.kt (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/FakeRosterDataSource.kt (diff)
Commit 7ea89d760ab63f7aded518d8fdd15293a95a5683 by mandvi.verma
Integrate pending invite list into class detail screen

This commit introduces a "Pending Invites" section to the class detail screen.

Key changes:
- Added `enabledUser` field to `OneRosterUser` in `FakeRosterDataSource.kt` to differentiate between active and pending users.
- Updated `ClazzDetailViewModel.kt` to fetch and store pending users in `listOfPending` within `ClazzDetailUiState`.
- Modified `ClazzDetailScreen.kt` to display the list of pending invites, showing the user's name, role, and an avatar.
(commit: 7ea89d7)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/FakeRosterDataSource.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff)
Commit 898149da5c740d21399e05f10c8619fb6ea1cd6e by mandvi.verma
Remove AcceptInvite feature

The `AcceptInviteScreen` and its associated `AcceptInviteViewModel` have been removed. Correspondingly, the `AcceptInvite` route and its usage within `ClazzDetailScreen`, `ClazzDetailViewModel`, `AppNavHost`, and `AppKoinModule` have been eliminated.
(commit: 898149d)
The file was removedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/acceptinvite/AcceptInviteViewModel.kt
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff)
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/androidMain/kotlin/world/respect/AppKoinModule.kt (diff)
The file was removedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/acceptinvite/AcceptInviteScreen.kt
Commit 6d2b783e9b841b5201f7637087a90fc6ff7fbc8e by mandvi.verma
Remove AcceptInvite feature

The `AcceptInviteScreen` and its associated `AcceptInviteViewModel` have been removed. Correspondingly, the `AcceptInvite` route and its usage within `ClazzDetailScreen`, `ClazzDetailViewModel`, `AppNavHost`, and `AppKoinModule` have been eliminated.
(commit: 6d2b783)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
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)
Commit 0b8949e9469f3ba0be549b6a9a555f0ea4f7169c by mandvi.verma
Add fields for class description, start date, and end date to AddClazzScreen

The `AddClazzScreen` now includes `OutlinedTextField` components for capturing the class description, start date, and end date.

Corresponding updates have been made to:
- `AddClazzUiState` to include fields for `description`, `startDate`, and `endDate`.
- `AddClazzViewModel` to handle changes to these new fields with dedicated `onClassDescriptionChange`, `onStartDateChange`, and `onEndDateChange` functions.
- `strings.xml` to add string resources for the new labels.

The layout has been changed from `Column` to `LazyColumn` and a `Row` has been added to arrange the start and end date fields side-by-side.
(commit: 0b8949e)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/addclazz/AddClazzViewModel.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/addclazz/AddClazzScreen.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff)
Commit 5ccdbf9301eedf2d19c606d251abbffb056bba1e by mandvi.verma
Enable adding new classes and saving them

The `AddClazzViewModel` now allows users to input class details (name, description, start and end dates) and save the new class.

The `FakeRosterDataSource` has been updated to support adding new classes to its internal list.
(commit: 5ccdbf9)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/FakeRosterDataSource.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/addclazz/AddClazzViewModel.kt (diff)
Commit 48fb2c0b1966222abdebb691854472d8aaf5fb07 by mandvi.verma
Refactor: Remove RespectAppLauncher from AppNavHost

The `RespectAppLauncher` screen has been removed from the `AppNavHost`.
Additionally, minor code formatting adjustments have been made in `AddClazzScreen.kt`.
(commit: 48fb2c0)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/addclazz/AddClazzScreen.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/addclazz/AddClazzViewModel.kt (diff)
Commit 0377053cfdcb75a1539cc752b80024bb58f97b34 by mandvi.verma
Add localized sort options

This commit introduces localized sort options for "First name" and "Last name" in the class list and class detail screens.

- Added new string resources for "First name" and "Last name".
- Created a `SortOrderOption` data class to represent sort options.
- Updated `ClazzDetailViewModel` and `ClazzListViewModel` to use `SortOrderOption` and initialize sort options with localized strings.
- Modified `ClazzDetailScreen` and `ClazzListScreen` to use the new `SortOrderOption` for displaying sort options.
- The default sort option is set to "First name".
(commit: 0377053)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff)
The file was addedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/util/SortOrderOption.kt
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
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)
Commit 80a497fa9d97cc1c3f25ae35802446f2a7a555b2 by mandvi.verma
Rename Sort and Filter Chip components to Header

The composable functions `RespectFilterChip` and `RespectSortOption` have been renamed to `RespectFilterChipsHeader` and `RespectSortHeader` respectively.

Their usages in `LearningUnitListScreen`, `ClazzDetailScreen`, and `ClazzListScreen` have been updated to reflect these changes.
(commit: 80a497f)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/learningunit/list/LearningUnitListScreen.kt (diff)
The file was addedrespect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectSortHeader.kt
The file was addedrespect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectFilterChipsHeader.kt
The file was removedrespect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectSortOption.kt
The file was removedrespect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectFilterChip.kt
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/detail/ClazzDetailScreen.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/app/AppNavHost.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.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/androidMain/kotlin/world/respect/AppKoinModule.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/addclazz/AddClazzScreen.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff)
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/detail/ClazzDetailScreen.kt (diff)
The file was addedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/util/FilterChipsOption.kt
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectFilterChipsHeader.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff)
Commit bd2548f64215c9d440651f08f8ca88c52e6766b6 by mandvi.verma
Refactor: Move AddPersonToClazzViewModel to addperson package

The `AddPersonToClazzViewModel` has been moved from the `clazz.student` package to `clazz.addperson`.
Import statements have been updated accordingly in `AppKoinModule.kt`, `AppNavHost.kt`, and `AddPersonToClazzScreen.kt`.

Additionally, minor UI adjustments were made:
- Increased spacing between filter chips in `RespectFilterChipsHeader`.
- Increased padding for the dropdown icon in `RespectSortHeader`.
- Removed explicit text color styling in `RespectFilterChipsHeader` as it's now handled by the `FilterChip` itself.
(commit: bd2548f)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectSortHeader.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/addperson/AddPersonToClazzScreen.kt (diff)
The file was modifiedrespect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff)
The file was removedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/student/AddPersonToClazzViewModel.kt
The file was addedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/addperson/AddPersonToClazzViewModel.kt
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectFilterChipsHeader.kt (diff)
Commit 75834b1c18b9a0a1c8fe89d1a9367eab82140bbe by mandvi.verma
Refactor sort functionality and introduce bottom sheet option

This commit refactors the sort functionality across `ClazzListScreen`, `ClazzDetailScreen`, and `LearningUnitListScreen`.

Key changes:
- Introduced `SortOrderOption` data class to represent sort options with field, flag, and order.
- Updated ViewModels (`ClazzListViewModel`, `ClazzDetailViewModel`, `LearningUnitListViewModel`) to use `SortOrderOption` and manage active sort state.
- Modified `RespectSortHeader` to `RespectListSortHeader`, now accepting `SortOrderOption` and handling sort order changes.
- Added `RespectSortOptionsBottomSheet` composable for displaying sort options in a bottom sheet.
- Added `RespectBottomSheetOption` composable for standard bottom sheet list items.
- Added string resources for "ascending", "descending", "sort_by", and "language".
- Added `SortOrderOptionExt.kt` for a `description()` extension function to format sort option display.
- `RespectListSortHeader` now supports both `POPUP` and `BOTTOM_SHEET` modes for displaying sort options, with `BOTTOM_SHEET` as the default.
(commit: 75834b1)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
The file was addedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/util/SortOrderOptionExt.kt
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff)
The file was addedrespect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectBottomSheetOption.kt
The file was addedrespect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectSortOptionsBottomSheet.kt
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/components/RespectSortHeader.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/clazz/list/ClazzListScreen.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/util/SortOrderOption.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/learningunit/list/LearningUnitListViewModel.kt (diff)
Commit 7e1a4ba8dfce9626ccd1edbd5baa580aed631130 by mandvi.verma
Remove unused imports and constants

The following changes have been made:
- Removed unused imports from `RespectFilterChipsHeader.kt` and `RespectSortHeader.kt`.
- Removed the unused constant `NAME` from `ClazzDetailViewModel.kt`.
- Removed the unused import `NAME` from `ClazzListViewModel.kt`.
(commit: 7e1a4ba)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectSortHeader.kt (diff)
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/components/RespectFilterChipsHeader.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff)
Commit 30bd1a9bef397f3079b9e1cab96277d15214d1a9 by mandvi.verma
Add `getClazzBySourcedId` function to OneRosterDataSource

This commit introduces a new function `getClazzBySourcedId` to the `OneRosterRosterDataSource` interface and its implementation in `FakeRosterDataSource`.

The `ClazzDetailScreen` has also been updated to include a "description" list item.
(commit: 30bd1a9)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/OneRosterRosterDataSource.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/FakeRosterDataSource.kt (diff)
Commit 9340a19583e11a8b2baa3d3050af2cf76683fb35 by mandvi.verma
Add `getClazzBySourcedId` function to OneRosterDataSource

This commit introduces a new function `getClazzBySourcedId` to the `OneRosterRosterDataSource` interface and its implementation in `FakeRosterDataSource`.

The `ClazzDetailScreen` has also been updated to include a "description" list item.
(commit: 9340a19)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/FakeRosterDataSource.kt (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/OneRosterRosterDataSource.kt (diff)
Commit 909f215b3a43c1da2b91dcb1c5ef50404c00ccfe by mandvi.verma
Refactor ClazzDetailScreen and ClazzListScreen for UI consistency

- Removed explicit sizing and font scaling from `RespectPersonAvatar` in `ClazzDetailScreen` and `ClazzListScreen` for consistent avatar appearance.
- Replaced `LazyColumn` with a vertically scrollable `Column` in `AddClazzScreen` for simpler layout.
- Added `onClickAcceptInvite` and `onClickDismissInvite` functions to `ClazzDetailViewModel`.
- Implemented click handlers for accept and dismiss icons in `ClazzDetailScreen`'s pending user items.
(commit: 909f215)
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/detail/ClazzDetailScreen.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/addclazz/AddClazzScreen.kt (diff)
Commit ae27aaf0c41939ab9654be1c02a23045e6fc1852 by mandvi.verma
Add "Edit" string resource and update ClazzDetailViewModel

This commit introduces a new string resource "Edit" and updates the `ClazzDetailViewModel` to utilize it.

Specifically, the following changes were made:
- Added `<string name="edit">Edit</string>` to `strings.xml`.
- In `ClazzDetailViewModel`:
    - Updated `_appUiState` to set the title to "Classes", hide the back button, and configure the FAB:
        - Set FAB visibility to true.
        - Set FAB icon to `FabUiState.FabIcon.EDIT`.
        - Set FAB text to the newly added "Edit" string resource.
        - Set FAB `onClick` to navigate to `AddClazz`.
- The start destination in `AppNavHost.kt` was changed from `Acknowledgement` to `RespectAppLauncher`.
- Added `FabUiState.FabIcon.EDIT` to the `when` statement in `App.kt` to handle the edit icon for the FAB.
- Set a default size of `40.dp` for `RespectPersonAvatar` in `RespectPersonAvatar.kt`.
- Removed an extra newline in `ClazzListScreen.kt` within the `RespectPersonAvatar` composable.
(commit: ae27aaf)
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/app/AppNavHost.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/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-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectPersonAvatar.kt (diff)
Commit d4b7d7bea2cedf9903192458f88d8f5d825c4b72 by mandvi.verma
Removed unused import from ClazzListScreen
(commit: d4b7d7b)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/list/ClazzListScreen.kt (diff)
Commit ca60ee4c93762edcdf08245cc732d4e2e9bd87c7 by mandvi.verma
Add calendar icon to date fields in AddClazzScreen

This commit introduces a calendar icon to the start and end date input fields in the `AddClazzScreen`. Clicking the icon will eventually trigger a date picker.

Additionally, the following changes were made:
- Set the default start destination in `AppNavHost.kt` to `Acknowledgement`.
- Removed an unused function `onStartDateChange` from `AddClazzViewModel.kt`.
- Displayed start and end dates in `ClazzDetailScreen.kt`.
- Minor code formatting in `ClazzListScreen.kt`.
(commit: ca60ee4)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/addclazz/AddClazzScreen.kt (diff)
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/addclazz/AddClazzViewModel.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff)
Commit 847caa4b4e4bafc23c643e7ff1804f9041049a3a by mandvi.verma
Expand fake class data and integrate with UI

The fake roster data for classes now includes `description`, `startDate`, and `endDate`.

The `ClazzListScreen` has been updated:
- It now uses `ClazzList` for navigation instead of `Clazz`.
- The `onClickClazz` function now accepts a `sourceId` to navigate to the correct class detail.
- The UI displays the class titles from the `oneRoasterClass` list in the UI state.

The `AddClazzViewModel` has been updated to include the new fields (`description`, `startDate`, `endDate`) when creating a new class.
(commit: 847caa4)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/FakeRosterDataSource.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/app/App.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/addclazz/AddClazzViewModel.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/list/ClazzListScreen.kt (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterClass.kt (diff)
Commit 6f20d285e9b90c11e79549575720d830d384f10a by mandvi.verma
Refactor: Use default item padding in AddClazzScreen

The `AddClazzScreen` has been updated to use the `defaultItemPadding` modifier for consistent padding across its child elements. This replaces individual padding definitions for various `OutlinedTextField` components.
(commit: 6f20d28)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectPersonAvatar.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectSortHeader.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/addclazz/AddClazzScreen.kt (diff)
Commit aca85a2586636c67bcbd3bba1baf0b953369fab8 by mandvi.verma
RespectPersonAvatar component updated

The `RespectPersonAvatar` component now accepts `firstName` and `lastName` parameters directly, instead of a `RespectPerson` object. This simplifies the component's API and makes it more reusable.

The component's logic for generating the avatar color and initials has been updated to use the new `firstName` and `lastName` parameters.
(commit: aca85a2)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectPersonAvatar.kt (diff)
Commit daaaaaeee340df48641810e5d98f647f8b872693 by mandvi.verma
Refactor: Rename AddClazz to ClazzEdit

This commit refactors the `AddClazz` functionality to `ClazzEdit`.

The following changes were made:
- Renamed `AddClazzScreen.kt` to `ClazzEditScreen.kt` and updated its package and internal references.
- Updated `AppKoinModule.kt` to use `ClazzEditViewModel` instead of `AddClazzViewModel`.
- Renamed the `AddClazz` route object to `ClazzEdit` in `AppRoutes.kt`.
- Updated `ClazzDetailViewModel.kt` and `ClazzListViewModel.kt` to navigate to `ClazzEdit` instead of `AddClazz`.
- Renamed `AddClazzViewModel.kt` to `ClazzEditViewModel.kt` and updated its package and internal references, including `AddClazzUiState` to `ClazzEditUiState`.
(commit: daaaaae)
The file was removedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/addclazz/AddClazzScreen.kt
The file was modifiedrespect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff)
The file was addedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff)
The file was addedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/edit/ClazzEditScreen.kt
The file was removedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/addclazz/AddClazzViewModel.kt
Commit 8bb61e2f96ddec429d7d85b64c2cd018cd5402b7 by mandvi.verma
Refactor: Rename AddClazz to ClazzEdit

This commit refactors the `AddClazz` functionality to `ClazzEdit`.

The following changes were made:
- Renamed `AddClazzScreen.kt` to `ClazzEditScreen.kt` and updated its package and internal references.
- Updated `AppKoinModule.kt` to use `ClazzEditViewModel` instead of `AddClazzViewModel`.
- Renamed the `AddClazz` route object to `ClazzEdit` in `AppRoutes.kt`.
- Updated `ClazzDetailViewModel.kt` and `ClazzListViewModel.kt` to navigate to `ClazzEdit` instead of `AddClazz`.
- Renamed `AddClazzViewModel.kt` to `ClazzEditViewModel.kt` and updated its package and internal references, including `AddClazzUiState` to `ClazzEditUiState`.
(commit: 8bb61e2)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff)
Commit d12c541ee6a0319ff03b9779d8761308f7945e66 by mandvi.verma
Refactor: Simplify `OneRosterClass` and update `ClazzDetailViewModel`

Removed `description`, `startDate`, and `endDate` fields from `OneRosterClass`.

Updated `ClazzDetailViewModel`'s `onClickAcceptInvite` and `onClickDismissInvite` methods to accept a `OneRosterUser` parameter, and adjusted call sites in `ClazzDetailScreen` accordingly.

The `ClazzEditViewModel` was also updated to reflect the changes in `OneRosterClass` by removing the assignment of the removed fields.
(commit: d12c541)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/FakeRosterDataSource.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/edit/ClazzEditViewModel.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterClass.kt (diff)
Commit 3bed6f80ecaddc1051d6862c02e2f2d28abb7231 by mandvi.verma
Refactor ClazzEditScreen to use OneRosterClass for data binding

The `ClazzEditScreen` and `ClazzEditViewModel` have been updated to use a `OneRosterClass` object (`entity`) in the UI state for managing class details. This simplifies data handling by directly modifying the `entity` instead of individual string fields.

The `onClazzChanged` function in the ViewModel now updates the `entity` in the UI state.

Additionally, the start destination of the `NavHost` in `AppNavHost.kt` has been changed from `Acknowledgement` to `RespectAppLauncher`. A new string resource `edit_clazz` has also been added.
(commit: 3bed6f8)
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/clazz/edit/ClazzEditScreen.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt (diff)
Commit ede2aa8ed49ad541500a010d7db50c2bbd738405 by mandvi.verma
Refactor: Update ClazzEditScreen with class name validation

This commit refactors the `ClazzEditScreen` to include validation for the class name field.

- The `OutlinedTextField` for the class name now displays an error message if the field is empty and indicates that it is a required field.
- The `onClazzChanged` callback now accepts a non-nullable `OneRosterClass`.
- The `FakeRosterDataSource` is now an object (singleton) and its `putClass` method will update an existing class or add a new one.
- The `ClazzEditViewModel` now initializes with an existing class if `sourcedId` is provided, otherwise, it creates a new `OneRosterClass`.
- The `onSaveClass` method in `ClazzEditViewModel` now performs validation for the class name before saving and updates the `dateLastModified` timestamp.
- A new string resource `required` has been added.
(commit: ede2aa8)
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/viewmodel/clazz/list/ClazzListViewModel.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/composeResources/values/strings.xml (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/FakeRosterDataSource.kt (diff)
Commit 4013b9d6bdae34c9743b9c014ece1eee334d3abf by mandvi.verma
Updated `ClazzDetail` route to accept `sourcedId` as a parameter.

The `ClazzDetailViewModel` now retrieves and displays the class title based on the `sourcedId` from the route.
The `ClazzListViewModel` now navigates to `ClazzDetail` with the `sourcedId` when a class is clicked.
(commit: 4013b9d)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.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)
Commit 5df3280da87b3165000161051b52f77c4158dc74 by mandvi.verma
Refactor `ClazzEdit` route to accept `sourcedId`

The `ClazzEdit` route has been modified to accept an optional `sourcedId` parameter.

- If `sourcedId` is provided, the `ClazzEditViewModel` will fetch the corresponding class data for editing.
- If `sourcedId` is null, a new class will be created.

This change allows for both editing existing classes and creating new ones through the same route and view model. Navigations from `ClazzDetailViewModel` and `ClazzListViewModel` have been updated to utilize this new `ClazzEdit` route structure.
(commit: 5df3280)
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-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/navigation/AppRoutes.kt (diff)
Commit 91970e96f3e58488951bb23985fefe952f17f26a by mandvi.verma
Enhance class editing with description and date fields

This commit introduces several improvements to the class editing functionality:

- **Description Field:** Added an `OutlinedTextField` for users to input a description (location) for the class. This field is now saved when the class is updated.
- **Date Fields (UI only):** Added `OutlinedTextField` components for start and end dates. These are currently UI elements and not yet connected to data or saving logic.
- **Padding Standardization:** Introduced an `editScreenPadding` modifier for consistent padding across edit screen elements.
- **Fake Data Update:** The `FakeRosterDataSource` now includes a `location` (description) field for dummy class data.
- **ViewModel Logic:** The `ClazzEditViewModel` now handles saving the class description.
(commit: 91970e9)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/components/ModifierExt.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-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/FakeRosterDataSource.kt (diff)
Commit fdd8847f3a30a1295a91aec628930ab44aad53a6 by mandvi.verma
Remove unused imports from ClazzEditScreen

The imports `androidx.compose.ui.platform.testTag` and `world.respect.app.components.defaultItemPadding` were removed as they were no longer being used in the `ClazzEditScreen.kt` file.
(commit: fdd8847)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/edit/ClazzEditScreen.kt (diff)
Commit 065cee60d906e68840393ccb510176c84392409c by mandvi.verma
Set Acknowledgement as start destination
(commit: 065cee6)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff)
Commit 0cce2c7a61899a9df7216ede8ba0fc09ddf1d3bf by mandvi.verma
Set Acknowledgement as start destination
(commit: 0cce2c7)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt (diff)
Commit f2fc77be097219d710b4a0cf978a13ffaa8c721f by mandvi.verma
Refactor AddPersonToClazz route to accept roleType

The `AddPersonToClazz` route has been updated to accept a `roleType` parameter. This allows the `AddPersonToClazzViewModel` to dynamically set the screen title based on whether a teacher or student is being added.

The `ClazzDetailViewModel` and `ClazzDetailScreen` have been updated to pass the appropriate `roleType` when navigating to the `AddPersonToClazz` screen.

Additionally, the `ClazzDetailScreen` now displays the class location if available.
(commit: f2fc77b)
The file was modifiedrespect-lib-shared/src/commonMain/composeResources/values/strings.xml (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/navigation/AppRoutes.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/addperson/AddPersonToClazzViewModel.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/viewmodel/clazz/list/ClazzListViewModel.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/addperson/AddPersonToClazzViewModel.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/addperson/AddPersonToClazzViewModel.kt (diff)
Commit 43cb162bfbe74af17144076445ae0c10f93af598 by mandvi.verma
I hva ecommented the description UI once description field is added it will be uncommented ad functional
(commit: 43cb162)
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/edit/ClazzEditScreen.kt (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/FakeRosterDataSource.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
Commit f5276dfca725ea47c330c4fe83d3e9a84b1fca48 by mandvi.verma
I hvae commented the description UI once description field is added it will be uncommented ad functional
(commit: f5276df)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.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/edit/ClazzEditViewModel.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff)
Commit 6b8f67b39c413cd4f972e7eec2d2acfe07693c37 by mandvi.verma
Remove unused location property in ClazzEditViewModel

The `location` property was being copied from `initEntity` to `updatedEntity` without modification in `ClazzEditViewModel`. This redundant assignment has been removed.

Additionally, several unused imports were removed from `AppKoinModule.kt`.
(commit: 6b8f67b)
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/androidMain/kotlin/world/respect/AppKoinModule.kt (diff)
Commit a8035e4588f15ffc3814c325f0c8cbcdd5bdb03f by mandvi.verma
Refactor FakeRosterDataSource to be a class and inject it

The `FakeRosterDataSource` has been changed from an `object` to a `class`. This allows it to be injected as a dependency into ViewModels.

The following ViewModels have been updated to accept `OneRosterRosterDataSource` as a constructor parameter:
- `ClazzEditViewModel`
- `ClazzListViewModel`
- `ClazzDetailViewModel`

A Koin binding for `OneRosterRosterDataSource` has been added in `AppKoinModule.kt`, providing an instance of `FakeRosterDataSource`.
(commit: a8035e4)
The file was modifiedrespect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.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/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/FakeRosterDataSource.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff)
Commit 7b8f8c955a1b6da5b848cd1e563f06e57631664d by mandvi.verma
Add collapsible sections to ClazzDetailScreen

This commit introduces collapsible sections for Pending Invites, Teachers, and Students in the `ClazzDetailScreen`. Users can now expand or collapse these sections to better manage the displayed information.

Changes include:
- Added `isPendingExpanded`, `isTeachersExpanded`, and `isStudentsExpanded` boolean flags to `ClazzDetailUiState` to manage the visibility of each section.
- Implemented `onTogglePendingSection`, `onToggleTeachersSection`, and `onToggleStudentsSection` functions in `ClazzDetailViewModel` to update the UI state.
- Updated `ClazzDetailScreen` to use these new state flags and functions to conditionally render the content of each section and handle user interactions for expanding/collapsing.
- Added a new string resource `dismiss_invite`.
- Added content descriptions for accessibility to various icons.
(commit: 7b8f8c9)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff)
Commit 4643f7d106cc61e7f853d11044eb696af18a1962 by mandvi.verma
Remove extraneous blank lines

Extraneous blank lines have been removed from the `ClazzDetailScreen` when the teacher and student lists are expanded.
(commit: 4643f7d)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
Commit 0643d111c7d24ea050688aeb681a378e0eb6630a by Pooja Ravi
maestro test added - as per prototype for classes
(commit: 0643d11)
The file was addedrespect-test-end-to-end/android-maestro/e2e-tests/003_create_classes_test.yaml
The file was modifiedrespect-test-end-to-end/android-maestro/e2e-tests/001_browse_lessons_test.yaml (diff)
Commit 9a2963fd60ed21e8a149878379be6eb65c58e19b by mandvi.verma
Add content descriptions to expand/collapse icons in ClazzDetailScreen

Added new string resources for expand/collapse actions for pending invites, teachers, and student lists.
Updated ClazzDetailScreen to use these strings for the contentDescription of the expand/collapse icons.
(commit: 9a2963f)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff)
The file was modifiedrespect-test-end-to-end/android-maestro/e2e-tests/001_browse_lessons_test.yaml (diff)
The file was modifiedrespect-test-end-to-end/android-maestro/e2e-tests/003_create_classes_test.yaml (diff)
Commit 0a04537025e61b132359b6208947f071af77ad63 by mandvi.verma
Refactor string resource usage and remove unused strings

- Updated `ClazzEditViewModel` to use `Res.string.save.asUiText()` instead of `getString(Res.string.save)`.
- Removed unused string resources: `last_name`, `save`, and `edit` from `strings.xml`.
- Added imports for `people` and `PersonList` in `App.kt`.
(commit: 0a04537)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/app/App.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/composeResources/values/strings.xml (diff)
Commit d08cc53bd6375efe331a11af00c510cd8ab0aee9 by mandvi.verma
Refactor class ViewModels to use method references for FAB and action bar clicks.
(commit: d08cc53)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.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/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff)
Commit 9e67837f347500f6deda04dd6a949463d5c60110 by mandvi.verma
feat: Implement OneRosterClass data layer and integrate with UI

This commit introduces the data layer for `OneRosterClass`, including:
- Room entity (`OneRosterClassEntity`), DAO (`OneRoasterClassEntityDao`), and database integration.
- Data source implementation (`OneRoasterClassDataSourceDb`) for database operations.
- Adapter for mapping between `OneRosterClass` model and `OneRosterClassEntity`.
- `ClazzListDetails` data class for list view.
- Type converters for `OneRosterBaseStatusEnum` and `JsonObject`.

Updates include:
- `RespectRealmDatabase` and `RespectAppDatabase` schemas to include `OneRosterClassEntity`.
- `OneRosterRosterDataSource` interface with new methods for class operations.
- `ClazzEditViewModel` to use the new data source, manage UI state for class editing/creation, and handle saving.
- `ClazzEditScreen` to use the updated `ClazzEditViewModel`.
- `RealmPrimaryKeyGenerator` to include `OneRosterClass.TABLE_ID`.
- `FakeRosterDataSource` is now an abstract class.
- Added `onRoasterDataSource` to `RespectRealmDataSource` and its implementations.
(commit: 9e67837)
The file was addedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/dao/OneRoasterClassEntityDao.kt
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/RespectAppDatabase.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/realm/RealmTypeConverters.kt (diff)
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/composites/ClazzListDetails.kt
The file was addedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/OneRoasterClassDataSourceDb.kt
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/RespectRealmDataSourceDb.kt (diff)
The file was addedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/entities/OneRoasterClassEntity.kt
The file was modifiedrespect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/RespectRealmDataSourceRepository.kt (diff)
The file was modifiedrespect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/realm/RealmPrimaryKeyGenerator.kt (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/FakeRosterDataSource.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/edit/ClazzEditScreen.kt (diff)
The file was addedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/adapter/OneRoasterClassAdapter.kt
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/RespectRealmDatabase.kt (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/OneRosterRosterDataSource.kt (diff)
The file was modifiedrespect-datalayer-db/schemas/world.respect.datalayer.db.RespectAppDatabase/1.json (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/RespectRealmDataSource.kt (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterClass.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt (diff)
The file was modifiedrespect-datalayer-db/schemas/world.respect.datalayer.db.RespectRealmDatabase/1.json (diff)
Commit 662e28c5cf9066741da0749417c2445900c32d8b by mandvi.verma
Refactor: Remove unused imports and function from OneRosterRosterDataSource

Removed `Person` and `PersonListDetails` imports and the `searchByTitle` function from `OneRosterRosterDataSource.kt` as they were unused.

Added new file `OneRoasterSourceRepository.kt`.
(commit: 662e28c)
The file was addedrespect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/oneroaster/OneRoasterSourceRepository.kt
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/OneRosterRosterDataSource.kt (diff)
Commit 42ffd533ea8349211f73d0dda60aec2c82ab0d9a by mandvi.verma
feat: Add OneRosterClassEntity to database schema

This commit introduces the `OneRosterClassEntity` to the database schema.

The `OneRosterClassEntity` includes the following fields:
* `classSourcedId` (Primary Key)
* `classStatus`
* `classDateLastModified`
* `classTitle`
* `classLocation`
* `classMetadata`

The database version is updated to 2.
(commit: 42ffd53)
The file was addedrespect-datalayer-db/schemas/world.respect.datalayer.db.RespectRealmDatabase/2.json
Commit eeae70f1720a83dcc1d3d129e815a43f558c103b by mandvi.verma
Refactor OneRosterDataSource and related classes

This commit refactors the OneRosterDataSource interface and its implementations.
- Renamed `OneRosterRosterDataSource` to `OneRosterDataSource`.
- Introduced `OneRoasterDataSourceLocal` interface.
- Updated `OneRoasterDataSourceDb` to implement `OneRoasterDataSourceLocal` and added methods for fetching and putting class data.
- Updated `ClazzListDetails` to have a non-nullable title.
- Modified `ClazzEdit` route to remove `modeEdit` parameter.
- Added `deleteBySourcedId` and `findAllListDetailsAsFlow` methods to `OneRoasterClassEntityDao`.
- Updated ViewModels and UI screens to reflect these changes, including fetching class details using flows and adjusting UI based on data loading states.
(commit: eeae70f)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/dao/OneRoasterClassEntityDao.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/viewmodel/clazz/list/ClazzListViewModel.kt (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/RespectRealmDataSource.kt (diff)
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/androidMain/kotlin/world/respect/AppKoinModule.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/list/ClazzListScreen.kt (diff)
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/OneRoasterDataSourceLocal.kt
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/OneRosterDataSource.kt
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/composites/ClazzListDetails.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/RespectRealmDataSourceDb.kt (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/FakeRosterDataSource.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/edit/ClazzEditScreen.kt (diff)
The file was addedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/OneRoasterDataSourceDb.kt
The file was modifiedrespect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/oneroaster/OneRoasterSourceRepository.kt (diff)
The file was removedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/OneRosterDataSource.kt
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff)
The file was modifiedrespect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/RespectRealmDataSourceRepository.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff)
The file was removedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/OneRoasterClassDataSourceDb.kt
The file was removedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/OneRosterRosterDataSource.kt
Commit 6c1f8287c21455bae17c070ee820f47a209e8136 by mandvi.verma
Refactor: Remove unused imports

Removed unused imports from various files to improve code cleanliness.
(commit: 6c1f828)
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/viewmodel/clazz/list/ClazzListViewModel.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/RespectRealmDataSourceDb.kt (diff)
Commit 4088f95f8fd66941323073bbe0020dcbbb7692bb by mandvi.verma
Refactor: Rename OneRoaster to OneRoster and add User entity

This commit renames all instances of "OneRoaster" to "OneRoster" for consistency.
It also introduces the `OneRosterUserEntity` and its corresponding adapter and DAO methods.
The `FakeRosterDataSource.getAllUsers()` method has been commented out.
Database schemas have been updated to reflect the new entity and name changes.
(commit: 4088f95)
The file was removedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/adapter/OneRoasterClassAdapter.kt
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/FakeRosterDataSource.kt (diff)
The file was addedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/adapter/OneRosterClassAdapter.kt
The file was addedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/adapter/OneRosterUserAdapter.kt
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/RespectRealmDatabase.kt (diff)
The file was removedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/dao/OneRoasterClassEntityDao.kt
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/RespectAppDatabase.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/RespectRealmDataSourceDb.kt (diff)
The file was addedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/dao/OneRosterClassEntityDao.kt
The file was modifiedrespect-datalayer-db/schemas/world.respect.datalayer.db.RespectRealmDatabase/1.json (diff)
The file was modifiedrespect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/oneroaster/OneRoasterSourceRepository.kt (diff)
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/OneRosterDataSourceLocal.kt
The file was addedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/OneRosterDataSourceDb.kt
The file was addedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/entities/OneRosterClassEntity.kt
The file was removedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/OneRoasterDataSourceLocal.kt
The file was removedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/entities/OneRoasterClassEntity.kt
The file was modifiedrespect-datalayer-db/schemas/world.respect.datalayer.db.RespectAppDatabase/1.json (diff)
The file was removedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/OneRoasterDataSourceDb.kt
The file was addedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/entities/OneRosterUserEntity.kt
Commit 62792d5ba945fac38e011b75929bdce010409850 by mandvi.verma
Refactor OneRoster adapters and FakeRosterDataSource

- Remove XXStringHasher dependency from `toEntities` functions in `OneRosterUserAdapter` and `OneRosterClassAdapter`.
- Remove commented-out code for `getAllUsers` from `FakeRosterDataSource`.
- Remove unused imports from `FakeRosterDataSource`.
(commit: 62792d5)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/adapter/OneRosterClassAdapter.kt (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/FakeRosterDataSource.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/adapter/OneRosterUserAdapter.kt (diff)
Commit 7ef5eb9a1725efbd3de9b285ab43e2ac9d671e55 by mandvi.verma
Add input validation for class name in ClazzEditViewModel.

- Added `clazzNameError` to `ClazzEditUiState` to display validation errors.
- Implemented `onClickSave` to validate if the class name is blank and update `clazzNameError` accordingly.
- Added `onClearError` function to clear `clazzNameError`.
- Updated `ClazzEditScreen` to display the error message and clear it when the input changes.
- Modified `OneRosterUser.toEntities` and `OneRosterClass.toEntities` to accept `XXStringHasher` as a parameter.
- Deleted `ClazzViewModel.kt`.
(commit: 7ef5eb9)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/edit/ClazzEditScreen.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/adapter/OneRosterClassAdapter.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/adapter/OneRosterUserAdapter.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt (diff)
The file was removedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/ClazzViewModel.kt
Commit e7571aea5e7833f00bd309640fb9eb9d5c5f443b by mandvi.verma
Refactor: Move OneRoster models and remove FakeRosterDataSource

- Moved OneRoster model classes from `world.respect.datalayer.oneroster.rostering.model` to `world.respect.datalayer.oneroster.model`.
- Moved `ClazzListDetails` from `world.respect.datalayer.oneroster.rostering.model.composites` to `world.respect.datalayer.oneroster.composites`.
- Moved `OneRosterDataSource` and `OneRosterDataSourceLocal` from `world.respect.datalayer.oneroster.rostering` to `world.respect.datalayer.oneroster`.
- Deleted `FakeRosterDataSource.kt`.
- Removed `OneRosterBaseStatusEnum` and `JsonObject` type converters from `RealmTypeConverters.kt`.
- Removed `OneRosterClassEntity` and `OneRosterUserEntity` from `RespectAppDatabase`.
- Updated database schema version and identity hash.
- Updated import statements across multiple files to reflect the new package structure.
(commit: e7571ae)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/manageuser/signup/SignUpScreen.kt (diff)
The file was removedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterUser.kt
The file was removedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterOrgGUIDRef.kt
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/realm/RealmTypeConverters.kt (diff)
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterBaseStatusEnum.kt
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterRoleEnumExt.kt
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/edit/ClazzEditScreen.kt (diff)
The file was removedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterClassGUIDRef.kt
The file was removedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterBase.kt
The file was removedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterRoleTypeEnum.kt
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterResourceGUIDRef.kt
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/respect/model/invite/RespectInviteInfo.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/adapter/OneRosterClassAdapter.kt (diff)
The file was removedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterRoleEnumExt.kt
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterGenderEnum.kt
The file was removedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterRoleEnum.kt
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt (diff)
The file was removedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/OneRosterDataSource.kt
The file was removedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/OneRosterDataSourceLocal.kt
The file was removedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterGUIDRef.kt
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterOrgGUIDRef.kt
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/profile/SignupViewModel.kt (diff)
The file was modifiedrespect-datalayer-db/schemas/world.respect.datalayer.db.RespectAppDatabase/1.json (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/adapter/OneRosterUserAdapter.kt (diff)
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterClass.kt
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterUserProfile.kt
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterUserId.kt
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/util/GenderToString.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/RespectAppDatabase.kt (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/respect/model/invite/RespectRedeemInviteRequest.kt (diff)
The file was removedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterResourceGUIDRef.kt
The file was removedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterRole.kt
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/realm/RealmPrimaryKeyGenerator.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/dao/OneRosterClassEntityDao.kt (diff)
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterUserGUIDRef.kt
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterUser.kt
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterClassGUIDRef.kt
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/composites/ClazzListDetails.kt
The file was removedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterBaseStatusEnum.kt
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterRoleTypeEnum.kt
The file was removedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterUserGUIDRef.kt
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff)
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterGUIDRef.kt
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/addperson/AddPersonToClazzViewModel.kt (diff)
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterRole.kt
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterEnrollment.kt
The file was removedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterUserId.kt
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
The file was removedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterEnrollment.kt
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/OneRosterDataSourceLocal.kt
The file was removedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/FakeRosterDataSource.kt
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/account/createinviteredeemrequest/RespectRedeemInviteRequestUseCase.kt (diff)
The file was modifiedrespect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/RespectRealmDataSourceRepository.kt (diff)
The file was removedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterClass.kt
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/RespectRealmDataSource.kt (diff)
The file was removedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/composites/ClazzListDetails.kt
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff)
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterBase.kt
The file was modifiedrespect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/oneroaster/OneRoasterSourceRepository.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/RespectRealmDataSourceDb.kt (diff)
The file was removedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterUserProfile.kt
The file was removedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterGenderEnum.kt
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterRoleEnum.kt
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/OneRosterDataSource.kt
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/mock/MockGetInviteInfoUseCase.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/OneRosterDataSourceDb.kt (diff)
Commit f8861bb86ba4ba566aa2c28306e9721382ca16e8 by mandvi.verma
Remove unused imports in RealmTypeConverters.kt.
(commit: f8861bb)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/realm/RealmTypeConverters.kt (diff)
Commit db4b50064acccde2962e88e6e0bbf99a060aac86 by mandvi.verma
Add `TypeConverter`s for `OneRosterBaseStatusEnum` and `JsonObject`

This commit introduces `TypeConverter`s to handle the conversion between `OneRosterBaseStatusEnum` and `String`, as well as `JsonObject` and `String` for Realm database persistence.
(commit: db4b500)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/realm/RealmTypeConverters.kt (diff)
Commit f98bc73c2d469a61fa274313dee5f674cb62209b by mandvi.verma
Refactor: Rename OneRoasterSourceRepository and OneRosterClassEntityDao

- Renamed `OneRoasterSourceRepository.kt` to `OneRoasterDataSourceRepository.kt` and updated the class name accordingly.
- Renamed `OneRosterClassEntityDao.kt` to `OneRosterEntityDao.kt`.
(commit: f98bc73)
The file was addedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/dao/OneRosterEntityDao.kt
The file was removedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/dao/OneRosterClassEntityDao.kt
The file was removedrespect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/oneroaster/OneRoasterSourceRepository.kt
The file was addedrespect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/oneroaster/OneRoasterDataSourceRepository.kt
Commit 9b3f8a8995accd5efb8ff23fc232859404d3dcc9 by mandvi.verma
Refactor: Rename Realm to School

This commit refactors the codebase to replace references to "Realm" with "School" to better reflect the domain model.

Specific changes include:
- Renamed `RespectRealmDataSource` to `SchoolDataSource`.
- Renamed `RealmPrimaryKeyGenerator` to `SchoolPrimaryKeyGenerator`.
- Updated `RespectInviteInfo` to use `SchoolDirectoryEntry` instead of `RespectRealm`.
- Moved OneRoster related entities (`OneRosterClassEntity`, `OneRosterUserEntity`) and DAOs to `RespectSchoolDatabase` schema.
- Updated `OneRosterDataSourceDb` to use `RespectSchoolDatabase` instead of `RespectRealmDatabase`.
- Adjusted type converters and ViewModel dependencies accordingly.
(commit: 9b3f8a8)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/respect/model/invite/RespectInviteInfo.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/school/SchoolPrimaryKeyGenerator.kt (diff)
The file was modifiedrespect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/SchoolDataSourceRepository.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/RespectSchoolDatabase.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/androidMain/kotlin/world/respect/AppKoinModule.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/SchoolDataSourceDb.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/SchoolTypeConverters.kt (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/SchoolDataSource.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/mock/MockGetInviteInfoUseCase.kt (diff)
The file was modifiedrespect-datalayer-db/schemas/world.respect.datalayer.db.RespectSchoolDatabase/1.json (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/OneRosterDataSourceDb.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/SchoolDataSourceDb.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
Commit fa30eecb80ea957f9b799be74c9a0f02c386ea00 by Pooja Ravi
changes made as per review comments
(commit: fa30eec)
The file was modifiedrespect-test-end-to-end/android-maestro/e2e-tests/001_browse_lessons_test.yaml (diff)
The file was modifiedrespect-test-end-to-end/android-maestro/e2e-tests/003_create_classes_test.yaml (diff)
The file was addedrespect-test-end-to-end/android-maestro/e2e-tests/common/school_admin_login_flow.yaml
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/OneRosterDataSourceDb.kt (diff)
The file was addedrespect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/oneroaster/OneRosterDataSourceRepository.kt
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/daos/PersonEntityDao.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/adapter/OneRosterUserAdapter.kt (diff)
The file was removedrespect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/oneroaster/OneRoasterDataSourceRepository.kt
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/OneRosterDataSource.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
The file was modifiedrespect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/school/PersonDataSourceRepository.kt (diff)
The file was modifiedrespect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/oneroaster/OneRosterDataSourceRepository.kt (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/OneRosterDataSource.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/OneRosterDataSourceDb.kt (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/PersonDataSource.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/PersonDataSourceDb.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff)
Commit 54a132f53705128391efb55f90820a61020c8016 by mandvi.verma
Refactor: Add sourcedId parameter to getAllUsers

This commit updates the `getAllUsers` method across the data layer and view models to include a `sourcedId` parameter. This allows filtering users by a specific source.

Changes include:
- Modified `PersonDataSource`, `PersonDataSourceDb`, `PersonDataSourceRepository`, and `PersonEntityDao` to accept `sourcedId` in `getAllUsers`.
- Updated `ClazzDetailViewModel` to pass `sourcedId` when fetching users.
- Refactored lambda expressions to member references in `ClazzDetailScreen`, `ClazzEditScreen`, and `ClazzListScreen` for conciseness.
(commit: 54a132f)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff)
The file was modifiedrespect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/school/PersonDataSourceRepository.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/edit/ClazzEditScreen.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/PersonDataSourceDb.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/daos/PersonEntityDao.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/PersonDataSource.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/list/ClazzListScreen.kt (diff)
Commit 71582c4651db1cb83aa088ced213210a23458513 by mandvi.verma
Refactor: Update AGP version and ClazzListScreen UI

This commit updates the Android Gradle Plugin (AGP) version from 8.12.0 to 8.12.2.

It also refactors the `ClazzListScreen` and `ClazzDetailScreen`:
- In `ClazzListScreen`:
    - Renamed `onSortOrderChanged` parameter to `onClickSortOption` for clarity.
    - Introduced a new `sortListMode` parameter to customize the sorting UI, defaulting to `defaultSortListMode()`.
    - Passed the `sortListMode` to the `RespectListSortHeader`.
- In `ClazzDetailScreen`:
    - Minor code formatting changes for readability, primarily adding explicit `items` parameter names in `itemsIndexed` calls and adjusting newlines.
(commit: 71582c4)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/list/ClazzListScreen.kt (diff)
The file was modifiedgradle/libs.versions.toml (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
Commit 16fced69090d5955fed6be4222d4c9641efd60d5 by mandvi.verma
Refactor: Implement OneRoster primary key generation and update data sources

This commit introduces `OneRosterPrimaryKeyGenerator` for creating primary keys specific to OneRoster entities. It also updates `PersonDataSourceHttp` and `SchoolDataSourceHttp` to align with OneRoster data handling.

Changes include:
- Added `OneRosterPrimaryKeyGenerator` data class.
- Implemented `getAllUsers(sourcedId: String)` in `PersonDataSourceHttp`.
- Added `onRoasterDataSource` property to `SchoolDataSourceHttp`.
- Removed unused imports and updated dependencies in `AppKoinModule.kt`.
(commit: 16fced6)
The file was modifiedrespect-datalayer-http/src/commonMain/kotlin/world/respect/datalayer/http/school/PersonDataSourceHttp.kt (diff)
The file was modifiedrespect-datalayer-http/src/commonMain/kotlin/world/respect/datalayer/http/SchoolDataSourceHttp.kt (diff)
The file was addedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/OneRosterPrimaryKeyGenerator.kt
The file was modifiedrespect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff)
The file was modifiedrespect-test-end-to-end/android-maestro/e2e-tests/003_create_classes_test.yaml (diff)
The file was addedrespect-test-end-to-end/android-maestro/e2e-tests/common/setDate.js
Commit bdbfacaed82d329f03f70d34ca35bcaeedab2d10 by mandvi.verma
Refactor: Remove unused imports and string resources

This commit removes unused imports from `AppNavHost.kt` and deletes unused string resources related to "Language" and "Description". It also standardizes "Report" and "Reports" string resources.

Changes include:
- Removed `ReportScreen` and `ReportViewModel` imports from `AppNavHost.kt`.
- Removed `RespectAppLauncher` and `RespectAppList` navigation imports from `AppNavHost.kt`.
- Updated `strings.xml` to have both singular "Report" and plural "Reports".
- Removed "language" and "description" string resources from `strings.xml`.
(commit: bdbfaca)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff)
Commit df8ab60e67726539bfe3e3acc82043fbe52ebe3c by mandvi.verma
Refactor: Remove nested launch in ClazzListViewModel

This commit simplifies the `ClazzListViewModel` by removing a nested `viewModelScope.launch` within the collection of `schoolDataSource.onRoasterDataSource.findAll`. The inner launch was redundant as the collection itself is performed within a coroutine scope.
(commit: df8ab60)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff)
Commit 324a0ddf4c5b71f498f8478030bb8bbf61902046 by Mike Dawson
Refactoring class datasource.
(commit: 324a0dd)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/report/indicator/detail/IndicatorDetailScreen.kt (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/SchoolDataSourceLocal.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/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff)
The file was modifiedrespect-datalayer-http/src/commonMain/kotlin/world/respect/datalayer/http/SchoolDataSourceHttp.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/shared/SharedConverters.kt (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/SchoolDataSource.kt (diff)
The file was addedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/ClassDatasourceDb.kt
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/list/PersonListScreen.kt (diff)
The file was addedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/adapters/ClassAdapter.kt
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/edit/ClazzEditScreen.kt (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/model/Clazz.kt (diff)
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/ClassDataSourceLocal.kt
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/list/ClazzListScreen.kt (diff)
The file was modifiedrespect-datalayer-db/schemas/world.respect.datalayer.db.RespectSchoolDatabase/1.json (diff)
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/ClassDataSource.kt
The file was addedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/daos/ClazzEntityDao.kt
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/report/indicator/list/IndicatorListScreen.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/report/edit/ReportEditScreen.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/SchoolDataSourceDb.kt (diff)
The file was addedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/EnrollmentDataSource.kt
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/util/FilterChipsOption.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/util/ext/ModifierExt.kt (diff)
The file was addedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/entities/ClassEntity.kt
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/PersonDataSource.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/PersonDataSourceDb.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/report/indicator/edit/IndicatorEditScreen.kt (diff)
The file was modifiedrespect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/SchoolDataSourceRepository.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff)
The file was addedrespect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectRememberPager.kt
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/RespectSchoolDatabase.kt (diff)
Commit 6d22e01d8f5e443b1aec21b4001503c6334e3ebb by Mike Dawson
Fix defaultItemPadding usage.
(commit: 6d22e01)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/report/edit/ReportEditScreen.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/report/indicator/edit/IndicatorEditScreen.kt (diff)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/report/indicator/detail/IndicatorDetailScreen.kt (diff)
Commit c5d4c1e52965dafad8a4450f82b2aa742f3aa16e by Mike Dawson
Fix defaultItemPadding usage.
(commit: c5d4c1e)
The file was modifiedrespect-app-compose/src/commonMain/kotlin/world/respect/app/view/report/indicator/list/IndicatorListScreen.kt (diff)
Commit ec9ba3de26dc7289d03609985ef6ae5ec467476e by Mike Dawson
Remove OneRoster data source / entity classes.
(commit: ec9ba3d)
The file was removedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/entities/OneRosterClassEntity.kt
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/EnrollmentDataSource.kt (diff)
The file was removedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/adapter/OneRosterClassAdapter.kt
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/SchoolDataSourceDb.kt (diff)
The file was modifiedrespect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/SchoolDataSourceRepository.kt (diff)
The file was removedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/OneRosterDataSource.kt
The file was removedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/adapter/OneRosterUserAdapter.kt
The file was modifiedrespect-datalayer-http/src/commonMain/kotlin/world/respect/datalayer/http/SchoolDataSourceHttp.kt (diff)
The file was modifiedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/SchoolDataSource.kt (diff)
The file was removedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/OneRosterDataSourceDb.kt
The file was modifiedrespect-datalayer-db/schemas/world.respect.datalayer.db.RespectSchoolDatabase/1.json (diff)
The file was removedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/dao/OneRosterEntityDao.kt
The file was removedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/entities/OneRosterUserEntity.kt
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/RespectSchoolDatabase.kt (diff)
The file was removedrespect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/oneroaster/OneRosterDataSourceRepository.kt
The file was removedrespect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/OneRosterDataSourceLocal.kt
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/adapters/ClassAdapter.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/daos/PersonEntityDao.kt (diff)
Commit edff664de65ce5785f3e5d0165176011f18f0509 by Mike Dawson
Fixes/updates handling school list
(commit: edff664)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/getstarted/GetStartedViewModel.kt (diff)
The file was addedrespect-lib-shared/src/commonMain/resources/directories/default.properties
The file was modifiedrespect-datalayer-http/src/commonMain/kotlin/world/respect/datalayer/http/schooldirectory/SchoolDirectoryDataSourceHttp.kt (diff)
The file was modifiedrespect-app-compose/src/androidMain/kotlin/world/respect/callback/AddSchoolDirectoryCallback.kt (diff)
The file was removedrespect-lib-cache/src/commonMain/resources/respect-directories/default.properties
The file was modifiedrespect-server/src/main/kotlin/world/respect/server/domain/school/add/AddSchoolDirectoryCallback.kt (diff)
The file was modifiedrespect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/schooldirectory/daos/SchoolDirectoryEntryEntityDao.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff)
The file was modifiedREADME.md (diff)
The file was modifiedrespect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/schooldirectory/SchoolDirectoryDataSourceRepository.kt (diff)
Commit bf9bf09ffdd6574816a22eb99863fe727da909f0 by nikunj.sharma
changes related to redeeminvite req
(commit: bf9bf09)
The file was modifiedrespect-app-compose/src/androidMain/kotlin/world/respect/callback/AddSchoolDirectoryCallback.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/signup/CreateAccountViewModel.kt (diff)
The file was modifiedREADME.md (diff)
The file was modifiedrespect-credentials/src/commonMain/kotlin/world/respect/credentials/passkey/RespectRedeemInviteRequest.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/confirmation/ConfirmationViewModel.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/otheroptionsignup/OtherOptionsSignupViewModel.kt (diff)
The file was modifiedrespect-server/src/main/kotlin/world/respect/server/ServerKoinModule.kt (diff)
The file was removedrespect-server/src/main/kotlin/world/respect/server/domain/school/add/AddSchoolDirectoryCallback.kt
The file was addedrespect-lib-shared/src/androidMain/resources/directories/default.properties
The file was modifiedrespect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/account/createinviteredeemrequest/RespectRedeemInviteRequestUseCase.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/enterpasswordsignup/EnterPasswordSignUpViewModel.kt (diff)
The file was modifiedrespect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/profile/SignupViewModel.kt (diff)
The file was modifiedrespect-credentials/src/commonMain/kotlin/world/respect/credentials/passkey/util/toGuardianRole.kt (diff)