✨ Add Data safety column #49
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "devhelper47607/v2-web:feat/41-data-safety-column"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Addresses #41, in part.
Companion change: playsearch.kaki87.net/v2-api#16 makes the Data safety information available over the SSE API stream.
Scope note
Issue #41 suggests two things:
The trackers-free checkbox is intentionally out of scope here: as noted in the issue thread, εxodus URLs use their own numeric IDs rather than Google Play app IDs, so the two data sources do not line up without new scraping work, and the project policy remains to use Google Play as the only data source. This PR delivers the Data safety column the maintainer confirmed ("I will add a column with a summary of that information").
Problem
When comparing applications, the table had no information about data collection or sharing practices. The Data collected / Data shared / Encrypted in transit / Request deletion criteria asked for in #41 were invisible while evaluating apps.
Root cause
AppMain.vuehad no column, no tooltip summary and no per-item helpers fordataSafety.Solution
IAPandAndroid version, with per-row values:Collected,Shared only,Encryptedor-while information is absent/loading.Data contract
The companion API change pushes SSE messages
{ appId, dataSafety }wheredataSafetymatches the output ofgooglePlay.datasafety()(collectedData,sharedData,securityPractices). Older API versions simply do not send this field, in which case the UI keeps showing-, so the change degrades safely.Files changed
src/components/AppMain.vue:getDataSafetySummary/getDataSafetyTooltiphelpers, header cell and body cell.CHANGELOG.md:Unreleasedentry.Verification
yarn install --frozen-lockfile: success; only the pre-existing peer dependency warnings (vue-router/@vitejs/plugin-vue).yarn build: success; Vite production build transforms the updatedAppMain.vue.:8799and this application with Vite dev server on:5173(config.jsand local servers are not committed). After submittingsignal, the results table rendered with the new Data safety column; sampled values wereCollectedrows,Encryptedrows and-, e.g. row tooltip:Data collected: Yes (1 types); Data shared: No; Encrypted in transit: Yes; Request data deletion: Yes; existing sorting and filters still worked; no browser page errors were observed.Impact
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.