Commit Graph
9459 Commits
Author SHA1 Message Date
Thomas Weber 4112f0f009 Fix addon settings reset live reload 2021-05-24 17:32:55 -05:00
Thomas Weber 233b1cf735 Merge branch 'develop' of github.com:TurboWarp/scratch-gui into develop 2021-05-24 16:50:33 -05:00
Thomas Weber 70369bda80 Update addons 2021-05-24 16:48:36 -05:00
Thomas Weber fe0e2790cf Handle situations where BroadcastChannel is unsupported better
Mark all changes as requiring a reload
Hide broken reload button
2021-05-24 16:46:28 -05:00
dependabot[bot] 7d918e9a8b build(deps): bump scratch-vm from 4063d82 to a3f0ef8 (#198)
Bumps [scratch-vm](https://github.com/TurboWarp/scratch-vm) from `4063d82` to `a3f0ef8`.
- [Release notes](https://github.com/TurboWarp/scratch-vm/releases)
- [Commits](https://github.com/TurboWarp/scratch-vm/compare/4063d821477507daa49d9e8aa2b02dd54405e689...a3f0ef80b845a4bd079aa71ba47deda5c3d6d281)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-24 14:51:12 -05:00
Thomas Weber 7d20b48165 Fix addon notice layout shift 2021-05-23 16:12:23 -05:00
Thomas Weber bb442932b8 Merge branch 'develop' of github.com:TurboWarp/scratch-gui into develop 2021-05-22 22:12:46 -05:00
Thomas Weber f7e0b69956 Update privacy.html
More concise and clear
2021-05-22 22:12:42 -05:00
dependabot[bot] 652b3541ba build(deps): bump scratch-vm from 416281f to 4063d82 (#197)
Bumps [scratch-vm](https://github.com/TurboWarp/scratch-vm) from `416281f` to `4063d82`.
- [Release notes](https://github.com/TurboWarp/scratch-vm/releases)
- [Commits](https://github.com/TurboWarp/scratch-vm/compare/416281f99b513c00397d50638b64c95492dd1b8b...4063d821477507daa49d9e8aa2b02dd54405e689)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-22 17:09:29 -05:00
Thomas Weber 8f133fb6d9 Update addons (revert #159 fix) 2021-05-22 12:42:20 -05:00
Thomas Weber 3263029909 Update addons (fix #178, fix #159) 2021-05-22 10:53:37 -05:00
Thomas Weber 42ba867960 Assign settings before emitting event, but after checking for dynamic enable/disable 2021-05-21 23:43:52 -05:00
Thomas Weber f94d50da34 Assign changes in setStore before emitting change event 2021-05-21 23:37:35 -05:00
dependabot[bot] 416bf9d4ba build(deps): bump scratch-vm from 96169eb to 416281f (#194)
Bumps [scratch-vm](https://github.com/TurboWarp/scratch-vm) from `96169eb` to `416281f`.
- [Release notes](https://github.com/TurboWarp/scratch-vm/releases)
- [Commits](https://github.com/TurboWarp/scratch-vm/compare/96169eb433641d472616b087a99e296f5b5e7877...416281f99b513c00397d50638b64c95492dd1b8b)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-21 18:45:19 -05:00
dependabot[bot] ae019d3654 build(deps): bump scratch-svg-renderer from 8fd4edc to fc363b0 (#195)
Bumps [scratch-svg-renderer](https://github.com/TurboWarp/scratch-svg-renderer) from `8fd4edc` to `fc363b0`.
- [Release notes](https://github.com/TurboWarp/scratch-svg-renderer/releases)
- [Commits](https://github.com/TurboWarp/scratch-svg-renderer/compare/8fd4edc8d418ba3a372f580e99b48e5742203791...fc363b041080a2268051ffaa4bd1199bc99bfdbb)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-21 18:45:15 -05:00
Thomas Weber fbb3019309 npm aliases don't work well, let's not use them 2021-05-21 18:42:49 -05:00
Thomas Weber 5e8af85539 Merge branch 'develop' of github.com:LLK/scratch-gui into develop 2021-05-21 18:33:04 -05:00
Thomas Weber d98387cbb0 Make addon settings more resilient to weird stores
It might be possible that the addon settings page has a different version of addons than the editor
2021-05-21 18:31:38 -05:00
Thomas Weber 1e735dbec7 Fix BroadcastChannel shim always being used 2021-05-21 18:19:33 -05:00
Thomas Weber 271392d1d6 Use BroadcastChannel instead of window.opener to communicate addon changes (#192) 2021-05-21 18:11:50 -05:00
Christopher Willis-Ford 5ec452e0ff Merge pull request #7149 from cwillisf/squishy-telemetry-modal
shrink telemetry modal on smaller viewports
2021-05-21 14:53:38 -07:00
Thomas Weber 078fb3f4b7 update package-lock 2021-05-21 15:59:07 -05:00
Thomas Weber 9b68ded25a bump scratch-l10n 2021-05-21 15:11:33 -05:00
dependabot-preview[bot] f422b98ccf Merge pull request #7155 from LLK/dependabot/npm_and_yarn/scratch-blocks-0.1.0-prerelease.20210521033213 2021-05-21 03:47:15 +00:00
dependabot-preview[bot] 97b1910042 build(deps): bump scratch-blocks
Bumps [scratch-blocks](https://github.com/LLK/scratch-blocks) from 0.1.0-prerelease.20210520035300 to 0.1.0-prerelease.20210521033213.
- [Release notes](https://github.com/LLK/scratch-blocks/releases)
- [Commits](https://github.com/LLK/scratch-blocks/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-21 03:39:57 +00:00
dependabot-preview[bot] a694abc422 Merge pull request #7154 from LLK/dependabot/npm_and_yarn/scratch-l10n-3.11.20210521031700 2021-05-21 03:35:15 +00:00
dependabot-preview[bot] 3df37edeae build(deps): bump scratch-l10n
Bumps [scratch-l10n](https://github.com/LLK/scratch-l10n) from 3.11.20210520031636 to 3.11.20210521031700.
- [Release notes](https://github.com/LLK/scratch-l10n/releases)
- [Commits](https://github.com/LLK/scratch-l10n/compare/3.11.20210520031636...3.11.20210521031700)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-21 03:27:28 +00:00
Thomas Weber 716c6fd5f7 Resolve some eslint errors 2021-05-20 15:07:43 -05:00
dependabot[bot] 55694a5458 build(deps): bump scratch-vm from 7ba47ee to 96169eb (#193)
Bumps [scratch-vm](https://github.com/TurboWarp/scratch-vm) from `7ba47ee` to `96169eb`.
- [Release notes](https://github.com/TurboWarp/scratch-vm/releases)
- [Commits](https://github.com/TurboWarp/scratch-vm/compare/7ba47eeb06db96885857d302e4db86aa812472a5...96169eb433641d472616b087a99e296f5b5e7877)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-20 07:32:32 -05:00
dependabot-preview[bot] 49ce8dc502 Merge pull request #7151 from LLK/dependabot/npm_and_yarn/scratch-blocks-0.1.0-prerelease.20210520035300 2021-05-20 04:10:01 +00:00
dependabot-preview[bot] 52966a0028 build(deps): bump scratch-blocks
Bumps [scratch-blocks](https://github.com/LLK/scratch-blocks) from 0.1.0-prerelease.20210519033402 to 0.1.0-prerelease.20210520035300.
- [Release notes](https://github.com/LLK/scratch-blocks/releases)
- [Commits](https://github.com/LLK/scratch-blocks/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-20 04:00:38 +00:00
dependabot-preview[bot] 4fd6bd0122 Merge pull request #7150 from LLK/dependabot/npm_and_yarn/scratch-l10n-3.11.20210520031636 2021-05-20 03:55:35 +00:00
dependabot-preview[bot] abb3b41f1c build(deps): bump scratch-l10n
Bumps [scratch-l10n](https://github.com/LLK/scratch-l10n) from 3.11.20210519031633 to 3.11.20210520031636.
- [Release notes](https://github.com/LLK/scratch-l10n/releases)
- [Commits](https://github.com/LLK/scratch-l10n/compare/3.11.20210519031633...3.11.20210520031636)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-20 03:47:45 +00:00
Thomas Weber f20d3e803a Addon dynamic enable/disable 2021-05-19 19:39:40 -05:00
Thomas Weber d7a41842ca Refactor addon running
Dynamic enable/disable preparations
2021-05-19 19:02:39 -05:00
Thomas Weber 6e8e8493ac Only emit addon setting change event on addons where the settings actually changed (#191) 2021-05-19 18:44:38 -05:00
Thomas Weber 5e95fa7d3c Slightly improve footer 2021-05-19 18:04:44 -05:00
Thomas Weber d108b98c62 Update design of privacy policy to match everything else
No content changes.
2021-05-19 17:58:51 -05:00
Thomas Weber ee24597a36 Run scratch-blocks lazily
It can take up to 40ms to setup, which is unnecessary at startup.
In the future, I want to further break it up into its own bundle
2021-05-19 13:45:05 -05:00
Christopher Willis-Ford aac57420c6 shrink telemetry modal on smaller viewports
If the viewport height is smaller than 660, shrink the margin above &
below the telemetry modal.
If the viewport height is smaller than 540, also remove the image banner
at the top of the telemetry modal.
2021-05-19 11:43:49 -07:00
Thomas Weber 0484daace9 Fix tests 2021-05-19 11:11:05 -05:00
Thomas Weber 9dce93f909 Enable VM compatibility mode earlier
In TW, setCompatibilityMode emits an event and a redux update
This just removes one unnecessary redux update from every load
A tiny microoptimization
2021-05-19 10:58:44 -05:00
Thomas Weber b05dd8172a Update addons (fix editor-devtools bug)
Probably from a bad merge. Does not affect upstream.
2021-05-19 08:37:28 -05:00
dependabot-preview[bot] a9d2951ce2 Merge pull request #7148 from LLK/dependabot/npm_and_yarn/scratch-blocks-0.1.0-prerelease.20210519033402 2021-05-19 03:49:29 +00:00
dependabot-preview[bot] dbe758604d Merge pull request #7146 from LLK/dependabot/npm_and_yarn/babel/core-7.14.3 2021-05-19 03:49:24 +00:00
dependabot-preview[bot] 2b0324fc5e build(deps): bump scratch-blocks
Bumps [scratch-blocks](https://github.com/LLK/scratch-blocks) from 0.1.0-prerelease.20210518033204 to 0.1.0-prerelease.20210519033402.
- [Release notes](https://github.com/LLK/scratch-blocks/releases)
- [Commits](https://github.com/LLK/scratch-blocks/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-19 03:41:45 +00:00
dependabot-preview[bot] 0304cbb52b build(deps-dev): bump @babel/core from 7.14.2 to 7.14.3
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.14.2 to 7.14.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.3/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-19 03:41:35 +00:00
dependabot-preview[bot] 487be86937 Merge pull request #7147 from LLK/dependabot/npm_and_yarn/scratch-l10n-3.11.20210519031633 2021-05-19 03:38:20 +00:00
dependabot-preview[bot] 617812cd16 build(deps): bump scratch-l10n
Bumps [scratch-l10n](https://github.com/LLK/scratch-l10n) from 3.11.20210518031523 to 3.11.20210519031633.
- [Release notes](https://github.com/LLK/scratch-l10n/releases)
- [Commits](https://github.com/LLK/scratch-l10n/compare/3.11.20210518031523...3.11.20210519031633)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-19 03:30:40 +00:00
Thomas Weber 72e014f04b Update addons 2021-05-18 19:51:09 -05:00