Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] AOI visualization disappears when map recenters in E&A #1093

Open
aboydnw opened this issue Aug 6, 2024 · 2 comments
Open

[Bug] AOI visualization disappears when map recenters in E&A #1093

aboydnw opened this issue Aug 6, 2024 · 2 comments
Assignees
Labels
P2 Find a way to fix in the next few sprints regression Signifies a regression issue found during testing

Comments

@aboydnw
Copy link
Contributor

aboydnw commented Aug 6, 2024

Context

From @sandrahoang686 's initial investigation:

in veda-ui, before we were using deprecated staging endpoints (aka delta-backend.com) this has been updated to the new staging openveda endpoint. But before in veda-ui, actually the layer visualization wasn't working so you were able to see the AOI. After updating to the new staging endpoint, veda-ui preview layers visualization is now working.

URL:

Blocking a release? (y/n): n

Regression issue? (y/n): y
[If yes, add Regression label]

Priority: P2

Steps to reproduce the issue

  1. Select some layers for visualization in E&A
  2. Using the pen tool, draw an AOI that is relatively small for the current zoom level
  3. Click Run Analysis
  4. Upon map recenter, you should not see the AOI drawn on the map anymore, although it still exists and is selected
  5. If you can still see the AOI drawn on the map, try some other combination of AOI size and zoom level. Anecdotally, I can recreate this ~70% of the time

https://www.loom.com/share/39b8d68a331443629d86910f72272614?sid=20d4ea43-5a7a-48aa-bbe9-36b51489f2d7

@aboydnw aboydnw added regression Signifies a regression issue found during testing P2 Find a way to fix in the next few sprints labels Aug 6, 2024
@aboydnw
Copy link
Contributor Author

aboydnw commented Aug 20, 2024

similar to #949

@AliceR
Copy link
Member

AliceR commented Nov 4, 2024

I faced the same issue with these steps:

  1. load exploration page from fresh start
  2. draw big area, leave in selected mode
  3. click run analysis
  4. -> drawn area disappears from map
  5. click pen or anywhere on the map
  6. -> new area appears
Screenshot 2024-11-04 at 11 17 47 Screenshot 2024-11-04 at 11 17 58 Screenshot 2024-11-04 at 11 19 01

Alternatively, in case the area remained:
7. draw another area next to it
8. click apply
9. -> new area disappears, old area is being displayed as selected
10. click pen or anywhere on the map
11. -> new area appears

And finally, to add some more buggy state issues:

  1. load exploration page from fresh start
  2. draw and analyze some areas
  3. delete all areas
  4. draw new area, leave in selected mode
  5. click apply
  6. -> old areas appear instead of new one! (expected: new area remains)
  7. click pen or anywhere on the map
  8. -> new area appears
  9. click anywhere again
  10. -> old area disappears

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 Find a way to fix in the next few sprints regression Signifies a regression issue found during testing
Projects
None yet
Development

No branches or pull requests

2 participants