Skip to content

Resolve "[client] Enable single pane navigation view in browsers pages"

Closes #158 (closed), closes #163 (closed), closes #170 (closed), closes #171 (closed), closes #162 (closed)

Overhauls how browser navigation works to support single-pane navigation.

Major changes

  1. ReportsPage, PlantsPage, and NotesPage all now support single or double pane navigation. In single pane navigation mode, a list of items is displayed. When one is selected, the browser is hidden and the editor for that page is shown with a back button (closes #158 (closed))
  2. Selection in browsers now responds to URL navigation (back button works!) - this is because the selection is no longer stored in the URL fragment, instead it's now stored on the url (e.g. /plants/42) (closes #170 (closed))
  3. Browser history now works correctly. When pages are re-routed to equivalent pages, it replaces the URL instead of appending to it (closes #162 (closed))

Minor changes

  • Fixed some miscillaneous bugs associated with browsers. There are no longer errors when navigating in specific ways (closes #171 (closed))
  • Made browser pages handle errors better.
  • Simplified browser/table selection model (closes #163 (closed))
  • Tables/browsers/editors now show independent loading screens when their corresponding data is loading.
Edited by Sam Bryant

Merge request reports