paleobot / pbot-dev

Codebase and initial design documents for pbot client
MIT License
2 stars 2 forks source link

Data entry edit display #310

Open ecurrano opened 2 months ago

ecurrano commented 2 months ago

I edited an existing image node. After submitting the edit, I wanted to edit another node. The previous node that I had edited was fully populated. I didn't think to reset the form, and so just started searching on a new collection. I managed to end up with a weird mix of fields about the new image node and the old one- see image, where all the text is consistent with one node, but you can see that the image node and image don't match. And I'm not sure what would happen if I edit more.

There are a couple of different ways we could handle this. 1) educate people to push the reset button immediately, unless you want to edit the same node again. 2) send the user to a cleared form if they go back there. 3) clear all values below as soon as someone chooses a new collection. Screen Shot 2024-09-09 at 10 59 43 AM

aazaff commented 1 month ago

The third option seems to me to be the behaviour that you would intuitively expect.