keystone.guru
keystone.guru copied to clipboard
Re-ordering or adding new pulls may cause out of order or duplicate pull indices
Context: https://www.reddit.com/r/CompetitiveWoW/comments/ms02yj/keystoneguru_m_routes_made_easy_redesign_many_new/guss9mg
https://discord.com/channels/482454450754289675/482822434106638346/869923242188615751
Reproduction steps:
- Create a pull
- Create a second pull (I used shift click)
- Create a third pull at the end of the list (I used new pull)
- Move pull 3 in between the other 2 pulls
- Delete this final pull (the one now in the middle)
- Shift-click to create a new pull
- Refresh, you should now have 2 pulls with index 3 I don't know if this moving a pull from the end to the middle is a separate bug/interaction but I figured it was worth mentioning
It seems the minimum you need to do is:
- Press new pull 2 times
- Delete the first pull
- Press new pull one more time
- Refresh the page
it's important that you use press new pull on the final pull add. Alternatively if you deselect the current pull and shift-click to add a new pull at the end it behaves the same. If you shift click while you have a pull selected (even if it's the last pull) it will not trigger the bug.
@omicron-o I just double checked your reproduction steps and doing exactly that keeps everything in order now. Closing!