Closed philipbelesky closed 2 years ago
The button looks good!
I'm not sure, whether 'reset' should be hidden in the dropdown menu, or kept as a default GH input as was the case before. It's used when users provide meshes for cut&fill calculations and as such, its functionality extends beyond just resetting the sliders to defaults.
I think it makes sense to leave it as in input parameter. If it's used often for cut/fill it should be easier to access and might be useful to control programatically. I've reverted that in the latest commit and implemented the UI state; just need to check the actual action when I have access to a Kinect tomorrow.
Ok, the functionality all seems to work as expected. One thing that might be good to bundle as part of the PR is to clarify the role of the Reset action with regard to Calibration and in general:
columns
or analysis settings. Should the help text be more oriented towards the use cases for this action?Re. Calibration - now, that we have a dedicated button, calibration should be triggered by clicking on it. We only used 'reset' as a workaround.
Re. Reset functionality - the intended use was to have a 'panic button' which helps users when things go south for unknown reasons. It shouldn't reset any of the sliders' values since these are carefully chosen for given project's needs. It should, however, clear all internal buffers to hopefully fix any unexpected behavior. Please correct the tooltip text, if you can better formulate this intention.
Ok, great. The latest two commits decouple those two actions and attempt to clarify the help text. Should be all ready for review.
Ok, I have setup the basic layout and widget. No interactivity yet. Let me know how you feel about the style/layout
.