Open
Conversation
…uestionnaires - Introduced DateQuestion model with minDate, maxDate, dateFormatPreset, and initialDate properties. - Created DateFormatPreset enum for various date formats. - Implemented DateQuestionWidget to handle date selection with optional time. - Added localization support for date-related strings in English and German. - Updated questionnaire form to include date question handling and validation. - Enhanced UI with date picker and time picker functionalities.
|
Visit the preview URL for this PR (updated for commit f6ee10f):
(expires Fri, 13 Mar 2026 10:10:21 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 2149dad49ed83535217e50d5c18c0c8c90da629b |
johannesvedder
requested changes
Feb 25, 2026
...gner_v2/lib/features/design/shared/questionnaire/question/types/date_question_form_view.dart
Outdated
Show resolved
Hide resolved
...gner_v2/lib/features/design/shared/questionnaire/question/types/date_question_form_view.dart
Show resolved
Hide resolved
...gner_v2/lib/features/design/shared/questionnaire/question/types/date_question_form_view.dart
Show resolved
Hide resolved
designer_v2/lib/features/study/study_test_frame_controllers.dart
Outdated
Show resolved
Hide resolved
|
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
|---|---|---|---|---|---|
| 23178981 | Triggered | JSON Web Token | e405d05 | flutter_common/lib/envs/.env.dev | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secret safely. Learn here the best practices.
- Revoke and rotate this secret.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
…and related logic
…ation - Updated DateQuestionFormData to include input type, min/max time, and default options for date/time. - Modified DateQuestionFormView to dynamically display input fields based on selected input type (date, time, datetime). - Added new localization strings for time input, date input types, and validation messages in both English and German. - Improved UI to handle specific default date/time selections and constraints for min/max dates and times.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces support for a new
DateQuestiontype in the questionnaire system, including backend model, serialization, designer form controls, and frontend UI integration. The changes enable date and date-time questions with validation, customizable formats, and localization. The most important changes are grouped below:Backend Model & Serialization:
DateQuestionmodel with fields for minimum/maximum date, format presets, and initial value, including JSON serialization and deserialization (date_question.dart,date_question.g.dart,date_format_preset.dart). [1] [2] [3]DateQuestionin the questionnaire question factory and exported it in the questions module (question.dart,questions.dart). [1] [2]Designer Form Integration:
question_form_controller.dart). [1] [2] [3] [4]Frontend UI Integration:
DateQuestionWidgetfor the app, supporting date and time picking, validation, formatting, clearing, and submission, with localization support (date_question_widget.dart,question_container.dart). [1] [2] [3]Localization:
app_en.arb,app_localizations.dart,app_localizations_en.dart,app_localizations_de.dart). [1] [2] [3] [4]Miscellaneous:
question_form_controller.dart).These changes collectively enable robust date and date-time questions in both the study designer and participant app, with full localization and validation support.