zulip-flutter icon indicating copy to clipboard operation
zulip-flutter copied to clipboard

compose: Implement disabled appearance for edit-message "Save" button

Open chrisbobbe opened this issue 7 months ago • 0 comments

When we first implement the edit-message compose box (#126), we plan to skip a feature that the regular compose box has, because we don't have a Figma design for it.

The regular compose box gives the "Send" button a faded appearance when there are validation errors. Compare:

Validation error (content too long) No validation error
Image Image

We should do the same with the "Save" button in the edit-message compose box:

Image

See ZulipWebUiKitButton in the code, and the Figma frames linked from there, which don't include a design for a disabled state.

Tapping the "Save" button still gives a dialog explaining the validation error(s), just like the regular compose box's "Send" button, which mitigates the bug a lot.

chrisbobbe avatar Apr 23 '25 22:04 chrisbobbe