SDG-AI-Lab / DSVI_Tool_v3

DSVI Online Tool: Displays social vulnerability data and allows users to analyze them interactively.
https://sdg-ai-lab.github.io/DSVI_Tool_v3/
5 stars 1 forks source link

New-reset-button #199

Closed andreiPro closed 1 year ago

andreiPro commented 1 year ago

Good morning, New Reset-button.

image
andreiPro commented 1 year ago

Dear Team, Let's use Immer library for avoiding of mutation of state. Really helpful library.

https://yarnpkg.com/package/immer https://dev.to/franciscomendes10866/use-context-api-and-immer-to-manage-the-state-of-your-react-app-1hem

Skerre commented 1 year ago

@andreiPro Dear Andrei, I checked the PR and I noticed something:

https://user-images.githubusercontent.com/38685413/201301434-f3ad9831-5004-407e-90ef-8338e1b6204a.mp4

I think it still does not reappear the vulnerability points after using the reset button

andreiPro commented 1 year ago

Hi Martin, As I remember this vulnerability points should be active be default. I can easily make the not active be default.

andreiPro commented 1 year ago

@andreiPro Dear Andrei, I checked the PR and I noticed something:

unexpected_behaviour.mp4 I think it still does not reappear the vulnerability points after using the reset button

Good morning Martin, This bug is fixed.

andreiPro commented 1 year ago

Hi Martin, I've fixed all bugs.

andreiPro commented 1 year ago

reset-button