Get rid of legacy admin widget support.

Review Request #12108 — Created March 7, 2022 and submitted

Information

Review Board
release-5.0.x

Reviewers

This change ports our two remaining legacy widgets (server cache and
activity graph) to inherit from BaseAdminWidget instead of the old
legacy Widget class, and then removes support for the legacy mode.

The server activity graph has additionally been ported to use the new JS
model/view architecture. As part of this, I've modernized the code a bit
but haven't spent any time redesigning the functionality or look.

Loaded the admin site and interacted with the widgets.

Summary ID
Get rid of legacy admin widget support.
This change ports our two remaining legacy widgets (server cache and activity graph) to inherit from `BaseAdminWidget` instead of the old legacy `Widget` class, and then removes support for the legacy mode. The server activity graph has additionally been ported to use the new JS model/view architecture. As part of this, I've modernized the code a bit but haven't spent any time redesigning the functionality or look. Testing Done: Loaded the admin site and interacted with the widgets.
81f86d0869c5c83f2b5d6e4fe36108443849277c
Description From Last Updated

Col: 77 Missing semicolon.

reviewbotreviewbot

Just one : The previous one is a typo. Mind fixing it?

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

JSHint

david
chipx86
  1. 
      
  2. reviewboard/extensions/hooks.py (Diff revision 2)
     
     

    Just one :

    The previous one is a typo. Mind fixing it?

  3. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to django-3.2 (f8e266a)
Loading...