Page MenuHomePhabricator

Textfield should reset to gray after message is sent
Closed, ResolvedPublic

Description

Followup ticket from T326413

WHEN there are event participants who can be sent messages
AND the organizer successfully sends them a message
THEN the textarea outline should reset to gray

Current behavior: The message box outline remains remains red like it would be if there were less than 10 characters in the email message.

Screenshot 2023-07-18 at 10.41.30 AM.png (822ร—1 px, 49 KB)

Environment: betacluster

Acceptance criteria:

The outline of the textfield should reset to gray after the message is sent

Event Timeline

Restricted Application added a subscriber: Aklapper. ยท View Herald TranscriptSep 19 2023, 8:58 PM

This looks like it would be a trivial change, but it's tricker than it seems because of some quirks in OOUI: T347748. I will implement some workaround.

Change 962085 had a related patch set uploaded (by Daimona Eaytoy; author: Daimona Eaytoy):

[mediawiki/extensions/CampaignEvents@master] EventDetails: reset message validity after sending email

https://gerrit.wikimedia.org/r/962085

Change 962085 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] EventDetails: reset message validity after sending email

https://gerrit.wikimedia.org/r/962085

โœ… The outline of the textfield should reset to gray after the message is sent.

This is functioning correctly now. Marking this as done / resolved

Screen Recording 2023-10-03 at 1.15.37 PM.gif (1ร—2 px, 660 KB)