-
Notifications
You must be signed in to change notification settings - Fork 6.8k
refactor(datepicker): implement date selection model provider #18090
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
Merged
mmalerba
merged 5 commits into
angular:date-selection-model-new
from
crisbeto:date-selection-model-implementation
Jan 7, 2020
Merged
refactor(datepicker): implement date selection model provider #18090
mmalerba
merged 5 commits into
angular:date-selection-model-new
from
crisbeto:date-selection-model-implementation
Jan 7, 2020
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Adds a date selection model * Adds a date selection model
…ular#17766) * Adds a date selection model (angular#17363) * Adds a date selection model * Adds a date selection model * Add overlaps function to date selection model
* incoporate new type definition * fix test and clean up the types a bit * update api gold * fix some nits * fix lint Co-authored-by: mmalerba <mmalerba@google.com>
crisbeto
commented
Jan 2, 2020
af98768
to
472b12d
Compare
mmalerba
reviewed
Jan 6, 2020
472b12d
to
a82b6d4
Compare
The feedback has been addressed @mmalerba. |
a82b6d4
to
50801fc
Compare
mmalerba
reviewed
Jan 7, 2020
Reworks the datepicker-related directives to move the source of the value into the new datepicker selection provider.
50801fc
to
a6faba7
Compare
Addressed the latest set of feedback. |
mmalerba
added a commit
that referenced
this pull request
Jan 7, 2020
* Adds a date selection model (#17363) * Adds a date selection model * Adds a date selection model * Use MatDateSelectionModel to model the selected value in MatDatepickerInput (#17497) * Make the selection model injectable and add an `overlaps` method (#17766) * Adds a date selection model (#17363) * Adds a date selection model * Adds a date selection model * Add overlaps function to date selection model * Trying to incorporate the new type definition (#17942) * incoporate new type definition * fix test and clean up the types a bit * update api gold * fix some nits * fix lint Co-authored-by: mmalerba <mmalerba@google.com> * refactor(datepicker): implement date selection model provider Reworks the datepicker-related directives to move the source of the value into the new datepicker selection provider. Co-authored-by: xlou978 <51772166+xlou978@users.noreply.github.com> Co-authored-by: jaguima <jaguima@gmail.com> Co-authored-by: mmalerba <mmalerba@google.com> Co-authored-by: roboshoes <mail@mathias-paumgarten.com> Co-authored-by: goldblatt <suzgoldblatt@gmail.com>
crisbeto
added a commit
to crisbeto/material2
that referenced
this pull request
Jan 11, 2020
…r#18090) * Adds a date selection model (angular#17363) * Adds a date selection model * Adds a date selection model * Use MatDateSelectionModel to model the selected value in MatDatepickerInput (angular#17497) * Make the selection model injectable and add an `overlaps` method (angular#17766) * Adds a date selection model (angular#17363) * Adds a date selection model * Adds a date selection model * Add overlaps function to date selection model * Trying to incorporate the new type definition (angular#17942) * incoporate new type definition * fix test and clean up the types a bit * update api gold * fix some nits * fix lint Co-authored-by: mmalerba <mmalerba@google.com> * refactor(datepicker): implement date selection model provider Reworks the datepicker-related directives to move the source of the value into the new datepicker selection provider. Co-authored-by: xlou978 <51772166+xlou978@users.noreply.github.com> Co-authored-by: jaguima <jaguima@gmail.com> Co-authored-by: mmalerba <mmalerba@google.com> Co-authored-by: roboshoes <mail@mathias-paumgarten.com> Co-authored-by: goldblatt <suzgoldblatt@gmail.com>
crisbeto
added a commit
to crisbeto/material2
that referenced
this pull request
Jan 11, 2020
…r#18090) * Adds a date selection model (angular#17363) * Adds a date selection model * Adds a date selection model * Use MatDateSelectionModel to model the selected value in MatDatepickerInput (angular#17497) * Make the selection model injectable and add an `overlaps` method (angular#17766) * Adds a date selection model (angular#17363) * Adds a date selection model * Adds a date selection model * Add overlaps function to date selection model * Trying to incorporate the new type definition (angular#17942) * incoporate new type definition * fix test and clean up the types a bit * update api gold * fix some nits * fix lint Co-authored-by: mmalerba <mmalerba@google.com> * refactor(datepicker): implement date selection model provider Reworks the datepicker-related directives to move the source of the value into the new datepicker selection provider. Co-authored-by: xlou978 <51772166+xlou978@users.noreply.github.com> Co-authored-by: jaguima <jaguima@gmail.com> Co-authored-by: mmalerba <mmalerba@google.com> Co-authored-by: roboshoes <mail@mathias-paumgarten.com> Co-authored-by: goldblatt <suzgoldblatt@gmail.com>
crisbeto
added a commit
that referenced
this pull request
Jan 11, 2020
* Adds a date selection model (#17363) * Adds a date selection model * Adds a date selection model * Use MatDateSelectionModel to model the selected value in MatDatepickerInput (#17497) * Make the selection model injectable and add an `overlaps` method (#17766) * Adds a date selection model (#17363) * Adds a date selection model * Adds a date selection model * Add overlaps function to date selection model * Trying to incorporate the new type definition (#17942) * incoporate new type definition * fix test and clean up the types a bit * update api gold * fix some nits * fix lint Co-authored-by: mmalerba <mmalerba@google.com> * refactor(datepicker): implement date selection model provider Reworks the datepicker-related directives to move the source of the value into the new datepicker selection provider. Co-authored-by: xlou978 <51772166+xlou978@users.noreply.github.com> Co-authored-by: jaguima <jaguima@gmail.com> Co-authored-by: mmalerba <mmalerba@google.com> Co-authored-by: roboshoes <mail@mathias-paumgarten.com> Co-authored-by: goldblatt <suzgoldblatt@gmail.com>
crisbeto
added a commit
that referenced
this pull request
Jan 24, 2020
* Adds a date selection model (#17363) * Adds a date selection model * Adds a date selection model * Use MatDateSelectionModel to model the selected value in MatDatepickerInput (#17497) * Make the selection model injectable and add an `overlaps` method (#17766) * Adds a date selection model (#17363) * Adds a date selection model * Adds a date selection model * Add overlaps function to date selection model * Trying to incorporate the new type definition (#17942) * incoporate new type definition * fix test and clean up the types a bit * update api gold * fix some nits * fix lint Co-authored-by: mmalerba <mmalerba@google.com> * refactor(datepicker): implement date selection model provider Reworks the datepicker-related directives to move the source of the value into the new datepicker selection provider. Co-authored-by: xlou978 <51772166+xlou978@users.noreply.github.com> Co-authored-by: jaguima <jaguima@gmail.com> Co-authored-by: mmalerba <mmalerba@google.com> Co-authored-by: roboshoes <mail@mathias-paumgarten.com> Co-authored-by: goldblatt <suzgoldblatt@gmail.com>
crisbeto
added a commit
that referenced
this pull request
Jan 24, 2020
* Adds a date selection model (#17363) * Adds a date selection model * Adds a date selection model * Use MatDateSelectionModel to model the selected value in MatDatepickerInput (#17497) * Make the selection model injectable and add an `overlaps` method (#17766) * Adds a date selection model (#17363) * Adds a date selection model * Adds a date selection model * Add overlaps function to date selection model * Trying to incorporate the new type definition (#17942) * incoporate new type definition * fix test and clean up the types a bit * update api gold * fix some nits * fix lint Co-authored-by: mmalerba <mmalerba@google.com> * refactor(datepicker): implement date selection model provider Reworks the datepicker-related directives to move the source of the value into the new datepicker selection provider. Co-authored-by: xlou978 <51772166+xlou978@users.noreply.github.com> Co-authored-by: jaguima <jaguima@gmail.com> Co-authored-by: mmalerba <mmalerba@google.com> Co-authored-by: roboshoes <mail@mathias-paumgarten.com> Co-authored-by: goldblatt <suzgoldblatt@gmail.com>
crisbeto
added a commit
to crisbeto/material2
that referenced
this pull request
Jan 24, 2020
…r#18090) * Adds a date selection model (angular#17363) * Adds a date selection model * Adds a date selection model * Use MatDateSelectionModel to model the selected value in MatDatepickerInput (angular#17497) * Make the selection model injectable and add an `overlaps` method (angular#17766) * Adds a date selection model (angular#17363) * Adds a date selection model * Adds a date selection model * Add overlaps function to date selection model * Trying to incorporate the new type definition (angular#17942) * incoporate new type definition * fix test and clean up the types a bit * update api gold * fix some nits * fix lint Co-authored-by: mmalerba <mmalerba@google.com> * refactor(datepicker): implement date selection model provider Reworks the datepicker-related directives to move the source of the value into the new datepicker selection provider. Co-authored-by: xlou978 <51772166+xlou978@users.noreply.github.com> Co-authored-by: jaguima <jaguima@gmail.com> Co-authored-by: mmalerba <mmalerba@google.com> Co-authored-by: roboshoes <mail@mathias-paumgarten.com> Co-authored-by: goldblatt <suzgoldblatt@gmail.com>
crisbeto
added a commit
that referenced
this pull request
Jan 29, 2020
* Adds a date selection model (#17363) * Adds a date selection model * Adds a date selection model * Use MatDateSelectionModel to model the selected value in MatDatepickerInput (#17497) * Make the selection model injectable and add an `overlaps` method (#17766) * Adds a date selection model (#17363) * Adds a date selection model * Adds a date selection model * Add overlaps function to date selection model * Trying to incorporate the new type definition (#17942) * incoporate new type definition * fix test and clean up the types a bit * update api gold * fix some nits * fix lint Co-authored-by: mmalerba <mmalerba@google.com> * refactor(datepicker): implement date selection model provider Reworks the datepicker-related directives to move the source of the value into the new datepicker selection provider. Co-authored-by: xlou978 <51772166+xlou978@users.noreply.github.com> Co-authored-by: jaguima <jaguima@gmail.com> Co-authored-by: mmalerba <mmalerba@google.com> Co-authored-by: roboshoes <mail@mathias-paumgarten.com> Co-authored-by: goldblatt <suzgoldblatt@gmail.com>
crisbeto
added a commit
that referenced
this pull request
Feb 5, 2020
* Adds a date selection model (#17363) * Adds a date selection model * Adds a date selection model * Use MatDateSelectionModel to model the selected value in MatDatepickerInput (#17497) * Make the selection model injectable and add an `overlaps` method (#17766) * Adds a date selection model (#17363) * Adds a date selection model * Adds a date selection model * Add overlaps function to date selection model * Trying to incorporate the new type definition (#17942) * incoporate new type definition * fix test and clean up the types a bit * update api gold * fix some nits * fix lint Co-authored-by: mmalerba <mmalerba@google.com> * refactor(datepicker): implement date selection model provider Reworks the datepicker-related directives to move the source of the value into the new datepicker selection provider. Co-authored-by: xlou978 <51772166+xlou978@users.noreply.github.com> Co-authored-by: jaguima <jaguima@gmail.com> Co-authored-by: mmalerba <mmalerba@google.com> Co-authored-by: roboshoes <mail@mathias-paumgarten.com> Co-authored-by: goldblatt <suzgoldblatt@gmail.com>
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
action: merge
The PR is ready for merge by the caretaker
cla: yes
PR author has agreed to Google's Contributor License Agreement
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Reworks the datepicker-related directives to move the source of the value into the new datepicker selection provider.
Note: I've switched everything except the calendar views to use the value from the model. Since the views are supposed dumb components which are managed the calendar, I thought that it doesn't make sense for them to know about the selection model, because they don't always update the model.