Added function to reload render options with AJAX.

Review Request #10749 — Created Oct. 9, 2019 and updated — Latest diff uploaded

Information

Review Board
master

Reviewers

Individual review UIs that have dynamic render options can call this function,
and optionally pass in extra query parameters to send to the endpoint.

More details can be found here

  1. Ran JavaScript unit tests.
  2. Tested manually to make sure that the element to update actually gets
    updated by using a mock endpoint.
  3. Tested manually to make sure comments are correctly reattached after
    a request is finished.

Diff Revision 3

This is not the most recent revision of the diff. The latest diff is revision 8. See what's changed.

orig
1
2
3
4
5
6
7
8

Commits

First Last Summary ID Author
Added function to reload render options with AJAX.
de8ed5aeb30cd699133e15665c0b3150535cdab0 amalik2
contentReloaded TODO message
3672c0404f978dde39a7fd79baaf6fb830158dae amalik2
started on reloading comments after reloading data
2eb65bbfa849ddd375d6631fba360140be0aa553 amalik2
fixed refreshing comments after table reloads
9149bc199a9f35044bd9b22ac54ac61382ca0542 amalik2
refactored refresh
fb65d69fc2aff7dc97af9eec073d7d0c765adbfd amalik2
reviewboard/admin/urls.py
reviewboard/static/rb/js/views/abstractReviewableView.es6.js
reviewboard/static/rb/js/views/textBasedReviewableView.es6.js
reviewboard/static/rb/js/views/textCommentRowSelector.es6.js
reviewboard/static/rb/js/views/tests/textBasedReviewableViewTests.es6.js
Loading...