Commit graph

796 commits

Author SHA1 Message Date
The_Grits
2d80c46c74 One space more
I can't believe I missed this one earlier. *facepalm*
2016-05-17 15:46:20 -04:00
Ray Schamp
d360494ec2 Merge pull request #485 from rschamp/bugfix/fastly-config
Filter before mapping to avoid returning undefined
2016-05-17 13:50:47 -04:00
Ray Schamp
ca546552b9 Filter before mapping to avoid returning undefined
If the map function doesn't return anything, the added item is undefined. Avoid this by filtering the array before mapping.
2016-05-17 13:49:03 -04:00
Ray Schamp
d1fd8b307f Merge pull request #482 from rschamp/bugfix/fastly-config
Fix Pass condition for "static" routes
2016-05-17 13:26:17 -04:00
Ray Schamp
bb70629b6b Fix Pass condition for "static" routes
Previously we relied on the static directory to construct the pass condition, but this doesn't include many things added to the build other than static files. So instead of adding these explicitly through `extraAppRoutes`, base the Pass condition on the final build, but exclude the view .html files. This way the version.txt, routes.json, and all directories added by webpack will be resolved to S3 rather than scratchr2.
2016-05-17 12:20:45 -04:00
Matthew Taylor
829cb6ff0c Merge pull request #478 from mewtaylor/issue/gh-419
Fix GH-419: Some localization cleanup
2016-05-17 11:43:27 -04:00
Ray Schamp
0ede616f44 Merge pull request #481 from TheGrits/patch-2
Fix Spacing Issues on Privacy Policy
2016-05-17 11:03:11 -04:00
The_Grits
792a5c9622 Spacing2
Changed as per @rschamp's comments
2016-05-17 11:02:34 -04:00
Ray Schamp
7f275efdf0 Merge pull request #479 from rschamp/feature/common-chunk
Move externals, polyfill and init to common chunk
2016-05-17 10:36:14 -04:00
Ray Schamp
d1f9f8ee32 Mangling is the default
Thanks @mewtaylor. Not sure what changed. When I double checked this, the common bundle was the same size with or without the option.  Weirdly it also mysteriously changed its size from the last time I checked to 1.23MB. ¯\_(ツ)_/¯
2016-05-17 09:53:04 -04:00
The_Grits
834f2db463 Spacing
I noticed some spacing issues on the page, I thought I would fix them.
2016-05-17 09:52:42 -04:00
Ray Schamp
6b420b4445 Update for typography fixes 2016-05-17 08:30:27 -04:00
Ray Schamp
b7dd55e7e0 Merge branch 'feature/for-developers' into develop 2016-05-17 08:28:25 -04:00
Matthew Taylor
89c2f2628e Add invisible spacer to anchored sections
so that the headers are visible
2016-05-17 08:24:03 -04:00
carljbowman
e885c08ea1 For Developers
Add landing page for developers
2016-05-17 07:51:08 -04:00
Ray Schamp
8f2697b7f1 Move externals, polyfill and init to common chunk
This should allow us to define and update our dependencies more easily (via npm) as well as reducing the number of requests.

Additionally, when we add common packages this will avoid the issue after deploys where a user may get a cached HTML page, but new Javascript, leading to the dreaded blank page because the browser didn't download all dependencies.

Using mangle with UglifyJS also made the total file size for the common chunk bundle smaller than the current total for all of our external/polyfill scripts (1.18MB vs 1.55MB).
2016-05-16 12:59:58 -04:00
Matthew Taylor
82942b988d Localize title of page after strings load
This doesn't solve the issue of making it crawlable in other languages, but it does allow the title to be translatable for user parsing (and accessibility)
2016-05-16 10:55:51 -04:00
Matthew Taylor
4abebd8194 Remove duplicate About Scratch entry
Towards #419 – makes "About Scratch" work on the About page. Additionally, removes `defaultMessages` from the footer since we no longer use those.
2016-05-16 10:19:52 -04:00
Ray Schamp
497bb6f357 Merge pull request #477 from TheGrits/patch-2
Fix gh-309: Migrate Privacy Policy
2016-05-16 09:47:24 -04:00
The_Grits
76c003d854 Lint fixes 2016-05-16 06:45:06 -04:00
The_Grits
5e9c87e9eb Update Travis 2016-05-16 06:44:01 -04:00
Ray Schamp
8de53ae375 Merge pull request #476 from rschamp/feature/no-native
Improve performance of Travis builds
2016-05-15 09:23:28 -04:00
The_Grits
5d05d19566 aha
Does this fix the lint error?
2016-05-14 23:21:10 -04:00
The_Grits
c2fca9c4c6 Squash and Merge 2016-05-14 22:39:40 -04:00
The_Grits
f3439eba5c Add privacypolicy route 2016-05-13 20:45:48 -04:00
Ray Schamp
7bd5f8f6c9 Cache pip 2016-05-13 15:33:46 -04:00
Ray Schamp
0f33ec836c Use published version of po2icu
Version 0.0.2 has i18next-conv 2.2.5 which uses iconv-lite rather than iconv. So this means we don't have to patch gcc.
2016-05-13 15:33:46 -04:00
Ray Schamp
dfac0380db Install devDependencies 2016-05-13 15:33:46 -04:00
Matthew Taylor
27af75e7fe Merge pull request #475 from mewtaylor/issue/gh-441-typography
Fix GH-[441, 440]: Get rid of typography file, use `render` in conference
2016-05-13 09:09:40 -04:00
Matthew Taylor
bf1b3f894d Some leftovers
Thanks @rschamp again!
2016-05-12 22:54:07 -04:00
Matthew Taylor
804a65e3d0 Whoops
That change is coming later with more redux in conference :).
2016-05-12 18:39:33 -04:00
Matthew Taylor
82dbfabcec Constrain view styles to within view name classes
So that they don't affect styles declared outside the scope of the view. Thanks @rschamp!
2016-05-12 18:32:57 -04:00
Matthew Taylor
e1cebe46db Ergonomics – get rid of typography file
1. Merge typography into main
2. Get rid of use of `#view` in scss
3. Make `render` work with conference pages
2016-05-12 18:05:26 -04:00
Ray Schamp
fa9c8bca1d Merge pull request #470 from TheGrits/patch-3
Fix gh-457: Log In Margin
2016-05-11 10:00:43 -04:00
The_Grits
8d294e4d29 Float 2016-05-11 09:53:39 -04:00
The_Grits
75258be4a4 margin-right
4.4px is the max margin we can put to the right of the button without the "Forgot password?" text wrapping.
2016-05-09 11:27:22 -04:00
Matthew Taylor
4c72dd6d51 Merge branch 'TheGrits-patch-8' into develop
* TheGrits-patch-8:
  Indent p element
  Edit spacing
  Whoops
  Squash and Merge
  Add DMCA route
2016-05-03 10:23:59 -04:00
Matthew Taylor
fd1016059b Merge branch 'patch-8' of https://github.com/TheGrits/scratch-www into TheGrits-patch-8
* 'patch-8' of https://github.com/TheGrits/scratch-www:
  Indent p element
  Edit spacing
  Whoops
  Squash and Merge
  Add DMCA route

# Conflicts:
#	src/routes.json
2016-05-03 10:23:34 -04:00
Ray Schamp
64f91601f0 Merge branch 'hotfix/analytics' 2016-05-02 14:54:18 -04:00
Ray Schamp
c20a93dc96 Merge branch 'hotfix/analytics' into develop 2016-05-02 14:53:53 -04:00
Ray Schamp
12447823f2 Fix defaults for fastly and analytics 2016-05-02 14:53:19 -04:00
Ray Schamp
765e68b282 Merge pull request #465 from LLK/hotfix/analytics
[Master] Hotfix: Add missing env variables needed for the build
2016-05-02 14:02:04 -04:00
Ray Schamp
fb292f3773 Merge pull request #466 from LLK/hotfix/analytics
[Develop] Hotfix: Add missing env variables needed for the build
2016-05-02 14:01:55 -04:00
Ray Schamp
3833c07518 Define all environment variables by branch name 2016-05-02 13:44:55 -04:00
Ray Schamp
e48b04f907 Add missing env variables needed for build 2016-05-02 11:57:46 -04:00
Matthew Taylor
47d7257895 Merge pull request #462 from mewtaylor/hotfix/add-register-faq
[Develop] Hotfix: Add Registration to FAQ
2016-05-01 12:48:41 -04:00
Matthew Taylor
cc58f999f8 Merge pull request #461 from mewtaylor/hotfix/add-register-faq
[Master] Hotfix: Add registration to FAQ
2016-04-30 11:29:35 -04:00
Matthew Taylor
c28f90857b Add registration faq question 2016-04-29 17:37:41 -04:00
Matthew Taylor
07bbc38822 Merge pull request #433 from TheGrits/patch-7
Fix gh-19: Migrate Community Guidelines
2016-04-29 17:32:35 -04:00
The_Grits
20dcf8eb4f switch 2016-04-29 17:27:39 -04:00