Hi There,
following up from this comment wanting an 'X' on the sidebar panels:

Besides the 'X' for close, what I really wanted is a way to navigate the different panels without moving the mouse all the way to the bottom right. So I also added the '<' and '>' buttons.
It seems that these things are coming up since there is already a "tools" div in the panel header. I use that div to add these buttons.
If you want this now, the execute the following in the browser console:
(function(){
let controls = "<button class='red-ui-button back-btn'><</button> <button class='red-ui-button cls-btn'>X</button> <button class='red-ui-button forw-btn'>></button>"
// add the controls
$('#red-ui-sidebar-left').find('.red-ui-sidebar-section-top').find('.red-ui-sidebar-banner-tools').html(controls)
$('#red-ui-sidebar-left').find('.red-ui-sidebar-section-bottom').find('.red-ui-sidebar-banner-tools').html(controls)
$('#red-ui-sidebar-container').find('.red-ui-sidebar-section-top').find('.red-ui-sidebar-banner-tools').html(controls)
$('#red-ui-sidebar-container').find('.red-ui-sidebar-section-bottom').find('.red-ui-sidebar-banner-tools').html(controls)
let closeFunct = (btngrp) => {
$(btngrp).find('.selected').trigger('click')
}
// activate the close button
$('#red-ui-sidebar-left').find('.red-ui-sidebar-section-top').find('.red-ui-sidebar-banner-tools').find('.cls-btn').on('click', () => {
closeFunct($('#red-ui-workspace-footer').find(".red-ui-sidebar-tab-bar").find(".button-group")[0])
})
$('#red-ui-sidebar-left').find('.red-ui-sidebar-section-bottom').find('.red-ui-sidebar-banner-tools').find('.cls-btn').on('click', () => {
closeFunct($('#red-ui-workspace-footer').find(".red-ui-sidebar-tab-bar").find(".button-group")[1])
})
$('#red-ui-sidebar-container').find('.red-ui-sidebar-section-top').find('.red-ui-sidebar-banner-tools').find('.cls-btn').on('click', () => {
closeFunct($('#red-ui-workspace-footer').find(".red-ui-sidebar-tab-bar").find(".button-group")[2])
})
$('#red-ui-sidebar-container').find('.red-ui-sidebar-section-bottom').find('.red-ui-sidebar-banner-tools').find('.cls-btn').on('click', () => {
closeFunct($('#red-ui-workspace-footer').find(".red-ui-sidebar-tab-bar").find(".button-group")[3])
})
// forward button
// functionality
let nextFunct = (btngrp) => {
let nxt = $($(btngrp).find('.selected')).next()
if (nxt.length > 0) {
$(nxt).trigger('click')
} else {
$($(btngrp).find("button").get()[0]).trigger('click')
}
}
$('#red-ui-sidebar-left').find('.red-ui-sidebar-section-top').find('.red-ui-sidebar-banner-tools').find('.forw-btn').on('click', () => {
let btngrp = $('#red-ui-workspace-footer').find(".red-ui-sidebar-tab-bar").find(".button-group")[0]
nextFunct(btngrp)
})
$('#red-ui-sidebar-left').find('.red-ui-sidebar-section-bottom').find('.red-ui-sidebar-banner-tools').find('.forw-btn').on('click', () => {
let btngrp = $('#red-ui-workspace-footer').find(".red-ui-sidebar-tab-bar").find(".button-group")[1]
nextFunct(btngrp)
})
$('#red-ui-sidebar-container').find('.red-ui-sidebar-section-top').find('.red-ui-sidebar-banner-tools').find('.forw-btn').on('click', () => {
let btngrp = $('#red-ui-workspace-footer').find(".red-ui-sidebar-tab-bar").find(".button-group")[2]
nextFunct(btngrp)
})
$('#red-ui-sidebar-container').find('.red-ui-sidebar-section-bottom').find('.red-ui-sidebar-banner-tools').find('.forw-btn').on('click', () => {
let btngrp = $('#red-ui-workspace-footer').find(".red-ui-sidebar-tab-bar").find(".button-group")[3]
nextFunct(btngrp)
})
// previous button
// functionality
let prevFunct = (btngrp) => {
let prev = $($(btngrp).find('.selected')).prev()
if (prev.length > 0) {
$(prev).trigger('click')
} else {
$($(btngrp).find("button").get().reverse()[0]).trigger('click')
}
}
$('#red-ui-sidebar-left').find('.red-ui-sidebar-section-top').find('.red-ui-sidebar-banner-tools').find('.back-btn').on('click', () => {
let btngrp = $('#red-ui-workspace-footer').find(".red-ui-sidebar-tab-bar").find(".button-group")[0]
prevFunct(btngrp)
})
$('#red-ui-sidebar-left').find('.red-ui-sidebar-section-bottom').find('.red-ui-sidebar-banner-tools').find('.back-btn').on('click', () => {
let btngrp = $('#red-ui-workspace-footer').find(".red-ui-sidebar-tab-bar").find(".button-group")[1]
prevFunct(btngrp)
})
$('#red-ui-sidebar-container').find('.red-ui-sidebar-section-top').find('.red-ui-sidebar-banner-tools').find('.back-btn').on('click', () => {
let btngrp = $('#red-ui-workspace-footer').find(".red-ui-sidebar-tab-bar").find(".button-group")[2]
prevFunct(btngrp)
})
$('#red-ui-sidebar-container').find('.red-ui-sidebar-section-bottom').find('.red-ui-sidebar-banner-tools').find('.back-btn').on('click', () => {
let btngrp = $('#red-ui-workspace-footer').find(".red-ui-sidebar-tab-bar").find(".button-group")[3]
prevFunct(btngrp)
})
})();
the code isn't particular good but it does the job and provides something I've been missing since I upgraded to NRv5.
