orppst / pst-gui

web based front end for the tool
Mozilla Public License 2.0
0 stars 0 forks source link

161 make clear why save-update-submit buttons are disabled #167

Closed AllanEngland closed 1 week ago

AllanEngland commented 2 weeks ago

Implemented a new button for some forms that automatically changes its tool tip and enable/disable state depending on if the form is dirty and or valid.

I've used this to harmonise some of the forms, they're not all laid out the same yet, but this goes quite some way to improve on what we had.

This pull request contains a lot of changes, they're mostly minor, but any feedback will be appreciated!

DJWalker42 commented 1 week ago

This improves the tool-tip feedback.

From a UX point-of-view we will probably need to make the "Add" and "Save" buttons consistent throughout; have the same position, alignment, styling, and potentially size (depends on context). We may also want to have Add and Save buttons that are sticky or appear both at the top and bottom of tables/forms depending on the amount of content e.g., number of proposals, we have to display.

In terms of this PR, changes look okay, breaks nothing and improves tool-tip feedback.