The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/account/child/AddChildAccountUseCase.kt The file was modified respect-server/src/main/kotlin/world/respect/server/ServerKoinModule.kt (diff) The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/account/child/AddChildAccountUseCaseClient.kt The file was added respect-server/src/main/kotlin/world/respect/server/routes/school/respect/AddChildAccountRoute.kt The file was added respect-lib-shared/src/jvmMain/kotlin/world/respect/shared/domain/account/child/AddChildAccountUseCaseDb.kt The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was added respect-lib-shared/src/jvmMain/kotlin/world/respect/shared/util/toPerson.kt The file was modified respect-server/src/main/kotlin/world/respect/server/Application.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-lib-shared/src/jvmMain/kotlin/world/respect/shared/domain/account/invite/RedeemInviteUseCaseDb.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/RespectSchoolDatabaseMigrations.kt (diff) The file was added respect-datalayer-db/schemas/world.respect.datalayer.db.RespectSchoolDatabase/8.json The file was modified respect-server/src/main/kotlin/world/respect/server/routes/school/respect/AddChildAccountRoute.kt (diff) The file was modified respect-datalayer-db/schemas/world.respect.datalayer.db.RespectSchoolDatabase/7.json (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/domain/account/child/AddChildAccountUseCaseClient.kt (diff) The file was modified respect-lib-shared/src/jvmMain/kotlin/world/respect/shared/domain/account/child/AddChildAccountUseCaseDb.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/entities/PersonRelatedPersonEntity.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/account/child/AddChildAccountUseCase.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-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/profile/SignupViewModel.kt (diff) The file was removed respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/account/child/AddChildAccountUseCaseClient.kt The file was removed respect-lib-shared/src/jvmMain/kotlin/world/respect/shared/util/toPerson.kt The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/util/toPerson.kt The file was removed respect-lib-shared/src/jvmMain/kotlin/world/respect/shared/domain/account/child/AddChildAccountUseCaseDb.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/account/child/AddChildAccountUseCase.kt (diff) The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was modified respect-server/src/main/kotlin/world/respect/server/Application.kt (diff) The file was removed respect-server/src/main/kotlin/world/respect/server/routes/school/respect/AddChildAccountRoute.kt The file was modified respect-server/src/main/kotlin/world/respect/server/ServerKoinModule.kt (diff) The file was removed .maestro/flows-in-progress/001_004_user_login_via_invite_link_and_browse_lessons_test.yaml The file was removed .maestro/flows-in-progress/001_001_user_login_to _app_with_school_name_test.yaml The file was removed .maestro/flows-in-progress/001_002_Parent_user_join_class_using_invitecode_test.yaml The file was added .maestro/flows/001_003_student_user_join_class_using_invitecode_test.yaml The file was removed .maestro/flows-in-progress/003_create_classes_test.yaml The file was removed .maestro/flows-in-progress/001_003_student_user_join_class_using_invitecode_test.yaml The file was added .maestro/flows/001_002_Parent_user_join_class_using_invitecode_test.yaml The file was modified .maestro/flows/subflows/school_admin_login_flow.yaml (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/profile/SignupViewModel.kt (diff) The file was modified .maestro/flows/subflows/school_admin_login_flow.yaml (diff) The file was modified .maestro/flows/001_002_Parent_user_join_class_using_invitecode_test.yaml (diff) The file was modified .maestro/flows/001_003_student_user_join_class_using_invitecode_test.yaml (diff) The file was modified .maestro/flows/001_003_student_user_join_class_using_invitecode_test.yaml (diff) The file was modified .maestro/flows/001_002_Parent_user_join_class_using_invitecode_test.yaml (diff) The file was modified .maestro/flows/001_002_Parent_user_join_class_using_invitecode_test.yaml (diff) The file was modified respect-lib-shared/src/jvmMain/kotlin/world/respect/shared/domain/account/invite/RedeemInviteUseCaseDb.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/manageuser/accountlist/AccountListScreen.kt (diff) The file was modified .maestro/flows/001_002_Parent_user_join_class_using_invitecode_test.yaml (diff) The file was modified .maestro/flows/subflows/setDate.js (diff) The file was modified .maestro/flows/001_003_student_user_join_class_using_invitecode_test.yaml (diff) The file was modified respect-server/.gitignore (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/manageuser/signup/SignUpScreen.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/profile/SignupViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/manageuser/signup/SignUpScreen.kt (diff) The file was modified .maestro/flows/001_002_Parent_user_join_class_using_invitecode_test.yaml (diff) The file was modified .maestro/flows/001_003_student_user_join_class_using_invitecode_test.yaml (diff) The file was modified .maestro/flows/001_002_Parent_user_join_class_using_invitecode_test.yaml (diff) The file was added .maestro/flows/001_005_teacher_user_join_class_using_invitecode_test.yaml The file was modified .maestro/flows/001_002_Parent_user_join_class_using_invitecode_test.yaml (diff) The file was modified .maestro/flows/001_003_student_user_join_class_using_invitecode_test.yaml (diff) The file was modified .maestro/flows/001_005_teacher_user_join_class_using_invitecode_test.yaml (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-datalayer-db/schemas/world.respect.datalayer.db.RespectSchoolDatabase/8.json (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/composeResources/values/strings.xml (diff) The file was removed .maestro/flows/001_003_student_user_join_class_using_invitecode_test.yaml The file was removed .maestro/flows/001_005_teacher_user_join_class_using_invitecode_test.yaml The file was removed .maestro/flows-in-progress/004_create_report_test.yaml The file was removed .maestro/flows/001_002_Parent_user_join_class_using_invitecode_test.yaml The file was added .maestro/flows/001_002_admin_add_class_and_members_test.yaml The file was modified .maestro/flows/001_002_admin_add_class_and_members_test.yaml (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was modified .maestro/flows/001_002_admin_add_class_and_members_test.yaml (diff) The file was modified .maestro/flows/001_002_admin_add_class_and_members_test.yaml (diff) The file was modified .maestro/flows/001_002_admin_add_class_and_members_test.yaml (diff) The file was modified .maestro/flows/001_002_admin_add_class_and_members_test.yaml (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-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/enterpasswordsignup/EnterPasswordSignUpViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified .maestro/flows/001_002_admin_add_class_and_members_test.yaml (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/account/child/AddChildAccountUseCase.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/daos/EnrollmentEntityDao.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-server/src/main/kotlin/world/respect/server/ServerKoinModule.kt (diff) The file was added respect-server/src/main/kotlin/world/respect/server/routes/school/respect/AddChildAccountRoute.kt The file was modified respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt (diff) The file was modified respect-server/src/main/kotlin/world/respect/server/Application.kt (diff) The file was added respect-lib-shared/src/jvmMain/kotlin/world/respect/shared/domain/account/addchild/AddChildAccountUseCaseDb.kt The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/daos/EnrollmentEntityDao.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/account/child/AddChildAccountUseCase.kt (diff) The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/account/child/AddChildAccountUseCaseClient.kt The file was modified respect-lib-cache/src/jvmTest/kotlin/com/ustadmobile/libcache/downloader/DownloadIntegrationTest.kt (diff)
Commit
5e149402d39d01e6ec9ce36ae49a23a1573ad285
by mandvi.verma feat: Validate date of birth on save This commit introduces validation to prevent the date of birth from being in the future. The validation is now handled in the `PersonEditViewModel` when the save button is clicked, rather than restricting the date selection in the UI. Key changes: - Removed the future date restriction from the `RespectLocalDateField` date picker, allowing users to select any date. - Added a new string resource `date_of_birth_in_future` for the error message. - Updated `PersonEditViewModel` to validate the date of birth upon saving. If the selected date is in the future, an error message is displayed and the save is aborted. - Modified `PersonEditScreen` to display the date of birth validation error message below the input field. The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified gradle/libs.versions.toml (diff) The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/validateemail/ValidateEmailUseCase.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/edit/PersonEditViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/edit/PersonEditScreen.kt (diff)
Commit
a281e9ecc4a9774b415f5be4a65261bc42fc3219
by mandvi.verma refactor: Improve `fullName` generation in `PersonExt` This commit refactors the `fullName` extension function for the `Person` model to more robustly handle whitespace and optional name parts. The function now trims leading/trailing whitespace from `givenName`, `middleName`, and `familyName`. It also ensures that spaces are only added between name parts if the preceding part is not empty, preventing extra spaces in the final output. The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/util/ext/PersonExt.kt (diff)
Commit
f8fea3845d7c67a49aad982df18c113f30e474e8
by mandvi.verma feat: Clear email error on change This commit clears the email validation error message in the `PersonEditViewModel` when the user modifies the email address. The phone number error handling already had similar logic, and this change makes the email field consistent. The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/edit/PersonEditViewModel.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/person/edit/PersonEditScreen.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/util/ext/PersonExt.kt (diff) The file was added .maestro/flows-in-progress/001_004_user_login_via_invite_link_and_browse_lessons_test.yaml The file was added .maestro/flows-in-progress/003_create_classes_test.yaml The file was added .maestro/flows-in-progress/001_001_user_login_to _app_with_school_name_test.yaml The file was added .maestro/flows-in-progress/004_create_report_test.yaml
Commit
21f0337b914b017d984896d30b577a42e4c58d57
by mandvi.verma feat: Enhance ClazzDetailScreen with more information This commit updates the class details screen to provide more comprehensive information about the class and its pending members. Key changes: - Displays the class description in the `TopAppBar`. - Shows a count of pending teacher and student requests in the "Pending requests" section header. - For pending teachers and students, the list now shows their role (teacher or student), gender, and date of birth. - In the class edit screen, the `*` indicating a required field has been removed from the "Class Name" label to simplify the UI. 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/view/clazz/detail/ClazzDetailScreen.kt (diff) The file was removed .maestro/flows/001_002_admin_add_class_and_members_test.yaml The file was added .maestro/flows/001_001_invite_using_invite_code_test.yaml The file was modified .maestro/flows/subflows/setDate.js (diff) The file was removed .maestro/flows-in-progress/001_001_invite_using_invite_code_test.yaml The file was modified .maestro/flows/001_001_invite_using_invite_code_test.yaml (diff) The file was modified .maestro/flows/001_001_invite_using_invite_code_test.yaml (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/manageuser/enterpasswordsignup/EnterPasswordSignUpScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/manageuser/signup/SignUpScreen.kt (diff) The file was modified respect-datalayer-db/schemas/world.respect.datalayer.db.RespectSchoolDatabase/8.json (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-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/signup/CreateAccountViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectGenderExposedDropDownMenuField.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/changepassword/ChangePasswordScreen.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/manageuser/enterpasswordsignup/EnterPasswordSignUpViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/manageuser/createaccount/CreateAccountScreen.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-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/profile/SignupViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/manageuser/signup/SignUpScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectGenderExposedDropDownMenuField.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/changepassword/ChangePasswordScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/manageuser/createaccount/CreateAccountScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/manageuser/enterpasswordsignup/EnterPasswordSignUpScreen.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-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectGenderExposedDropDownMenuField.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 .maestro/flows/001_002_add_user_direct_test.yaml (diff) The file was modified .maestro/flows-in-progress/001_001_invite_using_invite_code_test.yaml (diff)
Commit
baa66c60f3cad741ab08547fcaad4dfb11c434a3
by mandvi.verma refactor: Use fullName for person display and internationalize labels This commit updates the `ClazzDetailScreen` to use the `person.fullName()` extension function for displaying user names, ensuring a consistent format. It also replaces hardcoded text labels for "Gender" and "DOB" with internationalized string resources. The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/edit/PersonEditScreen.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/edit/ClazzEditScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/clazz/detail/ClazzDetailScreen.kt (diff)
Commit
8e1da350c253cf76bbe63330e7bdccba3af09e1d
by mandvi.verma chore: Fix Kotlin linting issues This commit addresses several Kotlin linting errors by removing unnecessary whitespace. The changes include: - Removing space before `else` keywords. - Fixing spacing around commas. - Removing space before `if` conditions. 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/person/edit/PersonEditViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/edit/PersonEditScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/detail/PersonDetailScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/edit/PersonEditViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/edit/PersonEditViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/edit/PersonEditScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/RouteWithResultDest.kt (diff) The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/KClassStringSerializer.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/assignment/edit/AssignmentEditViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/apps/launcher/AppLauncherViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/learningunit/list/LearningUnitListViewModel.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/navigation/NavResultReturnerExt.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/apps/detail/AppsDetailViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/app/App.kt (diff) The file was added respect-lib-shared/src/jvmTest/kotlin/world/respect/domain/validateemail/ValidateEmailUseCaseTest.kt The file was modified .maestro/flows/001_002_add_user_direct_test.yaml (diff) The file was modified respect-lib-shared/src/jvmTest/kotlin/world/respect/domain/validateemail/ValidateEmailUseCaseTest.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/assignment/edit/AssignmentEditViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/RouteWithResultDest.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/NavResultReturnerExt.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/NavResultReturner.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/list/PersonListViewModel.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/person/detail/PersonDetailViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.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/person/edit/PersonEditViewModel.kt (diff) The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/ext/RouteWithResultDestExt.kt The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/list/PersonListScreen.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/composeResources/values/strings.xml (diff) The file was modified respect-datalayer/src/commonMain/kotlin/world/respect/datalayer/school/PersonDataSource.kt (diff)
Commit
009bbd68b1685ef1641dde338b8c9a874798b679
by mandvi.verma refactor: Standardize required field validation message This commit replaces the generic `required` string resource with a more specific `required_field` resource for consistency in validation error messages. Key changes: - In `PersonEditViewModel`, the validation logic for first name, last name, and gender now uses `Res.string.required_field`. - The `PersonEditScreen` and `RespectGenderExposedDropDownMenuField` have been updated to display the specific validation error message from the view model state, falling back to a default required text. - The gender dropdown component now accepts and displays a `UiText` error message, improving how validation feedback is presented to the user on both the Person Edit and Sign Up screens. The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectGenderExposedDropDownMenuField.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/manageuser/signup/SignUpScreen.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/edit/PersonEditViewModel.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/edit/PersonEditScreen.kt (diff)
Commit
9c81891a175e84699f416730355f7f6ea8bce39d
by mandvi.verma refactor: Use UiText for class name validation This commit updates the class name validation to use `UiText` instead of a plain `String`. This allows for more flexible and localized error messages. Key changes: - `ClazzEditUiState.clazzNameError` is now of type `UiText?`. - The `ClazzEditViewModel` now sets `clazzNameError` to a `UiText` from string resources. - `ClazzEditScreen` has been updated to use `uiTextStringResource` to display the localized validation message. - The resource string for the class name label was changed from `class_name` to `name` for consistency. 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)
Commit
3e27825471fa9dd4a06ed125fcf2052df2650b42
by mandvi.verma chore: Format code for consistency This commit applies minor code formatting changes to improve consistency across the codebase. Specifically, it adjusts spacing around operators and in conditional statements. The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectGenderExposedDropDownMenuField.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/person/list/PersonListViewModel.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/clazz/addperson/AddPersonToClazzScreen.kt The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/navigation/AppRoutes.kt (diff) The file was removed respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/addperson/AddPersonToClazzViewModel.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-app-compose/src/commonMain/kotlin/world/respect/app/view/person/list/PersonListScreen.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/school/EnrollmentDataSourceDb.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/list/PersonListViewModel.kt (diff) The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/clazz/detail/ClazzDetailViewModel.kt (diff)
Commit
8c2c5547d4124ec56dea96df08d95e42a9b08471
by Mike Dawson Fix EnrollmentEntity for database EnrollmentEntity did not store the full uid string of the related class and person, it was relying on a join to the class and person entity. This fails when attempting to create a pending enrollment for a student who profile which is being created as part of a parental registration (on the client). The file was modified respect-datalayer-db/schemas/world.respect.datalayer.db.RespectSchoolDatabase/8.json (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/school/adapters/EnrollmentAdapter.kt (diff) The file was removed respect-lib-shared/src/jvmMain/kotlin/world/respect/shared/domain/account/addchild/AddChildAccountUseCaseDb.kt The file was modified respect-server/src/main/kotlin/world/respect/server/ServerKoinModule.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/daos/EnrollmentEntityDao.kt (diff) The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/entities/EnrollmentEntity.kt (diff) The file was removed respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/account/child/AddChildAccountUseCaseClient.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-http/src/commonMain/kotlin/world/respect/datalayer/http/school/EnrollmentDataSourceHttp.kt (diff) The file was added respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/account/child/AddChildAccountUseCaseDataSource.kt The file was modified respect-datalayer-db/src/commonMain/kotlin/world/respect/datalayer/db/school/EnrollmentDataSourceDb.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/list/PersonListScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/edit/PersonEditScreen.kt (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/view/person/detail/PersonDetailScreen.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 .maestro/flows/001_001_invite_using_invite_code_test.yaml (diff) The file was modified .maestro/flows/subflows/admin_add_app_and_teacher.yaml (diff) The file was modified respect-lib-shared/src/commonMain/composeResources/values/strings.xml (diff) The file was modified .maestro/flows/001_001_invite_using_invite_code_test.yaml (diff) The file was added .maestro/flows/subflows/erase_text_flow.yaml The file was modified .maestro/flows/001_002_add_user_direct_test.yaml (diff) The file was modified .maestro/flows/001_001_invite_using_invite_code_test.yaml (diff) The file was modified .maestro/flows/001_001_invite_using_invite_code_test.yaml (diff) The file was modified .maestro/flow-passkey/006_user_signup_using_passkey_test.yaml (diff) The file was modified respect-app-compose/src/commonMain/kotlin/world/respect/app/components/RespectLocalDateTimeField.kt (diff) The file was modified .maestro/flows/001_001_invite_using_invite_code_test.yaml (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/view/assignment/edit/AssignmentEditScreen.kt (diff) The file was modified .maestro/flows/001_002_add_user_direct_test.yaml (diff) The file was modified .maestro/flows/001_001_invite_using_invite_code_test.yaml (diff) The file was modified .maestro/flows/subflows/erase_text_flow.yaml (diff) The file was modified .maestro/flow-passkey/006_user_signup_using_passkey_test.yaml (diff) The file was modified .maestro/flows/subflows/admin_add_app_and_teacher.yaml (diff) The file was modified .maestro/flows/001_001_invite_using_invite_code_test.yaml (diff) The file was modified .maestro/flows/001_002_add_user_direct_test.yaml (diff) The file was removed .maestro/flows/subflows/erase_text_flow.yaml The file was modified respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/curriculum/mapping/edit/CurriculumMappingEditViewModel.kt (diff) The file was modified .maestro/flows/001_002_add_user_direct_test.yaml (diff) The file was modified .maestro/flows/subflows/admin_add_app_and_teacher.yaml (diff) The file was modified .maestro/flows/001_002_add_user_direct_test.yaml (diff) The file was modified .maestro/flows/subflows/admin_add_app_and_teacher.yaml (diff)
Commit
36ca809657353d7e2aa3cb81e48b5340d21ed96e
by Mike Dawson Attempt to fix intermittent ConcurrentModificationException on server. Koin DI factories can be called concurrently when multiple requests are ongoing. Add ReentrantLock when creating and linking account scope on the server. The file was modified respect-server/src/main/kotlin/world/respect/server/Application.kt (diff) The file was modified respect-server/src/main/kotlin/world/respect/server/ServerKoinModule.kt (diff) The file was modified .maestro/flows/002_002_curriculum_mapping.yaml (diff)