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.
- Store timeout timer reference and cancel it in finally block to prevent
stale timer from firing after operation completes
- Check if stream controller is closed before adding cancellation event
to prevent "Cannot add event after closing" error
Add author information to reply screen for consistency with detail view:
- Enable showAuthorFooter in PostCard configuration
- Shows author handle and timestamp above post title
- Provides context about who created the original post
- Maintains same enhanced typography as detail view
This ensures users see clear attribution when composing replies,
matching the enhanced information hierarchy of the detail view.
Changes:
- Set showAuthorFooter: true in PostCard configuration
- Matches detail view settings: 20px title, 16px text, 280px embeds
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Enhance post detail screen with better organization and interaction:
Comment Navigation:
- Wire up dual comment button behavior:
- Input field opens reply composer
- Comment count button scrolls to comments section
- Add _scrollToComments() method with smooth animation
- Uses GlobalKey on CommentsHeader for precise scrolling
Visual Improvements:
- Add 1px border divider before comments section
- Replace blank spacing with clear visual separator
- Matches feed/comment divider styling for consistency
- 16px vertical margins for breathing room
Content Organization:
- Enable author footer in detail view (showAuthorFooter: true)
- Shows author info and timestamp above post title
- Enhanced typography: 20px title, 16px text, 1.6 line height
- Larger embeds (280px) for better content visibility
Changes:
- Add _commentsHeaderKey GlobalKey for scroll targeting
- Add _scrollToComments() method with Scrollable.ensureVisible
- Use onCommentInputTap and onCommentCountTap callbacks
- Add Container divider with AppColors.border
- Enable showAuthorFooter parameter
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Improve post card typography and information hierarchy:
Feed View:
- Increase text opacity from 70% to 85% for better readability
- Maintains visual hierarchy while improving scannability
Detail View:
- Add author info above title (avatar + handle + timestamp)
- Show when post was created (e.g., "2h ago")
- Layout: [Avatar] @username • 2h ago
- Provides clear context about post author and recency
Typography Enhancements:
- Add configurable title font size and weight parameters
- Add configurable text font size, line height, and embed height
- Enable full customization for different view contexts
Changes:
- Add showAuthorFooter parameter to PostCard
- Add _buildAuthorFooter() method with avatar, handle, timestamp
- Add _buildAuthorFallbackAvatar() for missing avatars
- Move author info to appear before title in detail views
- Update text opacity: alpha: 0.7 → 0.85 in feed view
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Split comment button functionality into two separate actions:
- Left button (comment input field): Opens reply composer
- Right button (comment count): Scrolls to comments section
This provides contextual behavior - users can either write a new
comment or quickly navigate to view existing comments.
Changes:
- Add onCommentInputTap and onCommentCountTap callbacks
- Maintain backward compatibility with deprecated onCommentTap
- Update documentation to clarify each button's purpose
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
PostCard enhancements:
- Add showBorder prop to control border independently from showHeader
- Fix duplicate border in post detail by passing showBorder: false
Post detail screen integration:
- Connect comment button to new reply screen
- Add authentication check before opening composer
- Implement comment submission handler (TODO: atProto integration)
- Navigate to reply screen with full post context
Fixes duplicate border issue where post detail showed extra divider
between post content and comments when showHeader: false was used.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>