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

Convert App, SymbolModal and WelcomeBox components to JSX.#3507

Merged
jasonLaster merged 2 commits into
firefox-devtools:masterfrom
wldcordeiro:jsx-conversions
Aug 3, 2017
Merged

Convert App, SymbolModal and WelcomeBox components to JSX.#3507
jasonLaster merged 2 commits into
firefox-devtools:masterfrom
wldcordeiro:jsx-conversions

Conversation

@wldcordeiro
Copy link
Copy Markdown
Contributor

Associated Issue: #3506

Getting the ball rolling on the JSX conversion

Summary of Changes

  • Convert App, SymbolModal and WelcomeBox to JSX

Test Plan

Example test plan:

  • Use main app view
  • See WelcomeBox is working
  • Open SymbolModal and test basic usage

@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 31, 2017

Codecov Report

Merging #3507 into master will decrease coverage by 0.8%.
The diff coverage is 49.68%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3507      +/-   ##
==========================================
- Coverage    52.3%   51.49%   -0.81%     
==========================================
  Files         112      110       -2     
  Lines        4562     4567       +5     
  Branches      940      944       +4     
==========================================
- Hits         2386     2352      -34     
- Misses       2176     2215      +39
Impacted Files Coverage Δ
src/selectors.js 100% <ø> (ø) ⬆️
src/utils/makeRecord.js 100% <ø> (ø) ⬆️
src/test/tests-setup.js 100% <ø> (ø) ⬆️
src/actions/navigation.js 11.76% <0%> (ø) ⬆️
src/components/Editor/CallSite.js 4.65% <0%> (ø) ⬆️
src/components/Editor/Preview.js 4.83% <0%> (ø) ⬆️
src/utils/editor/index.js 10% <0%> (-1.37%) ⬇️
src/components/Editor/CallSites.js 2.08% <0%> (ø) ⬆️
src/components/Editor/Breakpoint.js 5.76% <0%> (ø) ⬆️
src/actions/pause.js 18.86% <0%> (ø) ⬆️
... and 55 more

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 d7648b7...04014da. Read the comment docs.

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.

This looks good to me. Lets get a couple more opinions on style though.

Also, I want to think about timing. It’s either this week or next week though.

@clarkbw
Copy link
Copy Markdown
Contributor

clarkbw commented Aug 1, 2017

This looks awesome!

@jasonLaster jasonLaster changed the base branch from next to master August 1, 2017 18:42
@codehag
Copy link
Copy Markdown
Contributor

codehag commented Aug 3, 2017

I rebased and fixed up the flow types

@jasonLaster
Copy link
Copy Markdown
Contributor

looks like the pretty print test is failing

3539 INFO TEST-UNEXPECTED-FAIL | devtools/client/debugger/new/test/mochitest/browser_dbg-pretty-print.js | Uncaught exception - at chrome://mochitests/content/browser/devtools/client/debugger/new/test/mochitest/head.js:382 - Error: Unable to find source: math.min.js:formatted

Stack trace:

@jasonLaster jasonLaster merged commit 139f4ff into firefox-devtools:master Aug 3, 2017
@wldcordeiro wldcordeiro deleted the jsx-conversions branch August 16, 2017 17:28
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