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

Search redux on textload#3435

Merged
jasonLaster merged 5 commits into
firefox-devtools:nextfrom
bomsy:search-redux-on-textload
Jul 25, 2017
Merged

Search redux on textload#3435
jasonLaster merged 5 commits into
firefox-devtools:nextfrom
bomsy:search-redux-on-textload

Conversation

@bomsy
Copy link
Copy Markdown
Contributor

@bomsy bomsy commented Jul 24, 2017

As a follow up to searching using redux

Summary of Changes

  • We now also the search new sources as they get loaded.

return matches;
}

export default function searchSources(query, sources) {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

moved to actions, test to be added

Copy link
Copy Markdown
Contributor

@jasonLaster jasonLaster left a comment

Choose a reason for hiding this comment

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

Looks pretty good

@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 25, 2017

Codecov Report

Merging #3435 into next will increase coverage by 0.7%.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##            next   #3435     +/-   ##
=======================================
+ Coverage   49.8%   50.5%   +0.7%     
=======================================
  Files        109     109             
  Lines       4516    4520      +4     
  Branches     930     931      +1     
=======================================
+ Hits        2249    2283     +34     
+ Misses      2267    2237     -30
Impacted Files Coverage Δ
src/selectors.js 100% <ø> (ø) ⬆️
src/actions/project-text-search.js 100% <100%> (+100%) ⬆️
src/utils/search/project-search.js 100% <100%> (+5.26%) ⬆️
src/actions/sources.js 54.49% <100%> (+1.11%) ⬆️
src/components/Editor/index.js 21.68% <0%> (ø) ⬆️
src/reducers/project-text-search.js 100% <0%> (+68.42%) ⬆️

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 6fd4736...3c94655. Read the comment docs.

@jasonLaster jasonLaster merged commit 23cac54 into firefox-devtools:next Jul 25, 2017
@bomsy bomsy deleted the search-redux-on-textload branch July 25, 2017 13:59
jasonLaster pushed a commit to jasonLaster/debugger.html that referenced this pull request Jul 27, 2017
* wip search sources as the source text loads

* search sources on textt load

* fix flow issues

* fix the tests

* fix lint issues
jasonLaster pushed a commit to jasonLaster/debugger.html that referenced this pull request Aug 1, 2017
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.

2 participants