This repository has been archived by the owner on Jan 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 758
UI for XHR Breakpoints #6934
Merged
Merged
UI for XHR Breakpoints #6934
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
c7b6a9a
UI for XHR Breakpoints
AnshulMalik 9dbf524
allow enable and disable breakpoint
AnshulMalik c6b2e72
uppercase url and xhr
AnshulMalik f72010e
discard module-manifest changes
AnshulMalik 85e3885
fix yarn
AnshulMalik c2e701b
shift close button
AnshulMalik 02ed188
move to array, add checkbox for Pause on Any
AnshulMalik a3d8304
remove yarn.lock
AnshulMalik 14413c3
Add heading to l10n file
darkwing 17b3a1b
Fix header text
darkwing 7a656de
wire backend
AnshulMalik 17ee84f
add mochitest
AnshulMalik 6f2355b
change mc commit number
AnshulMalik 3ffbd69
Correct MC version, backport mochi changes
AnshulMalik 1243a15
remove debugger statement
AnshulMalik fc47779
fix checkbox bug, persisy breakpoints
AnshulMalik 210523b
test for checkbox
AnshulMalik File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
/* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this | ||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */ | ||
|
||
.xhr-input-form { | ||
width: 100%; | ||
} | ||
|
||
.xhr-input { | ||
width: 100%; | ||
margin: 0; | ||
border: 1px; | ||
background-color: var(--theme-sidebar-background); | ||
font-size: 12px; | ||
padding: 0.5em 1.6em; | ||
color: var(--theme-body-color); | ||
outline: 0; | ||
} | ||
|
||
.xhr-input::placeholder { | ||
font-style: italic; | ||
color: var(--theme-comment); | ||
} | ||
|
||
.xhr-input:focus { | ||
cursor: text; | ||
} | ||
|
||
.xhr-input-container { | ||
display: flex; | ||
border: 1px solid transparent; | ||
} | ||
|
||
.xhr-input-container.focused { | ||
border: 1px solid var(--theme-highlight-blue); | ||
} | ||
|
||
:root.theme-dark .xhr-input-container.focused { | ||
border: 1px solid var(--blue-50); | ||
} | ||
|
||
.xhr-input-container.error { | ||
border: 1px solid red; | ||
} | ||
|
||
.xhr-container { | ||
border-left: 4px solid transparent; | ||
width: 100%; | ||
color: var(--theme-body-color); | ||
padding: 0.25em 1em; | ||
background-color: var(--theme-body-background); | ||
display: flex; | ||
align-items: center; | ||
position: relative; | ||
min-height: var(--breakpoint-expression-height); | ||
} | ||
|
||
:root.theme-light .xhr-container:hover { | ||
background-color: var(--theme-selection-background-hover); | ||
} | ||
|
||
:root.theme-dark .xhr-container:hover { | ||
background-color: var(--theme-selection-background-hover); | ||
} | ||
|
||
.xhr-checkbox { | ||
margin-left: 0px; | ||
} | ||
|
||
.xhr-label { | ||
max-width: calc(100% - var(--breakpoint-expression-right-clear-space)); | ||
display: inline-block; | ||
cursor: pointer; | ||
flex-grow: 1; | ||
text-overflow: ellipsis; | ||
padding-inline-end: 8px; | ||
font-size: 11px; | ||
} | ||
|
||
.xhr-container .close-btn { | ||
offset-inline-end: 12px; | ||
inset-inline-end: 12px; | ||
offset-inline-start: auto; | ||
inset-inline-start: auto; | ||
position: absolute; | ||
top: 8px; | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need a note here.