benbyf Posted November 29, 2024 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
bernhard Posted December 1, 2024 Posted December 1, 2024 You can also click on the modified column headline and it will sort by last modification date 🙂 1
benbyf Posted December 1, 2024 Author Posted December 1, 2024 Ha yeah I saw that, I thought it worked well together as the instant visual works with me brain :)
artfulrobot Posted January 6 Posted January 6 @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
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