Commit Graph
1999 Commits
Author SHA1 Message Date
Karishma Chadha f8251cc64b Cached url should be shared across watermark and sprite-selector-item for performance, address other review feedback. 2018-10-15 18:32:03 -04:00
Karishma Chadha b5e9794232 Fix unit tests 2018-10-15 18:32:03 -04:00
Karishma Chadha d05b56a595 Add sprite/stage watermark to the blocks workspace. 2018-10-15 18:32:03 -04:00
Andrew Sliwinski 2eab9c8753 Merge pull request #3356 from LLK/video
Migrate Videos from YouTube
2018-10-15 10:57:11 -04:00
chrisgarrity 9d85866111 Fix language selector alignment (#3306)
* Adjust language icon and caret in menu-bar
* remove unused style from `language-selector.css`
2018-10-15 10:46:04 -04:00
Andrew Sliwinski 1ba5d06593 Change 'Video Player' to emoji 2018-10-15 10:27:35 -04:00
Ray Schamp 03b440beb4 Merge pull request #3350 from rschamp/hoc-tests
Add project loading HOC tests
2018-10-15 10:57:43 +01:00
Ray Schamp 055899e49e Explain mergeProps in HOCs 2018-10-15 10:57:23 +01:00
Benjamin Wheeler 44dc609c9f Merge pull request #3354 from benjiwheeler/disable-onshare
disable onShare button
2018-10-11 16:51:57 -04:00
Ben Wheeler 141ed6cf7b disable onShare button 2018-10-11 16:35:26 -04:00
chrisgarrity 8d1f64d0bf Get isRtl from scratch-l10n
Also added jsdoc to locale-utils
2018-10-11 15:15:21 -04:00
chrisgarrity 8ffae77ffe Merge pull request #3188 from ianobermiller/issue-3167-invalid-tutorial-id
Robust URL handling for tutorial and locale
2018-10-11 13:28:03 -04:00
Ray Schamp 616281ea35 Add VMManagerHOC tests 2018-10-11 18:22:17 +01:00
Eric Rosenbaum d5e024cc40 Open sound recorder from sound block menu (#3309)
* Handle recordSoundCallback from blocks

* Set custom field type for sounds menu

* Add record… item to sounds menu

* Use localized string and ID for ‘record…’ option

* Add integration test

* Don’t use custom field for sounds menu

* Use callback as the value of the ‘record…’ menu item
2018-10-11 11:32:12 -04:00
Benjamin Wheeler 2f5a964cab Merge pull request #3303 from benjiwheeler/new-project
User can load new project in 3.0
2018-10-11 11:00:09 -04:00
Ray Schamp 43ca1542f7 Ensure HashParserHOC has access to redux 2018-10-11 15:50:19 +01:00
Ray Schamp 7277a973fc Rename action creators to active voice 2018-10-11 15:37:58 +01:00
Ray Schamp 5180a77242 Fix ProjectFetcherHOC tests 2018-10-11 15:27:54 +01:00
chrisgarrity 68b3629ff1 Update monitor labels on the stage when language changes
A complete rewrite of OpcodeLabels. Instead of function, it’s a class that maintains a current translator function, and updates the opcode labelFn for each opcode when a new translator function is set. Add function `getLabel` to return the object with `category` and `labelFn` based on the opcode.

Set intl.formatMessage as the translator function in MonitorList. It has access to the intl object, and wraps all monitors.
2018-10-11 09:52:48 -04:00
Ray Schamp bf74b3ef44 Fix HashParserHOC tests 2018-10-11 14:46:01 +01:00
Ben Wheeler 91028a0afc wrapping up new project creation changes
stripped title handling from sb file uploader
updated more projectState related names
simplified hash-parser-hoc logic slightly
2018-10-10 22:55:51 -04:00
Ben Wheeler f6d7325f34 renamed many properties and functions of project-state 2018-10-10 17:32:54 -04:00
Ben Wheeler 74b4e55b78 reverted vm listener 2018-10-10 17:32:54 -04:00
Ben Wheeler 029b4c5c94 renamed uploader/downloader files, project-state functions 2018-10-10 17:32:54 -04:00
Ben Wheeler b0cb95675a removed project-metadata-hoc 2018-10-10 13:46:45 -04:00
Ben Wheeler dd9884b2de renamed project-id to project-state 2018-10-10 13:35:54 -04:00
Ben Wheeler bad9568dd1 renamed several project state functions; consolidated SET_PROJECT_ID; removed userOwnsProject 2018-10-10 13:00:02 -04:00
Ben Wheeler a8246fe99e enable API_HOST env param for development 2018-10-09 14:39:34 -04:00
apple502j 5b6ee3a685 Translate 2 strings on list monitor (#3259)
* Translate "(empty)" and "length {value.length}"
* Use FormattedMessage
2018-10-09 09:06:03 -04:00
Ben Wheeler 84c3dd1e91 removed unnecessary code and comment 2018-10-08 18:02:58 -04:00
Ben Wheeler 9e7da173a2 changed componentWillReceiveProps to componentDidUpdate in project-fetcher-hoc and project-metadata-hoc 2018-10-08 18:02:58 -04:00
Ben Wheeler 55af70a9aa removed comment on title editing, after creating issue for it 2018-10-08 18:02:58 -04:00
Ben Wheeler 559e280909 simplified vm loading in vm-manager-hoc 2018-10-08 18:02:58 -04:00
Ben Wheeler de526cf46d made project-metadata-hoc more careful when saving title 2018-10-08 18:02:58 -04:00
Ben Wheeler 3a7eed9962 hash-parser-hoc: changed componentWillReceiveProps to componentDidUpdate 2018-10-08 18:02:58 -04:00
Ben Wheeler e82180e044 using project-id state for menu-bar's saving indicator 2018-10-08 18:02:58 -04:00
Ben Wheeler d30113758c tiny clean up in api.js 2018-10-08 18:02:58 -04:00
Ben Wheeler eaddf37f96 fixed array includes syntax in project-id reducer 2018-10-08 18:02:58 -04:00
Ben Wheeler 397d526ca5 updated hash-parser-hoc per linda's code to block modal 2018-10-08 18:02:57 -04:00
Ben Wheeler 719c2e9d9a project-saver-hoc changed componentWillReceiveProps to componentDidUpdate 2018-10-08 18:02:57 -04:00
Ben Wheeler 469094b4bc cleaned up project loading from local, not supporting it fully in www embed mode yet 2018-10-08 18:02:57 -04:00
Ben Wheeler 0029311f06 cleaned up project-id reducer logic 2018-10-08 18:02:57 -04:00
Ben Wheeler 14b9c17ebf renamed doStoreProject; moved menubar z-index positioning to gui 2018-10-08 18:02:57 -04:00
Ben Wheeler 3ba65eaa6a renamed project loader and saver to sb3 loader and saver to local 2018-10-08 18:02:57 -04:00
Ben Wheeler f8971ca13e added comments about compose function 2018-10-08 18:02:57 -04:00
Ben Wheeler 339e1caf16 saving works again, but not creation 2018-10-08 18:02:57 -04:00
Ben Wheeler cc779b4da4 Attempt to fix storage xhr request; didn’t work 2018-10-08 18:02:57 -04:00
Ben Wheeler 2dac6cf5cd cleaning up react lifecycle functions 2018-10-08 18:02:57 -04:00
Ben Wheeler 91dec3a2fa in middle of changes in response to rschamp's review 2018-10-08 18:02:57 -04:00
Ben Wheeler e78543c71c removed comments discussing project-id state machine, mentions of onRequestNewProject 2018-10-08 18:02:57 -04:00