Closed Nancy-Salpepi closed 2 years ago
Yes this is a desired behavior because when you put a nucleon in and it doesn't form you can see that and it kicks it out but if you take a nucleon out and it doesn't form, it would look weird to send a nucleon back in. We recognize this is slightly asymmetric behavior but it feels like the correct behavior.
Ok great. Thanks for the clarification Luisa!
@Luisav1 I know I already closed this issue, but I have another question about it--it was thought that it "would look weird to send a nucleon back in" but if I remove a nucleon directly from the nucleus and let go, that is exactly what happens....so this seems a bit inconsistent to me. I just thought I would mention it.
Thanks for bringing that up @Nancy-Salpepi. @chrisklus To have consistent behavior with the buttons, we don't allow the nucleons to be fully removed if that will create a nuclide that doesn't exist. Removing a nucleon and holding it to us feels a bit better then sending it back to its stack. For example with Hydrogen-6, if a proton is removed, it would be weirder and a bit more complex to allow it to go back to the stack and then send a proton back in because 5 neutrons doesn't exist. There we would also be allowing 5 neutrons to exist for a short timeframe, which we don't want.
Test device MacBook Air (m1 chip)
Operating System 12.5
Browser Safari
Problem description For https://github.com/phetsims/qa/issues/823, I noticed that sometimes a decrease button is disabled to avoid making a nuclide that doesn't exist, but this doesn't seem to happen for adding a proton, neutron or both.
For example, the screen looks like this for lithium-4:
Two decrease buttons are disabled to avoid making nonexistent nuclides, but adding a proton would also make a nonexistent nuclide and that button is still enabled. Is this the desired behavior?