NASA-AMMOS / NASA-AMMOS/plandev-ui
'Selected Activity' tab freezes after clicking on a simulated activity that disappeared from the UI
Nobody has claimed this yet.
- Dominant language
- Svelte
- Stars
- 42
- Forks
- 14
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 10
Description
Checked for duplicates
No - I haven't checked
Is this a regression?
No - This is a new bug
Version
1.6.0
Describe the bug
The 'Selected Activity' tab freezes after clicking on a simulated activity in the "Simulated Activities Table" that disappeared from the UI after simulation post-scheduling. This bug is complimentary to NASA-AMMOS/aerie#965 (which explains the disappearing activity type issue). If NASA-AMMOS/aerie#965 is fixed, this bug may cease to exist.
In the screen recording below, you can see as I click through the activity instances placed in the plan with the scheduling goal GNC_DSS_Boresight_Vectors_Cal that the Selected Activity tab reflects the information of the instance selected in the UI. However, there is an activity instance, GNC_Single_Turn, that does not show up in the UI that occurs at the same time as the final GNC_Solar_Array_Sun_Track. This activity instance disappeared after simulating post-scheduling.
https://github.com/NASA-AMMOS/aerie/assets/40210944/39c6b03b-176c-40d3-b292-f33edd4539e1
Reproduction
This can be attempted to be reproduced by testing a scheduling goal (or set of goals) that place sets of activity instances (in the cases I've seen it has been multiple coexistence goals hooked to a primary anchor activity). Run the scheduler first and ensure all activity directives show up and then simulate and check again. In my case, the activity types always showed up in the activity directives/simulated activities table, yet some random assortment would not appear in the UI plan view after simulation.
Add "Selected Activity" tab to view in the UI. When an activity instance that is expected does not show up in the UI, click the matching simulated activity type in the "Simulated Activities Table" and observe that the "Selected Activity" tab freezes if you try to click other simulated activities to get their information. I have to refresh the page at this point to get the window to unfreeze.
Logs
No response
System Info
Google Chrome browser, macOS Ventura 13.3.1
Severity
Minor
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the scheduling and simulation workflow described in the issue, then inspect the Selected Activity tab after selecting an activity that disappeared from the plan view. Compare its behavior with the Simulated Activities Table and verify that selecting another activity updates the tab without freezing or requiring a page refresh.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100