Context: here
Improving user experience of ThreadSettingsModal
Main changes:
- keep submit buttons always on the bottom
- move error message above submit buttons
Differential D5220
[web] Keep submit buttons always on the bottom of the `ThreadSettingsModal` • jakub on Sep 23 2022, 6:26 AM. Authored by Tags None Referenced Files
Details Context: here Improving user experience of ThreadSettingsModal Main changes:
Now, all the submit buttons in form are keeping on the bottom of the modal.
Diff Detail
Event TimelineComment Actions Hm, at a high level is it the right abstraction to have errorMessage in SubmitButton but displayed "outside" of the button? Maybe we could borrow what we have on landing for the SubscriptionForm component and display the error within the button: Maybe in a separate/subsequent diff? Either way, accepting to unblock and adding @tomek as blocking
Comment Actions It makes some sense, but this design has some flaws:
These two aren't unavoidable, so with proper message and validation result it could be quite good. The main reason I would like to avoid doing this here or as a followup is that it breaks consistency with other parts of the app. Also, we should focus on delivering business value instead of spending too much effort on minor improvements. So in this case, we can create a task, assign it a priority (probably low) and implement it when appropriate. Adding unrelated work to a scope of a task is one of the reasons we're not able to estimate things.
We can call it SubmitSection I guess.
Comment Actions Adjust to code review:
Comment Actions Adjust to code review:
|