Language Change ? ? NPM Resource Changed Pending

User tests: Successful: Unsuccessful:

avatar rjharishabh
rjharishabh
2 May 2021

Pull Request for Issue #33450

Summary of Changes

form-validation added

Testing Instructions

Users > Mass Mail Users > Click Send Email
Apply PR
npm i
Repeat and See the changes

Actual result BEFORE applying this Pull Request

before-mass

Expected result AFTER applying this Pull Request

user-mail-after

Documentation Changes Required

None

avatar rjharishabh rjharishabh - open - 2 May 2021
avatar rjharishabh rjharishabh - change - 2 May 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 2 May 2021
Category Administration com_users JavaScript Repository NPM Change
avatar rjharishabh rjharishabh - change - 2 May 2021
Labels Added: NPM Resource Changed ?
avatar joomla-cms-bot joomla-cms-bot - change - 2 May 2021
Category Administration com_users JavaScript Repository NPM Change Administration com_users Language & Strings JavaScript Repository NPM Change
avatar rjharishabh rjharishabh - change - 2 May 2021
Labels Added: ?
avatar Quy
Quy - comment - 2 May 2021

Is there a need for the JavaScript file as validation is no longer done in it?

avatar richard67
richard67 - comment - 2 May 2021

I've updated the branch to latest 4.0-dev to get rid of the unrelated javascript-cs error in drone.

avatar YatharthVyas
YatharthVyas - comment - 3 May 2021

I tested your PR and it works as mentioned. Great Work @rjharishabh!

However, I noticed that a very similar form exists for Private Messages where The Subject and the Message is validated. Here, the validation prompt is displayed in a slightly different style with the list of all the fields having an error:

image

An improvement suggestion: such an implementation can provide better UX feedback to the user and it will also maintain consistency among the mail/message component forms. What's your opinion?

avatar rjharishabh
rjharishabh - comment - 3 May 2021

I will look into it

avatar Kostelano
Kostelano - comment - 3 May 2021

I agree with @YatharthVyas. However, the PR works well.

avatar ceford ceford - test_item - 8 May 2021 - Tested unsuccessfully
avatar ceford
ceford - comment - 8 May 2021

I have tested this item ? unsuccessfully on 6af1e7a

The individual fields work but the form submits with the subject and message fields both empty. Is that was what the javascript file was for?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33485.

avatar rjharishabh rjharishabh - change - 19 Aug 2021
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2021-08-19 12:08:43
Closed_By rjharishabh
Labels Added: Language Change ? ?
Removed: ? ?
avatar rjharishabh rjharishabh - close - 19 Aug 2021

Add a Comment

Login with GitHub to post a comment