-
Notifications
You must be signed in to change notification settings - Fork 0
Feature headline tile UI choice #28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
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
- Added timeago package - For relative time formatting
- Added Arabic timeago messages - Initialized timeago 'ar' locale
- Implemented image style setting - Added new headline tile widgets - Uses GoRouter for navigation
- Added settings check - Rebuild on settings change
- Display headline with image - Show category, source, date - Uses shared Headline model
- Display headlines with image on top - Supports optional trailing widget - Shows category, source, and date
- Displays headline without image - Supports category, source, date - Uses timeago for date formatting
- Removed HeadlineItemWidget - Added image style settings - Added HeadlineTile variations
- Removed HeadlineItemWidget - Added AppBloc to access image style - Implemented Headline tiles
- Replaced specific item widget - Implemented shared headline tiles - Removed HeadlineItemWidget
- Implemented ArTimeagoMessages class - Added custom Arabic translations - Supports pluralization rules
- Added HeadlineTileTextOnly - Added HeadlineTileImageStart - Added HeadlineTileImageTop
- Widget moved to shared module
- Added en timeago messages - Init en locale in main
- Added utils module - Exported date formatter
- Shortened time units - Removed plural logic - Updated prefix/suffix usage
- Implemented concise timeago messages - Added no prefixes, suffixes instead - Used abbreviations for units
- Formats DateTime to relative time - Uses timeago package - Handles null DateTime
- Show placeholder for image error - Show placeholder for no image URL
- Replaced timeago with custom utility - Used chips for categories/sources - Compacted metadata row
- Use chip for category/source - Use util for relative time - Improve visual density
- Use utils for relative time - Compacted metadata info - Use chips for category/source
- Adjusted chip padding for visual consistency
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.
Description
Type of Change