benbyf Posted November 29, 2024 Share Posted November 29, 2024 Hi, This is a basic module to add some classes and css to teh logs list page based on the amount of time since the log has been edited. less than a minute: Red -> purple -> grey less than a week https://github.com/benbyford/HighlightRecentLogs I hooked to the ProcessLogger module ___execute() function and basically overwrote it. Felt abit nasty to me, I wondered if there would have been a better way of doing it? 4 Link to comment Share on other sites More sharing options...
bernhard Posted December 1, 2024 Share Posted December 1, 2024 You can also click on the modified column headline and it will sort by last modification date 🙂 1 Link to comment Share on other sites More sharing options...
benbyf Posted December 1, 2024 Author Share Posted December 1, 2024 Ha yeah I saw that, I thought it worked well together as the instant visual works with me brain :) Link to comment Share on other sites More sharing options...
artfulrobot Posted 15 hours ago Share Posted 15 hours ago @benbyfAppreciate this, thank you! When I have to look at the logs page, my brain is usually in a panic, so this helps surface the thing I want without further thinking about "and now click to sort", or worse, trying to mentally scan and parse the textual description column like x hours/minutes ago! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now