NASA-AMMOS / aerie-ui

The client application for Aerie.
https://nasa-ammos.github.io/aerie-docs/
MIT License
28 stars 4 forks source link

Moving a directive that has another directive anchored results in incorrect start times #1337

Open duranb opened 1 week ago

duranb commented 1 week ago

Checked for duplicates

Yes - I've already checked

Is this a regression?

No - This is a new bug

Version

develop

Describe the bug

Dragging a Directive B that is anchored to a Directive A seems to change the start time of Directive A only temporarily. If you proceed to drag Directive A, it snaps to where its original start time was prior to dragging Directive B and it gets into a weird state. (First discovered by @jmdelfa)

Reproduction

  1. Create a banananation plan
  2. Add a GrowBanana directive
  3. Add a PeelBanana directive
  4. Anchor PeelBanana to GrowBanana with any offset
  5. Drag GrowBanana on the timeline and verify that the resulting start time is as expected
  6. Drag PeelBanana on the timeline and notice that GrowBanana moves on the timeline, but the start time of GrowBanana on the Selected Activity Panel remains unchanged

Logs

No response

System Info

Chrome

Severity

Moderate