Feature Request: Implement a check to detect if the pool values are unchanged
Crystalsage opened this issue · 3 comments
Crystalsage commented
Is your feature request related to a problem? Please describe.
Currently in the Point simulation, a user can run the simulation multiple times with the same pool values. We want a better way to handle this.
These kinds of checks will help us in GCBM simulation too, since the simulation times are longer there and we don't want to trigger a simulation with the same values.
Describe the solution you'd like.
The solution to this problem goes something like this:
- Check if the simulation is being ran for the first time.
- If yes then store the pool values in the store.
- Otherwise if no, then check the current state with the one stored in Step 2.
- If the simulation is ran with the same pool values then present a warning modal.
Describe alternatives you've considered
No response
Additional context.
- This is a followup of the ideas discussed in PR #339
- We can use an Ant design modal for the step 4.
Crystalsage commented
I'd like to work on this.
shloka-gupta commented
YashKandalkar commented
@Crystalsage This looks awesome!