Conversation
- Add "Favor recent content" checkbox with opt-in design philosophy - Add "Count interactions from" dropdown with hardcoded second values - Implement progressive disclosure using #states API - Add contextual help section with content-type specific recommendations - Update query() method to use getThompsonScoresWithWindow() when enabled - Update adminSummary() to display active time window settings - Support time windows: Last month, 3 months, 6 months, year - Maintain backward compatibility when checkbox is disabled Enables content marketers to focus AI recommendations on recently active content. Perfect for news sites, blogs, seasonal products, and campaign-driven content. Evergreen content sites can leave the feature disabled. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
This was referenced Aug 11, 2025
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
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.
Summary
Adds intuitive time window configuration UI to Views AI Sorting plugin, enabling content marketers to focus recommendations on recently active content. Features opt-in design, progressive disclosure, and content-type specific guidance.
Implementation Details
New Configuration Options
UI/UX Enhancements
#statesAPI - dropdown only appears when checkbox enabledTime Window Options
Technical Integration
getThompsonScoresWithWindow()when time window enabledUser Experience Flow
Code Quality
Performance Considerations
Related Issues & PRs
Resolves: #5
Paired with: dxpr/rl#4 (API backend)
Related issues: dxpr/rl#2, #5
Testing Requirements
Deployment Dependencies
Requires: RL module API enhancements (dxpr/rl#4) to be deployed first
Database: No schema changes required (leverages existing RL module infrastructure)
🤖 Generated with Claude Code
Co-Authored-By: Claude [email protected]