Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

docs(datepicker): follow Material Design guidelines for messages #11149

Merged
merged 1 commit into from
Mar 5, 2018

Conversation

feloy
Copy link
Contributor

@feloy feloy commented Mar 4, 2018

PR Checklist

Please check that your PR fulfills the following requirements:

  • The commit message follows our guidelines
  • [n/a] Tests for the changes have been added (for bug fixes / features)
  • [n/a] Docs have been added / updated (for bug fixes / features)

PR Type

Documentation changes

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[x] Documentation content changes
[ ] Infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: #11007

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

Closes #11007

@googlebot googlebot added the cla: yes PR author has signed Google's CLA: https://opensource.google.com/docs/cla/ label Mar 4, 2018
@Splaktar Splaktar self-assigned this Mar 4, 2018
@Splaktar Splaktar self-requested a review March 4, 2018 17:26
Copy link
Contributor

@Splaktar Splaktar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution! Everything looks good, but I did notice one other small issue with the existing demo.

<div ng-message="mindate">Date is too early!</div>
<div ng-message="maxdate">Date is too late!</div>
<div ng-message="valid">Use a valid date format</div>
<div ng-message="required">This date is required</div>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's get rid of the required message since we don't have required on the md-datepicker. That doesn't make for a good example for others to follow :)

@Splaktar Splaktar added this to the 1.1.8 milestone Mar 4, 2018
@Splaktar Splaktar added pr: merge safe pr: lgtm This PR has been approved by the reviewer type: demos P5: nice to have These issues will not be fixed without community contributions. labels Mar 4, 2018
@Splaktar
Copy link
Contributor

Splaktar commented Mar 4, 2018

Please add "Closes #11007" to the footer of your commit message as detailed in the commit message guidelines.

@Splaktar Splaktar added the pr: merge ready This PR is ready for a caretaker to review label Mar 4, 2018
@Splaktar Splaktar added needs: squash commits and removed pr: merge ready This PR is ready for a caretaker to review labels Mar 5, 2018
@Splaktar Splaktar added pr: merge ready This PR is ready for a caretaker to review and removed needs: squash commits labels Mar 5, 2018
@jelbourn jelbourn merged commit af7d310 into angular:master Mar 5, 2018
chmelevskij pushed a commit to chmelevskij/material that referenced this pull request Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes PR author has signed Google's CLA: https://opensource.google.com/docs/cla/ P5: nice to have These issues will not be fixed without community contributions. pr: lgtm This PR has been approved by the reviewer pr: merge ready This PR is ready for a caretaker to review type: demos
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docs(datepicker): does not follow Material Design guidelines for messages
4 participants