Skip to content

Add generic table and populate with reactionsteps from tocomo - #512

Merged
haralde merged 2 commits into
mainfrom
tocomo-steps
Oct 8, 2025
Merged

Add generic table and populate with reactionsteps from tocomo#512
haralde merged 2 commits into
mainfrom
tocomo-steps

Conversation

@haralde

@haralde haralde commented Oct 3, 2025

Copy link
Copy Markdown
Collaborator

Adds reactionsteps for tocomo.

A new panel type showing tabular data is added, data for this panel type will be formatted in backend.

image

@haralde
haralde force-pushed the tocomo-steps branch 2 times, most recently from babc721 to 6492e01 Compare October 6, 2025 14:48

@lars-petter-hauge lars-petter-hauge left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this PR.

I added some comments, more questions really. Very nice that this is added!

Comment thread backend/src/acidwatch_api/models/datamodel.py
Comment on lines -100 to -104
class SimulationResults(BaseModel):
results: Results
analysis: Optional[Analysis] = None
chart_data: ChartData
table_data: Optional[Any] = None

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this also unused? Perhaps it's only called Runresponse and the likes..

Comment thread frontend/src/components/GenericTable.tsx
Comment thread frontend/src/dto/SimulationResults.tsx
@haralde
haralde merged commit 4be4b8c into main Oct 8, 2025
9 checks passed
@haralde
haralde deleted the tocomo-steps branch October 8, 2025 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants