Commit Graph
811 Commits
Author SHA1 Message Date
Karishma Chadha dca56cf758 Merge pull request #3144 from mzgoddard/allow-workspace-loading-error
log workspace update errors
2018-09-26 18:00:23 -04:00
Eric Rosenbaum a924340089 Add an indicator to show that the microphone is listening (#3205)
* Add mic indicator

* Fix mic indicator position and margin

* Don’t always show indicator, don’t sneaky-enable extension

* Position mic indicator in RTL

* Actually, don’t move indicator in RTL

* Update event name for MIC_LISTENING

* Move mic indicator state into redux

* Move stageSizeToTransform into screen-utils

* Position mic indicator and question at bottom of stage

* Fix pointer events

* JSDOC for stageSizeToTransform

* Pass micIndicator into StageComponent via …props
2018-09-26 17:59:30 -04:00
Eric Rosenbaum 18e35eff60 Merge branch 'develop' into multiple-alerts 2018-09-26 12:51:39 -04:00
Evelyn Eastmond 21a9afb5ad Adding Alert container to hold index and click handler. 2018-09-24 18:57:31 -04:00
Evelyn Eastmond 63c315760a Moving click handling to alert component from container in order to handle index correctly. Removed AlertsComponent and added new AlertComponent. 2018-09-24 18:43:40 -04:00
Evelyn Eastmond d5eb947c02 Moved alert icon check/display up to reducer, and also moved alert message construction to reducer. 2018-09-24 18:43:40 -04:00
Evelyn Eastmond bdaa407f43 Adding Alerts container to handle click, and pass key prop appropriately. 2018-09-24 18:43:40 -04:00
Evelyn Eastmond 5e6db18dfb Adding a custom extension image to alerts, etc. 2018-09-24 18:43:40 -04:00
Evelyn Eastmond 0e5fa0b3d0 Beginning multiple alerts component. 2018-09-24 18:43:40 -04:00
Andrew Sliwinski 2663786ca6 Merge pull request #3132 from LiFaytheGoblin/3049/set-lang-attribute
Set lang attribute for screen readers
2018-09-24 16:51:57 -04:00
Benjamin Wheeler e803b96a75 adds support for account navigation, registration, login, delivered from www (#3070)
* added account navigation menu, copied and adapted from www

* fixed css

* support for login menu, registration menu from www

* Dropdown replaced with MenuBarMenu, override www css in menus

* render and style login dropdown via function from www

* moved menu styling from menu itself to menu bar

* refactoring menu components and containers

* refactor and restyle account nav menu

* cleaned up cruft and css per rschamp's review of PR 3070
2018-09-24 11:07:14 -04:00
chrisgarrity 387ce416d0 Merge pull request #3164 from chrisgarrity/issue/2501-localize-tags
Localize library tags
2018-09-22 12:14:40 -07:00
Evelyn Eastmond a821307ad9 Merge pull request #3143 from evhan55/alerts-test
Testing a new gui component for alerts
2018-09-20 11:20:51 -04:00
Ray Schamp e076fcd721 Merge pull request #3169 from rschamp/fix-canvas-hack
Use new APIs for renderer and canvas
2018-09-19 16:28:56 -04:00
DD Liu 55ae011bb3 fixRepeatDecode (#3174) 2018-09-19 15:32:10 -04:00
Evelyn Eastmond cdb8760825 Changes based on PR feedback from rschamp. 2018-09-19 11:03:53 -04:00
Evelyn Eastmond 820335c202 Adding reconnect button, fixing CSS. 2018-09-19 09:45:31 -04:00
Evelyn Eastmond 8d9a6f3008 Adding dismissal of alert. 2018-09-19 09:45:31 -04:00
Evelyn Eastmond 1822e82abd Renaming viewAlert to showAlert. 2018-09-19 09:45:31 -04:00
Evelyn Eastmond 572dee6785 Removing alerts dispatching from blocks tab. 2018-09-19 09:45:31 -04:00
Evelyn Eastmond 25b81d80df Connecting a view alerts reducer. 2018-09-19 09:45:31 -04:00
Evelyn Eastmond d4b9f52ab7 Beginning to add alerts component. 2018-09-19 09:45:30 -04:00
Ray Schamp 30460a5d35 Use new APIs for renderer and canvas
Follow up on #2464, fix the hacky accessors into the vm and renderer internals.
2018-09-18 16:33:54 -04:00
chrisgarrity f38f4e378a Found some more places that hardcoded costume name 2018-09-18 14:53:59 -04:00
chrisgarrity 5dddcf1140 Don’t hard code the number for the default names 2018-09-18 14:35:51 -04:00
chrisgarrity c906ae556c Localize library tags
* convert all tags to have a `tag` field corresponding to the query parameter, and `intlLabel` field that defines the title message for `FormattedMessage`
* define all the tag messages in a shared file so they can be included in multiple places.
* convert the `TagButton` to use `tag` for the `onclick` handler value, and localize `intlLabel` for the title.

In the library I’ve continued to use `tag.toLowercase()` even though all the tags are currently defined as lowercase. It’s safer, but currently not strictly needed.
2018-09-17 14:55:20 -04:00
chrisgarrity 72616cdabf Localize default names for new blank objects
Questions:
* should the message strings include the number? Or should that get added to the name when the name is defined
* added a new ‘shared-messages’ to handle the definition of backdrop, costume, etc which are used in multiple places, they’re all related to defaults, so should it all be in `lib/default-project`
2018-09-16 17:46:03 -04:00
Michael "Z" Goddard 64c4d37e8b log workspace update errors
Workspace update errors can be partially recovered from. This allows
the gui to "successfully" load on projects that pass vm validation and
loading but throw an error in scratch-blocks. Logging the error instead
of throwing it allows the gui and vm to finish updating for the
workspace change. This allows the VM to behave normally even if the
scratch-blocks workspace rendering is incomplete.
2018-09-14 15:04:20 -04:00
Linda 285d241d6b no use of this in this case 2018-09-14 13:07:24 -04:00
Linda bf2f606761 set lang in constructor and updateHandler not in render 2018-09-13 13:44:53 -04:00
Chris Willis-Ford ac8da41ee8 Merge branch 'develop' into extension-reporters 2018-09-12 23:32:53 -04:00
Eric Rosenbaum 7332065b03 Merge branch 'develop' into refactor/hardware-extensions 2018-09-11 11:40:54 -04:00
Ben Wheeler f0a10fdfa0 localized initial project name, fixed misuse of TitledHOC, truncate local filenames 2018-09-07 15:42:13 -04:00
Christopher Willis-Ford ce629bc4f4 Attempt to get monitor labels from VM 2018-09-07 12:18:19 -07:00
Evelyn Eastmond f1ebb731b5 Fixing linting. 2018-09-07 10:35:06 -04:00
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
Ben Wheeler b6aaa94b34 project title editable, in standalone & www modes; w/@LiFaytheGoblin
styling for title field; correct input target in tests; make download filename safer with default, max length; in playground index, correctly pass props through to gui container
2018-09-06 11:51:44 -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
Linda 27de6521eb set lang attribute when language is updated 2018-09-04 11:52:30 -04:00
DD Liu 5473a7b350 Add zoom level (#3054) 2018-08-31 12:56:11 -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 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
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