Граф коммитов

771 Коммитов

Автор SHA1 Сообщение Дата
Razvan Caliman def6b3e0fc Bug 1530341 - (Part 2) Add Copy All Changes button to Changes panel. r=gl
Depends on D21007

Adds a Copy All Changes button to the toolbar of the Changes panel.
When pressed, this builds a stylesheet out of the changes for all sources tracked (stylesheets, element styles, etc)
The output format is the same as the now defunct Bug 1524548 with the added code comment as separator between the sources.

Differential Revision: https://phabricator.services.mozilla.com/D21008

--HG--
extra : moz-landing-system : lando
2019-02-25 22:37:02 +00:00
Razvan Caliman 6babe11480 Bug 1530341 - (Part 1) Remove Copy Changes and Copy All Changes context menu options. r=gl
Remove the Copy All and Copy All Changes context menu options form the Changes panel context menu. As decided by PM & UX, they will be replaced with a single Copy All Changes button in the toolbar (part 2 of this series).

Differential Revision: https://phabricator.services.mozilla.com/D21007

--HG--
extra : moz-landing-system : lando
2019-02-25 22:34:31 +00:00
Razvan Caliman 0a37fab475 Bug 1529606 - Add Copy Rule button to Changes panel. r=pbro
Adds a button that shows up when hovering selectors in the Changes panel.
When clicked, it invokes the same Copy Rule behavior implemented for the context menu: copies the full content of the rule with changes applied.

The added/changed CSS class names use BEM notation. I intend to refactor the Changes panel stylesheet to BEM in a follow-up patch.

Differential Revision: https://phabricator.services.mozilla.com/D20808

--HG--
extra : moz-landing-system : lando
2019-02-25 22:20:53 +00:00
arthur.iakab 01800513e9 Backed out 3 changesets (bug 1530341, bug 1529606) for causing devtools failures on browser_parsable_css.js CLOSED TREE
Backed out changeset 8a760030e793 (bug 1530341)
Backed out changeset 2c74db63f9aa (bug 1530341)
Backed out changeset 96e76fdfd8b2 (bug 1529606)
2019-02-25 21:35:09 +02:00
Razvan Caliman 4597f8fe09 Bug 1530341 - (Part 2) Add Copy All Changes button to Changes panel. r=gl
Depends on D20808

Adds a Copy All Changes button to the toolbar of the Changes panel.
When pressed, this builds a stylesheet out of the changes for all sources tracked (stylesheets, element styles, etc)
The output format is the same as the now defunct Bug 1524548 with the added code comment as separator between the sources.

Differential Revision: https://phabricator.services.mozilla.com/D21008

--HG--
extra : moz-landing-system : lando
2019-02-25 17:45:47 +00:00
Razvan Caliman ded1fb2379 Bug 1530341 - (Part 1) Remove Copy Changes and Copy All Changes context menu options. r=gl
Remove the Copy All and Copy All Changes context menu options form the Changes panel context menu. As decided by PM & UX, they will be replaced with a single Copy All Changes button in the toolbar (part 2 of this series).

Differential Revision: https://phabricator.services.mozilla.com/D21007

--HG--
extra : moz-landing-system : lando
2019-02-25 14:47:56 +00:00
Razvan Caliman 8b9ef36b98 Bug 1529606 - Add Copy Rule button to Changes panel. r=pbro
Adds a button that shows up when hovering selectors in the Changes panel.
When clicked, it invokes the same Copy Rule behavior implemented for the context menu: copies the full content of the rule with changes applied.

The added/changed CSS class names use BEM notation. I intend to refactor the Changes panel stylesheet to BEM in a follow-up patch.

Differential Revision: https://phabricator.services.mozilla.com/D20808

--HG--
extra : moz-landing-system : lando
2019-02-25 17:45:40 +00:00
Micah Tigley 74d6c448d5 Bug 1493677 - Link box-model values to their source CSS rules. r=gl
This patch allows hovering over box-model values and scrolling to their source CSS rule while pressing down the shift-key,

Differential Revision: https://phabricator.services.mozilla.com/D18772

--HG--
extra : moz-landing-system : lando
2019-02-25 15:14:12 +00:00
Razvan Caliman a2b510c934 Bug 1524547 - (Part 2) Add context menu option to copy the contents of a changed CSS rule. r=gl
Depends on D20195

This series of patches depends on the patch from [Bug 1525238](https://bugzilla.mozilla.org/show_bug.cgi?id=1525238)

- adds method to identify a CSS Rule actor by id
- adds context menu option to the Changes panel to allow copying the rule's authored text to the clipboard

Differential Revision: https://phabricator.services.mozilla.com/D20196

--HG--
extra : moz-landing-system : lando
2019-02-20 21:45:03 +00:00
Daniel Varga 4587d14668 Merge mozilla-inbound to mozilla-central. a=merge 2019-02-20 06:01:45 +02:00
Florens Verschelde 0bc5d729b8 Bug 1528855 - [release 126] Use different labels for start and end PaneToggleButtons (#7741) (#7935). r=dwalsh 2019-02-19 14:23:42 -05:00
Rainier G 9d86ec2fc9 Bug 1504634 - Added tooltip to refresh button of storage inspector section. r=miker
Differential Revision: https://phabricator.services.mozilla.com/D20353

--HG--
extra : moz-landing-system : lando
2019-02-19 16:21:31 +00:00
Razvan Caliman 08a17ed030 Bug 1519217 - Add keyboard shortcut to element picker tooltip. r=gl,flod
Augments tooltip with keyboard shortcut. Reflects the multiple shortcuts possible on macOS as seen in the Inspector tab tooltip.

See: https://developer.mozilla.org/en-US/docs/Tools/Keyboard_shortcuts#Opening_and_closing_tools

Differential Revision: https://phabricator.services.mozilla.com/D19407

--HG--
extra : moz-landing-system : lando
2019-02-18 12:28:14 +00:00
Belén Albeza 1c698bcc3a Bug 1509121 - Display error screen if about:devtools-toolbox fails to start. r=jdescottes,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D18842

--HG--
extra : moz-landing-system : lando
2019-02-14 08:13:16 +00:00
Yura Zenevich b5450392e9 Bug 1518487 - adding new checks section in the accessibility panel's sidebar. r=pbro
MozReview-Commit-ID: AAKt7zDvom8

Differential Revision: https://phabricator.services.mozilla.com/D19055

--HG--
extra : moz-landing-system : lando
2019-02-12 19:40:24 +00:00
Yura Zenevich 8b2a09eb3b Bug 1518487 - implement ColorContrast component to display a11y audit information for text color contrast. r=gl
MozReview-Commit-ID: DoOp2JhaQyD

Differential Revision: https://phabricator.services.mozilla.com/D19053

--HG--
extra : moz-landing-system : lando
2019-02-12 19:40:11 +00:00
Hubert Boma Manilla a6fb2aec1f Bug 1527122 - [release 125] [Breakpoints] Improve logpoints ux (#7811). r=dwalsh 2019-02-11 22:17:48 -08:00
David Walsh bfbffabb91 Bug 1527122 - [release 125] Add context menus for handling breakpoints on a line (#7837). r=dwalsh 2019-02-11 22:17:42 -08:00
Csoregi Natalia 577b9d88b8 Backed out 7 changesets (bug 1518487) for failures on devtools/client/accessibility/test/browser/browser_accessibility_sidebar_checks.js. CLOSED TREE
Backed out changeset 7a4f96a4d71c (bug 1518487)
Backed out changeset 8031278b4a17 (bug 1518487)
Backed out changeset d55e9ed92676 (bug 1518487)
Backed out changeset fc1687cc488d (bug 1518487)
Backed out changeset 0d2800976a32 (bug 1518487)
Backed out changeset 62f78c63d9f1 (bug 1518487)
Backed out changeset bc6cc126a9b4 (bug 1518487)
2019-02-12 00:33:42 +02:00
Yura Zenevich 157f1e7ddd Bug 1518487 - adding new checks section in the accessibility panel's sidebar. r=pbro
MozReview-Commit-ID: AAKt7zDvom8

Differential Revision: https://phabricator.services.mozilla.com/D19055

--HG--
extra : moz-landing-system : lando
2019-02-11 20:46:45 +00:00
Yura Zenevich b33f9e71a6 Bug 1518487 - implement ColorContrast component to display a11y audit information for text color contrast. r=gl
MozReview-Commit-ID: DoOp2JhaQyD

Differential Revision: https://phabricator.services.mozilla.com/D19053

--HG--
extra : moz-landing-system : lando
2019-02-11 20:46:23 +00:00
Razvan Caliman 87a8e6f838 Bug 1527004 - Add context menu option to Changes panel to copy all changes for a source. r=gl
Like Bug 1524548, but builds a stylesheet for all changed rules within a source.

Differential Revision: https://phabricator.services.mozilla.com/D19385

--HG--
extra : moz-landing-system : lando
2019-02-11 20:02:44 +00:00
Razvan Caliman 2730476d0f Bug 1524548 - (Part 3) Add option to Changes panel context menu to copy changes. r-gl r=gl
Depends on D18704

Adds a new option to the context menu to copy the changes for a rule as valid CSS text.
Removed properties are commented out. Added properties are used as-is. Style source information is listed as a code comment above the CSS rule.

Makes use of the new Redux selector introduced in Part 2 (see D18704) to build a stylesheet text with the changes per-rule. That will be reused for copying all changes per-stylesheet.

Moves the copy text selection handler out to the ChangesView to co-locate it with other (upcoming) copy actions.

Adds data-ruleid and data-sourceid to DOM elements to help match the target element to the rule/source in the Redux store.

Differential Revision: https://phabricator.services.mozilla.com/D18706

--HG--
extra : moz-landing-system : lando
2019-02-06 19:07:42 +00:00
championshuttler a126b70349 Bug 1505704 - Fixes Flexbox-Toggle Tooltip spelling. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D18798

--HG--
extra : moz-landing-system : lando
2019-02-06 15:44:42 +00:00
Shivam Singhal 4a8909a3ca Bug 1505704 - Add tooltip in Flexbox toggle. r=mtigley
Add tooltop in Flexbox toggle

Differential Revision: https://phabricator.services.mozilla.com/D17776

--HG--
extra : moz-landing-system : lando
2019-02-04 12:38:59 +00:00
Razvan Caliman b82d1224bf Bug 1523305 - Show Font Editor in read-only mode for pseudo-elements. r=gl
Adds a new `disabled` property to the Font Editor Redux store applicable to all input fields.
When inspecting a pseudo-element, this `disabled` property is set to true.
This allows the pseudo-element to be inspected, but prevents editing font property values because it's currently not possible to write them back to CSS rules other than element inline styles.

Differential Revision: https://phabricator.services.mozilla.com/D18364

--HG--
extra : moz-landing-system : lando
2019-02-04 12:05:23 +00:00
Patrick Brosset a3ccdb3812 Bug 1523909 - Simplifying the scrollable badge to just scroll; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D18093

--HG--
extra : moz-landing-system : lando
2019-02-01 10:10:21 +00:00
Jason Laster 55a9ccfec2 Bug 1523386 - [release 121] Update editor context menus (#7719). r=dwalsh 2019-01-28 21:00:59 -05:00
Belén Albeza 8d8ed6bd71 Bug 1506784 - UX implementation: show debug target info in about:devtools-toolbox r=jdescottes,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D16553

--HG--
extra : moz-landing-system : lando
2019-01-28 16:12:15 +00:00
Razvan Caliman 8daa82597e Bug 1518512 - (Part 1) Add basic context menu to Changes panel. r=gl
Adds context menu with options to select all and copy text content from
the Changes panel.

Differential Revision: https://phabricator.services.mozilla.com/D17255

--HG--
extra : moz-landing-system : lando
2019-01-25 15:45:38 +00:00
Csoregi Natalia 5c853a316a Backed out 2 changesets (bug 1518512) for devtools failures on devtools/client/inspector/changes/test/browser_changes_rule_selector.js. CLOSED TREE
Backed out changeset c8f0d19844f6 (bug 1518512)
Backed out changeset 3c03e2282b4f (bug 1518512)
2019-01-25 15:41:07 +02:00
Razvan Caliman c04238dfbc Bug 1518512 - (Part 1) Add basic context menu to Changes panel. r=gl
Adds context menu with options to select all and copy text content from
the Changes panel.

Differential Revision: https://phabricator.services.mozilla.com/D17255

--HG--
extra : moz-landing-system : lando
2019-01-23 14:00:10 +00:00
Patrick Brosset de44cc12fc Bug 1521776 - Add new scrollable markup badges; r=gl
Detect when nodes are scrollable on the actor side, and use this
information to display new [scrollable] markup-badges in the inspector.
Also track this dynimically so badges are added/removed when necessary.
Hide this behind a pref for now, until this gets tested by users and
validated.

Differential Revision: https://phabricator.services.mozilla.com/D17246

--HG--
extra : moz-landing-system : lando
2019-01-23 14:07:47 +00:00
Brindusan Cristian 82d8ec236f Backed out changeset df49bc87bba1 (bug 1506784) for devtools failures at browser_all_files_referenced.js. CLOSED TREE 2019-01-22 16:40:55 +02:00
Belén Albeza 2ae8206bc8 Bug 1506784 - UX implementation: show debug target info in about:devtools-toolbox r=jdescottes,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D16553

--HG--
extra : moz-landing-system : lando
2019-01-18 02:22:43 +00:00
Jason Laster 28affa68aa Revert "Backed out 25 changesets (bug 1520957) for causing test_smart-trace-grouping.html failures CLOSED TREE"
This reverts commit 9450cd4d2a4ba494759d2aa1494bcce16db1c99b.
2019-01-19 11:43:05 -05:00
Nicolas Chevobbe bb0ac7f702 Bug 1518727 - Add a Learn More link in the getter invoke confirm dialog; r=Honza.
The Learn More link navigates the user to an MDN page
explaining why we don't automatically invoke getters
on behalf of the user.
The link is opened either by clicking on it, or by
pressing the "?" key.
A test is added to ensure this works as expected.

Differential Revision: https://phabricator.services.mozilla.com/D16545

--HG--
extra : moz-landing-system : lando
2019-01-18 14:41:44 +00:00
Jefry Lagrange 829c881fc2 Bug 644412 - Export all data from Web Console to clipboard. r=nchevobbe 2019-01-14 11:02:51 +01:00
Punam ad397059a0 Bug 1518804 - Devtools debugger panel button tooltip shows undefined r=jlast
Devtools debugger panel button tooltip showing shortcut undefined

Differential Revision: https://phabricator.services.mozilla.com/D16226

--HG--
extra : moz-landing-system : lando
2019-01-10 20:20:40 +00:00
Nicolas Chevobbe 03639d8ea6 Bug 1499289 - Allow to invoke getters from webconsole autocomplete function; r=bgrins,flod.
This patch introduces a new component, ConfirmDialog, that will
be rendered on screen when the autocomplete service indicates
that there's an unsafe getter in the completion path.
The component is rendered in the toolbox document, like the
autocomplete popup. In order to still write it in React, it uses
a React portal, which allow to render an element outside of the
React component tree.

Tests are added to make sure the dialog works as expected.

Differential Revision: https://phabricator.services.mozilla.com/D12943

--HG--
extra : moz-landing-system : lando
2019-01-07 17:53:55 +00:00
Brian Hackett 2e57e98ac1 Bug 1177346 Part 3 - Remove debugger paused warning, r=ochameau.
--HG--
extra : rebase_source : d162952d703892be0546460e5272d491ab91601d
2019-01-03 06:40:21 -10:00
Jason Laster 82178d2ff8 Bug 1517572 - [release 116] [workers] polish the ui (#7622). r=dwalsh 2019-01-03 16:35:27 -05:00
Jason Laster d2cb16d7b7 Bug 1517572 - [release 116] [breakpoints] fix logpoint debugger.properties (#7646). r=dwalsh 2019-01-03 16:32:59 -05:00
Jason Laster 3b27ef714c Bug 1517349 - [release 115] Fix searchInput UI when there are no search results (#7608). r=dwalsh 2019-01-02 19:04:24 -05:00
Jason Laster 5e916b4549 Bug 1517349 - [release 115] Log points (#7592). r=dwalsh 2019-01-02 19:04:22 -05:00
Jason Laster 186893bd2d Bug 1515951 - [release 112] 7190: Save generated file and source map (#7482). r=bhackett 2018-12-27 12:25:38 -05:00
Jason Laster 52b10af6cf Bug 1515736 - [release 111] Add context menu to breakpoint headings #7474 (#7550). r=lsmyth 2018-12-21 13:07:37 -05:00
Jason Laster d21725dd8f Bug 1514339 - Update Debugger [Frontend v109] Provide title text for line and column position (#7471). r=davidwalsh 2018-12-18 10:57:42 -05:00
Jason Laster be3a019593 Bug 1513707 - [release 108] Allow closing source tabs via keyboard (#7417). r=davidwalsh 2018-12-14 14:22:21 -05:00
Yura Zenevich 5138b7b9c3 Bug 1434888 - set accessibility panel command key to Shift + F10. r=gl
MozReview-Commit-ID: HkL5dDfo0p9

Differential Revision: https://phabricator.services.mozilla.com/D14095

--HG--
extra : moz-landing-system : lando
2018-12-10 20:43:49 +00:00