Chris Willis-Ford
897a9d26bc
Merge pull request #18 from cwillisf/telemetry
...
Implement telemetry client
2018-12-21 12:01:27 -08:00
Christopher Willis-Ford
4848d7548a
Add version field to telemetry events
2018-12-21 11:31:02 -08:00
Christopher Willis-Ford
22dd1821f4
Supply defaults for telemetry event fields
2018-12-21 11:31:02 -08:00
Christopher Willis-Ford
34d96bf49c
Add onProjectTelemetryEvent handler for GUI
2018-12-21 11:31:02 -08:00
Christopher Willis-Ford
77b8a13d64
Populate telemetry events
2018-12-21 11:31:02 -08:00
Christopher Willis-Ford
6486201bf9
Improve appWillClose() reliability
2018-12-21 11:31:02 -08:00
Christopher Willis-Ford
64da5dff27
Hook up telemetry opt-in/out modal
2018-12-21 11:31:02 -08:00
Christopher Willis-Ford
30cafbf508
Enable telemetry persistence
2018-12-21 11:31:02 -08:00
Christopher Willis-Ford
f46fd1d7e3
npm install -D electron-store
2018-12-21 11:31:02 -08:00
Christopher Willis-Ford
64c2755c70
First draft telemetry client
...
To do: queue and client ID persistence
2018-12-21 11:31:00 -08:00
Christopher Willis-Ford
66a664b243
npm install -D nets uuid
2018-12-21 11:27:57 -08:00
Christopher Willis-Ford
be95f54ffe
Tweak webpack config for consistency, avoid OOM crash
2018-12-21 11:27:35 -08:00
Christopher Willis-Ford
5517f9a184
Set isScratchDesktop
2018-12-21 10:26:54 -08:00
Chris Willis-Ford
c238d121ea
Merge pull request #16 from cwillisf/store-prep
...
Store prep
2018-12-17 11:34:47 -08:00
Christopher Willis-Ford
0f9a52f34d
1.0.3
2018-12-14 15:05:43 -08:00
Christopher Willis-Ford
c8f6b38df2
Add last-resort hook to stop link navigation
...
Links which cause the browser to navigate to another page should be
removed or disabled in Scratch Desktop to prevent Electron from
navigating away from the editor. If we miss disabling or removing such a
link, this last-resort hook will disable navigation after the user
clicks a link.
2018-12-14 14:57:55 -08:00
Christopher Willis-Ford
6bf5d4a41a
Improve main window behavior and code readability
...
- Closing behavior on Mac is now consistent with other platforms
- The main window is not shown until ready
- Minor code reorg to separate concerns and improve readability
2018-12-14 13:07:24 -08:00
Christopher Willis-Ford
1145c44915
1.0.2
2018-12-14 11:01:22 -08:00
Christopher Willis-Ford
efaa2d957d
Don't apply entitlements to the Mac DevID build
2018-12-14 09:53:42 -08:00
Christopher Willis-Ford
f90534e09c
1.0.1
2018-12-14 00:44:45 -08:00
Christopher Willis-Ford
34cc1b5832
MAS: fix embedded provisioning profile
2018-12-13 21:17:02 -08:00
Christopher Willis-Ford
fe9c6e17cb
Add screenshot
2018-12-13 20:11:28 -08:00
Christopher Willis-Ford
40d0812a0c
Fix AppX publisher info
2018-12-13 19:18:50 -08:00
Christopher Willis-Ford
ce1844ad0a
Fix Microsoft Store logo size
2018-12-13 18:20:39 -08:00
Christopher Willis-Ford
b083252b50
Fix order of asset fetch & webpack build
2018-12-13 18:13:04 -08:00
Christopher Willis-Ford
54110ad6eb
Corrected location of AppX logos
2018-12-13 18:12:33 -08:00
Christopher Willis-Ford
28474afddb
Fix wide AppX icon
2018-12-13 17:51:32 -08:00
Christopher Willis-Ford
faf75a8cfc
Fix AppX app identity
2018-12-13 17:39:52 -08:00
Christopher Willis-Ford
7b55741ead
Add AppX icons
2018-12-13 17:36:49 -08:00
Christopher Willis-Ford
6537e1f931
Configure store and non-store builds for Mac & Win
2018-12-13 12:01:08 -08:00
Christopher Willis-Ford
356b4475b6
Add icon
2018-12-13 12:01:08 -08:00
Christopher Willis-Ford
2068dc50bb
Update package name and version
2018-12-13 12:01:08 -08:00
Chris Willis-Ford
505d7cc7e7
Merge pull request #11 from cwillisf/fix-quit-confirmation
...
Fix quit confirmation
2018-12-13 10:38:21 -08:00
Christopher Willis-Ford
64a06d5b8f
Obey scratch-gui's onbeforeunload result
...
The `scratch-gui` project saver uses `onbeforeunload` to request
confirmation before navigating away from an unsaved project.
Unfortunately Electron suppresses the confirmation dialog that browsers
would normally display. Instead, Electron offers a `will-prevent-unload`
event in the main process: this event fires when `onbeforeunload`
requests a confirmation dialog.
This change adds a handler for `will-prevent-unload` which displays a
quit confirmation dialog so that the overall behavior is similar to what
happens in a regular browser.
2018-12-12 17:10:43 -08:00
Christopher Willis-Ford
fcf629ba1c
Let scratch-gui handle 'onbeforeunload'
2018-12-12 17:07:04 -08:00
Christopher Willis-Ford
c9bcd14015
Add source-map-loader
2018-12-12 09:05:19 -08:00
Christopher Willis-Ford
69f48aefb8
npm upgrade
2018-12-04 23:00:21 -08:00
Christopher Willis-Ford
d2d6704360
Let npm reformat package-lock.json
...
Recent versions of `npm` record sub-dependency version ranges
differently, though the actual modules installed have not changed. I'm
separating this into its own commit so it doesn't make other changes
harder to see.
2018-12-03 15:39:42 -08:00
Christopher Willis-Ford
046c6188f9
Don't import scratch-gui internals
2018-11-08 18:48:44 -08:00
Christopher Willis-Ford
4767897f4b
only import electron-devtools-installer in dev mode
2018-10-31 15:57:04 -07:00
Christopher Willis-Ford
eff882c928
use rimraf and mkdirp to ensure clean builds
2018-10-31 15:40:27 -07:00
Christopher Willis-Ford
f761193c5f
set productName to "Scratch Desktop 3.0"
2018-10-31 15:20:21 -07:00
Christopher Willis-Ford
4771e849ea
add repository field to package.json
2018-10-31 15:02:01 -07:00
Christopher Willis-Ford
d1acf29f51
Merge branch 'electron-webpack' into develop
2018-10-31 14:52:34 -07:00
Christopher Willis-Ford
cb0852101e
Load default project on startup
2018-10-24 15:00:03 -07:00
Christopher Willis-Ford
78e6831cbb
Add ElectronStorageHelper
to load bundled assets
2018-10-24 09:47:59 -07:00
Christopher Willis-Ford
071ba28fc8
Fix static assets path
2018-10-24 09:47:59 -07:00
Christopher Willis-Ford
914f883c65
Eliminate redundant index.js
->index.jsx
shim
2018-10-24 09:47:59 -07:00
Christopher Willis-Ford
53e8723086
Fix build with/without npm ln
, match scratch-gui
...
Match the versions of Webpack, Babel, and related plugins as used in
scratch-gui. That plus a few other tweaks means that this repository
builds the same with or without `npm ln scratch-gui`, and also means
that all syntax used in scratch-gui should build the same here.
2018-10-24 09:47:52 -07:00
Christopher Willis-Ford
42cba6414e
Add media library assets, fetch script
2018-10-19 15:19:41 -07:00