Commit Graph
1834 Commits
Author SHA1 Message Date
Evelyn Eastmond 05abc10116 Changing 'device' to 'peripheral' in the GUI code, etc. 2018-09-07 10:35:06 -04:00
Evelyn Eastmond 9b20171419 Continuing refactoring: renaming things back to be more verbose, adding JSDocs. 2018-09-07 10:35:06 -04:00
Evelyn Eastmond f4cd351353 Beginning refactor: changing 'device' to 'peripheral', shortening some function names, etc. 2018-09-07 10:35:06 -04:00
Ray Schamp 4ccb76fafc Document the localesOnly param in AppStateHOC
/ht @chrisgarrity
2018-09-05 11:55:23 -04:00
Ray Schamp 784f215162 Remove extraneous hideIntro prop
Removing this was the point of moving the test up one level. Thanks @chrisgarrity, good catch!
2018-09-05 11:52:13 -04:00
Ray Schamp 58b2b76426 Split BrowserModalComponent out of GUI
If the VM is ever instantiated, which happens whenever GUI is instantiated due to default props, then IE11 will crash
2018-09-05 11:44:13 -04:00
DD Liu 5473a7b350 Add zoom level (#3054) 2018-08-31 12:56:11 -04:00
chrisgarrity 1046ee3ab3 Merge pull request #2990 from Wgil/feature/2984
Add Intl to Crash Message Component.
2018-08-31 08:19:42 -04:00
Ray Schamp a3623d5c78 Merge pull request #3046 from rschamp/save-now
Don't load the default project on top of everything
2018-08-30 16:58:25 -04:00
Ray Schamp 24fd6683cb Don't load the default project on top of everything
Just use ProjectLoaderHOC to translate props to redux. Trying to be clever about using both props and redux state together was... not clever.

Resolves #3040
2018-08-30 16:57:03 -04:00
chrisgarrity 07802531f5 Merge pull request #3020 from chrisgarrity/issue/2982-extension-padding
Fix connection modal padding for RTL
2018-08-30 11:16:00 -04:00
chrisgarrity 9286e4d5fa Merge pull request #3022 from chrisgarrity/issue/2983-mirror-speaker
Mirror the speaker icon for RTL languages
2018-08-30 11:14:04 -04:00
Ray Schamp 870fe265f8 Revert change to 3.0 urls
Fastly is not configured yet
2018-08-29 20:12:51 -04:00
Ray Schamp 147638c07e Lint 2018-08-28 18:37:50 -04:00
Ray Schamp f5006bf260 Close File menu after downloading project
Unfortunately I couldn't do the same with loading projects, since the presence of the component (necessitating the menu to be open) allows the actual upload from file to work, since it needs the FileInput component to be present, so it can emit a change event.  We should revisit
2018-08-28 18:37:50 -04:00
Ray Schamp a70b7f5c93 Enable "Save now" menu item when there's a session 2018-08-28 18:37:50 -04:00
chrisgarrity 8da7e12f41 Mirror the speaker icon for RTL languages
fixes #2983
2018-08-28 17:59:11 -04:00
Ray Schamp 21a277852f Merge pull request #2941 from apple502j/patch-5
Make Scratch logo a link
2018-08-28 15:52:50 -04:00
chrisgarrity c530cb1235 Fix connection modal padding for RTL 2018-08-27 09:18:39 -04:00
Warao Gil b1f3751eef Add Intl to Crash Message Component. 2018-08-25 19:44:14 -04:00
Ray Schamp ddd4707f0f Merge pull request #2974 from LLK/smoke-wedo
Enable WeDo extension
2018-08-24 09:13:46 -04:00
chrisgarrity a194de7fa2 Fix all the little RTL layout bugs (#2961)
* Fix all the little RTL layout bugs

- [ ] borders on toolbox and workspace mirror correctly
- [ ] spacing on stage selector is correct
- [ ] stage size icons are mirrored
- [ ] extension library coming soon text is positioned correctly
- [ ] only mirror blocks icon on the tab (others stay right-handed)
- [ ] drop down icon in create variable modal has correct spacing

* FIx RTL backpack header border-radius

* round the bottom corner of paint/sound editors

This makes the editor’s asset panels match the blocks.
2018-08-23 19:22:07 -04:00
chrisgarrity a4712ee6ba Pass RTL state to paint editor 2018-08-23 15:16:27 -04:00
DD Liu 8bfaf69d6e Inject fonts thumbnails (#2948) 2018-08-23 14:57:08 -04:00
Karishma Chadha 44a77c0991 Merge pull request #2960 from kchadha/remove-delete-confirmation
Remove confirmation dialog when deleting a sprite, costume, or sound.
2018-08-23 14:04:44 -04:00
chrisgarrity 2fb6a4849d Fix warnings
- empty MapDispatchToProps (dispatch)
- remove `on…` VM listeners from props passed to wrapped component.
2018-08-23 11:14:32 -04:00
Karishma Chadha 2eb70564fa Remove localized confirmation dialog message since confirmation doesn't exist anymore. 2018-08-23 10:18:41 -04:00
Karishma Chadha 98100cfa56 Remove confirmation dialog when deleting a sprite, costume, or sound. 2018-08-23 10:12:37 -04:00
Karishma Chadha a507eaacda Minor code cleanup. 2018-08-21 19:00:57 -04:00
Karishma Chadha 163b9a5bd5 Add ability to restore a deleted costume. 2018-08-21 15:45:28 -04:00
Karishma Chadha e79b56d6bd Merge pull request #2935 from kchadha/restore-sound
Restore the last deleted sound.
2018-08-21 15:29:09 -04:00
apple502j b96efd4b4f Make Scratch logo a link 2018-08-21 09:23:22 +09:00
Eric Rosenbaum 820c4b963c enable WeDo extension 2018-08-20 14:35:53 -04:00
chrisgarrity 0568f1a69a Move literal width into units 2018-08-20 13:48:08 -04:00
chrisgarrity 523bb04766 move aria label onto languageSelector 2018-08-20 08:02:22 -04:00
chrisgarrity 86a8dd3621 Fixes for firefox on Windows 2018-08-20 08:00:28 -04:00
chrisgarrity 3941c91e36 Get rid of double menu for language selection
Overlay a transparent `select` over the language icon. When a user clicks there the options pops up. There’s no styling of the options, other than font and font size.
2018-08-20 08:00:28 -04:00
chrisgarrity 019edd8e34 Add missing propTypes
For some reason the travis eslint did not catch these missing prop validations.
2018-08-17 14:05:55 -04:00
Karishma Chadha a9b1f85743 Restore the last deleted sound. 2018-08-17 14:04:30 -04:00
chrisgarrity 2412c96e4a Merge pull request #2864 from chrisgarrity/feature/2759-modals
Handle RTL in modals
2018-08-16 17:53:19 -04:00
Karishma Chadha 259e401658 Revert "Merge pull request #2845 from kchadha/disable-sprite-restore"
This reverts commit 1c20d6db08, reversing
changes made to 2f1cce93ad.
2018-08-16 16:41:36 -04:00
chrisgarrity 87966517a5 provide default mapDispatchToProps 2018-08-16 16:01:23 -04:00
Ray Schamp aa8e48c3ee Simplify project URL constructor
We don't have revisions
2018-08-16 15:57:26 -04:00
Ray Schamp 656362ebb9 Fix path to username and token in session 2018-08-16 13:52:59 -04:00
Ray Schamp 973d288e18 Allow runtime configuration of storage hosts 2018-08-16 13:52:59 -04:00
Ray Schamp 7e8177f22d Allow configuration of project and asset servers
*Kind of*. This isn't a good way to do it because we use the storage singleton before GUI is mounted. This needs to happen differently, like configuring storage in the project loader hoc and passing it down, so it could be attached to the VM once it has a VM?

Fixup 723d975d062ce3b585715b5cbabfcdae218d901a

This reverts commit 723d975d062ce3b585715b5cbabfcdae218d901a.
2018-08-16 13:52:59 -04:00
Ray Schamp 476c67227b Don't assume trailing / in host 2018-08-16 13:46:38 -04:00
chrisgarrity cb698054ca Merge pull request #2869 from chrisgarrity/feature/2757-menubar
Handle RTL in menubar
2018-08-16 13:30:13 -04:00
chrisgarrity 37ef3198bb Merge pull request #2872 from chrisgarrity/feature/2758-cards-rtl
Handle RTL for cards
2018-08-16 13:29:49 -04:00
chrisgarrity 86c51bc102 Mirror the unsupported browser image
Also just cleaner formatting of the connect in the `errorBoundary` container
2018-08-16 13:14:49 -04:00