DataDog / browser-sdk

Datadog Browser SDK
Apache License 2.0
279 stars 130 forks source link

✨ [RUM-4908] Add `only` Link to Facet List in Developer Extension #2830

Open cy-moi opened 1 week ago

cy-moi commented 1 week ago

Motivation

Add only link to facet list in developer extension, so we don't need to click on every element to exclude everything.

Changes

https://github.com/DataDog/browser-sdk/assets/9922567/c52bc271-2ea6-4c38-93e8-8ce8cf5cc64c

Testing


I have gone over the contributing documentation.

cit-pr-commenter[bot] commented 1 week ago

Bundles Sizes Evolution

📦 Bundle Name Base Size Local Size 𝚫 𝚫% Status
Rum 160.50 KiB 160.50 KiB 0 B 0.00%
Logs 58.09 KiB 58.09 KiB 0 B 0.00%
Rum Slim 109.02 KiB 109.02 KiB 0 B 0.00%
Worker 25.21 KiB 25.21 KiB 0 B 0.00%

🚀 CPU Performance | Action Name | Base Average Cpu Time (ms) | Local Average Cpu Time (ms) | 𝚫 | | --- | --- | --- | --- | | addglobalcontext | 0.002 | 0.001 | -0.000 | | addaction | 0.037 | 0.035 | -0.002 | | adderror | 0.033 | 0.034 | 0.001 | | addtiming | 0.001 | 0.001 | 0.000 | | startview | 0.931 | 1.019 | 0.088 | | startstopsessionreplayrecording | 0.904 | 0.932 | 0.028 | | logmessage | 0.022 | 0.021 | -0.001 |
🧠 Memory Performance | Action Name | Base Consumption Memory (bytes) | Local Consumption Memory (bytes) | 𝚫 (bytes) | | --- | --- | --- | --- | | addglobalcontext | 19.95 KiB | 18.25 KiB | -1743 B | | addaction | 70.07 KiB | 67.29 KiB | -2848 B | | adderror | 84.31 KiB | 85.12 KiB | 828 B | | addtiming | 17.06 KiB | 16.23 KiB | -849 B | | startview | 313.58 KiB | 318.23 KiB | 4.65 KiB | | startstopsessionreplayrecording | 11.79 KiB | 11.33 KiB | -475 B | | logmessage | 66.06 KiB | 65.55 KiB | -521 B |

🔗 RealWorld

nulrich commented 1 week ago

There's a small bug when you click "only" on a children and then "only" to the parent. The selection is good but not the "only"/"all" labels.

Screenshot 2024-06-27 at 13 15 27