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

click "functions" to open symbol search modal#3607

Merged
jasonLaster merged 2 commits into
firefox-devtools:masterfrom
aklt:button-to-open-symbol-search
Aug 10, 2017
Merged

click "functions" to open symbol search modal#3607
jasonLaster merged 2 commits into
firefox-devtools:masterfrom
aklt:button-to-open-symbol-search

Conversation

@aklt
Copy link
Copy Markdown
Contributor

@aklt aklt commented Aug 9, 2017

Associated Issue: #3233

Summary of Changes

  • Add a link that pops up the functions search modal when clicked to the find text UI.

Test Plan

  • Press CmdOrCtrl + F to bring up the text search dialog
  • Click the "Search functions..." text to bring up the functions search modal

Screenshots/Videos (OPTIONAL)

ffdebug

@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 9, 2017

Codecov Report

Merging #3607 into master will increase coverage by 0.04%.
The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3607      +/-   ##
==========================================
+ Coverage   54.54%   54.58%   +0.04%     
==========================================
  Files         120      120              
  Lines        4778     4776       -2     
  Branches      991      991              
==========================================
+ Hits         2606     2607       +1     
+ Misses       2172     2169       -3
Impacted Files Coverage Δ
src/components/Editor/SearchBar.js 32.2% <66.66%> (+0.59%) ⬆️
src/actions/ast.js 76.78% <0%> (-1.79%) ⬇️
src/actions/breakpoints.js 84.7% <0%> (+4.7%) ⬆️

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 caa3b98...468dbea. Read the comment docs.

Comment thread src/components/Editor/SearchBar.js Outdated
this.props.setActiveSearch("symbol");
}
},
"functions"
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.

Lets change this to Search for functions and move it to L10N
https://github.com/devtools-html/debugger.html/blob/master/docs/local-development.md#l10n

@aklt aklt force-pushed the button-to-open-symbol-search branch from 739e987 to 6ad527d Compare August 10, 2017 22:12
@jasonLaster
Copy link
Copy Markdown
Contributor

screen shot 2017-08-10 at 6 20 07 pm

Modifiers and the buttons too (maybe) look a bit big

Comment thread src/components/Editor/SearchBar.js Outdated
<div className="search-type-toggles">
<span
className="search-type-name"
onClick={() => {
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.

onClick={() => this.props.setActiveSearch("symbol")}

because, why not

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.

Do you mean the formatting?

@aklt aklt force-pushed the button-to-open-symbol-search branch from 6ad527d to 55e0074 Compare August 10, 2017 22:33
@jasonLaster jasonLaster merged commit 565b9f0 into firefox-devtools:master Aug 10, 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