Skip to content

Commit 3964990

Browse files
authored
Merge pull request #662 from GoogleChromeLabs/develop
v0.8.0
2 parents c62d2c6 + f6ca935 commit 3964990

File tree

125 files changed

+5357
-5273
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

125 files changed

+5357
-5273
lines changed

CHANGELOG.md

+25-1
Original file line numberDiff line numberDiff line change
@@ -332,4 +332,28 @@
332332
* Fix: CLI dashboard blocking reason. https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/618
333333

334334
## Others
335-
* Add demo RWS for command line launcher https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/578
335+
* Add demo RWS for command line launcher https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/578
336+
337+
338+
#v0.8.0
339+
## Extension
340+
* Improve “Known Breakages” component UI https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/643
341+
* Update “Clear All” button render condition for filter chips https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/637
342+
* Add readiness content under “Facilitated Testing” section https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/663
343+
* Fix: Broken download button icon UI https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/636
344+
* Fix: Known breakages section throwing error when a link is quickly opened and closed https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/654
345+
* Update “Privacy Sandbox” timeline SVG https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/649
346+
* Update landing pages UI https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/659
347+
* Fix: Normalize blocking reason https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/658
348+
* Fix: Revise method to keep service worker alive https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/655
349+
350+
351+
## CLI
352+
* Feature: Add HTML report generation to CLI dashboard and CLI https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/646
353+
* Fix: Remove debug log statement https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/633
354+
* Fix: Merge blocked reasons data in dashboard https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/650
355+
* Enhancement: CLI output path relative to “out” directory. https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/638
356+
* Miscellaneous CLI dashboard improvements https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/660
357+
358+
## Others
359+
* Feature: Update babel-loader webpack config to have caching support for faster builds https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/452

assets/data/open-cookie-database.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19487,4 +19487,4 @@
1948719487
"wildcard": "0"
1948819488
}
1948919489
]
19490-
}
19490+
}

bin/chrome-3pcd-ps.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
:: Chrome 3pcd with PS Extension
22

33
:: Download PS Extension
4-
set "ps_analysis_tool_version=v0.7.0"
4+
set "ps_analysis_tool_version=v0.8.0"
55
cd /d %TEMP%
66
if not exist %TEMP%\ps-analysis-tool-%ps_analysis_tool_version% (
77
mkdir %TEMP%\ps-analysis-tool-%ps_analysis_tool_version%

bin/chrome-default-ps.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
:: Default Chrome with PS Extension
22

33
:: Download PS Extension
4-
set "ps_analysis_tool_version=v0.7.0"
4+
set "ps_analysis_tool_version=v0.8.0"
55
cd /d %TEMP%
66
if not exist %TEMP%\ps-analysis-tool-%ps_analysis_tool_version% (
77
mkdir %TEMP%\ps-analysis-tool-%ps_analysis_tool_version%

bin/chrome_launcher.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Download Extension
44
extension_setup() {
5-
ps_analysis_tool_version=v0.7.0
5+
ps_analysis_tool_version=v0.8.0
66
extension_dir="/var/tmp"
77
cd $extension_dir
88
if [ ! -d $extension_dir/ps-analysis-tool-$ps_analysis_tool_version ]; then

bin/install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
mkdir -p ~/bin/
55

66
# Download Chrome Launcher Script and save to ~/bin/chrome_launcher.sh
7-
curl -s https://raw.githubusercontent.com/GoogleChromeLabs/ps-analysis-tool/develop/bin/chrome_launcher.sh -o ~/bin/chrome_launcher.sh
7+
curl -s https://raw.githubusercontent.com/GoogleChromeLabs/ps-analysis-tool/main/bin/chrome_launcher.sh -o ~/bin/chrome_launcher.sh
88

99
chmod 755 ~/bin/chrome_launcher.sh
1010

packages/cli-dashboard/webpack.config.cjs dashboard.webpack.config.cjs

+33-7
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,47 @@
1515
*/
1616
const path = require('path');
1717
const HtmlWebpackPlugin = require('html-webpack-plugin');
18+
const HtmlInlineScriptPlugin = require('html-inline-script-webpack-plugin');
1819
const CopyPlugin = require('copy-webpack-plugin');
1920
const WebpackBar = require('webpackbar');
20-
const commonConfig = require('../../webpack.shared.cjs');
21+
const commonConfig = require('./webpack.shared.cjs');
22+
23+
const report = {
24+
entry: {
25+
index: './packages/report/src/index.tsx',
26+
},
27+
output: {
28+
path: path.resolve(__dirname, './dist/cli-dashboard/report'),
29+
filename: '[name].js',
30+
publicPath: '/',
31+
},
32+
plugins: [
33+
new WebpackBar({
34+
name: 'Report',
35+
color: '#357B66',
36+
}),
37+
new HtmlWebpackPlugin({
38+
title: 'Report',
39+
template: './packages/report/public/index.html',
40+
filename: 'index.html',
41+
inject: true,
42+
}),
43+
new HtmlInlineScriptPlugin(),
44+
],
45+
...commonConfig,
46+
};
2147

2248
const dashboard = {
2349
entry: {
24-
index: './src/index.tsx',
50+
index: './packages/cli-dashboard/src/index.tsx',
2551
},
2652
output: {
27-
path: path.resolve(__dirname, './dist/'),
53+
path: path.resolve(__dirname, './dist/cli-dashboard'),
2854
filename: '[name].js',
2955
},
3056
devServer: {
3157
static: {
32-
directory: path.join(__dirname, './dist'),
58+
directory: path.join(__dirname, './dist/cli-dashboard'),
3359
},
3460
compress: true,
3561
port: 9000,
@@ -41,15 +67,15 @@ const dashboard = {
4167
}),
4268
new HtmlWebpackPlugin({
4369
title: 'Report',
44-
template: './public/index.html',
70+
template: './packages/cli-dashboard/public/index.html',
4571
filename: 'index.html',
4672
inject: false,
4773
}),
4874
new CopyPlugin({
49-
patterns: [{ from: '../../out', to: 'out' }],
75+
patterns: [{ from: './out', to: 'out' }],
5076
}),
5177
],
5278
...commonConfig,
5379
};
5480

55-
module.exports = dashboard;
81+
module.exports = [dashboard, report];

data/related_website_sets.json

+94
Original file line numberDiff line numberDiff line change
@@ -681,13 +681,107 @@
681681
"contact": "[email protected]",
682682
"primary": "https://tvn.pl",
683683
"associatedSites": [
684+
"https://player.pl",
684685
"https://tvn24.pl",
685686
"https://zdrowietvn.pl"
686687
],
687688
"rationaleBySite": {
689+
"https://player.pl": "Streaming service that is owned by TVN S.A.. Information about the connection with TVN is included in the footer of this website",
688690
"https://zdrowietvn.pl": "Educational service that is owned by TVN S.A.. Information about the connection with TVN is included in the footer of this website",
689691
"https://tvn24.pl": "News service that is owned by TVN S.A.. Information about the connection with TVN is included in the footer of this website"
690692
}
693+
},
694+
{
695+
"primary": "https://zalo.me",
696+
"contact": "[email protected]",
697+
"associatedSites": [
698+
"https://zingmp3.vn",
699+
"https://baomoi.com",
700+
"https://smoney.vn"
701+
],
702+
"rationaleBySite": {
703+
"https://zingmp3.vn": "Music Website owned by Zalo Group, VNG",
704+
"https://baomoi.com": "News Website owned by Zalo Group, VNG",
705+
"https://smoney.vn": "News Website owned by Zalo Group, VNG"
706+
}
707+
},
708+
{
709+
"primary": "https://finn.no",
710+
"contact": "[email protected]",
711+
"associatedSites": [
712+
"https://prisjakt.no",
713+
"https://mittanbud.no"
714+
],
715+
"serviceSites": [
716+
"https://pdmp-apis.no"
717+
],
718+
"rationaleBySite": {
719+
"https://prisjakt.no": "Site owned by Schibsted with shared SSO across Schibsted Norway's sites and common branding that clearly shows the relation between the sites.",
720+
"https://mittanbud.no": "Site owned by Schibsted with shared SSO across Schibsted Norway's sites and common branding that clearly shows the relation between the sites.",
721+
"https://pdmp-apis.no": "Site owned by Schibsted that provides APIs for users across Schibsted's sites."
722+
}
723+
},
724+
{
725+
"contact": "[email protected]",
726+
"primary": "https://laprensagrafica.com",
727+
"associatedSites": [
728+
"https://elgrafico.com",
729+
"https://eleconomista.net",
730+
"https://ella.sv",
731+
"https://grupolpg.sv"
732+
],
733+
"rationaleBySite": {
734+
"https://elgrafico.com": "News portal owned by La Prensa Grafica Group",
735+
"https://eleconomista.net": "News portal owned by La Prensa Grafica Group",
736+
"https://ella.sv": "News portal owned by La Prensa Grafica Group",
737+
"https://grupolpg.sv": "Domain owned by La Prensa Grafica Group"
738+
}
739+
},
740+
{
741+
"primary": "https://kaksya.in",
742+
"contact": "[email protected]",
743+
"associatedSites": [
744+
"https://nidhiacademyonline.com"
745+
],
746+
"serviceSites": [],
747+
"rationaleBySite": {
748+
"https://nidhiacademyonline.com": "This website is a subpart of kaksya.in and is used to host Nidhi Academy educational content videos/notes and more."
749+
}
750+
},
751+
{
752+
"contact": "[email protected]",
753+
"primary": "https://sapo.pt",
754+
"associatedSites": [
755+
"https://sapo.pt",
756+
"https://meo.pt"
757+
],
758+
"rationaleBySite": {
759+
"https://sapo.pt": "SAPO is Portugal's leading online platform offering a diverse range of news, information, and services catering to various interests including news, entertainment, sports, technology, and lifestyle.",
760+
"https://meo.pt": "MEO is a prominent telecommunications and entertainment provider in Portugal, offering a wide range of services including television, internet, phone, and mobile."
761+
},
762+
"ccTLDs": {
763+
"https://sapo.pt": [
764+
"https://sapo.io"
765+
]
766+
}
767+
},
768+
{
769+
"contact": "[email protected]",
770+
"primary": "https://vrt.be",
771+
"associatedSites": [
772+
"https://dewarmsteweek.be",
773+
"https://sporza.be",
774+
"https://een.be",
775+
"https://radio2.be",
776+
"https://radio1.be"
777+
],
778+
"rationaleBySite": {
779+
"https://dewarmsteweek.be": "domain for a yearly campaign",
780+
"https://sporza.be": "sub brand for sports news",
781+
"https://een.be": "sub brand site",
782+
"https://radio2.be": "sub brand site",
783+
"https://radio1.be": "sub brand site"
784+
}
691785
}
692786
]
693787
}

packages/extension/webpack.config.cjs extension.webpack.config.cjs

+20-20
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,24 @@ const HtmlWebpackPlugin = require('html-webpack-plugin');
1818
const HtmlInlineScriptPlugin = require('html-inline-script-webpack-plugin');
1919
const CopyPlugin = require('copy-webpack-plugin');
2020
const WebpackBar = require('webpackbar');
21-
const commonConfig = require('../../webpack.shared.cjs');
21+
const commonConfig = require('./webpack.shared.cjs');
2222

2323
const root = {
2424
entry: {
25-
'service-worker': './src/serviceWorker/index.ts',
26-
'content-script': './src/contentScript/index.ts',
25+
'service-worker': './packages/extension/src/serviceWorker/index.ts',
26+
'content-script': './packages/extension/src/contentScript/index.ts',
2727
},
2828
output: {
29-
path: path.resolve(__dirname, '../../dist/extension'),
29+
path: path.resolve(__dirname, './dist/extension'),
3030
filename: '[name].js',
3131
},
3232
plugins: [
3333
new CopyPlugin({
3434
patterns: [
35-
{ from: 'src/manifest.json', to: '' },
36-
{ from: 'icons', to: 'icons' },
37-
{ from: '../../assets', to: 'assets' },
38-
{ from: '../../data', to: 'data' },
35+
{ from: './packages/extension/src/manifest.json', to: '' },
36+
{ from: './packages/extension/icons', to: 'icons' },
37+
{ from: './assets', to: 'assets' },
38+
{ from: './data', to: 'data' },
3939
],
4040
}),
4141
new WebpackBar({
@@ -48,12 +48,12 @@ const root = {
4848

4949
const devTools = {
5050
entry: {
51-
index: './src/view/devtools/index.tsx',
52-
devtools: './src/view/devtools/devtools.ts',
53-
worker: './src/worker/index.ts',
51+
index: './packages/extension/src/view/devtools/index.tsx',
52+
devtools: './packages/extension/src/view/devtools/devtools.ts',
53+
worker: './packages/extension/src/worker/index.ts',
5454
},
5555
output: {
56-
path: path.resolve(__dirname, '../../dist/extension/devtools'),
56+
path: path.resolve(__dirname, './dist/extension/devtools'),
5757
filename: '[name].js',
5858
},
5959
plugins: [
@@ -63,13 +63,13 @@ const devTools = {
6363
}),
6464
new HtmlWebpackPlugin({
6565
title: 'PSAT Devtool',
66-
template: './src/view/devtools/index.html',
66+
template: './packages/extension/src/view/devtools/index.html',
6767
filename: 'index.html',
6868
inject: false,
6969
}),
7070
new HtmlWebpackPlugin({
7171
title: 'PSAT',
72-
template: './src/view/devtools/devtools.html',
72+
template: './packages/extension/src/view/devtools/devtools.html',
7373
filename: 'devtools.html',
7474
inject: true,
7575
}),
@@ -79,10 +79,10 @@ const devTools = {
7979

8080
const popup = {
8181
entry: {
82-
index: './src/view/popup/index.tsx',
82+
index: './packages/extension/src/view/popup/index.tsx',
8383
},
8484
output: {
85-
path: path.resolve(__dirname, '../../dist/extension/popup'),
85+
path: path.resolve(__dirname, './dist/extension/popup'),
8686
filename: 'index.js',
8787
},
8888
plugins: [
@@ -92,7 +92,7 @@ const popup = {
9292
}),
9393
new HtmlWebpackPlugin({
9494
title: 'PSAT Popup',
95-
template: './src/view/popup/index.html',
95+
template: './packages/extension/src/view/popup/index.html',
9696
inject: false,
9797
}),
9898
],
@@ -101,10 +101,10 @@ const popup = {
101101

102102
const report = {
103103
entry: {
104-
index: './src/view/report/index.tsx',
104+
index: './packages/report/src/index.tsx',
105105
},
106106
output: {
107-
path: path.resolve(__dirname, '../../dist/extension/report'),
107+
path: path.resolve(__dirname, './dist/extension/report'),
108108
filename: '[name].js',
109109
},
110110
plugins: [
@@ -114,7 +114,7 @@ const report = {
114114
}),
115115
new HtmlWebpackPlugin({
116116
title: 'Report',
117-
template: './src/view/report/index.html',
117+
template: './packages/report/public/index.html',
118118
filename: 'index.html',
119119
inject: true,
120120
}),

0 commit comments

Comments
 (0)