Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show privacy policy inside app #171

Merged
merged 15 commits into from
Jan 26, 2021

Conversation

cwillisf
Copy link
Contributor

@cwillisf cwillisf commented Dec 8, 2020

Resolves

Resolves #97

Proposed Changes

Along with scratchfoundation/scratch-gui#6463 this change allows the Scratch app to display its privacy policy inside the app.

Primary changes:

  • add a new window to display the privacy policy
  • supply an array of menu items to the GUI in onClickAbout, instead of just one callback function (new feature in About menu scratch-gui#6463)

Supporting changes:

  • add build config for CSS files and move existing CSS out of JSX files into separate CSS files
  • simplify app.jsx and about.jsx to return a component which index.js now renders, instead of those components rendering themselves. The new privacy.jsx follows this new pattern as well.
  • styling changes in the "About" window
  • remove click handler from the "Scratch" logo in favor of the new "About" menu item

Reason for Changes

Moving the "About" window from the Scratch logo to an item in a normal menu should make it easier to find.

Viewing the privacy policy in-app is not only a good idea, it's also now required by Microsoft Store policy.

Re-opening the telemetry modal on demand will allow the user to change their mind at any time, which is not required by any policy but was recommended to us and seems like a good idea anyway.

@cwillisf cwillisf self-assigned this Dec 8, 2020
rschamp
rschamp previously requested changes Dec 8, 2020
Copy link

@rschamp rschamp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG overall, one change about using sendSync in render.

src/renderer/app.jsx Outdated Show resolved Hide resolved
@rschamp rschamp added this to the January 2021 milestone Dec 8, 2020
@cwillisf cwillisf requested a review from rschamp December 15, 2020 23:36
@cwillisf cwillisf dismissed rschamp’s stale review January 4, 2021 23:22

implemented a change based on this feedback

@cwillisf cwillisf merged commit 0b8ce6c into scratchfoundation:develop Jan 26, 2021
@cwillisf cwillisf deleted the privacy-policy branch January 26, 2021 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

There should be a way to view a privacy policy within the app
2 participants