Eric Rosenbaum
7aecb1185d
Fix tile layout
2018-12-13 11:13:15 -05:00
Eric Rosenbaum
9f343fa662
Fix l10n-static ids
2018-12-13 11:01:25 -05:00
Eric Rosenbaum
6ae4bb882b
Update routes for ideas page
2018-12-13 10:49:04 -05:00
Eric Rosenbaum
4ca6570592
Remove or rename unused l10n strings
2018-12-13 10:28:48 -05:00
picklesrus
1ce8ef5b0d
Merge pull request #2449 from picklesrus/download-directly-version
...
New Download page
2018-12-13 10:26:23 -05:00
Eric Rosenbaum
646624a07f
Clicking modal img also opens tutorial
2018-12-13 10:22:47 -05:00
Eric Rosenbaum
b993b274ad
Rename function and prop
2018-12-13 10:22:35 -05:00
picklesrus
c76d55de70
css cleanup!
2018-12-13 10:14:24 -05:00
picklesrus
f9bf122850
Merge pull request #2451 from picklesrus/educator-tweaks
...
minor educator pages fixes
2018-12-13 09:54:23 -05:00
Ray Schamp
295c1df2ff
Hook up onClickLogo in GUI
...
This way it will take us to where we expect on staging and production.
Resolves #2296
2018-12-13 09:44:14 -05:00
picklesrus
7276cb3bff
remove leftover line
2018-12-13 09:27:46 -05:00
Paul Kaplan
eb0c98b939
Merge pull request #2464 from paulkaplan/minor-style-fixes
...
Minor style fixes to the project page
2018-12-13 08:44:39 -05:00
Benjamin Wheeler
e9001e17c3
Merge pull request #2452 from benjiwheeler/parent-remix-null
...
if remix parent or original is unshared, don't crash project page
2018-12-12 21:33:56 -05:00
chrisgarrity
c28b5051ca
revise with images absolute
...
Switched the images div to absolute positioning instead of the header container.
2018-12-12 20:42:23 -05:00
Paul Kaplan
bbda370d56
Merge pull request #2445 from paulkaplan/fix-preview-remix-list
...
Fix hard-coded /preview/id url for remix list.
2018-12-12 19:39:03 -05:00
Paul Kaplan
ef217b96a1
Use custom meta tag info for project page.
...
Note this _will not_ work until the page uses a template that does not include these meta tags. That is because react-helmet does not override any existing info in the head.
Thus, this was tested by removing that info from the template and seeing it work, then putting the template back.
2018-12-12 19:30:48 -05:00
Eric Rosenbaum
c1e5b05a0f
update static l10n
2018-12-12 18:36:32 -05:00
Eric Rosenbaum
3cc6794ca1
Merge pull request #2443 from ericrosenbaum/feature/landing-pages-update
...
Update extension landing pages
2018-12-12 18:18:53 -05:00
Eric Rosenbaum
521a11e8a3
Remove duplicate l10n strings
2018-12-12 18:04:53 -05:00
Eric Rosenbaum
8fddd3b430
Use template for tutorial URLs
2018-12-12 17:22:17 -05:00
Eric Rosenbaum
ecccc6ac23
Add tutorial links
2018-12-12 17:13:31 -05:00
Eric Rosenbaum
7db60b7631
Align button text
2018-12-12 17:13:23 -05:00
Paul Kaplan
612d08e850
Fix line heights for instructions and comments
2018-12-12 17:04:14 -05:00
Paul Kaplan
fb4f6b6d56
Fix ordering and sizing of loves, extensions and mod info
2018-12-12 17:04:14 -05:00
Paul Kaplan
0af216137b
Give copy-link and other subaction buttons an active state to show click
2018-12-12 17:04:14 -05:00
Paul Kaplan
ac92c65af6
Increase comment box border to prevent popping when focused
2018-12-12 17:04:14 -05:00
Paul Kaplan
70ab7c9c45
Correctly align extension chip images
2018-12-12 17:04:14 -05:00
Paul Kaplan
48ed10b493
Merge pull request #2460 from paulkaplan/conserve-angular-momentum
...
Make the remix button spin the correct the direction
2018-12-12 17:03:35 -05:00
Eric Rosenbaum
5829ff29b2
Improve l10n ids
2018-12-12 16:47:39 -05:00
Eric Rosenbaum
600830acc5
Fixing links
2018-12-12 15:57:27 -05:00
Paul Kaplan
16b8a90607
Actually return the mapping of extension info
2018-12-12 15:50:40 -05:00
Paul Kaplan
3aeda2208b
Make the remix button spin the correct the direction
2018-12-12 15:38:00 -05:00
Eric Rosenbaum
bd96aaf81f
l10n cleanup
2018-12-12 15:32:47 -05:00
Eric Rosenbaum
b9e4f51a00
Wording changes
2018-12-12 15:32:38 -05:00
Eric Rosenbaum
666e26b324
Cleanup
2018-12-12 15:21:14 -05:00
Paul Kaplan
1aafd28b0c
Fix scrollbars for add-to-studio modal
2018-12-12 15:14:13 -05:00
Eric Rosenbaum
43e7ec6ebf
css lint and cleanup
2018-12-12 15:05:36 -05:00
Eric Rosenbaum
8a06137284
Remove unused require
2018-12-12 14:25:25 -05:00
chrisgarrity
b9fb557b88
style adjustments
2018-12-12 14:24:07 -05:00
Eric Rosenbaum
20e3812380
First pass at complete layout
2018-12-12 14:17:39 -05:00
picklesrus
dcfb168878
fix lint
2018-12-12 13:45:42 -05:00
Ben Wheeler
634d6c93e0
if remix parent or original is unshared, don't crash project page
2018-12-12 13:24:41 -05:00
picklesrus
36ce0a4f74
minor educator pages fixes
2018-12-12 13:11:32 -05:00
picklesrus
3aaf36e82a
where did the ; go?
2018-12-12 12:41:31 -05:00
picklesrus
a3afa5e482
Merge pull request #2447 from picklesrus/educators
...
Educators Page Changes
2018-12-12 12:18:34 -05:00
picklesrus
5c67ef4961
lint
2018-12-12 12:06:44 -05:00
picklesrus
dc24ab193d
Fix up some stuff to better match the spec
2018-12-12 12:01:15 -05:00
chrisgarrity
79449ac547
[WIP] Draft 3.0 Launch banner
...
Started transition to ‘featured’ banner that is somewhat reusable. However, middle and smallTop banners are still based on beta. They’re not used for 3.0 launch.
2018-12-12 11:35:41 -05:00
Benjamin Wheeler
a9f9d7ee49
Merge pull request #2428 from benjiwheeler/fix-favorite-love
...
make love and favorite icons respond to click immediately, cleanly
2018-12-12 11:25:31 -05:00
Benjamin Wheeler
964459fb17
Merge pull request #2437 from benjiwheeler/placeholder-text-go-away
...
Placeholder text go away
2018-12-12 11:24:43 -05:00
picklesrus
5b6bbbdb8a
rename some messages and fix some wording
2018-12-12 10:21:12 -05:00
picklesrus
1d305adc79
Fix some messages.
2018-12-12 09:07:49 -05:00
picklesrus
c3dde0c9eb
version without app store buttons
2018-12-12 08:43:50 -05:00
Andrew Sliwinski
4587736684
Merge pull request #2438 from apple502j/patch-6
...
Unquote userId
2018-12-12 08:26:21 -05:00
picklesrus
e6420b601a
fix lint and remove unused stuff
2018-12-11 17:30:35 -05:00
picklesrus
09afde4396
add more links
2018-12-11 17:23:04 -05:00
Paul Kaplan
a99e8574f5
Merge pull request #2433 from paulkaplan/cloud-data-modal
...
Show username and cloud var alerts on projects that use them.
2018-12-11 16:58:11 -05:00
picklesrus
0a39123a3b
more links
2018-12-11 16:53:43 -05:00
picklesrus
4716cb3b32
fix all the things
2018-12-11 16:36:17 -05:00
picklesrus
f3fb63b2e4
fix some stuff
2018-12-11 16:13:34 -05:00
picklesrus
8a8a564996
Beginnings of new educator page
2018-12-11 15:02:43 -05:00
Paul Kaplan
bc99c52ebe
Fix hard-coded /preview/id url for remix list.
2018-12-11 14:46:05 -05:00
Eric Rosenbaum
09a14b811a
Update microbit starter project links
2018-12-11 14:30:57 -05:00
Eric Rosenbaum
6a1cf5b6e9
Update landing getting started instructions
2018-12-11 14:28:08 -05:00
Eric Rosenbaum
13e3c8efdc
Update EV3 starter projects
2018-12-11 14:21:20 -05:00
Eric Rosenbaum
134126c170
Update WeDo starter projects
2018-12-11 13:53:49 -05:00
Ben Wheeler
478259a5d2
placeholder text goes away when instructions, credits clicked
2018-12-11 12:29:31 -05:00
picklesrus
84e3d84ed0
minor stuff
2018-12-11 11:55:42 -05:00
picklesrus
570ba86e75
lint!
2018-12-11 11:44:35 -05:00
picklesrus
60af2fff7c
Fix background color
2018-12-11 11:32:57 -05:00
picklesrus
145770798f
Fix padding around screenshots
2018-12-11 11:31:36 -05:00
picklesrus
6dde3fa231
Move the scratch2 download page to /download/scratch2.
2018-12-11 11:26:53 -05:00
Paul Kaplan
78506f82c7
Hide project info alerts when switching to editor
2018-12-11 11:18:53 -05:00
Paul Kaplan
ace110c59b
Show username and cloud var alerts on projects that use them.
...
Only implemented for scratch3 projects
2018-12-11 11:15:00 -05:00
chrisgarrity
bc49f04ed6
Merge pull request #2387 from Kenny2github/delete-cards
...
Redirect /info/cards route to /ideas
/cc @ericrosenbaum
2018-12-11 10:25:48 -05:00
chrisgarrity
594ce06b5b
Merge pull request #2427 from chrisgarrity/issue/sb2-mod-info
...
Add moderator info for sb2 projects
2018-12-11 10:13:45 -05:00
picklesrus
77c311ccea
clean up some css and align some images with text
2018-12-11 10:11:06 -05:00
apple502j
c134a95de3
Translate placeholder
2018-12-11 20:41:49 +09:00
apple502j
fa29c2f2a5
Unquote userId
2018-12-11 18:29:02 +09:00
picklesrus
8bfa310f5a
Fix line spacing and font size along with a message.
2018-12-10 19:34:23 -05:00
picklesrus
47ce5f5919
Crush the pngs
2018-12-10 18:49:03 -05:00
picklesrus
ce854f7b80
more faq. More messages
2018-12-10 18:35:17 -05:00
Eric Rosenbaum
7212436f3b
Update nav from “tips” to “ideas”
2018-12-10 18:17:05 -05:00
picklesrus
d7a678ad8c
Mostly adding messages and removing unnecessary sections
2018-12-10 18:09:36 -05:00
Eric Rosenbaum
68c8decae9
Remove microworlds pages
2018-12-10 18:06:23 -05:00
Eric Rosenbaum
8e6af59635
Initial draft of ideas page
2018-12-10 18:06:07 -05:00
picklesrus
2baf5860ca
Skeleton of downloads page.
2018-12-10 17:33:22 -05:00
Ben Wheeler
d5ec7e17df
add clientFaved and clientLoved, fix number selection
2018-12-10 11:59:32 -05:00
Paul Kaplan
26e821214a
Merge pull request #2431 from paulkaplan/fix-multi-love
...
Only try to update fave counts if there are no requests in progress.
2018-12-10 10:56:34 -05:00
Paul Kaplan
901dfeb6ca
Merge pull request #2425 from rschamp/admin-panel-occlusion
...
Don't occlude page content with the admin panel
2018-12-10 10:35:59 -05:00
Paul Kaplan
7c5d909a68
Only try to update fave counts if there are no requests in progress.
2018-12-10 10:31:58 -05:00
Paul Kaplan
98b5930b91
Use falsey check for shareDate instead of checking for null.
...
It is set to empty string elsewhere when the value does not exist, not null
2018-12-10 09:15:24 -05:00
chrisgarrity
84cfcdee85
Add moderator info for sb2 projects
2018-12-10 08:47:01 -05:00
Benjamin Wheeler
9d5788cc77
Merge pull request #2417 from benjiwheeler/view-count
...
pass onGreenFlag to GUI; when called, call API to register project view
2018-12-07 16:52:44 -05:00
Paul Kaplan
d20b16d79c
Merge pull request #2424 from paulkaplan/admin-toggle-comments
...
Allow admins to toggle comments
2018-12-07 16:47:01 -05:00
Paul Kaplan
3934c92c7a
Merge pull request #2423 from paulkaplan/add-to-studio-fix
...
Show addToStudio for all logged in users on shared projects
2018-12-07 16:46:42 -05:00
Paul Kaplan
551cc0cc13
Remove userOwnsProject because it is unused
2018-12-07 16:09:34 -05:00
Ray Schamp
1979675ebf
Don't occlude page content with the admin panel
...
/ht @paulkaplan for the idea to move it below the nav bar.
2018-12-07 13:15:38 -05:00
Paul Kaplan
5d409bcdcf
Allow admins to toggle comments
2018-12-07 12:57:50 -05:00
Paul Kaplan
4522983e20
Show addToStudio for all logged in users on shared projects
2018-12-07 12:51:00 -05:00
Paul Kaplan
2a464c8c21
Remove share button on censored project banner.
...
Functionality needs reconsidering.
2018-12-07 12:32:54 -05:00
Ben Wheeler
8dd239ebe5
use authorUsername, not users own username, in hitting logProjectView endpoint; use cookie and tokens in request
2018-12-07 11:00:43 -05:00
Ray Schamp
402799e55f
Fix lint issues
...
My linter doesn't catch prop order for some reason. So fix linting so the build works.
2018-12-06 23:15:54 -05:00
Ben Wheeler
5c3300dd68
pass onGreenFlag to GUI; when called, call API to register project view
2018-12-06 23:06:27 -05:00
Ray Schamp
0957173c88
Fix CSS
...
I dunno what I was seeing that made me think the width should be 237, but it was incorrect.
2018-12-06 22:48:03 -05:00
Ray Schamp
bc59a63e5e
Only show the admin panel to admins
2018-12-06 17:07:28 -05:00
Ben Wheeler
d235d872e1
show remixed banner to all, not just new scratchers
2018-12-06 16:01:28 -05:00
Ben Wheeler
07568b0f65
remove editor from url when not appropriate
2018-12-06 16:01:28 -05:00
Ben Wheeler
1adca1800a
Banner message showing that user has remixed
2018-12-06 16:01:28 -05:00
Ray Schamp
af32c08971
Merge pull request #2413 from rschamp/mod-panel-phase-3
...
Match scratchr2 admin panel behavior more closely
2018-12-06 15:47:48 -05:00
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
chrisgarrity
7ac90afb56
Merge pull request #2406 from chrisgarrity/issue/2388-embed-project
...
show embed view
2018-12-06 11:51:33 -05:00
Eric Rosenbaum
b49854300b
Merge pull request #2405 from ericrosenbaum/feature/landing-pg-vids
...
Add videos to WeDo and EV3 landing pages
2018-12-06 10:38:19 -05:00
Eric Rosenbaum
c371a3757f
Maybe this is the correct order for CSS properties
2018-12-06 09:43:30 -05:00
Ray Schamp
8e75b8c6cf
Merge pull request #2404 from rschamp/mod-panel-phase-1
...
Admin panel for the project page
2018-12-06 09:33:02 -05:00
picklesrus
cb16831f4f
Merge pull request #2407 from picklesrus/credits-fix
...
Fix image path bug and capitalization CBs name.
2018-12-06 08:50:38 -05:00
Paul Kaplan
27e0612ea9
Merge pull request #2401 from paulkaplan/admin-share-banner
...
Allow admins to see share banner
2018-12-06 05:33:27 -05:00
picklesrus
11f8105de4
Fix image path bug and capitalization CBs name.
2018-12-05 17:48:58 -05:00
chrisgarrity
1a1122d984
show embed view
...
* detect `embed` in the URL
* initialize GUI in embed mode if detected
* match `embed` in the project page route
* add fastly config rules to redirect `/projects/embed/:id` to `/projects/:id/embed`
2018-12-05 17:35:44 -05:00
Eric Rosenbaum
8c6013b243
Add extension video component to wedo and ev3 pages
2018-12-05 17:25:07 -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
chrisgarrity
8d88ab9b9b
Merge pull request #2389 from chrisgarrity/issue/2306-projects-404
...
Show NotAvailable for invalid URL
2018-12-05 15:01:51 -05:00
Paul Kaplan
b481ae7fad
Allow admins to see share banner
2018-12-05 13:39:18 -05:00
Eric Rosenbaum
d206b44abe
Add video player to wedo page
2018-12-05 10:48:46 -05:00
Paul Kaplan
40795d1cb9
Merge pull request #2394 from paulkaplan/fix-censor-endpoint-shape
...
Use message instead of censorMessage for the censor message.
2018-12-05 08:31:33 -05:00
Kenny2github
2916da2822
Remove routeAlias
2018-12-05 10:33:05 +08:00
Benjamin Wheeler
93b04a59f1
Merge pull request #2393 from benjiwheeler/update-project-error
...
project page will no longer vanish when project metadata update fails on the backend
2018-12-04 16:38:42 -05:00
Paul Kaplan
ff8bbe79b4
Use message instead of censorMessage for the censor message.
2018-12-04 16:29:46 -05:00
Eric Rosenbaum
824764bc83
Merge pull request #2380 from ericrosenbaum/feature/update-win-version-req
...
Update Windows version requirement on hardware extension landing pages
2018-12-04 16:17:17 -05:00
Ben Wheeler
dab1be812e
handle update project metadata errors without setting body
2018-12-04 15:47:21 -05:00
Eric Rosenbaum
3c24bf236b
Adjust header layout
2018-12-04 14:58:16 -05:00
chrisgarrity
880b890dc2
Show NotAvailable for invalid URL
...
`/projects` without an id or `editor` should just show a 404.
2018-12-04 10:48:16 -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
Kenny2github
06a38ca247
Redirect /info/cards route to /ideas
2018-12-04 10:47:14 +08:00
Eric Rosenbaum
e9c2e8f13f
Lint
2018-12-03 17:58:51 -05:00
Eric Rosenbaum
e9d2d9bffa
Add EV3 troubleshooting info about unpairing before reconnecting
2018-12-03 17:57:37 -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
Eric Rosenbaum
e2ae6da18f
Add OS version troubleshooting to each landing page
2018-12-03 17:19:06 -05:00
Eric Rosenbaum
421aabadc1
Update version requirements
2018-12-03 15:29:25 -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
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