Commit graph

3348 commits

Author SHA1 Message Date
Ray Schamp
15cc6ca529 Lint 2018-12-06 15:16:22 -05:00
Ray Schamp
0f823531b6 Use local storage to remember the panel state
This is mirroring from scratchr2
2018-12-06 15:06:55 -05:00
Ray Schamp
d243b5dad7 Allow the iframe to close the parent admin panel 2018-12-06 15:06:21 -05:00
Ray Schamp
e41cd84f09 Fix up admin panel styles
Match the width more closely and hide scrollbars
2018-12-06 15:05:41 -05:00
Ray Schamp
b7ffa34eec Open and close admin panel from parent component 2018-12-06 15:05:20 -05:00
Ray Schamp
59e0941652 Update iframe to the standalone view 2018-12-05 17:12:18 -05:00
Ray Schamp
096aeb02a0 Lint 2018-12-05 16:09:04 -05:00
Ray Schamp
726a2005bb Basic project admin panel support
Just in case we don't do anything else, this "proxies" the old admin panel to the new project page.

Requires https://github.com/LLK/scratchr2/pull/5219 to work.
2018-12-05 15:40:18 -05:00
Paul Kaplan
4a57d36112
Merge pull request #2379 from paulkaplan/refresh-project-data
Refresh the data related to the project json on switch back from editor
2018-12-04 08:34:45 -05:00
chrisgarrity
47a08e7dec
Merge pull request #2373 from chrisgarrity/issue/2236-tipbar-redirect
Add tip_bar fastly config
2018-12-04 07:28:58 -05:00
chrisgarrity
ef64ccb343
Merge pull request #2374 from chrisgarrity/issue/2364-missing-redirects
Add missing tutorial shortcuts
2018-12-03 17:40:06 -05:00
Karishma Chadha
55db6f1dc6
Merge pull request #2378 from kchadha/has-cloud-permission
Track isScratcher status and pass hasCloudPermission flag to gui.
2018-12-03 17:01:31 -05:00
Paul Kaplan
e49eb3a222 Refresh the data related to the project json on switch back from editor 2018-12-03 15:15:18 -05:00
Karishma Chadha
da4cfb3120 Track isScratcher status and pass hasCloudPermission flag to gui. 2018-12-03 15:02:13 -05:00
Paul Kaplan
0903f919e4
Merge pull request #2377 from LLK/paulkaplan-patch-1
Point scratch-gui dependency back to develop tag
2018-12-03 14:55:01 -05:00
Paul Kaplan
aa10db8cf6
Point scratch-gui dependency back to develop tag
This was accidentally changed to "latest" when the merge from @rschamp's latest hotfix to master was made.
2018-12-03 14:53:55 -05:00
Paul Kaplan
30eb06066c
Merge pull request #2372 from paulkaplan/es6-promise-polyfill
Add es6-promise polyfill to fix browsers lacking promise.finally
2018-12-03 13:53:07 -05:00
Ray Schamp
80cf7137b8
Merge pull request #2376 from LLK/hotfix/fix-adventure-game
[Develop] Add project data to adventure game tutorial
2018-12-03 13:28:46 -05:00
Ray Schamp
7d816ac5e7
Merge branch 'develop' into hotfix/fix-adventure-game 2018-12-03 13:28:27 -05:00
Ray Schamp
a0b6fda7a0
Add project data to adventure game tutorial 2018-12-03 12:33:28 -05:00
chrisgarrity
44e64aede8 Add missing tutorial shortcuts
Add `/bird` and `/makeitfly` as redirects to the tips page.

When the Fly tutorial is created /mak
2018-12-03 10:45:03 -05:00
chrisgarrity
e246c6a75c
Merge pull request #2184 from sehgalvibhor/thumbnail-fix
Thumbnail Fix
2018-12-03 09:53:45 -05:00
chrisgarrity
39a3af8732 Add tip_bar fastly config
Add another section to the fastly config that will permanently redirect any URL with `tip_bar=` to a matching `tutorial=`
2018-12-03 09:47:26 -05:00
Paul Kaplan
ee4268af15 Add es6-promise polyfill to fix browsers lacking promise.finally
This fixes an issue where projects could not be loaded on Edge
2018-12-03 09:32:27 -05:00
Benjamin Wheeler
39f13b50ec
Merge pull request #2346 from benjiwheeler/share-message
Display green "Shared" banner after user shares; bring CSS into line with spec
2018-12-03 09:31:43 -05:00
Ben Wheeler
655f3365ec rearranged css for linting 2018-12-03 09:24:35 -05:00
Ben Wheeler
089cdbb06b revised banner css to be more flexible
simplified share banner conditionals

shorter banner height without button; button has margin instead
2018-12-03 09:24:35 -05:00
chrisgarrity
f7d65f212c
Merge pull request #2371 from apple502j/patch-5
[Master] No localhost allowed on HoC Banner
2018-12-03 08:09:28 -05:00
apple502j
574f2b0897
HOTFIX: No localhost allowed on real website! 2018-12-03 20:31:49 +09:00
Ben Wheeler
351d38de09 fixed lint errors 2018-12-02 08:35:31 -05:00
Ben Wheeler
e1cc0c390b tweaked banner css to bring it into line with design spec 2018-12-02 08:35:31 -05:00
Ben Wheeler
a6a5ef7941 long and short shared messages; clarified logic around which banner to show 2018-12-02 08:35:31 -05:00
Ben Wheeler
3af745eede don't show shared message forever 2018-12-02 08:35:31 -05:00
Ben Wheeler
8d74726080 added congratulations on sharing message for new scratchers 2018-12-02 08:35:31 -05:00
Vibhor Sehgal
f1ccfbee66 Fix for Fashion microworld 2018-12-01 18:34:01 +05:30
chrisgarrity
f6d54e25b9
Merge pull request #2367 from chrisgarrity/feature/mod-info
Additional project data for Moderators/Admins on the project page
2018-11-30 08:21:15 -05:00
Paul Kaplan
403690ee92
Merge pull request #2368 from ericrosenbaum/feature/makeymakey-extension
Add Makey Makey extension chip
2018-11-30 08:07:29 -05:00
chrisgarrity
e95e5c5f25 Additional project data for Moderators/Admins 2018-11-29 15:43:28 -05:00
Eric Rosenbaum
8260d7bb5d Add Makey Makey extension chip 2018-11-29 15:28:55 -05:00
Paul Kaplan
443039389a
Merge pull request #2366 from paulkaplan/fix-cloud-switching
Pass canSave to both editor and player view to allow cloud reconnecting.
2018-11-29 11:26:52 -05:00
Paul Kaplan
b039584c42
Merge pull request #2365 from paulkaplan/project-thumbnails
Add project thumbnail update action to pass into GUI
2018-11-29 10:59:13 -05:00
Paul Kaplan
c777ccffc8 Pass canSave to both editor and player view to allow cloud reconnecting.
The canSave prop was being passed to the editor view, but needs to also be passed to the player view because it is used to decide whether to connect the viewer to cloud variables. People cannot connect to cloud variables after entering editor mode on anothers project.
2018-11-29 10:53:03 -05:00
Paul Kaplan
172915f9d9 Add project thumbnail update action 2018-11-29 09:55:45 -05:00
chrisgarrity
42f5674a74
Merge pull request #2358 from chrisgarrity/fix-tx-config
Add new localization files to tx config
2018-11-29 08:23:23 -05:00
Benjamin Wheeler
84dc08b5cc
Merge pull request #2314 from chen-robert/gh2263-negative-loves
Fix gh-2263: Negative loves
2018-11-28 19:25:01 -08:00
chrisgarrity
4d4c9f8be7
Merge pull request #2361 from LLK/hotfix/replace-logged-out
[Master] show intro for logged out users
2018-11-28 14:04:45 -05:00
chrisgarrity
edfee0713a show intro for logged out users
Switch `&&` to `||`. Current date before AND after HoC is never true.
2018-11-28 12:23:47 -05:00
chrisgarrity
5d695ad158 Add new localization files to tx config 2018-11-28 10:15:40 -05:00
chrisgarrity
1f6f4d429f
Merge pull request #2327 from LLK/hotfix/hoc-banner
Hotfix/hoc banner
2018-11-28 10:07:44 -05:00
chrisgarrity
bef5e615f7
Merge pull request #2186 from apple502j/add-parents
Migrate Parents Page
2018-11-28 09:23:01 -05:00