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
Paul Kaplan
3a03f10aff
Move sharing to special endpoint.
...
This makes a couple of assumptions about the shape of the endpoint:
- Route is /proxy/projects/:id/share.
- Returns the full (updated) project info on success, just like the project update endpoint does.
I reviewed these with colby since this is frontrunning the actual API, but I can update once the API is finalized.
2018-11-13 08:49:37 -05:00
chrisgarrity
48593869f9
Fix wedo-legacy translations
...
The translation generatation script uses the view name from the routes file when generating the translations files. So the route `name:` and `view:` must match.
Symptom: when generating translations there were warnings that there were no translations for `wedo-legacy`.
2018-11-12 14:07:44 -05:00
chrisgarrity
13b3e57381
open getting started tutorial for logged out users
...
- `create` on the navbar opens the getting started tutorial if the user is not logged in
- replaced any other use of `tip_bar=getStarted` with `tutorial=getStarted` (with the exception of Tips page)
- did not replace other uses of `tip_bar=home` as those should probably go to the new tips/ideas page.
2018-11-12 12:58:59 -05:00
chrisgarrity
062c074407
allow query parameters on the preview route
...
Preview needs to be able to handle query parameters for tutorials.
2018-11-12 10:16:22 -05:00
Ray Schamp
25f7f5b273
Merge pull request #2301 from MasterOfTheTiger/issue/gh2298-job-listing
...
Removes Full Stack Job Listing
2018-11-11 18:26:16 +00:00
MasterOfTheTiger
4677feb371
State that no jobs are currently available
2018-11-11 08:58:55 -08:00
Ray Schamp
e776e67af0
Merge pull request #2300 from MasterOfTheTiger/scratchjr-links
...
Use https for ScratchJR links
2018-11-11 16:30:01 +00:00
Ben Wheeler
c965fd15f9
generate author thumbnail and pass to gui
2018-11-10 02:07:48 -05:00
MasterOfTheTiger
12aeba90ed
Use https for ScratchJR links
2018-11-09 09:17:04 -08:00
Paul Kaplan
9ed3ecc7bb
Split up the backpack options and tie visibility to isLoggedIn
2018-11-08 13:19:12 -05:00
Paul Kaplan
c62470150b
Merge pull request #2290 from paulkaplan/project-not-available
...
Add "project not available" view for when project body cannot be loaded
2018-11-08 12:58:37 -05:00
Paul Kaplan
ae05f07e07
Fix project not available flag setting and catch 404 responses
2018-11-08 08:43:36 -05:00
chrisgarrity
a156c404e1
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-07 17:14:28 -05:00
Paul Kaplan
315c8b78fc
Add "project not available" view for when project body cannot be loaded
...
This happens when the project id does not exist, or is not visible to the given user.
2018-11-07 16:32:12 -05:00
Ben Wheeler
464d5f7c2d
Pass authorId and authorUsername to gui
2018-11-07 12:59:16 -05:00
Ray Schamp
e2795ec4d6
Merge pull request #2284 from rschamp/bugfix/offline-homepage
...
Avoid displaying an error when /news returns a 500
2018-11-07 17:57:10 +00:00
Bryce Taylor
5e44248889
Merge pull request #2286 from BryceLTaylor/update-chromedriver
...
Update chromedriver so tests pass more reliably
2018-11-07 11:51:24 -05:00
Paul Kaplan
80028bfea5
Merge pull request #2288 from paulkaplan/ip-muted-comments
...
Add IP Mute message to project comment errors
2018-11-07 11:47:44 -05:00
chrisgarrity
c5b2fff0e9
Merge pull request #2287 from chrisgarrity/feature/hoc-strings
...
Add new strings in preparation for Hour of Code
2018-11-07 11:42:35 -05:00
BryceLTaylor
fc7979944b
Update Chrome version in Saucelabs tests
2018-11-07 11:40:10 -05:00
Paul Kaplan
4105e88cfd
Add IP Mute message to project comment errors
2018-11-07 10:58:07 -05:00
chrisgarrity
b5d551b705
Add new strings in preparation for Hour of Code
2018-11-06 16:15:54 -05:00
BryceLTaylor
9bb8b7db28
Update chromedriver so tests pass more reliably
2018-11-06 15:35:21 -05:00
Ray Schamp
037078d623
Avoid displaying an error when /news returns a 500
...
This situation probably occurs most frequently when running dev servers while offline, but could also happen if the API is having issues. 500 responses from the API should not take down the homepage so drastically, and are also sometimes unavoidable while working offline.
2018-11-06 12:25:04 +00:00
Andrew Sliwinski
7721418165
Merge pull request #2269 from DeleteThisAcount/patch-1
...
Fix typo on micro:bit landing page
2018-11-05 13:00:19 -05:00
S. Gallagher
24a345cc21
stop using FormattedHTMLMessage
2018-11-04 07:57:48 -08:00
Benjamin Wheeler
47b7e6463c
Merge pull request #2274 from benjiwheeler/hide-share-banner
...
make share banner appear only if user has the power to share this project
2018-11-02 15:54:08 -04:00
Benjamin Wheeler
e190e036b3
Merge pull request #2276 from LLK/revert-2241-latest-gui
...
Revert "Track scratch-gui@latest "
2018-11-01 16:48:26 -04:00
Benjamin Wheeler
f935374571
Revert "Track scratch-gui@latest "
2018-11-01 16:37:57 -04:00
Ben Wheeler
7aae4219ec
make share banner appear only if user has the power to share this project
2018-11-01 14:19:28 -04:00
S. Gallagher
3ba4e551d4
migrate scratch 1.4 download page
2018-10-31 16:20:35 -07:00
DeleteThisAcount
ab9004f901
fix small typo
2018-10-31 17:52:16 +01:00
Benjamin Wheeler
e14cb0f8f2
Merge pull request #2250 from benjiwheeler/share-button-icon
...
removed erroneous share button icon
2018-10-30 22:29:19 -04:00
Karishma Chadha
950f13a35a
Merge pull request #2245 from kchadha/cloudhost
...
Configure Cloud Host
2018-10-30 14:26:17 -04:00
Benjamin Wheeler
75fa44dfbe
Merge pull request #2235 from julescubtree/develop
...
Update README.md
2018-10-29 21:38:57 -04:00
julescubtree
5ffe31beb4
Update README.md
...
correct `PROJECTS_HOST` to `PROJECT_HOST`
2018-10-29 14:45:00 -07:00
Ben Wheeler
78f059e8b4
removed erroneous share button icon
2018-10-29 17:30:53 -04:00
picklesrus
db2453bc69
Replace FormattedHtmlMessage with FormattedMessage
2018-10-29 10:02:43 -04:00
chrisgarrity
b629d28a6d
Merge pull request #2242 from chrisgarrity/issue/2030-gui-layers
...
remove obsolete code
2018-10-29 09:59:50 -04:00
Benjamin Wheeler
183bdccdae
Merge pull request #2223 from sehgalvibhor/develop
...
Responsive about page!
2018-10-29 06:59:56 -04:00
Karishma Chadha
e771e91164
Configure cloud host and pass it as a prop to the gui.
2018-10-29 01:05:36 -04:00
Vibhor Sehgal
93d847271d
Travis Fix
2018-10-29 08:08:13 +05:30
chrisgarrity
9dd13dac74
remove obsolete code
...
Preview doesn’t need to set a z-index (the first version was trying to overlay gui on top of the project view).
2018-10-26 15:11:46 -04:00
Benjamin Wheeler
76d6b66bb1
Merge pull request #2241 from benjiwheeler/latest-gui
...
Track scratch-gui@latest
2018-10-26 14:10:23 -04:00
Ben Wheeler
792f1addb3
use latest scratch-gui, not develop, temporarily
2018-10-26 13:57:47 -04:00
Paul Kaplan
f2490baa16
Merge pull request #2239 from paulkaplan/fix-comments-id
...
Use #comments-id instead of #comment-id for fetching single comments
2018-10-25 16:56:27 -04:00
Benjamin Wheeler
cff5733833
Merge pull request #2234 from benjiwheeler/isshared
...
pass isShared to gui
2018-10-25 15:57:07 -04:00
Benjamin Wheeler
8653e358b1
Merge pull request #2232 from benjiwheeler/dont-get-extensions
...
moved getExtensions out of constructor, and out of projectInfo response
2018-10-25 15:56:39 -04:00