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
chrisgarrity
e246c6a75c
Merge pull request #2184 from sehgalvibhor/thumbnail-fix
...
Thumbnail Fix
2018-12-03 09:53:45 -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
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
Eric Rosenbaum
ab106f7723
Update windows version requirement
2018-11-30 17:21:59 -05:00
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
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
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
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
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
bef5e615f7
Merge pull request #2186 from apple502j/add-parents
...
Migrate Parents Page
2018-11-28 09:23:01 -05:00
chrisgarrity
5cff3f9ae4
Revised unsupported browser info
...
- Header reads ‘This browser is not supported’
- FAQ link goes to general Scratch FAQ.
2018-11-27 12:51:49 -05:00
Paul Kaplan
99ac59d2cb
Merge pull request #2350 from paulkaplan/fix-comments-remixing
...
Remove comments when remixing, they do not exist on the new project
2018-11-26 16:32:12 -05:00
Paul Kaplan
1c4c5895af
Remove comments when remixing, they do not exist on the new project
2018-11-26 11:21:14 -05:00
Paul Kaplan
f025407818
Use a more popular clipboard manager
2018-11-26 10:22:55 -05:00
Paul Kaplan
1c09bdf7b0
Implement the copy link functionality
...
This does not implement any further design, like showing a confirmation popover, but just makes sure the button works. I used a very slim package to implement copy that does not include any fallbacks for IE, since we do not need to support that here.
2018-11-26 10:22:34 -05:00
Paul Kaplan
d31cbe58e2
Merge pull request #2344 from paulkaplan/fix-comment-actions
...
Show comment actions on hover and fix report translation
2018-11-26 10:15:16 -05:00
chrisgarrity
decb250dd5
Initial version
2018-11-26 09:43:05 -05:00
Paul Kaplan
1be21bdb7e
Merge pull request #2345 from paulkaplan/fix-placeholder-alignment
...
Fix alignment of the placeholder and text in project instructions & note
2018-11-26 09:25:44 -05:00
Paul Kaplan
3fb5dd769a
Merge pull request #2340 from paulkaplan/visibility-info
...
Show details about why a project is not public
2018-11-26 09:18:38 -05:00
Paul Kaplan
d5c3ae773f
Fix lint
2018-11-21 13:00:53 -05:00
Paul Kaplan
847d0c3844
Fix alignment of the placeholder and text in project instructions & note
2018-11-21 12:12:51 -05:00
Paul Kaplan
a8cf28958c
Fix incorrect translation string in comment report
2018-11-21 11:47:12 -05:00
Paul Kaplan
933b805044
Make comment actions (report, delete, restore) only visible on hover
2018-11-21 11:46:54 -05:00
chrisgarrity
345b111371
Merge pull request #2333 from chrisgarrity/feature/2270-shortcut-redirect
...
Tutorial shortcut redirects
2018-11-21 11:31:00 -05:00
Paul Kaplan
2ed74a2682
Show deleted banner if both deleted and censored.
...
This is because the user can take an action to remove the trash status, but not the censored status.
2018-11-21 10:36:27 -05:00
Paul Kaplan
0b8c13fb40
Use the project author username in visibility request instead of viewer
...
/ht @chrisgarrity
2018-11-21 10:31:10 -05:00
Ray Schamp
df3d18e649
Revert "Revert "use cdn.scratch.ly in staging""
2018-11-21 10:27:13 -05:00
Ray Schamp
45415944c1
Revert "use cdn.scratch.ly in staging"
2018-11-21 10:07:57 -05:00
Benjamin Wheeler
95fb947c08
Merge pull request #2325 from benjiwheeler/hash-redirect
...
redirect hash urls to url pathnames
2018-11-20 16:06:46 -05:00
Paul Kaplan
ac6a870a3f
Merge pull request #2334 from chrisgarrity/feature/rename-preview
...
Rename /preview to /projects
2018-11-20 15:34:03 -05:00
Ben Wheeler
79ae4dd511
let pathname end without a slash
2018-11-20 15:03:57 -05:00
Eric Rosenbaum
bfc36e25f9
Merge pull request #2329 from ericrosenbaum/feature/get-link-from-app-stores
...
App store badges for Link download
2018-11-20 13:17:18 -05:00
Paul Kaplan
c18ccba646
Fix scss linting
2018-11-20 12:16:10 -05:00
Paul Kaplan
122160726d
Show details about why a project is not public
...
Follow up the project info request with a request to the visibility endpoint to find out if the project is trashed or censored. The project just not being published is handled by the existing code.
This PR generalizes the ShareBanner to a more generic "Banner" that is then filled with the relevant content.
2018-11-20 12:01:52 -05:00
Paul Kaplan
af301ba450
Merge pull request #2336 from paulkaplan/exit-single-comment-view
...
Allow user to exit "single comment mode" and see all comments.
2018-11-20 08:13:42 -05:00
Ben Wheeler
7ee463509c
use cdn.scratch.ly in staging
2018-11-19 17:07:48 -05:00
chrisgarrity
c4403c5d8d
Replace uses of /preview
in URLs
2018-11-19 17:02:09 -05:00
Eric Rosenbaum
f77357daf2
Update mac and windows app store links
2018-11-19 15:59:37 -05:00
Paul Kaplan
3fe1242aa6
Allow user to exit "single comment mode" and see all comments.
...
This visually appears like a "load more comments" button for now, but has the impact of unsetting the #comments-<id> hash in the url and resetting the comment state, showing all the comments (in paginated view)
2018-11-19 15:47:47 -05:00
chrisgarrity
2065090bb8
Merge pull request #2262 from sjgllghr/issue/gh2212-migrate-scratch-1.4
...
Fix gh-2212: Migrate Scratch 1.4 download page
2018-11-19 15:27:49 -05:00
Eric Rosenbaum
8efb6045ee
Lint
2018-11-19 15:22:18 -05:00
chrisgarrity
494bc3e48d
Rename /preview to /projects
2018-11-19 14:59:56 -05:00
chrisgarrity
dd620e1187
Tutorial shortcut redirects
...
Duplicate tutorial shortcuts previously handled by scratchr2.
Left out routeAlias as that is no longer needed.
2018-11-19 14:18:22 -05:00
Paul Kaplan
7cfc3ed846
Show projectNotAvailable view in editor mode also
2018-11-19 14:16:56 -05:00
Ben Wheeler
50a2072794
removed stale comment
2018-11-19 13:58:02 -05:00
Eric Rosenbaum
9ee3c9eb6c
App store badges for Link download
2018-11-19 13:51:29 -05:00
Ben Wheeler
1c8a124f44
switched button border radius back to 4px
2018-11-19 13:22:27 -05:00
chrisgarrity
911005f5ad
Merge branch 'master' into hotfix/hoc-banner
2018-11-19 12:03:02 -05:00
chrisgarrity
a06d8ec11e
Add more bottom padding to activities button
...
Also restore hocbanner messages to l10n.json.
2018-11-19 11:11:48 -05:00
Ben Wheeler
cd030e0895
rearranged css to get tests working
2018-11-18 11:19:21 -05:00
Ben Wheeler
d9fdb67543
redirect hash urls to url pathnames
2018-11-17 23:59:41 -05:00
Ben Wheeler
30ed29a39a
enable remix button; format remix, see inside button css
2018-11-17 15:13:58 -05:00
chrisgarrity
f2f4a6ac7c
2018 Hour of Code Banners
...
* add Top and Middle HoC banners
* banners share styles
* add new assets for banners
* update presentation to check date to determine whether to show the HoC banners.
2018-11-16 14:02:56 -05:00
Paul Kaplan
16e3fa100b
Merge pull request #2313 from paulkaplan/fix-missing-extensions
...
Add missing extensions and images
2018-11-14 20:31:26 -05:00
Robert Chen
9b7097a772
Resolved issue #2263
2018-11-14 17:06:33 -08:00
chrisgarrity
d2500e88c7
Merge pull request #2302 from chrisgarrity/issue/2281-gettingstarted
...
Issue/2281 gettingstarted
2018-11-14 17:11:46 -05:00
chrisgarrity
7e9403d049
Merge pull request #2291 from chrisgarrity/feature/2280-hoc-2018
...
2018 Hour of Code Banners
2018-11-14 17:10:35 -05:00
chrisgarrity
d24a76e896
Merge pull request #2303 from chrisgarrity/issue/fix-wedolegacy-translations
...
Fix wedo-legacy translations
2018-11-14 17:08:42 -05:00
S. Gallagher
e4be2bd87c
make suggested changes
2018-11-14 13:36:21 -08:00
picklesrus
6c7a56dde8
Merge pull request #2220 from picklesrus/credits-stuff
...
Redo the credits page.
2018-11-14 16:32:43 -05:00
Paul Kaplan
194dc90688
Add missing extensions and images
2018-11-14 15:39:40 -05:00
Paul Kaplan
476578cfa8
Merge pull request #2304 from paulkaplan/update-share-endpoint
...
Move sharing to special endpoint.
2018-11-14 14:15:45 -05:00
Paul Kaplan
d36b71dcb3
Merge branch 'develop' into hide-backpack-logged-out
2018-11-14 14:12:51 -05:00
Eric Rosenbaum
9f640ffdd6
Merge pull request #2307 from ericrosenbaum/feature/update-microbit-hex-1.1.0
...
Update microbit hex file version
2018-11-14 13:28:54 -05:00
Benjamin Wheeler
6d09f2dada
Merge pull request #2289 from benjiwheeler/show-creator
...
Pass authorId and authorUsername to gui
2018-11-14 06:43:29 -05:00
Ben Wheeler
4bb5e641bb
added comment about falseness of authorId, authorUsername
2018-11-14 06:42:57 -05:00
Eric Rosenbaum
1840c9ec19
Update microbit hex file version
2018-11-13 15:43:14 -05:00
Ben Wheeler
8e967737e5
use production or staging hosts for static assets url
2018-11-13 15:32:59 -05:00
picklesrus
4a66cc2e59
Fix code review comments. Got rid of a bunch of uncessary stuff.
2018-11-13 14:14:24 -05:00
Paul Kaplan
f8d598549d
Update instead of replacing project info to match API.
...
The API endpoint will return just the updated slice of the projectInfo, so just update the projectInfo instead of replacing.
2018-11-13 12:23:05 -05:00