Don't reset activeFields after editing some field
There's a small UI glitch in the task detail view:
- Click "Set a start date"
- Set some date, but don't click "Confirm"
- Click "Set an end date" while the start date widget is still open
The end date field became visible, but disappeared immediately after saving start date, so I have to click "Set an end date" again.
It's easy to see that hiding is caused by calling setActiveFields() in the
saveTask method, so I think there is a need to remember fields fields that should remain active after saving (or just deleting this call, but it exists for some reason?)
(I wanted to make a PR but couldn't come up with a variable name 🙁)
(P.S. There are many small UI glitches, maybe I'll create a meta-issue someday)
I think that call to
setActiveFields() is save to remove. IIRC I've put it in back then precisely because I wanted to hide all fields without a value after one was set.
Another way to solve this would be to add a check to see if a new field was called (click on a "set"-button while another dialog was still open) but I think that'd get very complicated very quickly.
Deleting a branch is permanent. It CANNOT be undone. Continue?