Tampermonkey script for use with the 4me enterprise service management system.
We created the script to add useful enhancements to the 4me UI even if they weren't implemented in the official application. This way we can a) demo feature requests to 4me and b) use those modifications ourselves.
Use this script at your own risk. Merge requests and suggestions are always welcome.
Install the Tampermonkey extension for your browser, add a new script and copy-paste the content of ITRPuimods.user.js.
All the features can be turned on and off via the settings menu.
When your 4me inbox contains many entries it can be difficult to identify those you want to focus on next. Requests that are Waiting for Customer or Waiting for... a date usually are less urgent. Therefore we change their font color to grey so the other Records stick out better.
Default Inbox | With mod enabled |
---|---|
Some UI buttons have been mapped to keys.
Key | Action |
---|---|
e | Edit Record |
g | Scroll to the bottom of the current Record |
t | Scroll to the top of the current Record |
Esc | Cancel Editing, or Save by pressing Enter in the "Save changes" dialog that appears. |
Internal comments are great for adding information to requests that should not be visible to customers - like technical details.
However, we sometimes have the issue that the analysis of an incident goes on for a few hours, specialists add only internal comments, and the customer cannot see that the Incident is actually being worked on.
The script changes the background of internal comments so it's more visible if it's been some time since the last customer-visible comment.
Normal and internal comments without the mod | With mod enabled |
---|---|
In some cases - e.g. when sharing your screen with a customer - you may want to hide internal comments. The script makes this possible.
Internal comments without the mod | With the setting 'Hide Internal Comments' enabled |
---|---|
Most people use large screens nowadays; 4me limits the reading area for notes to just over 500 pixels.
This can be frustrating when people format long code or log lines with the Code Block element, and much horizontal scrolling is required.
The script adds resize handles to comments containing code blocks. This way they can be enlarged to simplify horizontal reading.
Set the highlightRecords
variable to change the color of record numbers in the inbox and record lists.