Release
Version 1.2.0 build 100013
Improve attachment handling
Introduces a new DocumentAttachmentMutation service to manage file attachments for passports and travel documents. This centralizes logic for saving and deleting attachments, improving consistency and error handling.
Refactor passport file management
Refactors the PassportRepository to use the new DocumentAttachmentMutation service for handling passport attachments. This change improves the robustness and consistency of file operations.
Refactor travel document file management
Refactors the TravelDocumentFileRepository to utilize the DocumentAttachmentMutation service for managing travel document attachments. This enhances the reliability and consistency of file operations.
Simplify calendar visit bar generation
Streamlines the generation of calendar visit bars by directly using the StayEvaluation controller. This removes redundant data fetching and processing, leading to a more efficient and cleaner implementation.
Update current day provider usage
Updates the CalendarView to use the currentDayProvider for determining the current date, ensuring consistency with other parts of the application.
Refactor country detail summary
Refactors the country detail summary provider to use the new StayEvaluation controller. This consolidates data fetching and processing for country-specific stay information.
Update new country controller dependencies
Updates the NewCountryController to use the currentDayProvider and fetch passport data, improving its ability to manage country settings and user information.
Remove deprecated stay calculator
Removes the deprecated `stay_calculator.dart` file as its functionality has been integrated into the new StayEvaluation system.
Update country detail view metrics
Updates the CountryDetailView to use the StayEvaluation metrics for displaying stay information, ensuring accurate and consistent data presentation.
Simplify new country view logic
Simplifies the NewCountryView by removing redundant state variables and relying on the NewCountryController for managing form state and data.
Update country metrics header
Updates the CountryMetricsHeader to use the StayEvaluation results for displaying stay information, ensuring consistency and accuracy.
Allow null onTap for CountrySettingTile
Makes the onTap callback for CountrySettingTile nullable, allowing it to be used in scenarios where no action is required on tap.
Update log entry list display
Enhances the LogEntryList to use StayEvaluation for displaying visit details, ensuring accurate and context-aware information presentation.
Refactor CountrySummary model
Refactors the CountrySummary model to integrate with the new StayEvaluation system, simplifying data handling and improving performance.
Update header stay status logic
Updates the header stay status logic to use the StayEvaluation results, ensuring accurate and timely display of stay information.
Introduce StayEvaluation controller
Introduces the StayEvaluation controller to centralize stay-related data fetching and processing, improving efficiency and consistency across the application.
Update home summary card subtitle
Updates the HomeSummaryCard subtitle to use the StayEvaluation results for displaying stay information, ensuring accuracy and relevance.
Refactor edit log entry summary
Refactors the edit log entry summary provider to use the StayEvaluation controller, streamlining data retrieval and improving performance.
Update new log entry controller date handling
Updates the NewLogEntryController to use the currentDayProvider for initializing the entry date, ensuring consistency with the current date.
Update global rolling timeline focus date
Updates the GlobalRollingTimeline to use the provided focusDate for calculations, ensuring accurate timeline generation based on the specified date.
Refine rolling period breakdown display
Refines the RollingPeriodBreakdown display to show more informative messages and handle edge cases, improving user understanding of stay limits.
Update edit log entry view date picker
Updates the EditLogEntryView to use the new StayDatePicker for selecting entry and exit dates, providing a more integrated and context-aware date selection experience.
Update global rolling period breakdown view
Updates the GlobalRollingPeriodBreakdownView to use the StayEvaluation results for displaying timeline information, ensuring accuracy and relevance.
Update new log entry view date picker
Updates the NewLogEntryView to use the StayDatePicker for selecting entry and exit dates, providing a more integrated and context-aware date selection experience.
Update rolling period breakdown view
Updates the RollingPeriodBreakdownView to use the StayEvaluation results for displaying stay limit information, ensuring accuracy and relevance.
Improve highlighted date picker dialog
Improves the HighlightedDatePickerDialog by making the 'OK' button non-interactive when the selected date is not selectable, preventing invalid date selections.
Introduce StayDatePicker
Introduces a new StayDatePicker widget that integrates with StayEvaluation to provide context-aware date selection for entry and exit dates, considering stay limits and other visits.
Improve passport editor date error display
Improves the display of date errors in the PassportEditorView by adjusting the text style for better visibility and consistency.
Improve travel document files view UI
Improves the UI of the TravelDocumentFilesView by adjusting text styles and ensuring the update state is handled correctly during file operations.
Introduce StayEvaluation system
Introduces a comprehensive StayEvaluation system to accurately calculate and present stay duration, limits, and potential overstays for various countries and visit scenarios.
Add stay guidance messages
Adds guidance messages for different stay outcomes, providing users with clearer information about stay limits and potential issues.
Implement DocumentAttachmentMutation service
Implements a new DocumentAttachmentMutation service to handle the saving and deletion of document attachments, improving the robustness and consistency of file management operations.