ameliorate
ameliorate copied to clipboard
Add solution components to criteria table
Is your feature request related to a problem? Please describe. Solution components create detail in the diagram that is not reflected in the criteria table.
Describe the solution you'd like
Toggleable grouped headers seem like an acceptable way of addressing the issue, like this
- Toggle button can probably use the component icon, but maybe neutral color to distinguish that it's not adding a node?
- Ideally we wouldn't create edges between all criteria & solution components, so that component connections can be more intentional in the diagram, but we can create the connections if that seems least complex. The alternatives are
- use a plus button or something in the cell between the component & criteria, to create the edge if it doesn't exist
- create the edge if it doesn't exist when we try to set the score or view the implicit claim
Describe alternatives you've considered
Additional context
Technical ideas See https://www.material-react-table.dev/?path=/story/features-header-groups-examples--header-groups for how to add grouped headers to the table