Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
639 commits
Select commit Hold shift + click to select a range
ddd4707
Merge pull request #2974 from LLK/smoke-wedo
rschamp Aug 24, 2018
f74f7dd
Merge pull request #2972 from LLK/greenkeeper/scratch-storage-1.0.0
kchadha Aug 24, 2018
e825b5e
Merge pull request #2973 from LLK/greenkeeper/scratch-paint-0.2.0-pre…
kchadha Aug 24, 2018
a3bdfe5
chore(package): update scratch-blocks to version 0.1.0-prerelease.153…
greenkeeper[bot] Aug 24, 2018
6c85aed
Merge pull request #2975 from LLK/greenkeeper/scratch-blocks-0.1.0-pr…
kchadha Aug 24, 2018
fd24c80
chore(package): update scratch-l10n to version 3.0.20180824134256
greenkeeper[bot] Aug 24, 2018
9fab7af
Merge pull request #2976 from LLK/greenkeeper/scratch-l10n-3.0.201808…
kchadha Aug 24, 2018
3dc6e78
chore(package): update scratch-vm to version 0.2.0-prerelease.2018082…
greenkeeper[bot] Aug 24, 2018
61762c7
Merge pull request #2977 from LLK/greenkeeper/scratch-vm-0.2.0-prerel…
kchadha Aug 24, 2018
85a9ce1
chore(package): update scratch-render to version 0.1.0-prerelease.201…
greenkeeper[bot] Aug 24, 2018
f9fd7c9
Merge pull request #2978 from LLK/greenkeeper/scratch-render-0.1.0-pr…
kchadha Aug 24, 2018
90faf08
Merge branch 'master' into smoke
kchadha Aug 24, 2018
b1f3751
Add Intl to Crash Message Component.
Wgil Aug 25, 2018
9fd0005
Merge pull request #2980 from LLK/smoke
rschamp Aug 27, 2018
c530cb1
Fix connection modal padding for RTL
chrisgarrity Aug 27, 2018
cb6f5d6
Update readme with tips
LiFaytheGoblin Aug 28, 2018
a8f0dad
Merge pull request #3006 from LLK/LiFaytheGoblin-update-readme
LiFaytheGoblin Aug 28, 2018
21a2778
Merge pull request #2941 from apple502j/patch-5
rschamp Aug 28, 2018
8da7e12
Mirror the speaker icon for RTL languages
chrisgarrity Aug 28, 2018
a70b7f5
Enable "Save now" menu item when there's a session
Aug 24, 2018
f5006bf
Close File menu after downloading project
Aug 28, 2018
147638c
Lint
Aug 28, 2018
8bf3af5
chore(package): update scratch-paint to version 0.2.0-prerelease.2018…
greenkeeper[bot] Aug 29, 2018
d014f1e
Fix ProjectLoaderHOC tests
Aug 29, 2018
870fe26
Revert change to 3.0 urls
Aug 29, 2018
45031c6
Merge pull request #3021 from rschamp/save-now
rschamp Aug 30, 2018
475abc1
Use svg image rather than unicode emoji
apple502j Aug 30, 2018
fa9c2c3
Upload SVG
apple502j Aug 30, 2018
ace80ce
Need to close img
apple502j Aug 30, 2018
55c1737
Update enzyme, paint, vm, style-loader, and webpack-cli packages
thisandagain Aug 30, 2018
95b84cb
add class
apple502j Aug 30, 2018
af5206e
Brief hack
apple502j Aug 30, 2018
87b3547
Merge pull request #3037 from thisandagain/gk/20180830
thisandagain Aug 30, 2018
9286e4d
Merge pull request #3022 from chrisgarrity/issue/2983-mirror-speaker
chrisgarrity Aug 30, 2018
0780253
Merge pull request #3020 from chrisgarrity/issue/2982-extension-padding
chrisgarrity Aug 30, 2018
08ba028
chore(package): update scratch-vm to version 0.2.0-prerelease.2018083…
greenkeeper[bot] Aug 30, 2018
8880a98
chore(package): update scratch-blocks to version 0.1.0-prerelease.153…
greenkeeper[bot] Aug 30, 2018
ef3817c
Merge pull request #3039 from LLK/greenkeeper/scratch-vm-0.2.0-prerel…
chrisgarrity Aug 30, 2018
fd6ce4f
Merge pull request #3043 from LLK/greenkeeper/scratch-blocks-0.1.0-pr…
chrisgarrity Aug 30, 2018
c38a7d0
chore(package): update react-tabs to version 2.3.0
greenkeeper[bot] Aug 30, 2018
24fd668
Don't load the default project on top of everything
Aug 30, 2018
a3623d5
Merge pull request #3046 from rschamp/save-now
rschamp Aug 30, 2018
89dace5
chore(package): update scratch-blocks to version 0.1.0-prerelease.153…
greenkeeper[bot] Aug 30, 2018
6379a1a
chore(package): update scratch-l10n to version 3.0.20180830210150
greenkeeper[bot] Aug 30, 2018
6f425c5
chore(package): update scratch-paint to version 0.2.0-prerelease.2018…
fsih Aug 30, 2018
8b4a1e1
Merge pull request #3047 from LLK/greenkeeper/scratch-blocks-0.1.0-pr…
thisandagain Aug 31, 2018
d3b4519
Merge branch 'develop' into greenkeeper/scratch-l10n-3.0.20180830210150
thisandagain Aug 31, 2018
00cf550
Merge pull request #3048 from LLK/greenkeeper/scratch-l10n-3.0.201808…
thisandagain Aug 31, 2018
147952e
Update README.md
thisandagain Aug 31, 2018
e5a94dd
Merge pull request #3052 from LLK/develop
thisandagain Aug 31, 2018
1046ee3
Merge pull request #2990 from Wgil/feature/2984
chrisgarrity Aug 31, 2018
5473a7b
Add zoom level (#3054)
fsih Aug 31, 2018
e6f154a
Update to version that removes keyboard shortcuts (#3055)
fsih Aug 31, 2018
6e70936
Update paint (#3056)
fsih Aug 31, 2018
ae0122d
chore(package): update react-style-proptype to version 3.2.2
greenkeeper[bot] Aug 31, 2018
2b674c1
fixed border color of stage selector
LiFaytheGoblin Aug 31, 2018
82d945f
chore(package): update react-tooltip to version 3.8.0
greenkeeper[bot] Sep 3, 2018
8fade1a
Merge pull request #3061 from LLK/develop
thisandagain Sep 4, 2018
71632ba
Merge branch 'master' into smoke
thisandagain Sep 4, 2018
f93bc43
Merge pull request #3063 from LLK/develop
thisandagain Sep 4, 2018
27de652
set lang attribute when language is updated
LiFaytheGoblin Sep 4, 2018
58b2b76
Split BrowserModalComponent out of GUI
Aug 27, 2018
784f215
Remove extraneous `hideIntro` prop
Sep 5, 2018
4ccb76f
Document the `localesOnly` param in AppStateHOC
Sep 5, 2018
97ea892
chore(package): update scratch-paint to version 0.2.0-prerelease.2018…
fsih Sep 6, 2018
898dc77
Merge pull request #3045 from LLK/greenkeeper/react-tabs-2.3.0
thisandagain Sep 6, 2018
a991e10
Merge pull request #2994 from LLK/hotfix/fix-browser-modal
thisandagain Sep 6, 2018
abcff1e
chore(package): update scratch-vm to version 0.2.0-prerelease.2018090…
greenkeeper[bot] Sep 6, 2018
60b7e80
Merge pull request #3078 from LLK/greenkeeper/react-tooltip-3.8.0
thisandagain Sep 6, 2018
951ec66
Merge pull request #3080 from LLK/greenkeeper/scratch-vm-0.2.0-prerel…
thisandagain Sep 6, 2018
a96f9e8
Merge pull request #3082 from LLK/develop
thisandagain Sep 6, 2018
b6aaa94
project title editable, in standalone & www modes; w/@LiFaytheGoblin
benjiwheeler Aug 27, 2018
e35adec
chore(package): update postcss-simple-vars to version 5.0.1
greenkeeper[bot] Sep 7, 2018
f4cd351
Beginning refactor: changing 'device' to 'peripheral', shortening som…
evhan55 Aug 28, 2018
9b20171
Continuing refactoring: renaming things back to be more verbose, addi…
evhan55 Aug 28, 2018
05abc10
Changing 'device' to 'peripheral' in the GUI code, etc.
evhan55 Aug 29, 2018
91be1b5
Renamed folder name from device-connection to peripheral-connection.
evhan55 Aug 29, 2018
f1ebb73
Fixing linting.
evhan55 Sep 5, 2018
2897553
Fixing linting.
evhan55 Sep 5, 2018
c5d0df4
chore(package): update scratch-svg-renderer to version 0.2.0-prerelea…
greenkeeper[bot] Sep 7, 2018
ed20a27
chore(package): update scratch-paint to version 0.2.0-prerelease.2018…
greenkeeper[bot] Sep 7, 2018
ce629bc
Attempt to get monitor labels from VM
Sep 7, 2018
f0a10fd
localized initial project name, fixed misuse of TitledHOC, truncate l…
benjiwheeler Sep 6, 2018
83102fb
Merge pull request #3016 from benjiwheeler/rename_title
benjiwheeler Sep 7, 2018
d83dfc3
chore(package): update scratch-render to version 0.1.0-prerelease.201…
greenkeeper[bot] Sep 7, 2018
a1fbf54
Update VM
ericrosenbaum Sep 11, 2018
7332065
Merge branch 'develop' into refactor/hardware-extensions
ericrosenbaum Sep 11, 2018
722b210
Merge pull request #3072 from evhan55/refactor/hardware-extensions
ericrosenbaum Sep 11, 2018
27ef0b0
title field now resizes
LiFaytheGoblin Sep 11, 2018
f199caf
chore(package): update scratch-paint to version 0.2.0-prerelease.2018…
greenkeeper[bot] Sep 11, 2018
26a2261
Remove branding from translate extension
ericrosenbaum Sep 11, 2018
3e9abbd
move class from child to parent NOT WORKING
LiFaytheGoblin Sep 11, 2018
b7a3748
chore(package): update scratch-vm to version 0.2.0-prerelease.2018091…
greenkeeper[bot] Sep 12, 2018
e1cccbb
fit conventions better
LiFaytheGoblin Sep 12, 2018
7698c57
Merge pull request #3109 from ericrosenbaum/feature/remove-translate-…
ericrosenbaum Sep 12, 2018
d1ce27c
fixed typo that messed up css
LiFaytheGoblin Sep 12, 2018
d3f326f
Update question.css
thisandagain Sep 12, 2018
6be5e7b
chore(package): update scratch-paint to version 0.2.0-prerelease.2018…
greenkeeper[bot] Sep 12, 2018
4d8e490
Merge pull request #3038 from apple502j/patch-6
thisandagain Sep 12, 2018
384208e
Merge branch 'develop' into greenkeeper/react-style-proptype-3.2.2
thisandagain Sep 12, 2018
0a7d1cb
Add comment explaining `getLabelForOpcode` use
Sep 12, 2018
8545d56
Merge pull request #3057 from LLK/greenkeeper/react-style-proptype-3.2.2
thisandagain Sep 12, 2018
a8c5224
Merge pull request #3117 from LLK/greenkeeper/postcss-simple-vars-5.0.1
thisandagain Sep 12, 2018
936c840
Update package.json
thisandagain Sep 12, 2018
582628e
Merge pull request #3110 from LLK/greenkeeper/scratch-vm-0.2.0-prerel…
thisandagain Sep 12, 2018
890aa5e
Merge pull request #3118 from LLK/greenkeeper/scratch-paint-0.2.0-pre…
thisandagain Sep 12, 2018
9e8eaac
Merge pull request #3119 from LLK/develop
thisandagain Sep 12, 2018
e9ffe6d
Merge pull request #3106 from LiFaytheGoblin/2641/make-title-field-wi…
LiFaytheGoblin Sep 13, 2018
0b4c45c
chore(package): update scratch-paint to version 0.2.0-prerelease.2018…
fsih Sep 13, 2018
e88c645
Upgrade scratch-vm for `getLabelForOpcode`
Sep 13, 2018
ac8da41
Merge branch 'develop' into extension-reporters
cwillisf Sep 13, 2018
5fb474c
Merge pull request #3099 from cwillisf/extension-reporters
cwillisf Sep 13, 2018
c20a026
Update paint to include fixing bitmap shapes disappearing and fencing
Sep 13, 2018
0b2b084
Merge pull request #3130 from fsih/updatePaintSmoke
thisandagain Sep 13, 2018
bf2f606
set lang in constructor and updateHandler not in render
LiFaytheGoblin Sep 13, 2018
d8d43ae
Merge pull request #3134 from fsih/updatePaintSmoke
thisandagain Sep 13, 2018
c076dd6
Restyle the question answer box for RTL
chrisgarrity Sep 13, 2018
285d241
no use of this in this case
LiFaytheGoblin Sep 14, 2018
2455ea4
Merge pull request #3137 from chrisgarrity/issue/2817-ask-rtl
chrisgarrity Sep 14, 2018
64c4d37
log workspace update errors
mzgoddard Sep 14, 2018
102d3d7
Localize default project (temporary solution)
chrisgarrity Sep 14, 2018
8c69486
Update Paint to fix crash
Sep 14, 2018
72616cd
Localize default names for new blank objects
chrisgarrity Sep 16, 2018
313c773
Update paint to version that doesn't crash when drawing a transparent…
fsih Sep 17, 2018
8e21d9c
Merge pull request #3148 from LLK/smoke
thisandagain Sep 17, 2018
8b36e86
Merge back from smoke
fsih Sep 17, 2018
c906ae5
Localize library tags
chrisgarrity Sep 17, 2018
9158ae1
Allow loading tutorial using query parameters in URL.
kchadha Sep 17, 2018
7fba361
Merge pull request #3153 from kchadha/tutorial-from-url-hotfix
kchadha Sep 17, 2018
b1d133a
Merge branch 'master' into smoke
kchadha Sep 18, 2018
12ffd72
use new cacheDefaultProject method in constructor
chrisgarrity Sep 18, 2018
5dddcf1
Don’t hard code the number for the default names
chrisgarrity Sep 18, 2018
f38f4e3
Found some more places that hardcoded costume name
chrisgarrity Sep 18, 2018
db9a8f0
Fix jsdoc type
chrisgarrity Sep 18, 2018
30460a5
Use new APIs for renderer and canvas
Sep 18, 2018
a4a3e82
Increase timeout in integration test for loading project with url
BryceLTaylor Sep 18, 2018
b1c913f
Remove ‘he’ from the languages to ignore
chrisgarrity Sep 18, 2018
5aa2f61
Merge pull request #3170 from LLK/fix-tests
kchadha Sep 18, 2018
27f5d25
Merge pull request #3145 from chrisgarrity/issue/2070-localize-default
chrisgarrity Sep 19, 2018
7059921
chore(package): update scratch-paint to version 0.2.0-prerelease.2018…
greenkeeper[bot] Sep 19, 2018
840fe6e
chore(package): update scratch-blocks to version 0.1.0-prerelease.153…
greenkeeper[bot] Sep 19, 2018
6e30eea
chore(package): update scratch-l10n to version 3.0.20180918211645
greenkeeper[bot] Sep 19, 2018
d4b9f52
Beginning to add alerts component.
evhan55 Sep 14, 2018
25b81d8
Connecting a view alerts reducer.
evhan55 Sep 14, 2018
572dee6
Removing alerts dispatching from blocks tab.
evhan55 Sep 14, 2018
90682bd
Moving alert dispatch to vm-hoc.
evhan55 Sep 14, 2018
1822e82
Renaming viewAlert to showAlert.
evhan55 Sep 14, 2018
0366e35
Changing alert to 'peripheral error'.
evhan55 Sep 14, 2018
fa59664
Alerts styling.
evhan55 Sep 14, 2018
3330ed7
Passing custom alert messages.
evhan55 Sep 14, 2018
8d9a6f3
Adding dismissal of alert.
evhan55 Sep 15, 2018
820335c
Adding reconnect button, fixing CSS.
evhan55 Sep 15, 2018
d23be9f
Make non draggable.
evhan55 Sep 15, 2018
4b6a6c0
Adding z-index-alert, and removing custom message for now.
evhan55 Sep 17, 2018
cdb8760
Changes based on PR feedback from rschamp.
evhan55 Sep 19, 2018
75a8474
Merge pull request #3175 from LLK/smoke
rschamp Sep 19, 2018
f513aa0
Changing Alerts component to props definition, and passing alertsCont…
evhan55 Sep 19, 2018
6ef3280
Fixing z-index so alerts display on top of stage.
evhan55 Sep 19, 2018
55ae011
fixRepeatDecode (#3174)
fsih Sep 19, 2018
e076fcd
Merge pull request #3169 from rschamp/fix-canvas-hack
rschamp Sep 19, 2018
c13b68b
Merge pull request #3171 from chrisgarrity/feature/enable-hebrew
chrisgarrity Sep 19, 2018
7a17917
chore(package): update chromedriver to version 2.42.0
greenkeeper[bot] Sep 20, 2018
0e9473b
Merge branch 'develop' into greenkeeper/scratch-paint-0.2.0-prereleas…
thisandagain Sep 20, 2018
3a88e41
Merge pull request #3178 from LLK/greenkeeper/scratch-blocks-0.1.0-pr…
thisandagain Sep 20, 2018
6fc77d2
Merge branch 'develop' into greenkeeper/scratch-l10n-3.0.20180918211645
thisandagain Sep 20, 2018
3785e08
Merge pull request #3187 from LLK/greenkeeper/chromedriver-2.42.0
thisandagain Sep 20, 2018
c63add1
Merge pull request #3179 from LLK/greenkeeper/scratch-l10n-3.0.201809…
thisandagain Sep 20, 2018
dcb64cc
Merge branch 'develop' into greenkeeper/scratch-paint-0.2.0-prereleas…
thisandagain Sep 20, 2018
467e5c8
Merge pull request #3190 from LLK/greenkeeper/scratch-paint-0.2.0-pre…
thisandagain Sep 20, 2018
507fc45
Update README.md
thisandagain Sep 20, 2018
d199597
Merge pull request #3192 from LLK/develop
thisandagain Sep 20, 2018
5c558fa
Remove duplicate deps
fsih Sep 20, 2018
5ef3a79
Merge pull request #3193 from fsih/removeDupeDeps
thisandagain Sep 20, 2018
0f452dd
Removing unnecessary css class.
evhan55 Sep 20, 2018
8348e99
Merge pull request #3195 from LLK/develop
thisandagain Sep 20, 2018
a821307
Merge pull request #3143 from evhan55/alerts-test
evhan55 Sep 20, 2018
b83c082
Expose AppStateHOC component
Sep 20, 2018
387ce41
Merge pull request #3164 from chrisgarrity/issue/2501-localize-tags
chrisgarrity Sep 22, 2018
40b8bb3
chore(package): update react-popover to version 0.5.10
greenkeeper[bot] Sep 24, 2018
e803b96
adds support for account navigation, registration, login, delivered f…
benjiwheeler Sep 24, 2018
2663786
Merge pull request #3132 from LiFaytheGoblin/3049/set-lang-attribute
thisandagain Sep 24, 2018
0e5fa0b
Beginning multiple alerts component.
evhan55 Sep 20, 2018
5e6db18
Adding a custom extension image to alerts, etc.
evhan55 Sep 21, 2018
abe33f1
Customizing alerts for extensions.
evhan55 Sep 22, 2018
bdaa407
Adding Alerts container to handle click, and pass key prop appropriat…
evhan55 Sep 22, 2018
d5eb947
Moved alert icon check/display up to reducer, and also moved alert me…
evhan55 Sep 22, 2018
63c3157
Moving click handling to alert component from container in order to h…
evhan55 Sep 22, 2018
21a9afb
Adding Alert container to hold index and click handler.
evhan55 Sep 24, 2018
0265a86
Adding jsdocs to the alert reducers.
evhan55 Sep 24, 2018
3548995
Fix sprite-info pane for ‘wide’ languages
chrisgarrity Sep 25, 2018
1d68965
Adding package.json.
evhan55 Sep 25, 2018
20ea365
chore(package): update react-modal to version 3.6.1
greenkeeper[bot] Sep 25, 2018
d07f472
Update scratch svg renderer (#3228)
fsih Sep 26, 2018
18e35ef
Merge branch 'develop' into multiple-alerts
ericrosenbaum Sep 26, 2018
ca51b63
Merge pull request #3209 from evhan55/multiple-alerts
ericrosenbaum Sep 26, 2018
faf8c70
chore(package): update scratch-blocks to version 0.1.0-prerelease.153…
greenkeeper[bot] Sep 26, 2018
f14816e
chore(package): update scratch-l10n to version 3.0.20180926203705
greenkeeper[bot] Sep 26, 2018
9cc7d9d
chore(package): update scratch-render to version 0.1.0-prerelease.201…
greenkeeper[bot] Sep 26, 2018
d73a939
chore(package): update scratch-paint to version 0.2.0-prerelease.2018…
fsih Sep 26, 2018
ed3eb91
Add onShare prop to enable the share button
Sep 26, 2018
e9febae
Don't show feedback button if there is a session
Sep 26, 2018
f96e321
Merge pull request #3212 from LLK/greenkeeper/react-popover-0.5.10
thisandagain Sep 26, 2018
7df671f
Merge pull request #3200 from cwillisf/expose-AppStateHOC
thisandagain Sep 26, 2018
9c7fd63
Merge branch 'develop' into greenkeeper/react-modal-3.6.1
thisandagain Sep 26, 2018
c938685
Merge pull request #3226 from LLK/greenkeeper/react-modal-3.6.1
thisandagain Sep 26, 2018
10b93e4
Merge pull request #3240 from LLK/greenkeeper/scratch-blocks-0.1.0-pr…
thisandagain Sep 26, 2018
d44aedf
Merge branch 'develop' into greenkeeper/scratch-l10n-3.0.20180926203705
thisandagain Sep 26, 2018
f562569
Merge pull request #3234 from LLK/greenkeeper/scratch-l10n-3.0.201809…
thisandagain Sep 26, 2018
a924340
Add an indicator to show that the microphone is listening (#3205)
ericrosenbaum Sep 26, 2018
dca56cf
Merge pull request #3144 from mzgoddard/allow-workspace-loading-error
kchadha Sep 26, 2018
87ec6bd
Merge pull request #3239 from rschamp/conditional-feedback
rschamp Sep 27, 2018
d5989d1
Merge pull request #3238 from rschamp/share-toggle
rschamp Sep 27, 2018
bf2de8d
Merge pull request #3244 from LLK/develop
thisandagain Sep 27, 2018
2753c00
Merge pull request #3058 from LiFaytheGoblin/3009/background-selector…
LiFaytheGoblin Sep 27, 2018
925592a
chore(package): update text-encoding to version 0.7.0
greenkeeper[bot] Sep 28, 2018
8a96b9d
welcome modal doesn't appear when a project is loaded directly
LiFaytheGoblin Sep 28, 2018
724afb1
Use defineMessages
apple502j Sep 29, 2018
673745c
Merge pull request #3260 from LLK/smoke
thisandagain Oct 1, 2018
4c75dca
fixed integration test for loading project directly by id
LiFaytheGoblin Oct 1, 2018
cab0bc7
Merge pull request #3255 from LiFaytheGoblin/2981/no-welcome-modal
LiFaytheGoblin Oct 1, 2018
47f179f
Add dress up costumes (#3272)
ericrosenbaum Oct 1, 2018
4687840
chore(package): update scratch-vm to version 0.2.0-prerelease.2018100…
greenkeeper[bot] Oct 1, 2018
aa1d495
Merge pull request #3246 from LLK/greenkeeper/text-encoding-0.7.0
thisandagain Oct 1, 2018
d0a357d
Merge pull request #3275 from LLK/greenkeeper/scratch-vm-0.2.0-prerel…
thisandagain Oct 1, 2018
dda46c5
chore(package): update scratch-vm to version 0.2.0-prerelease.2018100…
greenkeeper[bot] Oct 1, 2018
a770504
chore(package): update scratch-render to version 0.1.0-prerelease.201…
greenkeeper[bot] Oct 2, 2018
40394eb
Merge pull request #3257 from apple502j/patch-7
chrisgarrity Oct 3, 2018
3a77388
Cleanup for react container/component pattern for alerts/alert contai…
evhan55 Sep 28, 2018
c960d16
Fixing / experimenting with alert css.
evhan55 Oct 1, 2018
72a1077
Adding orange mode to CloseButton component, further alerts CSS changes.
evhan55 Oct 2, 2018
1077dd6
Fixing handleOnCloseAlert handler binding.
evhan55 Oct 2, 2018
f1d3748
Removing highlight when hovering over alert close button after one cl…
evhan55 Oct 2, 2018
0f62654
Removing placeholder formatted message.
evhan55 Oct 3, 2018
a7a4784
Fixing classname prop.
evhan55 Oct 3, 2018
4b0aade
Removing unused import.
evhan55 Oct 3, 2018
1d60423
Updating a unit test.
evhan55 Oct 3, 2018
9df016d
Merge pull request #3293 from evhan55/fixes/alerts-react-styling
evhan55 Oct 3, 2018
a39e47f
Fix expensive operation in mapStateToProps (#3250)
fsih Oct 3, 2018
62a741b
chore(package): update scratch-storage to version 1.0.3
greenkeeper[bot] Oct 3, 2018
64e2fc3
Change Cards Close ID
apple502j Oct 4, 2018
31334b4
chore(package): update scratch-blocks to version 0.1.0-prerelease.153…
greenkeeper[bot] Oct 4, 2018
afc36f3
Merge pull request #3276 from LLK/greenkeeper/scratch-vm-0.2.0-prerel…
thisandagain Oct 4, 2018
c25ddd1
Merge pull request #3291 from LLK/greenkeeper/scratch-render-0.1.0-pr…
thisandagain Oct 4, 2018
50e522e
Merge branch 'develop' into greenkeeper/scratch-storage-1.0.3
thisandagain Oct 4, 2018
e44c7a5
Merge pull request #3296 from LLK/greenkeeper/scratch-storage-1.0.3
thisandagain Oct 4, 2018
8126c4a
Merge pull request #3299 from LLK/greenkeeper/scratch-blocks-0.1.0-pr…
thisandagain Oct 4, 2018
8b0ac87
chore(package): update scratch-l10n to version 3.0.20181004141631
greenkeeper[bot] Oct 4, 2018
3a46b37
Merge pull request #3300 from LLK/greenkeeper/scratch-l10n-3.0.201810…
thisandagain Oct 4, 2018
dbf8770
Merge pull request #3298 from apple502j/remove-cards-id
paulkaplan Oct 4, 2018
eb376df
Merge pull request #3225 from chrisgarrity/issue/2429-spriteinfo-too-…
chrisgarrity Oct 4, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,6 @@ before_deploy:
export BEFORE_DEPLOY_RAN=true
fi
deploy:
- provider: script
on:
all_branches: true
skip_cleanup: true
script: npm run deploy -- -x -e $TRAVIS_BRANCH -r https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
- provider: script
on:
all_branches: true
script: npm run prune -- https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
- provider: npm
on:
branch:
Expand All @@ -59,5 +50,14 @@ deploy:
acl: public_read
skip_cleanup: true
local_dir: build
- provider: script
on:
all_branches: true
skip_cleanup: true
script: npm run deploy -- -x -e $TRAVIS_BRANCH -r https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
- provider: script
on:
all_branches: true
script: npm run prune -- https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
after_deploy:
- 'curl -X POST -H "Fastly-Key: $FASTLY_TOKEN" -H "Accept: application/json" https://api.fastly.com/service/$FASTLY_SERVICE_ID/purge_all'
76 changes: 66 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,33 +28,89 @@ npm start
```
Then go to [http://localhost:8601/](http://localhost:8601/) - the playground outputs the default GUI component

## Developing alongside other Scratch repositories
If you wish to develop scratch-gui alongside other scratch repositories that depend on it, you may wish
to have the other repositories use your local scratch-gui build instead of fetching the current production
version of the scratch-gui that is found by default using `npm install`.

To do this:
1. Make sure you have run `npm install` from this (scratch-gui) repository's top level
2. Make sure you have run `npm install` from the top level of each repository (such as scratch-www) that depends on scratch-gui
3. From this (scratch-gui) repository's top level, build the `dist` directory by running `BUILD_MODE=dist npm run build`
4. From this (scratch-gui) repository's top level, establish a link to this repository by running `npm link`
5. From the top level of each repository that depends on scratch-gui, run `npm link scratch-gui`
6. Build or run the repositories that depend on scratch-gui

Instead of `BUILD_MODE=dist npm run build` you can also use `BUILD_MODE=dist npm run watch`, however this may be unreliable.

### Oh no! It didn't work!
* Follow the recipe above step by step and don't change the order. It is especially important to run npm first because installing after the linking will reset the linking.
* Make sure the repositories are siblings on your machine's file tree.
* If you have multiple Terminal tabs or windows open for the different Scratch repositories, make sure to use the same node version in all of them.
* In the worst case unlink the repositories by running `npm unlink` in both, and start over.

## Testing
NOTE: If you're a windows user, please run these scripts in Windows `cmd.exe` instead of Git Bash/MINGW64.
### Documentation

You may want to review the documentation for [Jest](https://facebook.github.io/jest/docs/en/api.html) and [Enzyme](http://airbnb.io/enzyme/docs/api/) as you write your tests.

See [jest cli docs](https://facebook.github.io/jest/docs/en/cli.html#content) for more options.

Run linter, unit tests, build, and integration tests.
### Running tests

*NOTE: If you're a windows user, please run these scripts in Windows `cmd.exe` instead of Git Bash/MINGW64.*

Before running any test, make sure you have run `npm install` from this (scratch-gui) repository's top level.

#### Main testing command

To run linter, unit tests, build, and integration tests, all at once:
```bash
npm test
```

Run unit tests in isolation.
#### Running unit tests

To run unit tests in isolation:
```bash
npm run test:unit
```

To run unit tests in watch mode (watches for code changes and continuously runs tests):
```bash
npm run unit-test
npm run test:unit -- --watch
```

Run unit tests in watch mode (watches for code changes and continuously runs tests). See [jest cli docs](https://facebook.github.io/jest/docs/en/cli.html#content) for more options.
#### Running integration tests

Integration tests use a headless browser to manipulate the actual html and javascript that the repo
produces. You will not see this activity (though you can hear it when sounds are played!).

Note that integration tests require you to first create a build that can be loaded in a browser:

```bash
npm run unit-test -- --watch
npm run build
```

Run integration tests in isolation.
Then, you can run all integration tests:

```bash
npm run integration-test
npm run test:integration
```

You may want to review the documentation for [Jest](https://facebook.github.io/jest/docs/en/api.html) and [Enzyme](http://airbnb.io/enzyme/docs/api/) as you write your tests.
Or, you can run a single file of integration tests (in this example, the `backpack` tests):

## Publishing to GitHub Pages
```bash
$(npm bin)/jest --runInBand test/integration/backpack.test.js
```

If you want to watch the browser as it runs the test, rather than running headless, use:

```bash
USE_HEADLESS=no $(npm bin)/jest --runInBand test/integration/backpack.test.js
```

## Publishing to GitHub Pages
You can publish the GUI to github.io so that others on the Internet can view it.
[Read the wiki for a step-by-step guide.](https://github.com/LLK/scratch-gui/wiki/Publishing-to-GitHub-Pages)

Expand Down
56 changes: 28 additions & 28 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"react-dom": "^16.0.0"
},
"devDependencies": {
"arraybuffer-loader": "^1.0.3",
"autoprefixer": "^8.1.0",
"arraybuffer-loader": "^1.0.6",
"autoprefixer": "^9.0.1",
"babel-core": "^6.23.1",
"babel-eslint": "^8.0.1",
"babel-loader": "^7.1.0",
Expand All @@ -40,14 +40,14 @@
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.22.0",
"base64-loader": "1.0.0",
"bowser": "1.9.3",
"chromedriver": "2.40.0",
"bowser": "1.9.4",
"chromedriver": "2.42.0",
"classnames": "2.2.6",
"copy-webpack-plugin": "^4.5.1",
"core-js": "2.5.7",
"css-loader": "^0.28.11",
"enzyme": "^3.1.0",
"enzyme-adapter-react-16": "1.1.1",
"css-loader": "^1.0.0",
"enzyme": "^3.5.0",
"enzyme-adapter-react-16": "1.3.0",
"es6-object-assign": "1.1.0",
"eslint": "^5.0.1",
"eslint-config-scratch": "^5.0.0",
Expand All @@ -70,50 +70,50 @@
"lodash.pick": "4.4.0",
"minilog": "3.1.0",
"mkdirp": "^0.5.1",
"postcss-import": "^11.0.0",
"postcss-loader": "^2.1.4",
"postcss-simple-vars": "^4.0.0",
"postcss-import": "^12.0.0",
"postcss-loader": "^3.0.0",
"postcss-simple-vars": "^5.0.1",
"prop-types": "^15.5.10",
"raf": "^3.4.0",
"raw-loader": "^0.5.1",
"react": "16.2.0",
"react-contextmenu": "2.9.2",
"react-contextmenu": "2.9.3",
"react-dom": "16.2.0",
"react-draggable": "3.0.5",
"react-ga": "2.5.3",
"react-intl": "2.4.0",
"react-modal": "3.4.4",
"react-popover": "0.5.7",
"react-modal": "3.6.1",
"react-popover": "0.5.10",
"react-redux": "5.0.7",
"react-responsive": "4.1.0",
"react-style-proptype": "3.2.1",
"react-tabs": "2.2.2",
"react-responsive": "5.0.0",
"react-style-proptype": "3.2.2",
"react-tabs": "2.3.0",
"react-test-renderer": "16.2.0",
"react-tooltip": "3.6.1",
"react-virtualized": "9.20.0",
"react-tooltip": "3.8.0",
"react-virtualized": "9.20.1",
"redux": "3.7.2",
"redux-mock-store": "^1.2.3",
"redux-throttle": "0.1.1",
"rimraf": "^2.6.1",
"scratch-audio": "0.1.0-prerelease.20180625202813",
"scratch-blocks": "0.1.0-prerelease.1531482946",
"scratch-l10n": "3.0.20180712200642",
"scratch-paint": "0.2.0-prerelease.20180712195436",
"scratch-render": "0.1.0-prerelease.20180618173030",
"scratch-storage": "0.5.1",
"scratch-svg-renderer": "0.2.0-prerelease.20180712223402",
"scratch-vm": "0.1.0-prerelease.1531486395",
"scratch-blocks": "0.1.0-prerelease.1538658492",
"scratch-l10n": "3.0.20181004141631",
"scratch-paint": "0.2.0-prerelease.20180926191006",
"scratch-render": "0.1.0-prerelease.20181002192350",
"scratch-storage": "1.0.3",
"scratch-svg-renderer": "0.2.0-prerelease.20180926143036",
"scratch-vm": "0.2.0-prerelease.20181001223744",
"selenium-webdriver": "3.6.0",
"startaudiocontext": "1.2.1",
"style-loader": "^0.21.0",
"style-loader": "^0.23.0",
"svg-to-image": "1.1.3",
"text-encoding": "0.6.4",
"text-encoding": "0.7.0",
"to-style": "1.3.3",
"uglifyjs-webpack-plugin": "^1.2.5",
"wav-encoder": "1.3.0",
"web-audio-test-api": "^0.5.2",
"webpack": "^4.6.0",
"webpack-cli": "^2.0.15",
"webpack-cli": "^3.1.0",
"webpack-dev-server": "^3.1.3",
"xhr": "2.5.0"
},
Expand Down
5 changes: 4 additions & 1 deletion src/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ module.exports = {
'import/no-commonjs': 'error',
'import/no-amd': 'error',
'import/no-nodejs-modules': 'error',
'react/jsx-no-literals': 'error'
'react/jsx-no-literals': 'error',
'no-confusing-arrow': ['error', {
'allowParens': true
}]
},
settings: {
react: {
Expand Down
10 changes: 8 additions & 2 deletions src/components/action-menu/action-menu.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@import "../../css/colors.css";
@import "../../css/z-index.css";

$main-button-size: 2.75rem;
$more-button-size: 2.25rem;
Expand Down Expand Up @@ -44,7 +45,7 @@ button::-moz-focus-inner {
width: $main-button-size;
height: $main-button-size;
box-shadow: 0 0 0 4px $motion-transparent;
z-index: 20; /* TODO reorder layout to prevent z-index need */
z-index: $z-index-add-button;
transition: transform, box-shadow 0.5s;
}

Expand All @@ -58,6 +59,10 @@ button::-moz-focus-inner {
height: calc($main-button-size - 1rem);
}

[dir="rtl"] .main-icon {
transform: scaleX(-1);
}

.more-buttons-outer {
/*
Need to use two divs to set different overflow x/y
Expand All @@ -71,6 +76,7 @@ button::-moz-focus-inner {
border-top-right-radius: $more-button-size;
width: $more-button-size;
margin-left: calc(($main-button-size - $more-button-size) / 2);
margin-right: calc(($main-button-size - $more-button-size) / 2);

position: absolute;
bottom: calc($main-button-size);
Expand Down Expand Up @@ -150,7 +156,7 @@ button::-moz-focus-inner {
border-radius: .25rem !important;
box-shadow: 0 0 .5rem hsla(0, 0%, 0%, .25) !important;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
z-index: 100 !important;
z-index: $z-index-tooltip !important;
}

$arrow-size: 0.5rem;
Expand Down
17 changes: 9 additions & 8 deletions src/components/action-menu/action-menu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class ActionMenu extends React.Component {
isOpen: false,
forceHide: false
};
this.mainTooltipId = `tooltip-${Math.random()}`;
}
componentDidMount () {
// Touch start on the main button is caught to trigger open and not click
Expand Down Expand Up @@ -101,11 +102,10 @@ class ActionMenu extends React.Component {
img: mainImg,
title: mainTitle,
moreButtons,
tooltipPlace,
onClick
} = this.props;

const mainTooltipId = `tooltip-${Math.random()}`;

return (
<div
className={classNames(styles.menuContainer, className, {
Expand All @@ -119,7 +119,7 @@ class ActionMenu extends React.Component {
<button
aria-label={mainTitle}
className={classNames(styles.button, styles.mainButton)}
data-for={mainTooltipId}
data-for={this.mainTooltipId}
data-tip={mainTitle}
ref={this.setButtonRef}
onClick={this.clickDelayer(onClick)}
Expand All @@ -133,16 +133,16 @@ class ActionMenu extends React.Component {
<ReactTooltip
className={styles.tooltip}
effect="solid"
id={mainTooltipId}
place="left"
id={this.mainTooltipId}
place={tooltipPlace || 'left'}
/>
<div className={styles.moreButtonsOuter}>
<div className={styles.moreButtons}>
{(moreButtons || []).map(({img, title, onClick: handleClick,
fileAccept, fileChange, fileInput}, keyId) => {
const isComingSoon = !handleClick;
const hasFileInput = fileInput;
const tooltipId = title;
const tooltipId = `${this.mainTooltipId}-${title}`;
return (
<div key={`${tooltipId}-${keyId}`}>
<button
Expand Down Expand Up @@ -174,7 +174,7 @@ class ActionMenu extends React.Component {
})}
effect="solid"
id={tooltipId}
place="left"
place={tooltipPlace || 'left'}
/>
</div>
);
Expand All @@ -198,7 +198,8 @@ ActionMenu.propTypes = {
fileInput: PropTypes.func // Optional, only for file upload
})),
onClick: PropTypes.func.isRequired,
title: PropTypes.node.isRequired
title: PropTypes.node.isRequired,
tooltipPlace: PropTypes.string
};

export default ActionMenu;
36 changes: 36 additions & 0 deletions src/components/alerts/alert.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
@import "../../css/units.css";
@import "../../css/colors.css";
@import "../../css/z-index.css";

.alert {
width: 100%;
background: #FFF0DF;
display: flex;
flex-direction: row;
overflow: hidden;
align-items: left;
border: 1px solid #FF8C1A;
border-radius: 8px;
padding: 8px;
box-shadow: 0px 0px 0px 2px rgba(255, 140, 26, 0.25);
margin-bottom: 7px;
}

.alert-icon {
margin-right: 5px;
vertical-align: middle;
}

.alert-message {
color: #555;
font-weight: bold;
font-size: 12px;
line-height: 22pt;
width: 100%;
}

.alert-close-button {
margin-top: 7px;
margin-right: 4px;
outline-style:none;
}
Loading