Page MenuHomePhabricator

Add visual incoming/outgoing clue in OTRS ticket view
Open, Needs TriagePublic

Description

Since the upgrade (T187984), the visual clue showing if an email is incoming or outgoing in the ticket view is missing. Previously, incoming messages had a blue background and outgoing messages add a green background (both in the ticket list and for each articles).

This visual feature is especially helpful for tickets with many email exchanges. It is also requested since agents are used to work with it and that change is downgrading the experience.

Would it be possible to add it with custom css rules?
For now, I have identified that the classes .Outgoing.VisibleForCustomer and .Incoming.VisibleForCustomer could be used for the ticket list and the articles.

Event Timeline

NoFWDaddress renamed this task from Restore visual incoming/outgoing clue in OTRS ticket view to Add visual incoming/outgoing clue in OTRS ticket view.Sep 18 2020, 2:59 PM
NoFWDaddress updated the task description. (Show Details)

According to this diff (seen on this OTRS bug report on bugs.otrs.org), those are the pertinent rules that are now missing in this new version of the OTRS system:

tr.Incoming > td {
    background: #d4defc;
}

tr.Outgoing > td {
    background: #d3e5b5;
}

I think that the articles themselves were also colored, but I am not sure on this and maybe that the presentation with the "bubble speech" is enough...

Hey, I don't know if this helps a lot, but I built a quick GreaseMonkey script that should restore the colors: https://github.com/Matthewrbowker/otrs-colors/raw/master/otrs-colors.user.js . This should work short-term until we decide what to do with our OTRS install.

Can you please put or link this somewhere on OTRS wiki? I think there are some more Greasemonkey scripts, at lease I have one that is a bit useful.

Can you please put or link this somewhere on OTRS wiki? I think there are some more Greasemonkey scripts, at lease I have one that is a bit useful.

Gladly! I'll take care of that right now.

https://otrs-wiki.wikimedia.org/wiki/Greasemonkey_Scripts (Feel free to expand or rename) - I also ported to GitHub as opposed to the Paste, which was more maintainable.