Integration of Result table into Scenario overview
The scenario overview requires a table to show available simulation results - similarly to Component Configurations and Dashboards. The table should have the following structure:
Result No. | Description | Created at | Last update | Files/ Data | Options |
---|---|---|---|---|---|
123 | Simulation of EV Charging for 1h | 23.11.2020, 14:30 | 23.11.2020, 16.00 | Link to download file1, Link to download file2 | Add/remove file, download all, edit description, remove result |
456 | Test simulation for EV charging | 20.11.2020 12:00 | 20.11.2020 12:05 | Link to download file | Add/remove file, download all, edit description, remove result |
The backend has new endpoints for managing results, check this issue and related commits. The table should only be present if results are associated with a scenario.
TODOs:
- nicer timestamps
- add result file
- show result files in edit dialog (table)
- delete result file
- download result file(s)
- add configSnapshots
- show filename instead of fileID (?) -> show filename in tooltip
-
resultFileIDs not updated after a file is deleted -> use
DELETE results/%resultID/file/%fileID
(see Sonjas comment below) - update result description (add "save" button next to description field in edit result dialog?)
- check/improve "download all files" (needs to be clicked twice or just slow? download all works when there is only one file?)
- when edit dialog open: table "jumps" (timestamps?)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information