From c261ee20d938086b051a83fbb2e1d46867db934c Mon Sep 17 00:00:00 2001 From: Paul Schmiedmayer Date: Mon, 10 Aug 2026 15:46:35 -0700 Subject: [PATCH 01/16] Adopt the Organization Repository Standards --- .github/dependabot.yml | 26 +++++++ .github/workflows/build-test-analyze.yml | 2 +- .github/workflows/deployment.yml | 2 +- .github/workflows/pull-request.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/repository-standards.yml | 24 ++++++ .gitignore | 8 ++ CITATION.cff | 24 ++++++ CONTRIBUTORS.md | 14 ++++ Gemfile | 2 +- LICENSE | 2 +- LICENSE.md | 21 ++++++ LICENSES/Apache-2.0.txt | 73 +++++++++++++++++++ LICENSES/LicenseRef-Google-Trademarks.txt | 2 + LICENSES/MIT.txt | 18 +++++ README.md | 35 +++++++++ REUSE.toml | 58 +++++++++++++++ app/.gitignore | 8 ++ app/README.md | 14 ++++ app/build.gradle.kts | 8 ++ .../bdh/engagehf/AppNavigationTest.kt | 8 ++ .../edu/stanford/bdh/engagehf/AppTest.kt | 8 ++ .../bdh/engagehf/OnboardingFlowTest.kt | 8 ++ .../DoNewMeasurementBottomSheetKtTest.kt | 8 ++ .../bluetooth/screen/HomeScreenTest.kt | 8 ++ .../bluetooth/screen/MeasurementDialogTest.kt | 8 ++ .../stanford/bdh/engagehf/di/AppTestModule.kt | 8 ++ .../bdh/engagehf/health/HealthPageTest.kt | 8 ++ .../medication/ui/MedicationScreenTest.kt | 8 ++ .../bdh/engagehf/simulator/AppSimulator.kt | 8 ++ .../DoNewMeasurementBottomSheetSimulator.kt | 8 ++ .../engagehf/simulator/HealthPageSimulator.kt | 8 ++ .../engagehf/simulator/HomeScreenSimulator.kt | 8 ++ .../InvitationCodeScreenSimulator.kt | 8 ++ .../simulator/MeasurementDialogSimulator.kt | 8 ++ .../simulator/MedicationScreenSimulator.kt | 8 ++ .../engagehf/simulator/NavigatorSimulator.kt | 8 ++ .../simulator/OnboardingFlowSimulator.kt | 8 ++ .../simulator/OnboardingScreenSimulator.kt | 8 ++ .../SequentialOnboardingScreenSimulator.kt | 8 ++ app/src/main/AndroidManifest.xml | 14 ++++ .../edu/stanford/bdh/engagehf/MainActivity.kt | 8 ++ .../bdh/engagehf/MainActivityViewModel.kt | 8 ++ .../stanford/bdh/engagehf/MainApplication.kt | 8 ++ .../bdh/engagehf/bluetooth/HomeViewModel.kt | 8 ++ .../bluetooth/component/AppScreenEvents.kt | 8 ++ .../component/DoNewMeasurementBottomSheet.kt | 8 ++ .../bluetooth/component/VitalDisplay.kt | 8 ++ .../data/mapper/BluetoothUiStateMapper.kt | 8 ++ .../data/mapper/MessageActionMapper.kt | 8 ++ .../engagehf/bluetooth/data/models/Action.kt | 8 ++ .../bluetooth/data/models/BluetoothUiState.kt | 8 ++ .../bluetooth/data/models/DeviceUiModel.kt | 8 ++ .../data/models/MeasurementDialogUiState.kt | 8 ++ .../engagehf/bluetooth/data/models/UiState.kt | 8 ++ .../bluetooth/data/models/VitalDisplayData.kt | 8 ++ .../MeasurementToObservationMapper.kt | 8 ++ .../measurements/MeasurementsRepository.kt | 8 ++ .../pairing/BLEDevicePairingBottomSheet.kt | 8 ++ .../pairing/BLEDevicePairingUiStateMapper.kt | 8 ++ .../pairing/BLEDevicePairingViewModel.kt | 8 ++ .../engagehf/bluetooth/screen/HomeScreen.kt | 8 ++ .../bluetooth/screen/MeasurementDialog.kt | 8 ++ .../bluetooth/service/BLEServiceType.kt | 8 ++ .../bluetooth/service/EngageBLEService.kt | 8 ++ .../engagehf/bluetooth/service/Measurement.kt | 8 ++ .../service/mapper/BloodPressureMapper.kt | 8 ++ .../service/mapper/MeasurementMapper.kt | 8 ++ .../service/mapper/WeightMeasurementMapper.kt | 8 ++ .../data/ContactDocumentToContactMapper.kt | 8 ++ .../contact/data/EngageContactRepository.kt | 8 ++ .../bdh/engagehf/contact/ui/ContactScreen.kt | 8 ++ .../contact/ui/ContactScreenViewModel.kt | 8 ++ .../bdh/engagehf/di/BluetoothModule.kt | 8 ++ .../bdh/engagehf/di/NotificationModule.kt | 8 ++ .../bdh/engagehf/education/EducationModule.kt | 8 ++ .../education/EngageEducationRepository.kt | 8 ++ ...ideoSectionDocumentToVideoSectionMapper.kt | 8 ++ .../bdh/engagehf/health/HealthPage.kt | 8 ++ .../engagehf/health/HealthRecordViewModel.kt | 8 ++ .../bdh/engagehf/health/HealthRepository.kt | 8 ++ .../bdh/engagehf/health/HealthScreen.kt | 8 ++ .../bdh/engagehf/health/HealthUiState.kt | 8 ++ .../engagehf/health/HealthUiStateMapper.kt | 8 ++ .../bdh/engagehf/health/HealthViewModel.kt | 8 ++ .../stanford/bdh/engagehf/health/TimeRange.kt | 8 ++ .../bloodpressure/BloodPressureScreen.kt | 8 ++ .../AddBloodPressureBottomSheet.kt | 8 ++ .../AddBloodPressureBottomSheetUiState.kt | 8 ++ .../AddBloodPressureBottomSheetViewModel.kt | 8 ++ .../BloodPressureDescriptionBottomSheet.kt | 8 ++ .../bottomsheet/BodyPositionDialog.kt | 8 ++ .../bottomsheet/MeasurementLocationDialog.kt | 8 ++ .../health/components/AddDataHeader.kt | 8 ++ .../engagehf/health/components/HealthChart.kt | 8 ++ .../engagehf/health/components/ItemsDialog.kt | 8 ++ .../health/components/NumberPicker.kt | 8 ++ .../ShareHealthSummaryDialogUiState.kt | 8 ++ .../engagehf/health/components/SwipeBox.kt | 8 ++ .../engagehf/health/components/TimePicker.kt | 8 ++ .../health/components/TimeRangeDropdown.kt | 8 ++ .../health/heartrate/HeartRateScreen.kt | 8 ++ .../bottomsheet/AddHeartRateBottomSheet.kt | 8 ++ .../AddHeartRateBottomSheetUiState.kt | 8 ++ .../AddHeartRateBottomSheetViewModel.kt | 8 ++ .../HeartRateDescriptionBottomSheet.kt | 8 ++ .../health/summary/HealthSummaryRepository.kt | 8 ++ .../health/summary/HealthSummaryService.kt | 8 ++ .../summary/QRCodeImageBitmapGenerator.kt | 8 ++ .../health/summary/ShareHealthSummary.kt | 8 ++ .../health/summary/ShareHealthSummaryData.kt | 8 ++ .../SymptomsDescriptionBottomSheet.kt | 8 ++ .../health/symptoms/SymptomsScreen.kt | 8 ++ .../health/symptoms/SymptomsUiStateMapper.kt | 8 ++ .../health/symptoms/SymptomsViewModel.kt | 8 ++ .../engagehf/health/time/TimePickerState.kt | 8 ++ .../health/time/TimePickerStateMapper.kt | 8 ++ .../engagehf/health/weight/WeightScreen.kt | 8 ++ .../bottomsheet/AddWeightBottomSheet.kt | 8 ++ .../AddWeightBottomSheetUiState.kt | 8 ++ .../AddWeightBottomSheetViewModel.kt | 8 ++ .../WeightDescriptionBottomSheet.kt | 8 ++ .../localization/LocalizedMapReader.kt | 8 ++ .../medication/components/ColorKey.kt | 8 ++ .../components/DosageInformation.kt | 8 ++ .../medication/components/MedicationCard.kt | 8 ++ .../MedicationCardModelsProvider.kt | 8 ++ .../medication/components/MedicationList.kt | 8 ++ .../components/MedicationProgressBar.kt | 8 ++ .../components/MedicationSectionHeader.kt | 8 ++ .../components/MedicationStatusIcon.kt | 8 ++ .../data/MedicationRecommendation.kt | 8 ++ .../data/MedicationRecommendationMapper.kt | 8 ++ .../medication/data/MedicationRepository.kt | 8 ++ .../medication/ui/MedicationScreen.kt | 8 ++ .../medication/ui/MedicationUiState.kt | 8 ++ .../medication/ui/MedicationUiStateMapper.kt | 8 ++ .../medication/ui/MedicationViewModel.kt | 8 ++ .../messages/FirestoreMessageMapper.kt | 8 ++ .../stanford/bdh/engagehf/messages/Message.kt | 8 ++ .../bdh/engagehf/messages/MessageAction.kt | 8 ++ .../bdh/engagehf/messages/MessageItem.kt | 8 ++ .../engagehf/messages/MessageRepository.kt | 8 ++ .../bdh/engagehf/messages/MessagesHandler.kt | 8 ++ .../engagehf/navigation/AppNavigationEvent.kt | 8 ++ .../bdh/engagehf/navigation/NavTypeUtils.kt | 8 ++ .../bdh/engagehf/navigation/Routes.kt | 8 ++ .../navigation/components/AccountDialog.kt | 8 ++ .../components/AccountTopAppBarButton.kt | 8 ++ .../engagehf/navigation/screens/AppScreen.kt | 8 ++ .../navigation/screens/AppScreenViewModel.kt | 8 ++ .../observations/ObservationCollection.kt | 8 ++ .../ObservationCollectionProvider.kt | 8 ++ .../onboarding/EngageConsentManager.kt | 8 ++ .../EngageInvitationCodeRepository.kt | 8 ++ .../onboarding/EngageOnboardingRepository.kt | 8 ++ .../EngageSequentialOnboardingRepository.kt | 8 ++ .../onboarding/InvitationCodeScreen.kt | 8 ++ .../engagehf/onboarding/OnboardingModule.kt | 8 ++ .../engagehf/onboarding/OnboardingScreen.kt | 8 ++ .../phonenumber/AddPhoneNumberBottomSheet.kt | 8 ++ .../bdh/engagehf/phonenumber/CountryCode.kt | 8 ++ .../CountryCodeSelectionUiModel.kt | 8 ++ .../phonenumber/CountryCodeUiModel.kt | 8 ++ .../phonenumber/PhoneNumberInputUiModel.kt | 8 ++ .../phonenumber/PhoneNumberService.kt | 8 ++ .../PhoneNumberSettingsNavigationEvent.kt | 8 ++ .../phonenumber/PhoneNumberSettingsScreen.kt | 8 ++ .../phonenumber/PhoneNumberSettingsUiState.kt | 8 ++ .../PhoneNumberSettingsViewModel.kt | 8 ++ .../phonenumber/PhoneNumberUiModel.kt | 8 ++ .../phonenumber/VerificationCodeUiModel.kt | 8 ++ .../questionnaire/QuestionnaireRepository.kt | 8 ++ .../questionnaire/QuestionnaireScreen.kt | 8 ++ .../questionnaire/QuestionnaireViewModel.kt | 8 ++ .../res/drawable/ic_launcher_background.xml | 14 ++++ .../res/drawable/ic_launcher_foreground.xml | 14 ++++ .../res/mipmap-anydpi-v26/ic_launcher.xml | 14 ++++ .../mipmap-anydpi-v26/ic_launcher_round.xml | 14 ++++ .../main/res/values-de/engagehf_strings.xml | 14 ++++ .../main/res/values-es/engagehf_strings.xml | 14 ++++ app/src/main/res/values/colors.xml | 14 ++++ app/src/main/res/values/engagehf_strings.xml | 14 ++++ app/src/main/res/values/themes.xml | 14 ++++ app/src/main/res/xml/backup_rules.xml | 13 +++- .../main/res/xml/data_extraction_rules.xml | 13 +++- app/src/main/res/xml/file_paths.xml | 14 ++++ .../main/res/xml/network_security_config.xml | 14 ++++ .../bdh/engagehf/MainActivityViewModelTest.kt | 8 ++ .../engagehf/bluetooth/HomeViewModelTest.kt | 8 ++ .../data/mapper/BluetoothUiStateMapperTest.kt | 8 ++ .../data/mapper/MessageActionMapperTest.kt | 8 ++ .../MeasurementToObservationMapperTest.kt | 8 ++ .../BLEDevicePairingUiStateMapperTest.kt | 8 ++ .../pairing/BLEDevicePairingViewModelTest.kt | 8 ++ .../bluetooth/service/EngageBLEServiceTest.kt | 8 ++ .../service/mapper/BloodPressureMapperTest.kt | 8 ++ .../service/mapper/MeasurementMapperTest.kt | 8 ++ .../mapper/WeightMeasurementMapperTest.kt | 8 ++ .../ContactDocumentToContactMapperTest.kt | 8 ++ .../data/EngageContactRepositoryTest.kt | 8 ++ .../contact/ui/ContactScreenViewModelTest.kt | 8 ++ .../EngageEducationRepositoryTest.kt | 8 ++ ...SectionDocumentToVideoSectionMapperTest.kt | 8 ++ .../health/HealthRecordViewModelTest.kt | 8 ++ .../health/HealthUiStateMapperTest.kt | 8 ++ .../engagehf/health/HealthViewModelTest.kt | 8 ++ ...ddBloodPressureBottomSheetViewModelTest.kt | 8 ++ .../AddHeartRateBottomSheetViewModelTest.kt | 8 ++ .../summary/HealthSummaryRepositoryTest.kt | 8 ++ .../summary/HealthSummaryServiceTest.kt | 8 ++ .../summary/QRCodeImageBitmapGeneratorTest.kt | 8 ++ .../symptoms/SymptomsUiStateMapperTest.kt | 8 ++ .../health/symptoms/SymptomsViewModelTest.kt | 8 ++ .../health/time/TimePickerStateMapperTest.kt | 8 ++ .../AddWeightBottomSheetViewModelTest.kt | 8 ++ .../localization/LocalizedMapReaderTest.kt | 8 ++ .../MedicationRecommendationMapperTest.kt | 8 ++ .../data/MedicationRepositoryTest.kt | 8 ++ .../ui/MedicationUiStateMapperTest.kt | 8 ++ .../medication/ui/MedicationViewModelTest.kt | 8 ++ .../messages/FirestoreMessageMapperTest.kt | 8 ++ .../messages/MessageRepositoryTest.kt | 8 ++ .../engagehf/messages/MessagesHandlerTest.kt | 8 ++ .../screens/AppScreenViewModelTest.kt | 8 ++ .../onboarding/EngageConsentManagerTest.kt | 8 ++ .../phonenumber/PhoneNumberServiceTest.kt | 8 ++ .../PhoneNumberSettingsViewModelTest.kt | 8 ++ .../QuestionnaireRepositoryTest.kt | 8 ++ .../QuestionnaireViewModelTest.kt | 8 ++ build-logic/README.md | 14 ++++ build-logic/convention/build.gradle.kts | 8 ++ .../extensions/DependencyHandler.kt | 8 ++ .../logic/convention/extensions/Project.kt | 8 ++ .../build/logic/convention/model/PluginId.kt | 8 ++ .../plugins/DesugaringConventionPlugin.kt | 8 ++ .../plugins/HiltConventionPlugin.kt | 8 ++ .../plugins/SpeziAbstractConfigPlugin.kt | 8 ++ .../SpeziApplicationConventionPlugin.kt | 8 ++ .../SpeziBaseConfigConventionPlugin.kt | 8 ++ .../plugins/SpeziComposeConventionPlugin.kt | 8 ++ .../plugins/SpeziLibraryConventionPlugin.kt | 8 ++ .../SpeziSerializationConventionPlugin.kt | 8 ++ build-logic/gradle.properties | 8 ++ build-logic/settings.gradle.kts | 8 ++ build.gradle.kts | 8 ++ engagehf-modules/account/.gitignore | 8 ++ engagehf-modules/account/README.md | 14 ++++ engagehf-modules/account/build.gradle.kts | 8 ++ .../account/src/main/AndroidManifest.xml | 14 ++++ .../engagehf/modules/account/AccountEvents.kt | 8 ++ .../modules/account/AccountNavigationEvent.kt | 8 ++ .../modules/account/di/AccountModule.kt | 8 ++ .../modules/account/login/LoginScreen.kt | 8 ++ .../modules/account/login/LoginViewModel.kt | 8 ++ .../engagehf/modules/account/login/UiState.kt | 8 ++ .../components/SignInWithGoogleButton.kt | 8 ++ .../account/login/components/TextDivider.kt | 8 ++ .../account/manager/AuthenticationManager.kt | 8 ++ .../manager/FirebaseInvitationAuthManager.kt | 8 ++ .../account/manager/InvitationAuthManager.kt | 8 ++ .../modules/account/manager/UserInfo.kt | 8 ++ .../account/manager/UserSessionManager.kt | 8 ++ .../modules/account/manager/UserState.kt | 8 ++ .../modules/account/register/AuthValidator.kt | 8 ++ .../account/register/DatePickerDialog.kt | 8 ++ .../account/register/IconLeadingContent.kt | 8 ++ .../account/register/RegisterScreen.kt | 8 ++ .../account/register/RegisterUiState.kt | 8 ++ .../account/register/RegisterViewModel.kt | 8 ++ .../src/main/res/values/account_strings.xml | 14 ++++ .../account/src/main/res/values/secrets.xml | 14 ++++ .../modules/account/AccountEventsTest.kt | 8 ++ .../account/login/LoginViewModelTest.kt | 8 ++ .../manager/AuthenticationManagerTest.kt | 8 ++ .../account/manager/UserSessionManagerTest.kt | 8 ++ .../account/register/AuthValidatorTest.kt | 8 ++ .../account/register/RegisterViewModelTest.kt | 8 ++ engagehf-modules/bluetooth/.gitignore | 8 ++ engagehf-modules/bluetooth/README.md | 14 ++++ engagehf-modules/bluetooth/build.gradle.kts | 8 ++ .../bluetooth/src/main/AndroidManifest.xml | 14 ++++ .../modules/bluetooth/api/BLEService.kt | 8 ++ .../modules/bluetooth/di/BluetoothModule.kt | 8 ++ .../bluetooth/domain/BLEDeviceConnector.kt | 8 ++ .../domain/BLEDevicePairingNotifier.kt | 8 ++ .../bluetooth/domain/BLEDeviceScanner.kt | 8 ++ .../domain/BLEPairedDevicesStorage.kt | 8 ++ .../bluetooth/domain/BLEServiceImpl.kt | 8 ++ .../modules/bluetooth/model/BLEDevice.kt | 8 ++ .../bluetooth/model/BLEServiceEvent.kt | 8 ++ .../bluetooth/model/BLEServiceState.kt | 8 ++ .../modules/bluetooth/model/BLEServiceType.kt | 8 ++ .../domain/BLEDeviceConnectorTest.kt | 8 ++ .../domain/BLEDevicePairingNotifierTest.kt | 8 ++ .../bluetooth/domain/BLEDeviceScannerTest.kt | 8 ++ .../domain/BLEPairedDevicesStorageTest.kt | 8 ++ .../bluetooth/domain/BLEServiceTest.kt | 8 ++ .../bluetooth/model/BLEServiceTypeTest.kt | 8 ++ engagehf-modules/design/.gitignore | 8 ++ engagehf-modules/design/README.md | 14 ++++ engagehf-modules/design/build.gradle.kts | 8 ++ .../design/src/main/AndroidManifest.xml | 14 ++++ engagehf-modules/education/.gitignore | 8 ++ engagehf-modules/education/build.gradle.kts | 8 ++ .../modules/education/EducationModule.kt | 8 ++ .../education/video/VideoScreenSimulator.kt | 8 ++ .../education/video/VideoScreenTest.kt | 8 ++ .../videos/EducationScreenSimulator.kt | 8 ++ .../education/videos/EducationScreenTest.kt | 8 ++ .../education/src/main/AndroidManifest.xml | 14 ++++ .../education/EducationNavigationEvent.kt | 8 ++ .../modules/education/EducationRoutes.kt | 8 ++ .../modules/education/video/VideoScreen.kt | 8 ++ .../modules/education/video/VideoViewModel.kt | 8 ++ .../education/videos/EducationScreen.kt | 8 ++ .../education/videos/EducationUiState.kt | 8 ++ .../education/videos/EducationViewModel.kt | 8 ++ .../component/ExpandableVideoSection.kt | 8 ++ .../data/repository/EducationRepository.kt | 8 ++ .../src/main/res/values/education_strings.xml | 14 ++++ .../education/video/VideoViewModelTest.kt | 8 ++ .../videos/EducationViewModelTest.kt | 8 ++ .../modules/education/videos/VideoTest.kt | 8 ++ .../healthconnectonfhir/.gitignore | 8 ++ .../healthconnectonfhir/README.md | 14 ++++ .../healthconnectonfhir/build.gradle.kts | 8 ++ .../src/main/AndroidManifest.xml | 14 ++++ .../modules/healthconnectonfhir/Loinc.kt | 8 ++ .../modules/healthconnectonfhir/MappedUnit.kt | 8 ++ .../modules/healthconnectonfhir/Metadata.kt | 8 ++ .../ObservationsDocumentMapper.kt | 8 ++ .../QuestionnaireDocumentMapper.kt | 8 ++ .../RecordToObservationMapper.kt | 8 ++ .../di/HealthConnectOnFhirModule.kt | 8 ++ .../ObservationsDocumentMapperImpl.kt | 8 ++ .../QuestionnaireDocumentMapperImpl.kt | 8 ++ .../internal/RecordToObservationMapperImpl.kt | 8 ++ .../values/healthconnectonfhir_strings.xml | 14 ++++ .../ObservationsDocumentMapperImplTest.kt | 8 ++ .../QuestionnaireDocumentMapperTest.kt | 8 ++ .../RecordToObservationMapperTests.kt | 8 ++ engagehf-modules/navigation/.gitignore | 8 ++ engagehf-modules/navigation/README.MD | 14 ++++ engagehf-modules/navigation/build.gradle.kts | 8 ++ .../navigation/src/main/AndroidManifest.xml | 14 ++++ .../modules/navigation/NavigationEvent.kt | 8 ++ .../engagehf/modules/navigation/Navigator.kt | 8 ++ .../modules/navigation/di/NavigationModule.kt | 8 ++ .../navigation/internal/NavigatorImpl.kt | 8 ++ engagehf-modules/notification/.gitignore | 8 ++ engagehf-modules/notification/README.MD | 14 ++++ .../notification/build.gradle.kts | 8 ++ .../fcm/DeviceRegistrationServiceTest.kt | 8 ++ .../notification/src/main/AndroidManifest.xml | 14 ++++ .../NotificationNavigationEvent.kt | 8 ++ .../notification/NotificationPermissions.kt | 8 ++ .../notification/NotificationRoutes.kt | 8 ++ .../notification/di/NotificationModule.kt | 8 ++ .../fcm/DeviceRegistrationService.kt | 8 ++ .../fcm/FCMNotificationService.kt | 8 ++ .../notification/notifier/FirebaseMessage.kt | 8 ++ .../notifier/NotificationNotifier.kt | 8 ++ .../notification/notifier/Notifications.kt | 8 ++ .../setting/NotificationSettingScreen.kt | 8 ++ .../setting/NotificationSettingViewModel.kt | 8 ++ .../setting/NotificationSettings.kt | 8 ++ .../setting/NotificationSettingsRepository.kt | 8 ++ .../NotificationSettingsStateMapper.kt | 8 ++ .../res/values-de/notification_strings.xml | 14 ++++ .../main/res/values/notification_strings.xml | 14 ++++ .../NotificationPermissionsTest.kt | 8 ++ .../NotificationSettingViewModelTest.kt | 8 ++ .../NotificationSettingsRepositoryTest.kt | 8 ++ .../NotificationSettingsStateMapperTest.kt | 8 ++ engagehf-modules/onboarding/.gitignore | 8 ++ engagehf-modules/onboarding/README.md | 14 ++++ engagehf-modules/onboarding/build.gradle.kts | 8 ++ .../modules/onboarding/OnboardingViewTest.kt | 8 ++ .../onboarding/di/TestOnboardingModule.kt | 8 ++ .../fakes/FakeOnboardingRepository.kt | 8 ++ .../simulator/OnboardingScreenSimulator.kt | 8 ++ .../onboarding/src/main/AndroidManifest.xml | 14 ++++ .../onboarding/OnboardingNavigationEvent.kt | 8 ++ .../onboarding/consent/ConsentManager.kt | 8 ++ .../onboarding/consent/ConsentScreen.kt | 8 ++ .../onboarding/consent/ConsentUiState.kt | 8 ++ .../onboarding/consent/ConsentViewModel.kt | 8 ++ .../onboarding/consent/PdfCreationService.kt | 8 ++ .../onboarding/consent/SignatureCanvas.kt | 8 ++ .../onboarding/consent/SignaturePad.kt | 8 ++ .../invitation/InvitationCodeRepository.kt | 8 ++ .../invitation/InvitationCodeUiState.kt | 8 ++ .../invitation/InvitationCodeView.kt | 8 ++ .../invitation/InvitationCodeViewData.kt | 8 ++ .../invitation/InvitationCodeViewModel.kt | 8 ++ .../modules/onboarding/onboarding/Area.kt | 8 ++ .../onboarding/onboarding/OnboardingData.kt | 8 ++ .../onboarding/OnboardingRepository.kt | 8 ++ .../onboarding/OnboardingUiState.kt | 8 ++ .../onboarding/onboarding/OnboardingView.kt | 8 ++ .../onboarding/OnboardingViewModel.kt | 8 ++ .../sequential/SequentialOnboardingData.kt | 8 ++ .../SequentialOnboardingRepository.kt | 8 ++ .../sequential/SequentialOnboardingScreen.kt | 8 ++ .../sequential/SequentialOnboardingUiState.kt | 8 ++ .../SequentialOnboardingViewModel.kt | 8 ++ .../modules/onboarding/sequential/Step.kt | 8 ++ .../components/OnboardingViewPage.kt | 8 ++ .../sequential/components/PageIndicator.kt | 8 ++ .../main/res/values/onboarding_strings.xml | 14 ++++ .../consent/ConsentViewModelTest.kt | 8 ++ .../invitation/InvitationCodeViewModelTest.kt | 8 ++ .../onboarding/OnboardingViewModelTest.kt | 8 ++ .../SequentialOnboardingViewModelTest.kt | 8 ++ engagehf-modules/testing/.gitignore | 8 ++ engagehf-modules/testing/README.md | 14 ++++ engagehf-modules/testing/build.gradle.kts | 8 ++ .../testing/src/main/AndroidManifest.xml | 14 ++++ .../modules/testing/CoroutineTestRule.kt | 8 ++ .../bdh/engagehf/modules/testing/Mockk.kt | 8 ++ .../bdh/engagehf/modules/testing/RunTest.kt | 8 ++ .../modules/testing/SpeziTestScope.kt | 8 ++ .../bdh/engagehf/modules/testing/Task.kt | 8 ++ .../testing/TestDispatchersProvider.kt | 8 ++ engagehf-modules/utils/.gitignore | 8 ++ engagehf-modules/utils/README.md | 14 ++++ engagehf-modules/utils/build.gradle.kts | 8 ++ .../utils/HiltApplicationTestRunner.kt | 8 ++ .../modules/utils/MessageNotifierTest.kt | 8 ++ .../utils/src/main/AndroidManifest.xml | 14 ++++ .../bdh/engagehf/modules/utils/BuildInfo.kt | 8 ++ .../engagehf/modules/utils/DateFormatter.kt | 8 ++ .../engagehf/modules/utils/LocaleProvider.kt | 8 ++ .../engagehf/modules/utils/MessageNotifier.kt | 8 ++ .../modules/utils/PermissionChecker.kt | 8 ++ .../engagehf/modules/utils/TimeProvider.kt | 8 ++ .../bdh/engagehf/modules/utils/Typealiases.kt | 8 ++ .../engagehf/modules/utils/di/UtilsModule.kt | 8 ++ .../modules/utils/extensions/Double.kt | 8 ++ .../utils/extensions/SavedStateHandle.kt | 8 ++ .../engagehf/modules/utils/BuildInfoTest.kt | 8 ++ .../modules/utils/DateFormatterTest.kt | 8 ++ .../modules/utils/DoubleRoundingTest.kt | 8 ++ .../modules/utils/TimeProviderTest.kt | 8 ++ fastlane/.gitignore | 2 +- fastlane/Fastfile | 2 +- gradle.properties | 8 ++ gradle/libs.versions.toml | 8 ++ gradle/tasks/git-hooks.gradle.kts | 8 ++ internal/detekt-config.yml | 8 ++ internal/git-hooks/pre-commit.sh | 8 ++ internal/guides/Detekt.md | 14 ++++ internal/spezi_code_style.xml | 14 ++++ settings.gradle.kts | 8 ++ spezi/contact/.gitignore | 8 ++ spezi/contact/build.gradle.kts | 8 ++ .../spezi/contact/ContactContentTest.kt | 8 ++ .../stanford/spezi/contact/ContactFactory.kt | 8 ++ .../spezi/contact/ContactsListTest.kt | 8 ++ .../simulator/ContactContentSimulator.kt | 8 ++ .../contact/simulator/ContactListSimulator.kt | 8 ++ spezi/contact/src/main/AndroidManifest.xml | 14 ++++ .../edu/stanford/spezi/contact/AddressCard.kt | 8 ++ .../spezi/contact/AddressFormatting.kt | 8 ++ .../edu/stanford/spezi/contact/Contact.kt | 8 ++ .../stanford/spezi/contact/ContactOption.kt | 8 ++ .../spezi/contact/ContactOptionCall.kt | 8 ++ .../spezi/contact/ContactOptionEmail.kt | 8 ++ .../spezi/contact/ContactOptionText.kt | 8 ++ .../spezi/contact/ContactOptionWebsite.kt | 8 ++ .../stanford/spezi/contact/ContactsList.kt | 8 ++ .../src/main/res/values/contact_strings.xml | 14 ++++ spezi/core-coroutines/.gitignore | 8 ++ spezi/core-coroutines/build.gradle.kts | 8 ++ .../src/main/AndroidManifest.xml | 14 ++++ .../spezi/core/coroutines/CoroutinesModule.kt | 8 ++ .../core/coroutines/DispatchersProvider.kt | 8 ++ .../spezi/core/coroutines/Dispatching.kt | 8 ++ .../core/coroutines/CoroutinesModuleTest.kt | 8 ++ spezi/core-logging/.gitignore | 8 ++ spezi/core-logging/build.gradle.kts | 8 ++ .../core-logging/src/main/AndroidManifest.xml | 14 ++++ .../edu/stanford/spezi/core/logging/Api.kt | 8 ++ .../stanford/spezi/core/logging/LogLogger.kt | 8 ++ .../spezi/core/logging/LoggerConfig.kt | 8 ++ .../spezi/core/logging/LoggingStrategy.kt | 8 ++ .../spezi/core/logging/PrintLogger.kt | 8 ++ .../spezi/core/logging/SpeziLogger.kt | 8 ++ .../spezi/core/logging/TimberLogger.kt | 8 ++ .../stanford/spezi/core/logging/_Logger.kt | 8 ++ .../spezi/core/logging/SpeziLoggerTest.kt | 8 ++ spezi/core/.gitignore | 8 ++ spezi/core/build.gradle.kts | 8 ++ spezi/core/src/main/AndroidManifest.xml | 14 ++++ .../stanford/spezi/core/ApplicationModule.kt | 8 ++ .../edu/stanford/spezi/core/Configuration.kt | 8 ++ .../spezi/core/ConfigurationBuilder.kt | 8 ++ .../kotlin/edu/stanford/spezi/core/Context.kt | 8 ++ .../stanford/spezi/core/DefaultInitializer.kt | 8 ++ .../stanford/spezi/core/DependenciesGraph.kt | 8 ++ .../edu/stanford/spezi/core/Dependency.kt | 8 ++ .../kotlin/edu/stanford/spezi/core/Module.kt | 8 ++ .../stanford/spezi/core/SpeziApplication.kt | 8 ++ .../edu/stanford/spezi/core/SpeziError.kt | 8 ++ .../stanford/spezi/core/internal/ModuleKey.kt | 8 ++ .../spezi/core/internal/ModuleRegistry.kt | 8 ++ .../edu/stanford/spezi/core/internal/Spezi.kt | 8 ++ .../SpeziApplicationContentProvider.kt | 8 ++ .../spezi/core/internal/SpeziCoreLogger.kt | 8 ++ .../spezi/core/internal/SpeziTests.kt | 8 ++ spezi/foundation/.gitignore | 8 ++ spezi/foundation/build.gradle.kts | 8 ++ spezi/foundation/src/main/AndroidManifest.xml | 14 ++++ .../foundation/ComputedKnowledgeSource.kt | 8 ++ .../DefaultProvidingKnowledgeSource.kt | 8 ++ .../spezi/foundation/KnowledgeSource.kt | 8 ++ .../spezi/foundation/ObjectIdentifier.kt | 8 ++ .../OptionalComputedKnowledgeSource.kt | 8 ++ .../spezi/foundation/RepositoryAnchor.kt | 8 ++ .../spezi/foundation/SharedRepository.kt | 8 ++ .../foundation/SomeComputedKnowledgeSource.kt | 8 ++ .../spezi/foundation/TypeReference.kt | 8 ++ .../edu/stanford/spezi/foundation/UUID.kt | 8 ++ .../spezi/foundation/ValueRepository.kt | 8 ++ .../spezi/foundation/ObjectIdentifierTest.kt | 8 ++ .../spezi/foundation/SharedRepositoryTest.kt | 8 ++ .../spezi/foundation/TypeReferenceTests.kt | 8 ++ spezi/questionnaire/.gitignore | 8 ++ spezi/questionnaire/build.gradle.kts | 8 ++ .../spezi/questionnaire/QuestionnaireTest.kt | 8 ++ .../QuestionnaireTestComposable.kt | 8 ++ .../simulators/QuestionnaireTestSimulator.kt | 8 ++ .../src/main/AndroidManifest.xml | 14 ++++ .../spezi/questionnaire/CancelBehavior.kt | 8 ++ .../questionnaire/QuestionnaireComposable.kt | 8 ++ .../questionnaire/QuestionnaireResult.kt | 8 ++ .../main/res/values/questionnaire_strings.xml | 14 ++++ spezi/storage-credential/.gitignore | 8 ++ spezi/storage-credential/build.gradle.kts | 8 ++ .../credential/CredentialStorageTests.kt | 8 ++ .../storage/credential/InMemoryStorageTest.kt | 8 ++ .../storage/credential/KeyValueStorageTest.kt | 8 ++ .../src/main/AndroidManifest.xml | 14 ++++ .../spezi/storage/credential/Credential.kt | 8 ++ .../storage/credential/CredentialStorage.kt | 8 ++ .../storage/credential/CredentialTypes.kt | 8 ++ .../credential/InMemoryKeyValueStorage.kt | 8 ++ .../storage/credential/KeyValueStorage.kt | 8 ++ .../credential/KeyValueStorageFactory.kt | 8 ++ .../storage/credential/KeyValueStorageImpl.kt | 8 ++ .../storage/credential/KeyValueStorageType.kt | 8 ++ .../spezi/storage/credential/Storage.kt | 8 ++ .../spezi/storage/credential/StorageModule.kt | 8 ++ spezi/storage-local/.gitignore | 8 ++ spezi/storage-local/build.gradle.kts | 8 ++ .../spezi/storage/local/KeyStorageTests.kt | 8 ++ .../spezi/storage/local/LocalStorageTests.kt | 8 ++ .../src/main/AndroidManifest.xml | 14 ++++ .../spezi/storage/local/KeyStorage.kt | 8 ++ .../spezi/storage/local/LocalStorage.kt | 8 ++ .../spezi/storage/local/LocalStorageModule.kt | 8 ++ .../storage/local/LocalStorageSetting.kt | 8 ++ spezi/testing-ui/.gitignore | 8 ++ spezi/testing-ui/build.gradle.kts | 8 ++ spezi/testing-ui/src/main/AndroidManifest.xml | 14 ++++ .../testing/ui/ComposeContentActivity.kt | 8 ++ .../testing/ui/HiltApplicationTestRunner.kt | 8 ++ .../ui/SemanticsNodeInteractionsProvider.kt | 8 ++ spezi/ui-markdown/.gitignore | 8 ++ spezi/ui-markdown/build.gradle.kts | 8 ++ .../spezi/ui/markdown/MarkdownTest.kt | 8 ++ .../ui/markdown/MarkdownTestComposable.kt | 8 ++ .../ui/markdown/MarkdownTestSimulator.kt | 8 ++ .../ui-markdown/src/main/AndroidManifest.xml | 14 ++++ .../stanford/spezi/ui/markdown/Markdown.kt | 8 ++ .../spezi/ui/markdown/MarkdownComposable.kt | 8 ++ .../spezi/ui/markdown/MarkdownElement.kt | 8 ++ .../spezi/ui/markdown/MarkdownParser.kt | 8 ++ spezi/ui-personalinfo/.gitignore | 8 ++ spezi/ui-personalinfo/build.gradle.kts | 8 ++ .../spezi/ui/personalinfo/NameFieldsTest.kt | 8 ++ .../composables/NameFieldsTestComposable.kt | 8 ++ .../simulators/NameFieldsTestSimulator.kt | 8 ++ .../simulators/UserProfileTestSimulator.kt | 8 ++ .../src/main/AndroidManifest.xml | 14 ++++ .../ui/personalinfo/BasicNameFieldRow.kt | 8 ++ .../ui/personalinfo/BasicNameTextField.kt | 8 ++ .../spezi/ui/personalinfo/KeyboardOptions.kt | 8 ++ .../spezi/ui/personalinfo/NameFieldRow.kt | 8 ++ .../spezi/ui/personalinfo/NameTextField.kt | 8 ++ .../ui/personalinfo/OutlinedNameFieldRow.kt | 8 ++ .../ui/personalinfo/OutlinedNameTextField.kt | 8 ++ .../ui/personalinfo/PersonNameComponents.kt | 8 ++ .../spezi/ui/personalinfo/UserProfile.kt | 8 ++ spezi/ui-theme/.gitignore | 8 ++ spezi/ui-theme/build.gradle.kts | 8 ++ spezi/ui-theme/src/main/AndroidManifest.xml | 14 ++++ .../edu/stanford/spezi/ui/theme/Colors.kt | 8 ++ .../edu/stanford/spezi/ui/theme/Sizes.kt | 8 ++ .../edu/stanford/spezi/ui/theme/Spacings.kt | 8 ++ .../stanford/spezi/ui/theme/SpeziKtTheme.kt | 8 ++ .../edu/stanford/spezi/ui/theme/TextStyles.kt | 8 ++ .../stanford/spezi/ui/theme/ThemePreviews.kt | 8 ++ spezi/ui/.gitignore | 8 ++ spezi/ui/build.gradle.kts | 8 ++ .../edu/stanford/spezi/ui/AsyncButtonTest.kt | 8 ++ .../spezi/ui/RepeatingLazyColumnTest.kt | 8 ++ .../stanford/spezi/ui/ShimmerEffectTest.kt | 8 ++ .../stanford/spezi/ui/SuspendButtonTest.kt | 8 ++ .../spezi/ui/SuspendButtonTestComposable.kt | 8 ++ .../spezi/ui/SuspendButtonTestSimulator.kt | 8 ++ spezi/ui/src/main/AndroidManifest.xml | 14 ++++ .../edu/stanford/spezi/ui/AppTopAppBar.kt | 8 ++ .../edu/stanford/spezi/ui/AsyncButton.kt | 8 ++ .../stanford/spezi/ui/AsyncImageResource.kt | 8 ++ .../edu/stanford/spezi/ui/AsyncSwitch.kt | 8 ++ .../spezi/ui/BottomSheetComposableContent.kt | 8 ++ .../stanford/spezi/ui/CenteredBoxContent.kt | 8 ++ .../kotlin/edu/stanford/spezi/ui/Colors.kt | 8 ++ .../edu/stanford/spezi/ui/CommonScaffold.kt | 8 ++ .../edu/stanford/spezi/ui/ComposableBlock.kt | 8 ++ .../stanford/spezi/ui/ComposableContent.kt | 8 ++ .../stanford/spezi/ui/DefaultElevatedCard.kt | 8 ++ .../stanford/spezi/ui/DescriptionGridRow.kt | 8 ++ .../spezi/ui/DialogComposableContent.kt | 8 ++ .../edu/stanford/spezi/ui/ImageResource.kt | 8 ++ .../edu/stanford/spezi/ui/LifecycleEvent.kt | 8 ++ .../kotlin/edu/stanford/spezi/ui/Modifier.kt | 8 ++ .../edu/stanford/spezi/ui/OperationState.kt | 8 ++ .../stanford/spezi/ui/OperationStateAlert.kt | 8 ++ .../edu/stanford/spezi/ui/PendingActions.kt | 8 ++ .../stanford/spezi/ui/PermissionRequester.kt | 8 ++ .../stanford/spezi/ui/ProcessingOverlay.kt | 8 ++ .../stanford/spezi/ui/RepeatingLazyColumn.kt | 8 ++ .../edu/stanford/spezi/ui/SemanticKeys.kt | 8 ++ .../edu/stanford/spezi/ui/ShimmerEffect.kt | 8 ++ .../edu/stanford/spezi/ui/StringResource.kt | 8 ++ .../edu/stanford/spezi/ui/SuspendButton.kt | 8 ++ .../edu/stanford/spezi/ui/TestIdentifier.kt | 8 ++ .../spezi/ui/ValidatedOutlinedTextField.kt | 8 ++ .../edu/stanford/spezi/ui/VerticalSpacer.kt | 8 ++ .../kotlin/edu/stanford/spezi/ui/ViewState.kt | 8 ++ .../edu/stanford/spezi/ui/ViewStateAlert.kt | 8 ++ .../edu/stanford/spezi/ui/ViewStateMapper.kt | 8 ++ spezi/ui/src/main/res/values/strings.xml | 14 ++++ 646 files changed, 5683 insertions(+), 10 deletions(-) create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/repository-standards.yml create mode 100644 CITATION.cff create mode 100644 CONTRIBUTORS.md create mode 100644 LICENSE.md create mode 100644 LICENSES/Apache-2.0.txt create mode 100644 LICENSES/LicenseRef-Google-Trademarks.txt create mode 100644 LICENSES/MIT.txt create mode 100644 REUSE.toml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..66b40811 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,26 @@ +# +# This source file is part of the ENGAGE-HF Android open-source project +# +# SPDX-FileCopyrightText: 2026 Stanford University and the project authors (see CONTRIBUTORS.md) +# +# SPDX-License-Identifier: MIT +# + +version: 2 +multi-ecosystem-groups: + weekly-dependencies: + schedule: + interval: "weekly" +updates: + - package-ecosystem: "github-actions" + directory: "/" + patterns: ["*"] + multi-ecosystem-group: "weekly-dependencies" + - package-ecosystem: "gradle" + directory: "/" + patterns: ["*"] + multi-ecosystem-group: "weekly-dependencies" + - package-ecosystem: "bundler" + directory: "/" + patterns: ["*"] + multi-ecosystem-group: "weekly-dependencies" diff --git a/.github/workflows/build-test-analyze.yml b/.github/workflows/build-test-analyze.yml index 4283dc5c..78042673 100644 --- a/.github/workflows/build-test-analyze.yml +++ b/.github/workflows/build-test-analyze.yml @@ -1,5 +1,5 @@ # -# This source file is part of the Stanford Spezi open-source project +# This source file is part of the ENGAGE-HF Android open-source project # # SPDX-FileCopyrightText: 2024 Stanford University # diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 925b786c..3490b041 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -1,5 +1,5 @@ # -# This source file is part of the Stanford Spezi open-source project +# This source file is part of the ENGAGE-HF Android open-source project # # SPDX-FileCopyrightText: 2024 Stanford University # diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index c08e761f..d9ea645a 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -1,5 +1,5 @@ # -# This source file is part of the Stanford Spezi open-source project +# This source file is part of the ENGAGE-HF Android open-source project # # SPDX-FileCopyrightText: 2024 Stanford University # diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8e8ba689..105186fd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,5 +1,5 @@ # -# This source file is part of the Stanford Spezi open-source project +# This source file is part of the ENGAGE-HF Android open-source project # # SPDX-FileCopyrightText: 2024 Stanford University # diff --git a/.github/workflows/repository-standards.yml b/.github/workflows/repository-standards.yml new file mode 100644 index 00000000..052b0470 --- /dev/null +++ b/.github/workflows/repository-standards.yml @@ -0,0 +1,24 @@ +# +# This source file is part of the ENGAGE-HF Android open-source project +# +# SPDX-FileCopyrightText: 2025 Stanford University and the project authors (see CONTRIBUTORS.md) +# +# SPDX-License-Identifier: MIT +# + +name: Repository Standards + +on: + pull_request: + push: + branches: [main] + workflow_dispatch: + +permissions: + contents: read + pull-requests: read + +jobs: + standards: + name: Standards + uses: SchmiedmayerLab/.github/.github/workflows/repository-standards.yml@v0.5 diff --git a/.gitignore b/.gitignore index 967d547e..4df47357 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,11 @@ +# +# This source file is part of the ENGAGE-HF Android open-source project +# +# SPDX-FileCopyrightText: 2025 Stanford University and the project authors (see CONTRIBUTORS.md) +# +# SPDX-License-Identifier: MIT +# + # Compiled class file *.class *.dex diff --git a/CITATION.cff b/CITATION.cff new file mode 100644 index 00000000..c20c3e80 --- /dev/null +++ b/CITATION.cff @@ -0,0 +1,24 @@ +# +# This source file is part of the ENGAGE-HF Android open-source project +# +# SPDX-FileCopyrightText: 2025 Stanford University and the project authors (see CONTRIBUTORS.md) +# +# SPDX-License-Identifier: MIT +# + +cff-version: 1.2.0 +message: "If you use this software, please cite it as below." +type: software +authors: +- family-names: "Cano" + given-names: "Eldi" +- family-names: "Kraft" + given-names: "Paul Johannes" + orcid: "https://orcid.org/0000-0001-8157-8151" +- family-names: "Schmiedmayer" + given-names: "Paul" + orcid: "https://orcid.org/0000-0002-8607-9148" +title: "ENGAGE-HF Android" +license: MIT +url: "https://github.com/SchmiedmayerLab/ENGAGE-HF-Android" +repository-code: "https://github.com/SchmiedmayerLab/ENGAGE-HF-Android" diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md new file mode 100644 index 00000000..74b183a4 --- /dev/null +++ b/CONTRIBUTORS.md @@ -0,0 +1,14 @@ + + +# ENGAGE-HF Android Contributors +* [Eldi Cano](https://github.com/eldcn) +* [Paul Johannes Kraft](https://github.com/pauljohanneskraft) +* [Paul Schmiedmayer](https://github.com/PSchmiedmayer) diff --git a/Gemfile b/Gemfile index 9c06869e..ab7ce367 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,5 @@ # -# This source file is part of the Stanford Spezi open-source project +# This source file is part of the ENGAGE-HF Android open-source project # # SPDX-FileCopyrightText: 2024 Stanford University # diff --git a/LICENSE b/LICENSE index e0e14263..5ba4803e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2025 Stanford Biodesign Digital Health +Copyright (c) 2025 Stanford University and the project authors (see CONTRIBUTORS.md) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 00000000..5ba4803e --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 Stanford University and the project authors (see CONTRIBUTORS.md) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/LICENSES/Apache-2.0.txt b/LICENSES/Apache-2.0.txt new file mode 100644 index 00000000..137069b8 --- /dev/null +++ b/LICENSES/Apache-2.0.txt @@ -0,0 +1,73 @@ +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + +"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + +"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + +"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + +"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + +"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + +"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + +"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + +"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + +"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + +"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. diff --git a/LICENSES/LicenseRef-Google-Trademarks.txt b/LICENSES/LicenseRef-Google-Trademarks.txt new file mode 100644 index 00000000..bb3e9f7d --- /dev/null +++ b/LICENSES/LicenseRef-Google-Trademarks.txt @@ -0,0 +1,2 @@ +The Google name, wordmark and logo are trademarks of Google LLC. Use of these marks is subject to +Google's brand permissions and is not granted by the licence covering this repository. diff --git a/LICENSES/MIT.txt b/LICENSES/MIT.txt new file mode 100644 index 00000000..27aadfb8 --- /dev/null +++ b/LICENSES/MIT.txt @@ -0,0 +1,18 @@ +MIT License + +Copyright (c) 2025 Stanford University and the project authors (see CONTRIBUTORS.md) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and +associated documentation files (the "Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the +following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial +portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT +LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO +EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md index ddafe15c..e922f766 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,37 @@ + + # ENGAGE-HF-Android + +[![Build and Test](https://github.com/SchmiedmayerLab/ENGAGE-HF-Android/actions/workflows/build-test-analyze.yml/badge.svg)](https://github.com/SchmiedmayerLab/ENGAGE-HF-Android/actions/workflows/build-test-analyze.yml) +[![Deployment](https://github.com/SchmiedmayerLab/ENGAGE-HF-Android/actions/workflows/deployment.yml/badge.svg)](https://github.com/SchmiedmayerLab/ENGAGE-HF-Android/actions/workflows/deployment.yml) +[![REUSE status](https://api.reuse.software/badge/github.com/SchmiedmayerLab/ENGAGE-HF-Android)](https://api.reuse.software/info/github.com/SchmiedmayerLab/ENGAGE-HF-Android) +[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/SchmiedmayerLab/ENGAGE-HF-Android/blob/main/LICENSE.md) + ENGAGE-HF Android Application + +## Contributing + +Contributions to this project are welcome. Please make sure to read the [contribution guidelines](https://github.com/SchmiedmayerLab/.github/blob/main/CONTRIBUTING.md) and the [contributor covenant code of conduct](https://github.com/SchmiedmayerLab/.github/blob/main/CODE_OF_CONDUCT.md) first. You can find a list of contributors in the [CONTRIBUTORS.md](CONTRIBUTORS.md) file. + +## License + +This project is licensed under the MIT License. See [LICENSE.md](LICENSE.md) for more information. + +## Citation + +If you use this software, please cite it using the metadata in [CITATION.cff](CITATION.cff), which GitHub surfaces through the [*Cite this repository*](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-citation-files) button. + +## Our Research + +For more information, visit the [Schmiedmayer Lab GitHub organization](https://github.com/SchmiedmayerLab). + +![Schmiedmayer Lab](https://raw.githubusercontent.com/SchmiedmayerLab/.github/main/assets/footer-light.png#gh-light-mode-only) +![Schmiedmayer Lab](https://raw.githubusercontent.com/SchmiedmayerLab/.github/main/assets/footer-dark.png#gh-dark-mode-only) diff --git a/REUSE.toml b/REUSE.toml new file mode 100644 index 00000000..e71a2a6b --- /dev/null +++ b/REUSE.toml @@ -0,0 +1,58 @@ +version = 1 + +[[annotations]] +path = ["gradlew", "gradlew.bat", "gradle/wrapper/**"] +SPDX-FileCopyrightText = "Gradle Inc." +SPDX-License-Identifier = "Apache-2.0" + +# Images, fixtures and generated files cannot carry an SPDX header. +[[annotations]] +path = [ + "app/google-services.json", + "app/src/main/ic_launcher-playstore.png", + "app/src/main/res/drawable/ic_engage_hf.png", + "app/src/main/res/mipmap-hdpi/**.webp", + "app/src/main/res/mipmap-mdpi/**.webp", + "app/src/main/res/mipmap-xhdpi/**.webp", + "app/src/main/res/mipmap-xxhdpi/**.webp", + "app/src/main/res/mipmap-xxxhdpi/**.webp", + "app/src/main/res/raw/country_emojis.json", + "engagehf-modules/onboarding/screens/**.jpg", + "fastlane/metadata/android/en-US/**.txt", + "fastlane/metadata/android/en-US/images/featureGraphic.png", + "fastlane/metadata/android/en-US/images/icon.png", + "fastlane/metadata/android/en-US/images/phoneScreenshots/**.png", + "fastlane/metadata/android/en-US/images/sevenInchScreenshots/**.png", + "fastlane/metadata/android/en-US/images/tenInchScreenshots/**.png", + "internal/guides/resources/**.png", +] +SPDX-FileCopyrightText = "2025 Stanford University and the project authors (see CONTRIBUTORS.md)" +SPDX-License-Identifier = "MIT" + +# Material Symbols exported from Google's icon set. +[[annotations]] +path = [ + "engagehf-modules/design/src/main/res/drawable/ic_arrow_up.xml", + "engagehf-modules/design/src/main/res/drawable/ic_assignment.xml", + "engagehf-modules/design/src/main/res/drawable/ic_blood_pressure.xml", + "engagehf-modules/design/src/main/res/drawable/ic_bluetooth.xml", + "engagehf-modules/design/src/main/res/drawable/ic_check.xml", + "engagehf-modules/design/src/main/res/drawable/ic_groups.xml", + "engagehf-modules/design/src/main/res/drawable/ic_home.xml", + "engagehf-modules/design/src/main/res/drawable/ic_info.xml", + "engagehf-modules/design/src/main/res/drawable/ic_medication.xml", + "engagehf-modules/design/src/main/res/drawable/ic_monitor_weight.xml", + "engagehf-modules/design/src/main/res/drawable/ic_school.xml", + "engagehf-modules/design/src/main/res/drawable/ic_visibility.xml", + "engagehf-modules/design/src/main/res/drawable/ic_visibility_off.xml", + "engagehf-modules/design/src/main/res/drawable/ic_vital_signs.xml", +] +SPDX-FileCopyrightText = "Google LLC" +SPDX-License-Identifier = "Apache-2.0" + +# The Google wordmark is a trademark and is not redistributable under the project licence. +[[annotations]] +path = ["engagehf-modules/design/src/main/res/drawable/ic_google.xml"] +SPDX-FileCopyrightText = "Google LLC" +SPDX-License-Identifier = "LicenseRef-Google-Trademarks" + diff --git a/app/.gitignore b/app/.gitignore index 42afabfd..2e139189 100644 --- a/app/.gitignore +++ b/app/.gitignore @@ -1 +1,9 @@ +# +# This source file is part of the ENGAGE-HF Android open-source project +# +# SPDX-FileCopyrightText: 2025 Stanford University and the project authors (see CONTRIBUTORS.md) +# +# SPDX-License-Identifier: MIT +# + /build \ No newline at end of file diff --git a/app/README.md b/app/README.md index b9e9f095..2262f5f5 100644 --- a/app/README.md +++ b/app/README.md @@ -1,3 +1,17 @@ + + # Module app The Template App is an integral part of the Stanford Spezi Framework and is intended to show how diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 03107745..7c05b968 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -1,3 +1,11 @@ +// +// This source file is part of the ENGAGE-HF Android open-source project +// +// SPDX-FileCopyrightText: 2025 Stanford University and the project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + plugins { alias(libs.plugins.spezi.application) alias(libs.plugins.spezi.compose) diff --git a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/AppNavigationTest.kt b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/AppNavigationTest.kt index 9ec6330f..d74d8b9b 100644 --- a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/AppNavigationTest.kt +++ b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/AppNavigationTest.kt @@ -1,3 +1,11 @@ +// +// This source file is part of the ENGAGE-HF Android open-source project +// +// SPDX-FileCopyrightText: 2025 Stanford University and the project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + package edu.stanford.bdh.engagehf import android.Manifest diff --git a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/AppTest.kt b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/AppTest.kt index b5428ac8..4fda4201 100644 --- a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/AppTest.kt +++ b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/AppTest.kt @@ -1,3 +1,11 @@ +// +// This source file is part of the ENGAGE-HF Android open-source project +// +// SPDX-FileCopyrightText: 2025 Stanford University and the project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + package edu.stanford.bdh.engagehf import androidx.compose.ui.test.junit4.createAndroidComposeRule diff --git a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/OnboardingFlowTest.kt b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/OnboardingFlowTest.kt index fae41aec..093e3fa1 100644 --- a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/OnboardingFlowTest.kt +++ b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/OnboardingFlowTest.kt @@ -1,3 +1,11 @@ +// +// This source file is part of the ENGAGE-HF Android open-source project +// +// SPDX-FileCopyrightText: 2025 Stanford University and the project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + package edu.stanford.bdh.engagehf import androidx.compose.ui.test.junit4.createAndroidComposeRule diff --git a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/bluetooth/component/DoNewMeasurementBottomSheetKtTest.kt b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/bluetooth/component/DoNewMeasurementBottomSheetKtTest.kt index 15f81128..bcb3a9ab 100644 --- a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/bluetooth/component/DoNewMeasurementBottomSheetKtTest.kt +++ b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/bluetooth/component/DoNewMeasurementBottomSheetKtTest.kt @@ -1,3 +1,11 @@ +// +// This source file is part of the ENGAGE-HF Android open-source project +// +// SPDX-FileCopyrightText: 2025 Stanford University and the project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + package edu.stanford.bdh.engagehf.bluetooth.component import androidx.compose.ui.test.junit4.createComposeRule diff --git a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/bluetooth/screen/HomeScreenTest.kt b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/bluetooth/screen/HomeScreenTest.kt index bd7cc4ec..e675b3ca 100644 --- a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/bluetooth/screen/HomeScreenTest.kt +++ b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/bluetooth/screen/HomeScreenTest.kt @@ -1,3 +1,11 @@ +// +// This source file is part of the ENGAGE-HF Android open-source project +// +// SPDX-FileCopyrightText: 2025 Stanford University and the project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + package edu.stanford.bdh.engagehf.bluetooth.screen import android.Manifest diff --git a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/bluetooth/screen/MeasurementDialogTest.kt b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/bluetooth/screen/MeasurementDialogTest.kt index 98bca408..9ea9c4c0 100644 --- a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/bluetooth/screen/MeasurementDialogTest.kt +++ b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/bluetooth/screen/MeasurementDialogTest.kt @@ -1,3 +1,11 @@ +// +// This source file is part of the ENGAGE-HF Android open-source project +// +// SPDX-FileCopyrightText: 2025 Stanford University and the project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + package edu.stanford.bdh.engagehf.bluetooth.screen import androidx.compose.ui.test.junit4.createComposeRule diff --git a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/di/AppTestModule.kt b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/di/AppTestModule.kt index d2390b62..e2fced48 100644 --- a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/di/AppTestModule.kt +++ b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/di/AppTestModule.kt @@ -1,3 +1,11 @@ +// +// This source file is part of the ENGAGE-HF Android open-source project +// +// SPDX-FileCopyrightText: 2025 Stanford University and the project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + package edu.stanford.bdh.engagehf.di import dagger.Module diff --git a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/health/HealthPageTest.kt b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/health/HealthPageTest.kt index fbdddf46..475f561e 100644 --- a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/health/HealthPageTest.kt +++ b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/health/HealthPageTest.kt @@ -1,3 +1,11 @@ +// +// This source file is part of the ENGAGE-HF Android open-source project +// +// SPDX-FileCopyrightText: 2025 Stanford University and the project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + package edu.stanford.bdh.engagehf.health import androidx.compose.ui.test.junit4.createComposeRule diff --git a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/medication/ui/MedicationScreenTest.kt b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/medication/ui/MedicationScreenTest.kt index 027c86ab..d9b707d9 100644 --- a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/medication/ui/MedicationScreenTest.kt +++ b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/medication/ui/MedicationScreenTest.kt @@ -1,3 +1,11 @@ +// +// This source file is part of the ENGAGE-HF Android open-source project +// +// SPDX-FileCopyrightText: 2025 Stanford University and the project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + package edu.stanford.bdh.engagehf.medication.ui import androidx.compose.ui.test.junit4.createComposeRule diff --git a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/AppSimulator.kt b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/AppSimulator.kt index d63102a3..666c72d0 100644 --- a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/AppSimulator.kt +++ b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/AppSimulator.kt @@ -1,3 +1,11 @@ +// +// This source file is part of the ENGAGE-HF Android open-source project +// +// SPDX-FileCopyrightText: 2025 Stanford University and the project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + package edu.stanford.bdh.engagehf.simulator import androidx.compose.ui.test.assertIsDisplayed diff --git a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/DoNewMeasurementBottomSheetSimulator.kt b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/DoNewMeasurementBottomSheetSimulator.kt index 0ea20a6c..e17f80d9 100644 --- a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/DoNewMeasurementBottomSheetSimulator.kt +++ b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/DoNewMeasurementBottomSheetSimulator.kt @@ -1,3 +1,11 @@ +// +// This source file is part of the ENGAGE-HF Android open-source project +// +// SPDX-FileCopyrightText: 2025 Stanford University and the project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + package edu.stanford.bdh.engagehf.simulator import androidx.compose.ui.test.assertIsDisplayed diff --git a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/HealthPageSimulator.kt b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/HealthPageSimulator.kt index 927b8f83..6d5c2ead 100644 --- a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/HealthPageSimulator.kt +++ b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/HealthPageSimulator.kt @@ -1,3 +1,11 @@ +// +// This source file is part of the ENGAGE-HF Android open-source project +// +// SPDX-FileCopyrightText: 2025 Stanford University and the project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + package edu.stanford.bdh.engagehf.simulator import androidx.compose.ui.test.assertIsDisplayed diff --git a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/HomeScreenSimulator.kt b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/HomeScreenSimulator.kt index a40922bd..ce21e319 100644 --- a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/HomeScreenSimulator.kt +++ b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/HomeScreenSimulator.kt @@ -1,3 +1,11 @@ +// +// This source file is part of the ENGAGE-HF Android open-source project +// +// SPDX-FileCopyrightText: 2025 Stanford University and the project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + package edu.stanford.bdh.engagehf.simulator import androidx.compose.ui.test.assertIsDisplayed diff --git a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/InvitationCodeScreenSimulator.kt b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/InvitationCodeScreenSimulator.kt index 2272bcfa..9bb8063f 100644 --- a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/InvitationCodeScreenSimulator.kt +++ b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/InvitationCodeScreenSimulator.kt @@ -1,3 +1,11 @@ +// +// This source file is part of the ENGAGE-HF Android open-source project +// +// SPDX-FileCopyrightText: 2025 Stanford University and the project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + package edu.stanford.bdh.engagehf.simulator import androidx.compose.ui.test.assertIsDisplayed diff --git a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/MeasurementDialogSimulator.kt b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/MeasurementDialogSimulator.kt index 430ebd31..89b52048 100644 --- a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/MeasurementDialogSimulator.kt +++ b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/MeasurementDialogSimulator.kt @@ -1,3 +1,11 @@ +// +// This source file is part of the ENGAGE-HF Android open-source project +// +// SPDX-FileCopyrightText: 2025 Stanford University and the project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + package edu.stanford.bdh.engagehf.simulator import androidx.compose.ui.test.assertAny diff --git a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/MedicationScreenSimulator.kt b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/MedicationScreenSimulator.kt index 6e614d4c..adf24f77 100644 --- a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/MedicationScreenSimulator.kt +++ b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/MedicationScreenSimulator.kt @@ -1,3 +1,11 @@ +// +// This source file is part of the ENGAGE-HF Android open-source project +// +// SPDX-FileCopyrightText: 2025 Stanford University and the project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + package edu.stanford.bdh.engagehf.simulator import androidx.compose.ui.test.assertIsDisplayed diff --git a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/NavigatorSimulator.kt b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/NavigatorSimulator.kt index f6ebbcdc..e24aa9bf 100644 --- a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/NavigatorSimulator.kt +++ b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/NavigatorSimulator.kt @@ -1,3 +1,11 @@ +// +// This source file is part of the ENGAGE-HF Android open-source project +// +// SPDX-FileCopyrightText: 2025 Stanford University and the project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + package edu.stanford.bdh.engagehf.simulator import androidx.compose.ui.test.assertIsDisplayed diff --git a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/OnboardingFlowSimulator.kt b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/OnboardingFlowSimulator.kt index 0ad62679..0718fe77 100644 --- a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/OnboardingFlowSimulator.kt +++ b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/OnboardingFlowSimulator.kt @@ -1,3 +1,11 @@ +// +// This source file is part of the ENGAGE-HF Android open-source project +// +// SPDX-FileCopyrightText: 2025 Stanford University and the project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + package edu.stanford.bdh.engagehf.simulator import androidx.compose.ui.test.junit4.ComposeTestRule diff --git a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/OnboardingScreenSimulator.kt b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/OnboardingScreenSimulator.kt index e196c105..c2156cb3 100644 --- a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/OnboardingScreenSimulator.kt +++ b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/OnboardingScreenSimulator.kt @@ -1,3 +1,11 @@ +// +// This source file is part of the ENGAGE-HF Android open-source project +// +// SPDX-FileCopyrightText: 2025 Stanford University and the project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + package edu.stanford.bdh.engagehf.simulator import androidx.compose.ui.test.assert diff --git a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/SequentialOnboardingScreenSimulator.kt b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/SequentialOnboardingScreenSimulator.kt index dcde7ff7..7cfa6ec7 100644 --- a/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/SequentialOnboardingScreenSimulator.kt +++ b/app/src/androidTest/kotlin/edu/stanford/bdh/engagehf/simulator/SequentialOnboardingScreenSimulator.kt @@ -1,3 +1,11 @@ +// +// This source file is part of the ENGAGE-HF Android open-source project +// +// SPDX-FileCopyrightText: 2025 Stanford University and the project authors (see CONTRIBUTORS.md) +// +// SPDX-License-Identifier: MIT +// + package edu.stanford.bdh.engagehf.simulator import androidx.compose.ui.test.assertIsDisplayed diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 6ff9c0d2..505737ec 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,4 +1,18 @@ + + + + + + + diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml index c4a603d4..5b9bc3f7 100644 --- a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -1,4 +1,18 @@ + + diff --git a/app/src/main/res/values-de/engagehf_strings.xml b/app/src/main/res/values-de/engagehf_strings.xml index 5f530689..a0ae2046 100644 --- a/app/src/main/res/values-de/engagehf_strings.xml +++ b/app/src/main/res/values-de/engagehf_strings.xml @@ -1,4 +1,18 @@ + + ENGAGE-HF Startseite diff --git a/app/src/main/res/values-es/engagehf_strings.xml b/app/src/main/res/values-es/engagehf_strings.xml index c329b28a..5d6addab 100644 --- a/app/src/main/res/values-es/engagehf_strings.xml +++ b/app/src/main/res/values-es/engagehf_strings.xml @@ -1,4 +1,18 @@ + + ENGAGE-HF Inicio diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index a830ce37..68cdcefc 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -1,4 +1,18 @@ + + #FFFFFFFF #FF8C1515 diff --git a/app/src/main/res/values/engagehf_strings.xml b/app/src/main/res/values/engagehf_strings.xml index 5114ce74..ad74b326 100644 --- a/app/src/main/res/values/engagehf_strings.xml +++ b/app/src/main/res/values/engagehf_strings.xml @@ -1,3 +1,17 @@ + + ENGAGE-HF Home diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index 8ab445e5..08be104d 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -1,4 +1,18 @@ + +