Enhance PostsHelper and View Logic for Improved Post Metadata Display
- Updated `PostsHelper` to enforce strict typing and added new methods for guessing HTTP log entries related to scanned posts and file downloads. - Refactored the `post_state_string` method to handle unknown states more gracefully. - Modified the view template to replace the old scanned and file description logic with links to log entries, providing clearer metadata about post actions. - Removed deprecated tests related to the old description methods and added new tests for the updated functionality. These changes improve the clarity and usability of post metadata in the application.
This commit is contained in:
924
test/fixtures/files/domain/fa/parser/redux/submission_59584979_2025_style_keywords.html
vendored
Normal file
924
test/fixtures/files/domain/fa/parser/redux/submission_59584979_2025_style_keywords.html
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user