Update existing actions to use the new renderers.

Review Request #14660 — Created Oct. 29, 2025 and submitted

Information

Review Board
release-7.1.x

Reviewers

This updates all of our actions with custom rendering to instead use the
new renderer support. Most of these just set a default renderer or clear
away rendering state (making use of the renderer from the parent group).
Some implement small specialized custom renderers built for that action.

There's one notable architectural change here. We're now deprecating
is_custom_rendered(), which was introduced in Review Board 7 to
handle menu item actions that managed their own element style rather
than using the default Ink menu item rendering. This wasn't used for
anything else in practice, and isn't very usefully generic. Now, instead
of this function, menu item elements can set
data-custom-rendered="true", and the menu action will make use of its
element.

Unit tests passed.

Tested all the actions we have in the UI, and particularly the different
menu actions, making sure they rendered and were invoked correctly.

Checked to make sure we no longer had any deprecation warnings in the
devserver logs.

Summary ID
Update existing actions to use the new renderers.
This updates all of our actions with custom rendering to instead use the new renderer support. Most of these just set a default renderer or clear away rendering state (making use of the renderer from the parent group). Some implement small specialized custom renderers built for that action. There's one notable architectural change here. We're now deprecating `is_custom_rendered()`, which was introduced in Review Board 7 to handle menu item actions that managed their own element style rather than using the default Ink menu item rendering. This wasn't used for anything else in practice, and isn't very usefully generic. Now, instead of this function, menu item elements can set `data-custom-rendered="true"`, and the menu action will make use of its element.
d895c45600ca0a605fb19331cf8fa401331ad42d
Description From Last Updated

Can we alphabetize these?

daviddavid

'reviewboard.actions.renderers.DetailedMenuItemActionRenderer' imported but unused Column: 1 Error code: F401

reviewbotreviewbot

Can we alphabetize these?

daviddavid

Can we alphabetize these?

daviddavid

Can we alphabetize these?

daviddavid

Given that the frontend is no longer looking at the isCustomRendered attribute at all, can we document that in the …

daviddavid
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

david
  1. 
      
  2. reviewboard/accounts/actions.py (Diff revision 1)
     
     
     
     
     
    Show all issues

    Can we alphabetize these?

  3. reviewboard/reviews/actions.py (Diff revision 1)
     
     
     
     
     
     
     
    Show all issues

    Can we alphabetize these?

  4. reviewboard/reviews/actions.py (Diff revision 1)
     
     
     
     
     
     
    Show all issues

    Can we alphabetize these?

  5. reviewboard/reviews/actions.py (Diff revision 1)
     
     
     
     
     
     
     
    Show all issues

    Can we alphabetize these?

  6. Show all issues

    Given that the frontend is no longer looking at the isCustomRendered attribute at all, can we document that in the model and mark that attribute as deprecated there too?

  7. 
      
chipx86
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-7.1.x (ae2f2d1)