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

feat(autocomplete): adds autocomplete text-field #1418

Closed
wants to merge 1 commit into from

Conversation

robertmesserle
Copy link
Contributor

No description provided.

@ajoslin ajoslin added the in progress Mainly for in progress PRs, but may be used for issues that require multiple PRs label Feb 6, 2015
@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google. If we're mistaken and you did author these commits, just reply here to confirm.

@robertmesserle
Copy link
Contributor Author

@marcysutton Can you please confirm that I did not break anything with my re-organization of the aria code?

@ThomasBurleson
Copy link
Contributor

Oh my... cannot wait to review this code. #woot
@robertmesserle - I thought you said you could do this autoComplete in 5 lines of code? (LOL)

@robertmesserle
Copy link
Contributor Author

I maybe jumped the gun on doing a PR - there are no unit tests yet, but I wanted to get this up for review early.

Also missing: Documentation and Theming.

@@ -148,6 +148,18 @@ input {
}
}

.visuallyhidden {
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't this use a dash to be consistent?

Copy link
Contributor

Choose a reason for hiding this comment

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

This class is a common utility from HTML5 Boilerplate, so by not using the hyphen it will be easier to remember.

Copy link
Contributor

Choose a reason for hiding this comment

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

perhaps something like .hide-visually ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated (and also removed redundant class in doc styles)

@ThomasBurleson
Copy link
Contributor

@robertmesserle - is this ready to merge ?

@robertmesserle
Copy link
Contributor Author

I have to add documentation and unit tests - should have that in tomorrow.

On Feb 8, 2015, at 4:49 PM, Thomas Burleson notifications@github.com wrote:

@robertmesserle - is this ready to merge ?


Reply to this email directly or view it on GitHub.

@robertmesserle robertmesserle force-pushed the wip-autocomplete branch 2 times, most recently from 90d9daa to 8bf5295 Compare February 10, 2015 18:20
@googlebot
Copy link

CLAs look good, thanks!

@robertmesserle
Copy link
Contributor Author

@ThomasBurleson Ready to merge.

height: 40px;
}
}
md-content {
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be global?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Renamed in latest commit

@marcysutton
Copy link
Contributor

@robertmesserle sorry for the late feedback. Nothing major, just a few little things!

@robertmesserle
Copy link
Contributor Author

@marcysutton No worries, addressed your feedback and update PR

@robertmesserle robertmesserle force-pushed the wip-autocomplete branch 2 times, most recently from ef60d49 to f9948c6 Compare February 10, 2015 21:37
feat(autocomplete): adds accessibility support

TODO: wire aria-activedescendant as a watched property with a value of the active listItem id

refactor(autocomplete): re-organizes aria changes to live in controller

chore(autocomplete): removes temporary comments

refactor(autocomplete): renames ambiguous directive

refactor(styles): renames `visuallyhidden` to `visually-hidden` for consistency.

refactor(autocomplete): removes unused template file

refactor(autocomplete): uses `$mdConstant` rather than hard-coded values

refactor(autocomplete): various cleanup based on feedback

refactor(autocomplete): cleans up scope confusion

refactor(autocomplete): includes theming, updates directive name to prevent potential conflicts
@ajoslin ajoslin removed the in progress Mainly for in progress PRs, but may be used for issues that require multiple PRs label Feb 10, 2015
@marcysutton marcysutton deleted the wip-autocomplete branch February 10, 2015 23:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants