Add a mobile mode attribute to the review request editor view.

Review Request #14126 — Created Aug. 28, 2024 and submitted — Latest diff uploaded

Information

Review Board
release-7.x

Reviewers

A inMobileMode attribute already exists on the base PageView class for
letting views know whether they're being viewed on a mobile device. This
change plumbs that attribute through to the ReviewRequestEditorView. This
will be useful in an upcoming change for fixing file attachment actions
on mobile, and is generally useful if we need to do any mobile specific
behaviour on the review request editor view or any other views attached
to it in the future.

  • Ran JS unit tests.
  • Used in an upcoming change.

Commits

Files