fix: Fix map display error & improve message display for notifications #318
+154
−38
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 several improvements and bug fixes across the map, messaging, and UI components, along with a version bump for both Android and iOS. The most notable changes include enhanced email card UI, improved date/time formatting utilities, and more robust map state management.
UI and Messaging Improvements:
email-card.component.htmlandemail-card.component.scssto display sender, subject, and date more clearly, and replaced the floating action button with a more prominent "Mark Read" button. Also improved text wrapping and layout for better readability. [1] [2]email-card.component.tsto use a computedformattedDateproperty for displaying relative dates, and switched to usingIonButtoninstead ofIonFabButton. [1] [2]messages.page.html) to ensure unread emails are displayed before RSS messages for better prioritization.messages.service.ts) to always fetch messages (not just wheninboxEmailis true) and added a debug log for loaded messages. [1] [2]Date/Time Utility Enhancements:
formatRelativeTimeandsinceindate-utils.tsfor consistent and user-friendly relative time formatting across the app.pin-map.page.tsto use the newsinceutility for displaying "Saved X mins ago" text and removed the now-redundant localsincefunction. [1] [2] [3]Map State Management and Bug Fixes:
resetMapStatefunction and improved the disposal logic inmap.tsto prevent the map stack depth from going negative, including warnings for double-disposal and negative depth. [1] [2]Version Bump:
build.gradle; iOS:project.pbxproj). [1] [2] [3]Documentation: