Skip to content

Commit

Permalink
Merge pull request #171 from GoogleChromeLabs/develop
Browse files Browse the repository at this point in the history
v0.3.0
  • Loading branch information
amedina committed Oct 11, 2023
2 parents 6d4ae3d + 7db87ae commit e7d1ab8
Show file tree
Hide file tree
Showing 361 changed files with 19,699 additions and 12,117 deletions.
7 changes: 6 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@
"version": "detect"
},
"import/resolver": {
"node": {
"@cookie-analysis-tool/eslint-import-resolver": {
"mapping": {
"^@cookie-analysis-tool\\/(.*)\\/(.*)": "./packages/$1/src/$2",
"^@cookie-analysis-tool\\/(.*)": "./packages/$1/src/"
},
"extensions": [".js", ".jsx", ".ts", ".tsx"]
},
"typescript": {}
Expand All @@ -36,6 +40,7 @@
"ignorePatterns": [
"**/node_modules/**",
"dist/**",
"dist-types/**",
"out/**",
"data/**",
"coverage/**"
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ out
.env

# tsc output
packages/*/dist
packages/*/dist-types
*.tsbuildinfo

#puppeteer artifact
Expand Down
12 changes: 10 additions & 2 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ import type { RuleSetRule } from 'webpack';

const config: StorybookConfig = {
stories: [
'../packages/**/src/**/stories/*.mdx',
'../packages/**/src/**/stories/**/*.stories.@(js|jsx|ts|tsx)',
'../packages/extension/src/**/stories/*.mdx',
'../packages/extension/src/**/stories/**/*.stories.@(js|jsx|ts|tsx)',
'../packages/design-system/src/**/stories/*.mdx',
'../packages/design-system/src/**/stories/**/*.stories.@(js|jsx|ts|tsx)',
],
addons: [
'@storybook/addon-links',
Expand Down Expand Up @@ -47,6 +49,12 @@ const config: StorybookConfig = {
loader: require.resolve('@svgr/webpack'),
});

config.resolve = {
// Fixes resolving packages in the monorepo so we use the "src" folder, not "dist".
exportsFields: ['customExports', 'exports'],
extensions: ['.ts', '.tsx', '.js'],
};

return config;
},
};
Expand Down
49 changes: 45 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### v0.0.2
# v0.0.2

**Feature**

Expand All @@ -19,7 +19,7 @@

---

### 0.1.0
# v0.1.0

**Feature**

Expand All @@ -46,7 +46,7 @@

- Add command for test coverage report [PR#78](https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/78)

### 0.2.0
# v0.2.0

## Cookies

Expand All @@ -63,4 +63,45 @@
- Feature: Add optional flag to skip tech analysis https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/137

## Privacy Sandbox API
- Restructure menu items and add more info cards https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/131
- Restructure menu items and add more info cards https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/131


# v0.3.0

## Cookies

* Feature: Add frame overlays https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/147
* Feature: List cookies set via `document.cookie` https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/146
* Update table UI in https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/167
* Add `isResizing` state inside table hook https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/176
* Focus on the first frame when navigating to a different page https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/161
* Frame Overlay: Display only privacy sandbox-related allowed features https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/178
* PS landing page improvements https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/179
* Enhance descriptions in Expanded View Cookie Matrix https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/143
* Replace 'not found' with 0 in the circle pie chart https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/152
* Fix: Responsive table on changing dock size. https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/163
* Fix `browseTopics` pre-rendering error https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/166
* Fix: Context invalidated message in https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/168
* Fix: Missing cookies with same names https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/140
* Fix: Flickering of iframe overlay on sites and some other fixes https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/177


## CLI
* Feature: Cookie report generation with CLI tool https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/162
* Refactor: Set up a workspace named `common` for common utilities between CLI and the extension. https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/139
* Chore: Move presentational components to the design system package in https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/155


## Privacy Sandbox API
* Feature: Add RWS JSON generator form https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/142
* Feature: Add insights card to RWS panel https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/141
* Feature: Add data if frame belongs to RWS https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/170
* Feature: Cookie table settings should be made persistent https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/134
* Feature: Create landing pages https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/160
* Feature: Add new "Privacy Sandbox" menu item https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/150
* Update RWS panel interface https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/148
* Replace table library with custom hooks https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/154
* Replace `table` with `div` for better flexibility https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/157
* Add topic list https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/159
* Landing page enhancements and fixes https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/173
* Update RWS panel https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/174
6 changes: 3 additions & 3 deletions data/PSInfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"topics": {
"name": "Topics",
"description": "Provide a way for advertising to reach users based on interests inferred from the sites or apps the user visits, without needing to know the specific sites or apps the user has visited",
"description": "Provide a way for advertising to reach users based on interests inferred from the sites or apps the user visits, without needing to know the specific sites or apps the user has visited.",
"proposal": "https://github.com/patcg-individual-drafts/topics",
"publicDiscussion": "https://github.com/patcg-individual-drafts/topics/issues",
"videoOverview": "https://youtu.be/hEBzWuXjeTQ",
Expand All @@ -33,15 +33,15 @@
},
"related-website-sets": {
"name": "Related Website Sets",
"description": "A new web platform mechanism that would allow a company that owns multiple sites to declare a collection of related domains as being in a Related Website Sets. Sites that are part of a Related Website Set would be able to access cookies across the set of included domains",
"description": "A new web platform mechanism that would allow a company that owns multiple sites to declare a collection of related domains as being in a Related Website Sets. Sites that are part of a Related Website Set would be able to access cookies across the set of included domains.",
"proposal": "https://github.com/WICG/first-party-sets",
"publicDiscussion": "https://github.com/WICG/first-party-sets/issues",
"videoOverview": "https://www.youtube.com/watch?v=cNJ8mZ-J3F8",
"devDocumentation": "https://developer.chrome.com/docs/privacy-sandbox/first-party-sets/"
},
"shared-storage": {
"name": "Shared Storage",
"description": "The Shared Storage API allows sites to store and access unpartitioned cross-site data as to prevent cross-site user tracking, browsers are partitioning all forms of storage (cookies, localStorage, caches, etc). However, there are a number of legitimate use cases that rely on unpartitioned storage which would be impossible without help from new web APIs. ",
"description": "The Shared Storage API allows sites to store and access unpartitioned cross-site data as to prevent cross-site user tracking, browsers are partitioning all forms of storage (cookies, localStorage, caches, etc). However, there are a number of legitimate use cases that rely on unpartitioned storage which would be impossible without help from new web APIs.",
"proposal": "https://github.com/WICG/shared-storage",
"publicDiscussion": "https://github.com/WICG/shared-storage/issues",
"videoOverview": "",
Expand Down
92 changes: 92 additions & 0 deletions data/related_website_sets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
{
"sets": [
{
"contact": "dmarti@raptive.com",
"primary": "https://cafemedia.com",
"associatedSites": [
"https://cardsayings.net",
"https://nourishingpursuits.com"
],
"rationaleBySite": {
"https://cardsayings.net": "Co-branded content site",
"https://nourishingpursuits.com": "Co-branded content site"
}
},
{
"primary": "https://bild.de",
"contact": "robert.blanck@axelspringer.com",
"associatedSites": [
"https://welt.de",
"https://autobild.de",
"https://computerbild.de",
"https://wieistmeineip.de"
],
"serviceSites": [
"https://www.asadcdn.com"
],
"rationaleBySite": {
"https://welt.de": "News Website welt.de",
"https://autobild.de": "Special Interest Website Autobild",
"https://computerbild.de": "Special Interest Website Computerbild",
"https://wieistmeineip.de": "Internet speed Measurement Website of Computerbild",
"https://www.asadcdn.com": "CDN for Ad Files - Frequency Capping"
}
},
{
"primary": "https://gliadomain.com",
"contact": "carlos.paniagua@glia.com",
"associatedSites": [
"https://salemoveadvisor.com",
"https://salemovefinancial.com",
"https://salemovetravel.com"
],
"rationaleBySite": {
"https://salemoveadvisor.com": "The domains are very clear that they are all a part of the SaleMove family of sites. These sites are used as demo sites to show how multiple sites can be linked together for the purpose of live chat linking across multiple domains. A user would expect the sites to be linked as they are all a part of the same demo family of sites to show how it works",
"https://salemovefinancial.com": "The domains are very clear that they are all a part of the SaleMove family of sites. These sites are used as demo sites to show how multiple sites can be linked together for the purpose of live chat linking across multiple domains. A user would expect the sites to be linked as they are all a part of the same demo family of sites to show how it works",
"https://salemovetravel.com": "The domains are very clear that they are all a part of the SaleMove family of sites. These sites are used as demo sites to show how multiple sites can be linked together for the purpose of live chat linking across multiple domains. A user would expect the sites to be linked as they are all a part of the same demo family of sites to show how it works"
}
},
{
"primary": "https://hapara.com",
"contact": "support@hapara.com",
"associatedSites": [
"https://teacherdashboard.com",
"https://mystudentdashboard.com"
],
"rationaleBySite": {
"https://teacherdashboard.com": "Portal for Hapara teachers",
"https://mystudentdashboard.com": "Portal for Hapara students"
}
},
{
"contact": "support@songstats.com",
"primary": "https://songstats.com",
"associatedSites": [
"https://songshare.com"
],
"rationaleBySite": {
"https://songshare.com": "Specialized Platform for Music Smart Links"
}
},
{
"contact": "prashant.tiwari@htdigital.in",
"primary": "https://hindustantimes.com",
"associatedSites": [
"https://livemint.com"
],
"rationaleBySite": {
"https://livemint.com": "Specialized Platform for economics"
}
},
{
"contact": "alexey@landyrev.com",
"primary": "https://landyrev.com",
"associatedSites": [
"https://landyrev.ru"
],
"rationaleBySite": {
"https://landyrev.ru": "Same publisher's website in a different region"
}
}
]
}

0 comments on commit e7d1ab8

Please sign in to comment.