Implemented configurable time-based filtering to show only recent posts:
- Added new experience settings for time filtering:
- time_filter_enabled: Toggle to enable/disable time filtering
- time_filter_days: Number of days to show (1, 3, or 7 days)
Changes:
- Updated settings_experience.html with time filter controls
- Added JavaScript toggle for showing/hiding time filter options
- Modified backend to save and validate new time filter settings
- Updated API posts endpoint to filter posts by timestamp when enabled
- Added time filtering to anonymous user default settings
Users can now limit their feed to show only posts from:
- Last 24 hours
- Last 3 days
- Last week (default)
This addresses the need for a "show only posts from last x time" feature
as a default filtering option.
Fixes#21
~claude
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>