The file was removed respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/ClazzScreen.kt The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/view/classes/ClassesScreen.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/App.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/ClazzViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/learningunit/list/LearningUnitListScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/detail/ClazzDetailViewModel.kt The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/view/classes/ClazzListScreen.kt The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/learningunit/list/LearningUnitListScreen.kt (diff) The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt The file was removed respect-app-compose/src/commonMain/kotlin/world/respect/app/view/classes/ClassesScreen.kt The file was removed respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/ClazzViewModel.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/App.kt (diff) The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/view/classes/list/ClazzListScreen.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/App.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff) The file was removed respect-app-compose/src/commonMain/kotlin/world/respect/app/view/classes/ClazzListScreen.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff) The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/view/classes/detail/ClazzDetailScreen.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/learningunit/list/LearningUnitListScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/detail/ClazzDetailViewModel.kt (diff) The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/clazz/model/ClazzDataSource.kt The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/clazz/model/FakeClazzList.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/classes/list/ClazzListScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/classes/list/ClazzListScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/classes/detail/ClazzDetailScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/classes/list/ClazzListScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff) The file was modified respect-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 modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/classes/list/ClazzListScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/classes/detail/ClazzDetailScreen.kt (diff) The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/acceptinvite/AcceptInviteViewModel.kt The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt The file was removed respect-app-compose/src/commonMain/kotlin/world/respect/app/view/classes/list/ClazzListScreen.kt The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/student/StudentViewModel.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff) The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/student/StudentScreen.kt The file was removed respect-app-compose/src/commonMain/kotlin/world/respect/app/view/classes/detail/ClazzDetailScreen.kt The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/list/ClazzListScreen.kt The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was removed respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/detail/ClazzDetailViewModel.kt The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/acceptinvite/AcceptInviteScreen.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/acceptinvite/AcceptInviteViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/acceptinvite/AcceptInviteViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/learningunit/list/LearningUnitListScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/acceptinvite/AcceptInviteScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/acceptinvite/AcceptInviteScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/acceptinvite/AcceptInviteViewModel.kt (diff) The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/acceptinvite/AcceptInviteScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/acceptinvite/AcceptInviteScreen.kt (diff) The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/clazz/model/FakeClazzList.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff) The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/clazz/model/ClazzDataSource.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/acceptinvite/AcceptInviteScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/student/StudentViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/student/StudentScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/FakeRosterDataSource.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/list/ClazzListScreen.kt (diff) The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/addclazz/AddClazzViewModel.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff) The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/addclazz/AddClazzScreen.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/app/appstate/ActionBarButtonUiState.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/app/appstate/AppUiState.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppBar.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/addclazz/AddClazzViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/addclazz/AddClazzScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/addclazz/AddClazzViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/acceptinvite/AcceptInviteScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/acceptinvite/AcceptInviteViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/list/ClazzListScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/learningunit/list/LearningUnitListScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/learningunit/list/LearningUnitListScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectFilterChipRow.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectFilterChip.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/list/ClazzListScreen.kt (diff) The file was removed respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectFilterChipRow.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/learningunit/list/LearningUnitListScreen.kt (diff) The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectSortOption.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/learningunit/list/LearningUnitListScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectFilterChip.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/list/ClazzListScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/list/ClazzListScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-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 added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/student/AddPersonToClazzViewModel.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff) The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/student/StudentScreen.kt (diff) The file was removed respect-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 added respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/addperson/AddPersonToClazzScreen.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff) The file was removed respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/student/StudentScreen.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-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 modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/addperson/AddPersonToClazzScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-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 modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/FakeRosterDataSource.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-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 removed respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/acceptinvite/AcceptInviteViewModel.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was removed respect-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 modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/list/ClazzListScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-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 modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/addclazz/AddClazzViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/addclazz/AddClazzScreen.kt (diff) The file was modified respect-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 modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/FakeRosterDataSource.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/addclazz/AddClazzViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/addclazz/AddClazzScreen.kt (diff) The file was modified respect-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 modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/util/SortOrderOption.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/list/ClazzListScreen.kt (diff) The file was modified respect-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 modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/learningunit/list/LearningUnitListScreen.kt (diff) The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectSortHeader.kt The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectFilterChipsHeader.kt The file was removed respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectSortOption.kt The file was removed respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectFilterChip.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/list/ClazzListScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/list/ClazzListScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/list/ClazzListScreen.kt (diff) The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/addclazz/AddClazzScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/util/FilterChipsOption.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectFilterChipsHeader.kt (diff) The file was modified respect-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 modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectSortHeader.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/addperson/AddPersonToClazzScreen.kt (diff) The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was removed respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/student/AddPersonToClazzViewModel.kt The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/addperson/AddPersonToClazzViewModel.kt The file was modified respect-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 modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/util/SortOrderOptionExt.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectBottomSheetOption.kt The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectSortOptionsBottomSheet.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectSortHeader.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/learningunit/list/LearningUnitListScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/list/ClazzListScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/util/SortOrderOption.kt (diff) The file was modified respect-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 modified respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectSortHeader.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectFilterChipsHeader.kt (diff) The file was modified respect-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 modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/OneRosterRosterDataSource.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-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 modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/FakeRosterDataSource.kt (diff) The file was modified respect-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 modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/list/ClazzListScreen.kt (diff) The file was modified respect-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 modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/App.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/list/ClazzListScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectPersonAvatar.kt (diff) The file was modified respect-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 modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/addclazz/AddClazzScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/list/ClazzListScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/addclazz/AddClazzViewModel.kt (diff) The file was modified respect-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 modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/FakeRosterDataSource.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/App.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/addclazz/AddClazzViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/list/ClazzListScreen.kt (diff) The file was modified respect-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 modified respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectPersonAvatar.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectSortHeader.kt (diff) The file was modified respect-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 modified respect-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 removed respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/addclazz/AddClazzScreen.kt The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff) The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/edit/ClazzEditScreen.kt The file was removed respect-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 modified respect-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 modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/FakeRosterDataSource.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-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 modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/edit/ClazzEditScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff) The file was modified respect-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 modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/edit/ClazzEditScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-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 modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-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 modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt (diff) The file was modified respect-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 modified respect-app-compose/src/commonMain/kotlin/world/respect/app/components/ModifierExt.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/edit/ClazzEditScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/FakeRosterDataSource.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/edit/ClazzEditScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff) The file was modified respect-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 modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/addperson/AddPersonToClazzViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/addperson/AddPersonToClazzViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/addperson/AddPersonToClazzViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/edit/ClazzEditScreen.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/FakeRosterDataSource.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff) The file was modified respect-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 modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt (diff) The file was modified respect-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 modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/FakeRosterDataSource.kt (diff) The file was modified respect-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 modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was added respect-test-end-to-end/android-maestro/e2e-tests/003_create_classes_test.yaml The file was modified respect-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 modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-test-end-to-end/android-maestro/e2e-tests/001_browse_lessons_test.yaml (diff) The file was modified respect-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 modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/App.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt (diff) The file was modified respect-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 added respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/dao/OneRoasterClassEntityDao.kt The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/RespectAppDatabase.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/realm/RealmTypeConverters.kt (diff) The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/composites/ClazzListDetails.kt The file was added respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/OneRoasterClassDataSourceDb.kt The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/RespectRealmDataSourceDb.kt (diff) The file was added respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/entities/OneRoasterClassEntity.kt The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/RespectRealmDataSourceRepository.kt (diff) The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/realm/RealmPrimaryKeyGenerator.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/FakeRosterDataSource.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/edit/ClazzEditScreen.kt (diff) The file was added respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/adapter/OneRoasterClassAdapter.kt The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/RespectRealmDatabase.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/OneRosterRosterDataSource.kt (diff) The file was modified respect-datalayer-db/schemas/world.respect.datalayer.db.RespectAppDatabase/1.json (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/RespectRealmDataSource.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterClass.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt (diff) The file was modified respect-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 added respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/oneroaster/OneRoasterSourceRepository.kt The file was modified respect-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 added respect-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 modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/dao/OneRoasterClassEntityDao.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/RespectRealmDataSource.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/list/ClazzListScreen.kt (diff) The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/OneRoasterDataSourceLocal.kt The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/OneRosterDataSource.kt The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/composites/ClazzListDetails.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/RespectRealmDataSourceDb.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/FakeRosterDataSource.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/edit/ClazzEditScreen.kt (diff) The file was added respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/OneRoasterDataSourceDb.kt The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/oneroaster/OneRoasterSourceRepository.kt (diff) The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/OneRosterDataSource.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff) The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/RespectRealmDataSourceRepository.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff) The file was removed respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/OneRoasterClassDataSourceDb.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/OneRosterRosterDataSource.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/edit/ClazzEditScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff) The file was modified respect-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 removed respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/adapter/OneRoasterClassAdapter.kt The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/FakeRosterDataSource.kt (diff) The file was added respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/adapter/OneRosterClassAdapter.kt The file was added respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/adapter/OneRosterUserAdapter.kt The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/RespectRealmDatabase.kt (diff) The file was removed respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/dao/OneRoasterClassEntityDao.kt The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/RespectAppDatabase.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/RespectRealmDataSourceDb.kt (diff) The file was added respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/dao/OneRosterClassEntityDao.kt The file was modified respect-datalayer-db/schemas/world.respect.datalayer.db.RespectRealmDatabase/1.json (diff) The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/oneroaster/OneRoasterSourceRepository.kt (diff) The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/OneRosterDataSourceLocal.kt The file was added respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/OneRosterDataSourceDb.kt The file was added respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/entities/OneRosterClassEntity.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/OneRoasterDataSourceLocal.kt The file was removed respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/entities/OneRoasterClassEntity.kt The file was modified respect-datalayer-db/schemas/world.respect.datalayer.db.RespectAppDatabase/1.json (diff) The file was removed respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/OneRoasterDataSourceDb.kt The file was added respect-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 modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/adapter/OneRosterClassAdapter.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/FakeRosterDataSource.kt (diff) The file was modified respect-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 modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/edit/ClazzEditScreen.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/adapter/OneRosterClassAdapter.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/adapter/OneRosterUserAdapter.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt (diff) The file was removed respect-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 modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/manageuser/signup/SignUpScreen.kt (diff) The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterUser.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterOrgGUIDRef.kt The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/realm/RealmTypeConverters.kt (diff) The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterBaseStatusEnum.kt The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterRoleEnumExt.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/edit/ClazzEditScreen.kt (diff) The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterClassGUIDRef.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterBase.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterRoleTypeEnum.kt The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterResourceGUIDRef.kt The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/respect/model/invite/RespectInviteInfo.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/adapter/OneRosterClassAdapter.kt (diff) The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterRoleEnumExt.kt The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterGenderEnum.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterRoleEnum.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt (diff) The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/OneRosterDataSource.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/OneRosterDataSourceLocal.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterGUIDRef.kt The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterOrgGUIDRef.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/profile/SignupViewModel.kt (diff) The file was modified respect-datalayer-db/schemas/world.respect.datalayer.db.RespectAppDatabase/1.json (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/adapter/OneRosterUserAdapter.kt (diff) The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterClass.kt The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterUserProfile.kt The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterUserId.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/util/GenderToString.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/RespectAppDatabase.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/respect/model/invite/RespectRedeemInviteRequest.kt (diff) The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterResourceGUIDRef.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterRole.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/realm/RealmPrimaryKeyGenerator.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/dao/OneRosterClassEntityDao.kt (diff) The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterUserGUIDRef.kt The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterUser.kt The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterClassGUIDRef.kt The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/composites/ClazzListDetails.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterBaseStatusEnum.kt The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterRoleTypeEnum.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterUserGUIDRef.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterGUIDRef.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/addperson/AddPersonToClazzViewModel.kt (diff) The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterRole.kt The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterEnrollment.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterUserId.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterEnrollment.kt The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/OneRosterDataSourceLocal.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/FakeRosterDataSource.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/account/createinviteredeemrequest/RespectRedeemInviteRequestUseCase.kt (diff) The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/RespectRealmDataSourceRepository.kt (diff) The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterClass.kt The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/RespectRealmDataSource.kt (diff) The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/composites/ClazzListDetails.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff) The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterBase.kt The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/oneroaster/OneRoasterSourceRepository.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/RespectRealmDataSourceDb.kt (diff) The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterUserProfile.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/rostering/model/OneRosterGenderEnum.kt The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/model/OneRosterRoleEnum.kt The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/OneRosterDataSource.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/mock/MockGetInviteInfoUseCase.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/OneRosterDataSourceDb.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/realm/RealmTypeConverters.kt (diff) The file was modified respect-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 added respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/dao/OneRosterEntityDao.kt The file was removed respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/dao/OneRosterClassEntityDao.kt The file was removed respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/oneroaster/OneRoasterSourceRepository.kt The file was added respect-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 modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/respect/model/invite/RespectInviteInfo.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/school/SchoolPrimaryKeyGenerator.kt (diff) The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/SchoolDataSourceRepository.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/RespectSchoolDatabase.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff) The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/SchoolDataSourceDb.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/SchoolTypeConverters.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/SchoolDataSource.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/mock/MockGetInviteInfoUseCase.kt (diff) The file was modified respect-datalayer-db/schemas/world.respect.datalayer.db.RespectSchoolDatabase/1.json (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/OneRosterDataSourceDb.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/SchoolDataSourceDb.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-test-end-to-end/android-maestro/e2e-tests/001_browse_lessons_test.yaml (diff) The file was modified respect-test-end-to-end/android-maestro/e2e-tests/003_create_classes_test.yaml (diff) The file was added respect-test-end-to-end/android-maestro/e2e-tests/common/school_admin_login_flow.yaml The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/OneRosterDataSourceDb.kt (diff) The file was added respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/oneroaster/OneRosterDataSourceRepository.kt The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/daos/PersonEntityDao.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/adapter/OneRosterUserAdapter.kt (diff) The file was removed respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/oneroaster/OneRoasterDataSourceRepository.kt The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/OneRosterDataSource.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/school/PersonDataSourceRepository.kt (diff) The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/oneroaster/OneRosterDataSourceRepository.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/OneRosterDataSource.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/OneRosterDataSourceDb.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/PersonDataSource.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/PersonDataSourceDb.kt (diff) The file was modified respect-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 modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/school/PersonDataSourceRepository.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/edit/ClazzEditScreen.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/PersonDataSourceDb.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/daos/PersonEntityDao.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/PersonDataSource.kt (diff) The file was modified respect-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 modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/list/ClazzListScreen.kt (diff) The file was modified gradle/libs.versions.toml (diff) The file was modified respect-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 modified respect-datalayer-http/src/commonMain/kotlin/world/respect/datalayer/http/school/PersonDataSourceHttp.kt (diff) The file was modified respect-datalayer-http/src/commonMain/kotlin/world/respect/datalayer/http/SchoolDataSourceHttp.kt (diff) The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/OneRosterPrimaryKeyGenerator.kt The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was modified respect-test-end-to-end/android-maestro/e2e-tests/003_create_classes_test.yaml (diff) The file was added respect-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 modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/AppNavHost.kt (diff) The file was modified respect-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 modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/report/indicator/detail/IndicatorDetailScreen.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/SchoolDataSourceLocal.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff) The file was modified respect-datalayer-http/src/commonMain/kotlin/world/respect/datalayer/http/SchoolDataSourceHttp.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/shared/SharedConverters.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/SchoolDataSource.kt (diff) The file was added respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/ClassDatasourceDb.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/list/PersonListScreen.kt (diff) The file was added respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/adapters/ClassAdapter.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/edit/ClazzEditScreen.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/model/Clazz.kt (diff) The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/ClassDataSourceLocal.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/list/ClazzListScreen.kt (diff) The file was modified respect-datalayer-db/schemas/world.respect.datalayer.db.RespectSchoolDatabase/1.json (diff) The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/ClassDataSource.kt The file was added respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/daos/ClazzEntityDao.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/report/indicator/list/IndicatorListScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/report/edit/ReportEditScreen.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/SchoolDataSourceDb.kt (diff) The file was added respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/EnrollmentDataSource.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/util/FilterChipsOption.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/util/ext/ModifierExt.kt (diff) The file was added respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/entities/ClassEntity.kt The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/PersonDataSource.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/PersonDataSourceDb.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/report/indicator/edit/IndicatorEditScreen.kt (diff) The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/SchoolDataSourceRepository.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/list/ClazzListViewModel.kt (diff) The file was added respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectRememberPager.kt The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/RespectSchoolDatabase.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/report/edit/ReportEditScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/report/indicator/edit/IndicatorEditScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/report/indicator/detail/IndicatorDetailScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/report/indicator/list/IndicatorListScreen.kt (diff) The file was removed respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/entities/OneRosterClassEntity.kt The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/EnrollmentDataSource.kt (diff) The file was removed respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/adapter/OneRosterClassAdapter.kt The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/SchoolDataSourceDb.kt (diff) The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/SchoolDataSourceRepository.kt (diff) The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/OneRosterDataSource.kt The file was removed respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/adapter/OneRosterUserAdapter.kt The file was modified respect-datalayer-http/src/commonMain/kotlin/world/respect/datalayer/http/SchoolDataSourceHttp.kt (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/SchoolDataSource.kt (diff) The file was removed respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/OneRosterDataSourceDb.kt The file was modified respect-datalayer-db/schemas/world.respect.datalayer.db.RespectSchoolDatabase/1.json (diff) The file was removed respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/dao/OneRosterEntityDao.kt The file was removed respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/oneroaster/entities/OneRosterUserEntity.kt The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/RespectSchoolDatabase.kt (diff) The file was removed respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/oneroaster/OneRosterDataSourceRepository.kt The file was removed respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/oneroster/OneRosterDataSourceLocal.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/edit/ClazzEditViewModel.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/adapters/ClassAdapter.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/daos/PersonEntityDao.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/getstarted/GetStartedViewModel.kt (diff) The file was added respect-lib-shared/src/commonMain/resources/directories/default.properties The file was modified respect-datalayer-http/src/commonMain/kotlin/world/respect/datalayer/http/schooldirectory/SchoolDirectoryDataSourceHttp.kt (diff) The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/callback/AddSchoolDirectoryCallback.kt (diff) The file was removed respect-lib-cache/src/commonMain/resources/respect-directories/default.properties The file was modified respect-server/src/main/kotlin/world/respect/server/domain/school/add/AddSchoolDirectoryCallback.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/schooldirectory/daos/SchoolDirectoryEntryEntityDao.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified README.md (diff) The file was modified respect-datalayer-repository/src/commonMain/kotlin/world/respect/datalayer/repository/schooldirectory/SchoolDirectoryDataSourceRepository.kt (diff) The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/callback/AddSchoolDirectoryCallback.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/signup/CreateAccountViewModel.kt (diff) The file was modified README.md (diff) The file was modified respect-credentials/src/commonMain/kotlin/world/respect/credentials/passkey/RespectRedeemInviteRequest.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/confirmation/ConfirmationViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/otheroptionsignup/OtherOptionsSignupViewModel.kt (diff) The file was modified respect-server/src/main/kotlin/world/respect/server/ServerKoinModule.kt (diff) The file was removed respect-server/src/main/kotlin/world/respect/server/domain/school/add/AddSchoolDirectoryCallback.kt The file was added respect-lib-shared/src/androidMain/resources/directories/default.properties The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/account/createinviteredeemrequest/RespectRedeemInviteRequestUseCase.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/enterpasswordsignup/EnterPasswordSignUpViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/profile/SignupViewModel.kt (diff) The file was modified respect-credentials/src/commonMain/kotlin/world/respect/credentials/passkey/util/toGuardianRole.kt (diff)