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

Release a new version of the debugger#3098

Merged
jasonLaster merged 5 commits into
firefox-devtools:masterfrom
jasonLaster:6-5
Jun 7, 2017
Merged

Release a new version of the debugger#3098
jasonLaster merged 5 commits into
firefox-devtools:masterfrom
jasonLaster:6-5

Conversation

@jasonLaster

Copy link
Copy Markdown
Contributor
  • Updates from the past week
  • Small fixes for the editor footer and a couple small details for tests

@codecov

codecov Bot commented Jun 6, 2017

Copy link
Copy Markdown

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3098   +/-   ##
=======================================
  Coverage   66.28%   66.28%           
=======================================
  Files          76       76           
  Lines        2714     2714           
  Branches      549      549           
=======================================
  Hits         1799     1799           
  Misses        915      915
Impacted Files Coverage Δ
src/components/Outline.js 76.66% <ø> (ø) ⬆️

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 cdccd0a...843108b. Read the comment docs.

--debug-line-background: rgba(226, 236, 247, 0.5);
--debug-line-border: rgb(145, 188, 219);
--editor-searchbar-height: 27px;
--editor-second-searchbar-height: 27px;

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.

i know this is copy pasted, but do we need two separate declarations of the same value? 🤔

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.

probably not. that can be tweaked when we have a function search modal :)

@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.

Looks pretty good!

Comment thread src/components/Editor/Tabs.js Outdated
// styling such as selected tabs which don't have a border.
return sourceTabEls[index].getBoundingClientRect().top > tabTopOffset + 10;
const el = sourceTabEls[index];
return el && el.getBoundingClientRect().top > tabTopOffset + 10;

@codehag codehag Jun 6, 2017

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.

Nice! i would split this up more even, so that we know what is happening.

const element = sourceTabEls[index];
const hasTopOffset = (el) => (el.getBoundingClientRect().top > tabTopOffset + 10)
return element && hasTopOffset(element);

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.

that's a good idea. I took it a couple step further lol.

@jasonLaster jasonLaster merged commit 1278f11 into firefox-devtools:master Jun 7, 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