#Chat Trimmer
1 messages · Page 1 of 1 (latest)
Auto-Trim System Improvements in 1.0.2
Overview
Refactored the automatic trimming system to provide clearer control and better UX with separate time-based and message count-based triggering methods.
Settings Changes
1. New "Automatic Trim Method" Dropdown
Replaced: Old boolean "Enable Automatic Trimming" setting
New: Dropdown with three options
- Disabled (Manual Only) - No automatic trimming (default)
- By Message Count - Trim when message count reaches threshold
- By Time Elapsed - Trim after specified hours have passed
Benefit: Clearer UX with explicit method selection instead of confusing multiple boolean flags
2. Time-Based Auto-Trim Enhancements
Removed 50-Message Minimum Requirement
- Before: Time-based trimming required at least 50 messages
- After: Time-based trimming works independently, no message count requirement
New "Pause Timer When Game Paused" Setting
Gives GMs control over how time-based trimming behaves during game pause:
- Enabled: Timer stops counting when game is paused
- Disabled (default): Timer continues counting real-world time regardless of pause state
Use Cases:
- Enable for games that pause between sessions
- Disable for always-on servers or real-world time tracking
3. Better User Feedback
Console Logging
- Shows which method triggered the auto-trim
- Example:
"Auto-trim triggered by message count (60/50 = 10 keep + 50 buffer)" - Example:
"Auto-trim triggered by time threshold (4.2 hours elapsed)"
Updated Setting Hints
Each setting now clearly states when it applies:
- "Only applies when 'Automatic Trim Method' is set to 'By Message Count'"
- "Only applies when 'Automatic Trim Method' is set to 'By Time Elapsed'"
the archive view is unreadable with dark theme