View Navigation - uo-lca/uo-lca.github.io GitHub Wiki
Used Oil LCA is a single page web application with multiple views. When you first open the application, it automatically navigates to the home view. The main views are listed on the left side of the navigation bar at the top of the page. Select a view to navigate there. Each view contains links to other views.
Navigation Routes
Whenever you navigate to a view, the route is appended to the web app URL after a hash mark #
. For example, after navigating to the Fragment LCIA view, the web app URL will have #/home/fragment-lcia
at the end. Sometimes, the route will contain numbers that identify components to be viewed. For example, when you click on a link for an LCIA method with identifier, lciaMethodID = 1, the end of the URL will be #/home/lcia-method/1
.
Route | View |
---|---|
#/home | Used Oil LCA Home |
#/home/fragment-lcia | Fragment LCIA in top-level comparison mode |
#/home/fragment-sankey | Fragment Flows |
#/home/fragment-sankey/fragment-lcia | Fragment LCIA in fragment navigation mode |
#/home/fragment-sankey/process-instance/fragmentFlowID | Process Instance |
#/home/fragment-sankey/process-instance/fragmentFlowID/flow-param/processID/lciaMethodID | LCIA Flow Details |
#/home/lcia-method/lciaMethodID | LCIA Method |
#/home/process-lcia | Process LCIA |
#/home/process-lcia/flow-param/scenarioID/processID/lciaMethodID | LCIA Flow Details |
#/home/scenario/edit | Edit Scenario |
#/home/scenario/new | New Scenario |
#/home/scenario/scenarioID | Scenario Detail |
A route may also include URL parameters providing additional information to the view. For example, the
Process Instance route,
#/home/fragment-sankey/process-instance/845?activity=2.2995555059771145e-9&scenarioID=1&fragmentID=55
,
contains 3 URL parameters specifying the current fragment navigation activity level, scenario identifier, and fragment identifier.
A view can have more than one navigation route. For example, the LCIA Flow Details view has one route from the Process LCIA view, and another route from the Process Instance view.