[WIP] Implementing lazy load feature for review request

Review Request #11433 — Created Feb. 5, 2021 and updated — Latest diff uploaded

Information

Review Board
master

Reviewers

ReviewBoard currently renders all historic data for review request,
and the data ends up getting computed and loaded on the client, which
makes things seem slow. In order to enhance performance, we would like
to implement a lazy-load feature where collapsed review entries get sent
to the client empty, and then fetch the content dynamically when and if
the entry is expanded.

When we inspect elements on the browser, any entry boxes that is collapsed
will not render the body tag (the body tag will be empty).

Diff Revision 3 (Latest)

orig
1
2
3

Commits

First Last Summary ID Author
Added function for rendering contents when the box is not collapsed
8caa5459798cb675024431c4f053f24d50607178 Clarissa Audrey
Added logic in the Django template (base.html) to have body elements only whe...
70e11185887defc3fb79eca88a8b380f214b5dcb Clarissa Audrey
reviewboard/__init__.py
reviewboard/dependencies.py
reviewboard/static/rb/js/reviewRequestPage/views/baseStatusUpdatesEntryView.es6.js
reviewboard/templates/reviews/entries/base.html
Loading...