Conversation
Co-authored-by: Joshua Slaar <joshua@slaar.de>
# 🚀 Pull Request ## Brief Description Add a card, that user survey is online ## Screenshots <!-- Add screenshots if UI changes were made. Either new screens only or before/after --> | Hint on Homescreen | Dialog | WebView | |----------|----------| ----------| |  |  |  [ ## GitHub Copilot Text This pull request introduces a new user survey feature in the MoveTopia app, including localized strings, UI components, and navigation updates. The changes are grouped into localization updates, UI components, and routing/navigation enhancements. ### Localization Updates: * Added survey-related strings in German (`lib/l10n/app_de.arb`) and English (`lib/l10n/app_en.arb`) for titles, descriptions, dialog options, and error messages. [[1]](diffhunk://#diff-36252c65ab82cbff4774b4983cb9027a2bef4cb738d5ea656c0b903939b3871aL483-R502) [[2]](diffhunk://#diff-9796fde3771f42a3a759ccc941731d83f96037a661e47dde27ce81d3447a69c2L502-R522) ### UI Components: * Introduced a `SurveyDebugSection` widget in `debug_settings_screen.dart` to manage survey-related debugging, including resetting and marking survey statuses (`dismissed` or `completed`). [[1]](diffhunk://#diff-8b192978bb952a1b80f775358d769ca31372d9e8c4b464f91dbffa182329cda5R13) [[2]](diffhunk://#diff-8b192978bb952a1b80f775358d769ca31372d9e8c4b464f91dbffa182329cda5R63-R65) [[3]](diffhunk://#diff-63a6b4b26da7aa4ed5edac78e69d5002e648beefa815905f070d281dc3e2c4daR1-R224) * Added a `SurveyCard` to the `TodayScreen` that displays the survey prompt and handles dismiss or completion actions. [[1]](diffhunk://#diff-70a7a11b1888ccd7f44bd2466497659e9b19eb98003d549efd994b23d5c7f566R16-R22) [[2]](diffhunk://#diff-70a7a11b1888ccd7f44bd2466497659e9b19eb98003d549efd994b23d5c7f566R46-R47) [[3]](diffhunk://#diff-70a7a11b1888ccd7f44bd2466497659e9b19eb98003d549efd994b23d5c7f566R119-R137) [[4]](diffhunk://#diff-70a7a11b1888ccd7f44bd2466497659e9b19eb98003d549efd994b23d5c7f566L145-R170) [[5]](diffhunk://#diff-70a7a11b1888ccd7f44bd2466497659e9b19eb98003d549efd994b23d5c7f566R193) [[6]](diffhunk://#diff-70a7a11b1888ccd7f44bd2466497659e9b19eb98003d549efd994b23d5c7f566R209-R218) * Created a `SurveyWebViewScreen` to display the survey in a WebView with options to open in a browser or mark as completed. ### Routing/Navigation Enhancements: * Updated `today/routes.dart` to include a new route for the `SurveyWebViewScreen`.
Jozys
approved these changes
Apr 24, 2025
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.
MoveTopia Update Changelog
New functions
Neue Funktionen