Open sanzog03 opened 2 weeks ago
Note: I tried the link in production - with staging removed from the url, and the issue was there for the same polygon in production as well. So, this bug was there from before.
cc @aboydnw
Somehow, in the link you provided, the dashboard thinks that an area is selected. You can see that in the URL parameter: &selectedForEditing=true
and you can see it in the UI:
I have tried to recreate this condition and have been unsuccessful. Any time I select, delete, create, or perform another action then the selected state seems to be correct. @sanzog03 or @paridhi-parajuli are either of you able to recreate this condition? That would lead us to the bug.
Ah, wait, as soon as I sent that I had a suspicion and can now reliably reproduce the issue. See below
Since we know the workaround and the severity of the issue is not very high, I propose we place this ticket in the backlog, potentially for next PI.
@aboydnw We aren't exactly sure how we came to this bug, however, the steps to reproduce the bug seems like something we might have done. I agree that this is not a severe issue as there is a workaround to this, so placing it in the backlog seems good. Also @paridhi-parajuli if you at some time remember how you came to this bug or be sure that these steps were what you did, update that in this ticket.
Related ticket: https://github.com/NASA-IMPACT/veda-ui/issues/950
Generally, In exploration the "delete all areas" button work when there are multiple polygons, i.e. without selecting any polygons. However, for the link shared by @Paridhi, the "delete all areas" button doesnot work unless we click on the polygon. I could find this behaviour only on this link, so might be something specific about that ploygon.