Opened 8 months ago

Last modified 8 months ago

#6869 new change

Add richer DevTools panel reporting for snippets

Reported by: mjethani Assignee:
Priority: Unknown Milestone:
Module: User-Interface Keywords:
Cc: hfiguiere, greiner, arthur Blocked By:
Blocking: Platform: Unknown / Cross platform
Ready: no Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

Description

Background

#6843 addresses the logging of snippet filter hits in the DevTools panel. But simply logging the filter hit doesn't tell the filter list author much about what the snippet did on the page, how many ads it blocked, and so on. The $rewrite filter option reports the before and after URLs in the DevTools panel. It would be nice if every snippet is also able to report some more details.

This may be exposed to snippets via a text-only API so that a snippet can add any details to the DevTools panel.

What to change

[TBD]

Change History (2)

comment:1 Changed 8 months ago by greiner

  • Cc greiner added
  • Component changed from Unknown to User-Interface

I think to get this started it'd be great to compile a list of the information we'd like to expose in the DevTools panel. After that we'll be able to agree on the data format so that Platform can provide the data and UI can display it.

In general, we may want to rethink the DevTools panel UI since we are now dealing with a few types of filters that are not associated to requests. But that's a separate discussion so I've created ui#167 for that.

comment:2 Changed 8 months ago by arthur

  • Cc arthur added
Note: See TracTickets for help on using tickets.