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

Polish conditional breakpoint#3101

Merged
codehag merged 3 commits into
firefox-devtools:masterfrom
zaggy:polish-conditional-breakpoint
Jun 6, 2017
Merged

Polish conditional breakpoint#3101
codehag merged 3 commits into
firefox-devtools:masterfrom
zaggy:polish-conditional-breakpoint

Conversation

@zaggy

@zaggy zaggy commented Jun 6, 2017

Copy link
Copy Markdown
Contributor

Associated Issue: #2918

Summary of Changes

  • added new color for conditional breakpoint text in dark theme
  • center the guillemet >> in the gutter
  • made conditional breakpoint more resposive

One drawback is that conditional breakpoint is very tightly coupled with Codemirror's linewidget, where re-drawing logic resides. I turned off noHScroll flag, but in turn it made the close button to hide when editor windows becomes to narrow (check video)

Test Plan

Tell us a little a bit about how you tested your patch.

Visual test is required:

  • Open an editor
  • Right-click on line numbers and select "Add Conditional Breakpoint"
  • Check the visuals of the conditional breakpoint (text color, alighment, responsiveness)

Screenshots/Videos (OPTIONAL)

cond_bp

@codecov

codecov Bot commented Jun 6, 2017

Copy link
Copy Markdown

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3101   +/-   ##
=======================================
  Coverage   66.88%   66.88%           
=======================================
  Files          76       76           
  Lines        2697     2697           
  Branches      544      544           
=======================================
  Hits         1804     1804           
  Misses        893      893

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 4377087...ef0f699. Read the comment docs.

@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 Great! Thanks!

@codehag codehag merged commit 7149ba9 into firefox-devtools:master Jun 6, 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