Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRM-21231: On CiviMail screen make 'Review and Schedule' tab active if required fields are filled #11035

Merged
merged 1 commit into from
Oct 18, 2017

Conversation

monishdeb
Copy link
Member

@monishdeb monishdeb commented Sep 28, 2017

Overview

The Review and Schedule tab selector becomes active after the user first visits the Review and Schedule screen by clicking the Next button on the Define Mailing screen. It would be preferable for the tab to behave like the next button - become active when all the required fields are completed.

Before

The second tab is disabled even if all required fields are filled. Screencast:
civimail-before

After

The second tab is enabled after all required fields are filled.
civimail-after

NOTE: Clear cache before testing.


@mlutfy
Copy link
Member

mlutfy commented Sep 28, 2017

As a user, we reviewed this patch on the test site created by Jenkins, and it looks good. Tested filling in the mandatory fields, reloading the screen and comparing with the current dmaster site.

However, there are failing tests.

(we are doing review/demo in a sprint)

@mlutfy
Copy link
Member

mlutfy commented Sep 28, 2017

jenkins, test this please

@monishdeb
Copy link
Member Author

Jenkin test this please

@lcdservices
Copy link
Contributor

tested and this is working as expected.

@seamuslee001
Copy link
Contributor

@monishdeb i tested this on a local dmaster. This looks good for when you have filled in all the fields. I agree this is a good improvement. I also noticed that the tab stayed active when i removed a required field e.g. Subject after it was made active. I think we may just need to check that its also watching for changes

@monishdeb
Copy link
Member Author

@seamuslee001 I have updated the PR, can you please check now?

@lcdservices
Copy link
Contributor

@monishdeb @seamuslee001 just ran a test and it now watches for changes -- if the data in a required field is removed, the link is disabled. I think this is good to go.

@monishdeb
Copy link
Member Author

monishdeb commented Oct 18, 2017

Thank you @mlutfy @seamuslee001 @lcdservices for your feedback :)

@eileenmcnaughton / @colemanw can you please merge this PR?

@mlutfy mlutfy merged commit 8efe0c2 into civicrm:master Oct 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants