I don’t know if this would be useful for anyone else, but one of my users asked for keyboard shortcuts for taking/untaking a ticket on the ticket display page (partially so they could more easily record macros I think!), just like the ‘r’ and ‘c’ shortcuts for reply and comment. Here’s the context diff for my quick hack to static/js/keyboard-shortcuts.js
to make ‘t’ and ‘u’ do the take/untake actions:
$ diff -c /opt/rt5/local/static/js/keyboard-shortcuts.js /opt/rt5/share/static/js/keyboard-shortcuts.js
*** /opt/rt5/local/static/js/keyboard-shortcuts.js 2025-09-17 11:59:17.150344653 +0100
— /opt/rt5/share/static/js/keyboard-shortcuts.js 2025-06-24 10:02:35.087885466 +0100
*** 175,198 ****
Mousetrap.bind(‘r’, replyToTicket);
Mousetrap.bind(‘c’, commentOnTicket);
});
jQuery(function() {
// Only load these shortcuts if take or untake action is on page

var ticket_take = jQuery('a#page-actions-take');

var ticket_untake = jQuery('a#page-actions-untake');

if (!ticket_take.length && !ticket_untake.length) return;

var takeTicket = function() {

if (!ticket_take.length) return;

window.location.href = ticket_take.attr('href');

};

var untakeTicket = function() {

if (!ticket_untake.length) return;

window.location.href = ticket_untake.attr('href');

};

Mousetrap.bind('t', takeTicket);

Mousetrap.bind('u', untakeTicket);

});
— 175,177 ----