Add a base models/views for pages.

Review Request #9151 — Created Aug. 25, 2017 and submitted

Christian Hammond
Review Board

This introduces RB.Page and RB.PageView, which are base classes used
for any pages managed by RB.PageManager. These currently don't have
any real functionality, but will allow us to move some logic further
down in the future.

Unit tests passed.

Tested all types of pages (datagrid, review request, diff viewer,
review UIs) to make sure everything worked.

  • 0
  • 0
  • 0
  • 1
  • 1
Description From Last Updated
David Trowbridge
  2. Can we introduce an initialize method that just assigns this.options = options?

    1. Let me actually introduce a different view (RB.View or something) for this in a different change, so it will apply to more than just pages.

David Trowbridge
  1. Ship It!
Christian Hammond
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.0.x (5c6c5e9)