simularium / simularium-website

Front end website for the Simularium project, includes the Simularium viewer
https://simularium.allencell.org
Apache License 2.0
6 stars 3 forks source link

check if children have different colors and expand by default if so #506

Closed interim17 closed 5 months ago

interim17 commented 5 months ago

Time estimate or Size

x-small

Problem

Closes #505

Solution

Check if agent children have different colors and pass value to existing expandByDefault prop.

Steps to Verify:

  1. Open this trajectory with this branch and see if second agent is expanded and first is not.

Screenshots (optional):

Screenshot 2024-04-30 at 10 32 11 AM

github-actions[bot] commented 5 months ago

Coverage report

St.:grey_question:
Category Percentage Covered / Total
🟑 Statements 68.58% 657/958
🟑 Branches 65.22% 90/138
πŸ”΄ Functions 36.21% 84/232
🟑 Lines 67.16% 589/877

Test suite run success

104 tests passing in 7 suites.

Report generated by πŸ§ͺjest coverage report action from 2a861cdabbd1243ca70e987c48dade7796259fe1