message: Display disabled buttons in the review form
diff: @@ -30,16 +30,23 @@ function init() {
  // Generate the new buttons
  for (const radio of radios) {
  - if (!radio.disabled) {
  - container.append(
  + const tooltip = radio.parentElement.getAttribute('aria-label');
  +
  + const button = (
  <button
  name="pull_request_review[event]"
  value={radio.value}
  - class={`btn btn-sm ${btnClassMap[radio.value] || ''}`}>
  - {radio.nextSibling.textContent.trim()}
  + class={`btn btn-sm ${btnClassMap[radio.value] || ''} ${tooltip ? 'tooltipped tooltipped-nw tooltipped-no-delay' : ''}`}
  + aria-label={tooltip || ''}>
  + {radio.nextSibling}
  </button>
  );
  +
  + if (radio.disabled) {
  + button.setAttribute('disabled', 'disabled');
  }
  +
  + container.append(button);
  }
  // Comment button must be last; cancel button must be first
  