code
Clone this repository
https://tangled.org/bretton.dev/coves-mobile
git@knot.bretton.dev:bretton.dev/coves-mobile
For self-hosted knots, clone URLs may differ based on your setup.
Resolved all 96 flutter analyze issues by applying automated fixes and
manual corrections to meet Flutter/Dart best practices.
Changes:
- Auto-formatted 15 files with dart format
- Applied 82 automated fixes with dart fix --apply
- Fixed BuildContext async gap in post_detail_screen
- Resolved 18 line length violations (80 char limit)
- Escaped HTML angle brackets in doc comments
- Removed unused imports
- Added const constructors where applicable
- Fixed test issues: unawaited futures, cascade invocations, bool params
Result: flutter analyze now reports 0 issues found.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Auto-generated files updated after adding share_plus dependency
and running flutter pub get.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Major redesign of the post detail view with better visual hierarchy,
community branding, and interactive elements. Introduces a new action
bar component for post interactions.
New PostActionBar widget:
- Dedicated action bar for upvote, downvote, share, and comment actions
- Consistent with feed card actions but optimized for detail view
- Haptic feedback on all interactions
- Proper vote state management
Post detail improvements:
- Custom app bar showing community avatar and styled handle
- Better community branding with fallback avatars
- Removed redundant post card display in detail view
- Cleaner layout with post content displayed directly
- Fixed bottom navigation bar spacing issues
- Integrated share functionality with native share sheet
Visual enhancements:
- Styled community handles with color-coded parts (!community@instance)
- Circular community avatars with fallback to first letter
- Improved spacing and padding throughout
- Better error and loading states
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Improve the comments sort UI with intuitive icons and better visual
feedback. Each sort option now has a matching icon for easier recognition.
Changes:
- Added icons for each sort type (🔥 hot, ✨ top, 🆕 new)
- Show checkmark next to currently selected sort option
- Improved popup menu styling with rounded corners
- Better spacing and alignment in sort dropdown
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Add optional parameters to control visibility of header and actions in
PostCard widget. This allows the same component to be reused in different
contexts (feed vs detail view) with appropriate customization.
Changes:
- Added showActions parameter (default: true) to toggle action buttons
- Added showHeader parameter (default: true) to toggle community/author info
- Adjusted margins and padding based on header visibility
- Maintained backward compatibility with default values
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Replace placeholder share button with actual share functionality using
the share_plus package. Users can now share posts with the post title
and URI through their device's native share sheet.
Changes:
- Added haptic feedback on share button tap for better UX
- Share includes post title (or fallback text) and post URI
- Uses native share sheet for platform-appropriate sharing
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>