• 
      

    Add a dedicated attribute for extra state storage for datagrid columns.

    Review Request #14821 — Created Feb. 17, 2026 and submitted

    Information

    Djblets
    release-5.x

    Reviewers

    Columns that needed to attach arbitrary data for caching or other
    purposes were previously required to store as attributes, which weren't
    type-safe and had a chance of causing conflicts.

    We now have a dedicated extra_data dictionary on StatefulColumn that
    can be used for arbitrary storage of data instead. This is empty by
    default, and used solely in subclasses of Column.

    Made use of this in some columns in Review Board.

    Summary ID
    Add a dedicated attribute for extra state storage for datagrid columns.
    Columns that needed to attach arbitrary data for caching or other purposes were previously required to store as attributes, which weren't type-safe and had a chance of causing conflicts. We now have a dedicated `extra_data` dictionary on `StatefulColumn` that can be used for arbitrary storage of data instead. This is empty by default, and used solely in subclasses of `Column`.
    a5969c57b94ea5ab0d36176326ed42dce806bb90
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-5.x (5a98750)