-
Notifications
You must be signed in to change notification settings - Fork 114
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
DF-1964-contact-filters #589
Conversation
- Replaces type-and-filter messaging with cf_notifier - Removes "show all" button
state = 'warning'; | ||
} | ||
|
||
message = message.replace( /{{[\s]*term[\s]*}}/, searchTerm ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to combine into one regex and use matching parens like found here https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the existing code, just moved around. I was actually thinking about replacing it with handlebars since we're already including it as a dependency. Just seemed out of scope for this PR.
👍 |
👍 On Wed, May 27, 2015 at 1:55 PM sebworks [email protected] wrote:
|
👍 Tested locally and works. Two thoughts that don't have to happen in this PR:
|
@anselmbradford Experimenting with some other options for speed. Will open a new PR to discuss. |
7603f08
to
8562494
Compare
- No longer shows the default status on page load or after clearing the input. - Separates out the button/input listeners so either or both can be used - Removes duplicate seach submissions
8562494
to
f81dee9
Compare
Updated contact us filter to use new notifications
Additions
None
Removals
Changes
Testing
/contact-us/
Review
Preview
Preview this PR without the whitespace changes
Notes
None