Commit graph

308 commits

Author SHA1 Message Date
Christopher Willis-Ford
bd76e54643 1.2.0 2018-12-28 04:47:06 -08:00
Christopher Willis-Ford
eea135e52b npm upgrade 2018-12-28 00:48:29 -08:00
Christopher Willis-Ford
f9764d8fc6 Further simplify and consolidate webpack config 2018-12-28 00:48:24 -08:00
Christopher Willis-Ford
ba91c89d62 Add dev instructions to README.md 2018-12-27 12:18:09 -08:00
Paul Kaplan
a7519d167d
Merge pull request #20 from LLK/fix-mac-shortcuts
Include menu with default keyboard shortcuts to allow mac to work
2018-12-27 15:01:38 -05:00
Chris Willis-Ford
80ed0db606
Merge pull request #19 from benjiwheeler/external-windows
attempt to open _blank link targets in OS's default browser, not electron
2018-12-27 11:20:23 -08:00
Christopher Willis-Ford
9560798c8d Specify scratch-desktop branch of scratch-gui
This should go back to a version number once we merge the GUI's
scratch-desktop branch into its develop branch.
2018-12-27 11:05:14 -08:00
Paul Kaplan
87d9a5e448 Include menu with default keyboard shortcuts to allow mac to work 2018-12-27 13:49:26 -05:00
Ben Wheeler
9c7aceea70 attempt to open _blank link targets in OS's default browser, not electron 2018-12-26 13:59:02 -08:00
Christopher Willis-Ford
a866327656 1.1.1 2018-12-21 12:51:44 -08:00
Christopher Willis-Ford
4c838c01be Revert "Add last-resort hook to stop link navigation"
This reverts commit c8f6b38df2. It caused
the menus (like File -> Save) not to work.
2018-12-21 12:38:16 -08:00
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