Commit Graph
11 Commits
Author SHA1 Message Date
Alexandre Poirot caaf5fa378 Bug 1792847 - [devtools] Use absolute URLs to import modules in devtools/client/inspector. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D158375
2022-09-30 15:17:37 +00:00
Razvan Caliman fb4e3d9340 Bug 1613960 - Remove artificial text indent from CSS declarations in Changes panel. r=pbro
For people who want to copy the plain text CSS declarations in the Changes panel, we prevent including the +/- diff signs in the selection. We did preserve the text indent. This patch removes the text indent as well.

Differential Revision: https://phabricator.services.mozilla.com/D62052
2020-02-10 09:31:32 +00:00
Razvan Caliman 893d63b7a3 Bug 1602152 - Make diff markers non-selectable in Changes panel. r=pbro
Revert to using CSS pseudo-elements for the +/- diff markers in the Changes panel so they don't get copied over as plain text to the clipboard.

Differential Revision: https://phabricator.services.mozilla.com/D58768
2020-01-07 10:26:01 +00:00
Victor Porof b7732ae890 Bug 1561435 - Format devtools/client/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D35884
2019-07-05 11:24:38 +02:00
Razvan Caliman a41772a890 Bug 1529599 - (Part 1) Add Copy Declaration to Changes panel context menu; r=gl
Adds a new option to the context menu which is visible only when it's invoked on a CSS declaration.
Builds a string with the property name and value and copies to the clipboard.
If the declaration is marked as removed, the string is wrapped in a comment block.

Differential Revision: https://phabricator.services.mozilla.com/D21526
2019-02-28 17:30:02 +00:00
Razvan Caliman 7a1d6c266d Bug 1518512 - (Part 2) Ensure all text in Changes panel can be copied. r=gl
Depends on D17255
Replaces CSS pseudo-elements for added/removed line markers with text
elements that can be copied with the rest of the content.

Differential Revision: https://phabricator.services.mozilla.com/D17256
2019-01-25 15:50:35 +00:00
Csoregi Natalia c4c77175fd 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 f31f98fccf Bug 1518512 - (Part 2) Ensure all text in Changes panel can be copied. r=gl
Depends on D17255
Replaces CSS pseudo-elements for added/removed line markers with text
elements that can be copied with the rest of the content.

Differential Revision: https://phabricator.services.mozilla.com/D17256
2019-01-25 12:40:34 +00:00
Florens Verschelde 13c8905898 Bug 1521044 - Remove redundant theme-fg-color classes; r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D16949
2019-01-22 08:48:22 +00:00
Razvan Caliman a1e045c2a4 Bug 1503896 - (Part 6) Add test for tracking changes to rule selectors; r=pbro
Depends on D11116

Differential Revision: https://phabricator.services.mozilla.com/D11117
2018-11-07 10:33:32 +00:00
Razvan Caliman 0c0e1a765b Bug 1499049 - (Part 5) Refactor Changes panel to render diff of nested CSS rule structures; r=pbro
Depends on D8721

- Externalize reusable CSSDeclaration React component;
- Introduce the ability to render rules with unlimited levels of nesting, but cap indentation in the UI at a reasonable level;
- Remove accordion behavior from rules, but keep for sources;
- Cleanup CSS styles for Changes panel.

Differential Revision: https://phabricator.services.mozilla.com/D8722
2018-10-25 13:42:05 +00:00