Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

[FunctionSearch] clear query after selecting an item #2526#3117

Merged
jasonLaster merged 4 commits into
firefox-devtools:masterfrom
ofiron01:clear_searchquery_onclose
Jun 7, 2017
Merged

[FunctionSearch] clear query after selecting an item #2526#3117
jasonLaster merged 4 commits into
firefox-devtools:masterfrom
ofiron01:clear_searchquery_onclose

Conversation

@ofiron01

@ofiron01 ofiron01 commented Jun 7, 2017

Copy link
Copy Markdown
Contributor

Associated Issue: #2526

Summary of Changes

  • search query is cleared when search is closed

yuhquwtauh

@ofiron01 ofiron01 changed the title FunctionSearch] clear query after selecting an item #2526 [FunctionSearch] clear query after selecting an item #2526 Jun 7, 2017
codehag
codehag previously approved these changes Jun 7, 2017

@codehag codehag left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm! there is one issue though, test for AST is failing, can you check?

 FAIL  src/actions/tests/ast.js
  ● ast › setSelection › simple

    expect(value).toMatchSnapshot()
    
    Received value does not match stored snapshot 1.
    
    - Snapshot
    + Received
    
    @@ -1,13 +1,13 @@
     Object {
       "expression": "this.bazz",
    -  "location": SourceLocation {
    -    "end": Position {
    +  "location": Object {
    +    "end": Object {
           "column": 37,
           "line": 1,
         },
    -    "start": Position {
    +    "start": Object {
           "column": 28,
           "line": 1,
         },
       },
       "result": undefined,

@codehag codehag dismissed their stale review June 7, 2017 10:29

didn't see tests

@codecov

codecov Bot commented Jun 7, 2017

Copy link
Copy Markdown

Codecov Report

Merging #3117 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3117   +/-   ##
=======================================
  Coverage   66.86%   66.86%           
=======================================
  Files          76       76           
  Lines        2698     2698           
  Branches      544      544           
=======================================
  Hits         1804     1804           
  Misses        894      894

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ad7986c...53e32bd. Read the comment docs.

@jasonLaster jasonLaster left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍

@jasonLaster jasonLaster merged commit 78c26e2 into firefox-devtools:master Jun 7, 2017
@ofiron01 ofiron01 deleted the clear_searchquery_onclose branch June 7, 2017 15:14
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.

4 participants