Open Bug 1541815 Opened 5 years ago Updated 2 years ago

Export changes - Add Copy declaration(s) option for multiple declarations

Categories

(DevTools :: Inspector: Changes, enhancement, P5)

enhancement

Tracking

(firefox66 unaffected, firefox67 affected, firefox68 affected)

Tracking Status
firefox66 --- unaffected
firefox67 --- affected
firefox68 --- affected

People

(Reporter: cfogel, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached image declarationS.png

Affected versions

  • 67.0b7, 68.0a1 (2019-04-03)

Affected platforms

  • all available;

Steps to reproduce

  1. Launch Firefox, open the devTools rules inspector;
  2. Perform multiple changes to any listed class (add/edit/remove)
  3. Access the Changes tab;
  4. Select multiple rows from a selector;
  5. Right click to bring up the context menu;
  6. Click on the Copy Declaration(s) option;
  7. Paste the content;

Enhancement suggestion

  • With multiple declarations selected, it would make sense to copy/paste the desired ones;
  • The "paste" as in the case of the single-select should be without the +/- indicators;

Actual result

  • A single declaration is copied, the one on which the right click was issued;

Additional notes

  • as per the attached screenshot, there selection of multiple changes might bring value and make it more usable;
  • the scenario becomes viable when more temp-changes where made within the class;

This feature request carries the added complexity of solving the UX problem for selecting multiple declarations across two or more CSS rules and even different source stylesheets.

Logging this as a P5 as we're unlikely to handle this anytime soon, but we'll accept a patch if someone wants to work on it.

Priority: -- → P5
Blocks: track-changes
No longer blocks: 1515875
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: