swiss-seismological-service / REIA-web

Frontend report generation for results of the near real time event specific loss calculations.
GNU Affero General Public License v3.0
0 stars 1 forks source link

Display Data for the preferred RIA #18

Closed schmidni closed 7 months ago

schmidni commented 7 months ago

User Story

As a visitor of the Website, when looking at the Event Information, I would like the display of the Loss Graphics to always show the data from the preferred RiskAssessment for the respective origin.

Acceptance Criteria

The Webcomponents DamageGraph, LossGraph and LossScale only display data, getting the data from the right RiskAssessment needs to be implemented in a separate "Controller" which would then could be added to the same page and contains the logic. It could however also be a simple script which needs to be called on the Webpage where the Webcomponents are.

The Webcomponents have to work equally well in the environment of the RIA Sheets, where they have to show data from a specific RiskAssessment, as well as in the environment of the website, where they need to display the preferred data.

schmidni commented 7 months ago

@romanoe sorry, there is an issue for your task already after all...

Feel free to update it or split it up into multiple tasks.

schmidni commented 7 months ago

@romanoe I think this issue is resolved. If you agree, close this (possibly with a reference to the merge commit/request), move it to the "done" column and open new issues if/when there are follow-up tasks to this one.