Add TimePicker and time support - #18
Merged
Merged
Conversation
Introduce a TimePicker dialog component and add time handling across features: UI (add/edit transaction, add/scheduled payments, scheduled payments list/details) now show editable time fields; ViewModels and InteractionListeners handle time selection; UiStates include LocalTime or LocalDateTime where appropriate. Domain models updated (startDate / startDate types switched to LocalDateTime) and DTO mapping adjusted. Added LocalTime.format extension, new strings (select_time / time_label), tweaked BottomSheet insets and DatePicker preview. These changes enable selecting and persisting date+time for transactions and scheduled payments.
Adds logout and profile navigation from the profile and statistics screens, and wires financial action execution into the alert sheet with loading state and error handling. Also updates theme language detection for locale codes like `en-US` and introduces the alert/logout/win icons and related copy.
Introduces PaymentRequiredException as a typed exception for payment requirement errors. Updates BaseGateway to throw this exception when receiving 402 status. StatisticsViewModel now catches payment errors, resets granularity to WEEK, and retries loading statistics. Also adds custom timeout configuration (Long.MAX_VALUE) for PDF export requests to prevent premature timeouts on large files.
Joseph-Sameh-0
marked this pull request as ready for review
July 7, 2026 00:07
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.
Introduce a TimePicker dialog component and add time handling across features: UI (add/edit transaction, add/scheduled payments, scheduled payments list/details) now show editable time fields; ViewModels and InteractionListeners handle time selection; UiStates include LocalTime or LocalDateTime where appropriate. Domain models updated (startDate / startDate types switched to LocalDateTime) and DTO mapping adjusted. Added LocalTime.format extension, new strings (select_time / time_label), tweaked BottomSheet insets and DatePicker preview. These changes enable selecting and persisting date+time for transactions and scheduled payments.