scratchfoundation / scratch-flash

Open source version of the Scratch 2.0 project editor. This is the basis for the online and offline versions of Scratch found on the website.
https://scratch.mit.edu
GNU General Public License v2.0
1.33k stars 512 forks source link

Telemetry system related updates #1374

Closed sammoh94 closed 6 years ago

sammoh94 commented 6 years ago

Minor changes needed for the telemetry system

Kenny2github commented 6 years ago

What even was this...?

towerofnix commented 6 years ago

Judging by the offline code in those dead commits (a9dca1f92021de7c40bf365fa883dfd2e03877dc in particular), they added a way to track when people create new projects. (On the offline editor, it seems?)

There's a change towards adding a privacy dialog. That was moved to scratch-flash-online, but still shows they'll probably have a popup of some sort, maybe asking the user for permission to track things like making a new project, or maybe just alerting the user that they do track that.

There's also a change to add some padding to the dialog box element. I wonder how that's going to be used?

cwillisf commented 6 years ago

This is all related to a system being developed by @sammoh94 which will let people who use the offline editor choose to send us information about how they use the editor. It has some fancy features to deal with situations where the Internet is not available, but the basic idea is we'd like to know how we can make offline Scratch better in the future (including Scratch 3.0). We call it the offline editor telemetry system.

In the online editor we can watch our servers to see when certain things need to be improved, but we can't really do that with the offline editor since, you know, it's offline. This system is designed to help us with that limitation while still respecting the privacy of people using Scratch.

This particular PR doesn't do much on its own: it's just a few changes to help the offline editor telemetry system do its job. The telemetry system in general is still in progress, but will probably be ready very soon.