From 1e437cf56bd5f6d75d6c9dfe8106b41e618d0a92 Mon Sep 17 00:00:00 2001 From: Ofir Oron Date: Wed, 7 Jun 2017 10:32:09 +0300 Subject: [PATCH 1/3] [FunctionSearch] clear query after selecting an item #2526 --- src/components/Editor/SearchBar.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Editor/SearchBar.js b/src/components/Editor/SearchBar.js index ebbce9a40c..f544ab65d3 100644 --- a/src/components/Editor/SearchBar.js +++ b/src/components/Editor/SearchBar.js @@ -255,9 +255,10 @@ class SearchBar extends Component { } closeSearch(e: SyntheticEvent) { - const { editor } = this.props; + const { editor, setFileSearchQuery } = this.props; if (this.props.searchOn && editor) { + setFileSearchQuery(""); this.clearSearch(); this.props.toggleFileSearch(false); this.props.toggleSymbolSearch(false); From d39dfd65d4916c65e478221a4394f82dfd55860e Mon Sep 17 00:00:00 2001 From: Ofir Oron Date: Wed, 7 Jun 2017 10:43:13 +0300 Subject: [PATCH 2/3] fix for warning - Found reference to undefined definition no-undefined-references (remark-lint) --- docs/updates/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/updates/README.md b/docs/updates/README.md index 2ef243a0f6..9ac73dabd2 100644 --- a/docs/updates/README.md +++ b/docs/updates/README.md @@ -107,7 +107,7 @@ This was a really great week for QA improvements as the debugger is getting more * We now disable out of scope lines when the debugger pauses. * We have huge updates to preview - it's faster, more consistent, and works for HTML elements -* Breakpoints are kept in sync as code changes. Big thanks to [@codehag] +* Breakpoints are kept in sync as code changes. Big thanks to @codehag * We're chipping away at two new features: Outline View and Project Search From 53e32bd335f35ea1d7d29546f7f4c0f4f4595abf Mon Sep 17 00:00:00 2001 From: Jason Laster Date: Wed, 7 Jun 2017 10:55:46 -0400 Subject: [PATCH 3/3] Update README.md --- docs/updates/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/updates/README.md b/docs/updates/README.md index 9ac73dabd2..63b838fd92 100644 --- a/docs/updates/README.md +++ b/docs/updates/README.md @@ -107,13 +107,14 @@ This was a really great week for QA improvements as the debugger is getting more * We now disable out of scope lines when the debugger pauses. * We have huge updates to preview - it's faster, more consistent, and works for HTML elements -* Breakpoints are kept in sync as code changes. Big thanks to @codehag +* Breakpoints are kept in sync as code changes. Big thanks to [@codehag] * We're chipping away at two new features: Outline View and Project Search [@asolove]:http://github.com/asolove [@ryanjduffy]:http://github.com/ryanjduffy [@diessica]:http://github.com/diessica +[@codehag]:http://github.com/codehag [@andreicristianpetcu]:http://github.com/andreicristianpetcu [@Andarist]:http://github.com/Andarist [pr-6]:https://github.com/devtools-html/debugger.html/pull/2784