Commit graph

3765 commits

Author SHA1 Message Date
MaxiMouse
8f4c67144a Fix "Load more" scrolling on search results 2020-12-10 22:12:51 +01:00
Benjamin Wheeler
8d4a5c2f91
Merge pull request #4526 from Purple-Hacker/patch-2
Updated addresses on DMCA
2020-12-10 14:21:28 -05:00
Benjamin Wheeler
0aa15b91c9
Merge pull request #2763 from apple502j/patch-10
Change min height
2020-12-10 14:15:19 -05:00
picklesrus
2d5e9a6378 Fix merge conflicts and set default object for mute_status if props do not exist. 2020-12-08 08:00:01 -05:00
picklesrus
835a271be4 Show the comment status box on project page loads if the user is muted.
Don't show the compose box if they're muted, but do show it, but greyed 
out, if they just posted a comment that resulted in a mute.
2020-12-08 07:28:40 -05:00
seotts
b7cf82494b Remove unused variable and fix spacing 2020-12-07 16:16:42 -05:00
picklesrus
f4f6b70f2e
Merge branch 'develop' into readable-time 2020-12-07 16:05:02 -05:00
picklesrus
b1d4c6d1b5 Add backup langauges and remove tests that aren't useful. 2020-12-07 15:38:58 -05:00
seotts
1d70ee243c Make borders smaller, show data for Eswatini 2020-12-07 12:45:01 -05:00
seotts
86650e1ce9 open link to Scratch Team member in new tab 2020-12-07 12:43:43 -05:00
Paul Kaplan
591b3ce6a2 Add Google.org to intro paragraph on SEC 2020-12-04 09:13:02 -05:00
Colby Gutierrez-Kraybill
6dc8d5ec74
Update routes.json 2020-12-02 14:18:47 -05:00
Colby Gutierrez-Kraybill
c92f161fa1
Merge pull request #4717 from LLK/hotfix/gh-4708
[release] gh-4708
2020-12-02 13:50:22 -05:00
Colby Gutierrez-Kraybill
f151f8dfeb Missing end optional parameter regex in annual-report 2020-12-02 13:30:15 -05:00
Colby Gutierrez-Kraybill
4973ff4a5d Follow the pattern of other routes, like contact-us for parameter ignoring in annual-report route 2020-12-02 12:16:44 -05:00
Colby Gutierrez-Kraybill
fd6018a92f Allow extra parameters to match annual-report route 2020-12-02 12:07:12 -05:00
Paul Kaplan
f315ea2f15
Update the SeC page wording
Replace the phrase "historically underrepresented in computing” with “ historically excluded from computing.”

Change requested from KO.
2020-12-01 13:32:36 -05:00
picklesrus
b450d36a64 Redo time based on new requirements. 2020-11-30 16:16:52 -05:00
Sarah Otts
fec148ac74
Merge pull request #4682 from LLK/annual-report-video-spinner
Add loading spinner in Annual Report
2020-11-25 15:29:11 -05:00
picklesrus
0f83b0c7c8
Merge pull request #4655 from picklesrus/use-minutes
Disable comment box functionality when you've just been muted.
2020-11-25 10:18:41 -05:00
Ben Wheeler
590873c765 switch educator registration checkusername endpoint from scratchr2 to api 2020-11-24 13:54:11 -05:00
seotts
246798b69d Use “play” event listener; clean-up code 2020-11-23 12:17:12 -05:00
seotts
785386b1c7 add newline to end of file 2020-11-23 11:15:44 -05:00
seotts
f75337dafd preload spinner image 2020-11-19 10:27:01 -05:00
picklesrus
71521e2aa5 Fix lint and update text. 2020-11-18 14:48:15 -05:00
picklesrus
fe9d9078b2 Fix styling of disabled comment box. 2020-11-18 14:40:11 -05:00
Zoë Bentley
dad5a34fbe Changed Teacher Accounts Setup Guide link to PDF link on resources server 2020-11-18 12:50:22 -05:00
Zoë Bentley
1bfa0f20a3 Changed Teacher Account Setup Guide link from .doc to .PDF 2020-11-18 12:05:33 -05:00
Ray Schamp
433a5c7100
Merge pull request #4664 from LLK/hotfix/hoc-banner-2020
[Develop] HOC banner 2020
2020-11-18 10:23:56 -05:00
Ray Schamp
470620a12a
Merge pull request #4654 from LLK/hotfix/hoc-banner-2020
[Release] HOC banner 2020
2020-11-18 10:20:53 -05:00
picklesrus
aed0f024c0 Disable comment box functionality when you've just been muted.
Also, keep showing the blue comment status box based on when the mute 
expires rather than basing it on the status of the commet box itself.

TODO: css for disabled state.  The grey is there as a placeholder/proof 
of concept.
2020-11-17 17:04:54 -05:00
Ben Wheeler
a4689fc159 Turn off middle banner and set HoC start and end times for 2020 2020-11-17 15:04:29 -05:00
Ben Wheeler
bd3ef208f6 added makeItFly image and text for HoC banner 2020-11-17 15:04:07 -05:00
Paul Kaplan
2292fc039d
Merge pull request #4649 from LLK/hotfix/sec-page
[Hotfix/Develop] SEC page
2020-11-17 11:17:43 -05:00
Paul Kaplan
b92b98bd19 Fix hyphens 2020-11-16 15:19:42 -05:00
Paul Kaplan
2799bc97f6 Fix lint error 2020-11-16 14:39:37 -05:00
seotts
cf9cbdf392 Hide iframe & show spinner until it begins playing 2020-11-16 14:33:46 -05:00
Paul Kaplan
ee645b250a Add culturally sustaining link 2020-11-16 14:31:31 -05:00
Christopher Willis-Ford
35839ada12 remove version number from micro:bit firmware URL
This new URL will be a redirect to the actual file, including the
version number. This way we'll be able to deploy firmware updates
without needing to change any content in this repository.
2020-11-16 11:04:36 -08:00
seotts
cb01cb9321 use Wistia api to do callback 2020-11-16 12:36:07 -05:00
Paul Kaplan
550a661687 Add SEC page 2020-11-16 10:35:40 -05:00
picklesrus
b1f7a2be10
Merge pull request #4637 from picklesrus/use-minutes
Convert mute timestamp to always show in minutes.
2020-11-16 10:28:55 -05:00
Karishma Chadha
760e303d30
Merge pull request #4617 from kchadha/annual-report-data-cleanup
Annual Report - Break out supporters list into separate JSON
2020-11-16 10:15:28 -05:00
Karishma Chadha
4728e3f50e
Merge pull request #4615 from kchadha/annual-report-link
Add link to annual report from about page
2020-11-16 10:15:02 -05:00
picklesrus
0470e0e56b Convert timestamp to always show in minutes.
This is minor step towards correct time formatting. More coming later.
2020-11-13 15:03:49 -05:00
picklesrus
bfc4202d11 Use singular units so the library handles plurals. 2020-11-13 14:14:42 -05:00
Benjamin Wheeler
79d3d07dcc
Merge pull request #4284 from doc-han/patch-1
update translation URL
2020-11-13 14:13:16 -05:00
Ben Wheeler
f2111eb5a3 updated number of languages 2020-11-13 14:11:25 -05:00
picklesrus
13369c3809 add spaces 2020-11-13 08:37:18 -05:00
picklesrus
6eb7504442 Initial time formatting pass. Does integer minutes, hours, days.
TODOS:
- set langauge appropriately
- do partial hours and days. e.g. 1 hour 5 minutes instead of just 1
hour.

Add a time formatting utility that formats a relative time in the future.
Use it in the mute modal & comment box.
2020-11-13 08:26:54 -05:00
Ben Wheeler
ccf0e92e98 removed communityblocks-interviews from routeAlias entries 2020-11-12 13:43:33 -05:00
Radman Siddiki
89c5ea324b Remove Community Blocks Interviews Route 2020-11-12 13:43:33 -05:00
Radman Siddiki
b74d857ad9 Delete communityblocks-interviews.jsx 2020-11-12 13:43:33 -05:00
Karishma Chadha
e14b6d52f3 Add spinner while video is still loading 2020-11-10 14:37:18 -05:00
picklesrus
2005b23777
Merge pull request #4616 from picklesrus/mute-behavior
Skeleton of code to show mute modal and comment status.
2020-11-10 10:24:04 -05:00
picklesrus
b8b0f5d10c
Merge pull request #4580 from picklesrus/modal-image-updates
A few small upates to the muting modal
2020-11-10 09:52:41 -05:00
Karishma Chadha
f89d1313e0 Break out supporters lists into json file and dynamically create lists of supporters. 2020-11-09 11:37:31 -05:00
picklesrus
e5f97d1f18 Skeleton of code to show mute modal and comment status.
Still todo:
- l10n
- Time needs formatting
- Compose box needs to be shown/formatted correctly based on mute status
- Blue comment status box need to be sticky
2020-11-09 11:01:42 -05:00
Karishma Chadha
c3accb0111 Add link to annual report from about page 2020-11-09 10:20:11 -05:00
Benjamin Wheeler
69efc1afea
Merge pull request #4287 from R4356th/patch-11
Replace "Tips Page" with "Ideas Page"
2020-11-05 09:41:48 -05:00
picklesrus
495edd1820 A few small upates:
- Add images and update styles to match.  
- Add timeMuted prop so it can display how long the user is muted for. 
- Text updates

This still needs localization.
2020-10-30 10:07:43 -04:00
Karishma Chadha
4369899813 Fix BLM studio link 2020-10-29 09:43:10 -04:00
Karishma Chadha
4f6828bde8 Update board member section 2020-10-28 18:31:10 -04:00
seotts
b3cdc0ebcd fix Mahmoud’s image 2020-10-28 18:17:07 -04:00
seotts
729739c222 fix typo in project title 2020-10-28 18:04:51 -04:00
Karishma Chadha
412de9dbda Fix typos in content 2020-10-28 17:08:36 -04:00
Karishma Chadha
8d722d454f Update l10n to remove unused strings from financials section 2020-10-28 13:06:44 -04:00
seotts
367ada3452 remove middle of financials section 2020-10-28 12:57:20 -04:00
Karishma Chadha
b673d718d4 Minor content update 2020-10-28 10:34:41 -04:00
Karishma Chadha
9a5560bdf5 Don't show scratch-jr-transition images on small screens. Fix lint issue. 2020-10-27 16:43:21 -04:00
seotts
a8058aa0bf remove comments; add new lines 2020-10-27 15:29:50 -04:00
seotts
5e075a2feb make financials button responsive 2020-10-27 14:23:34 -04:00
seotts
23736463f8 make map key even more responsive 2020-10-27 14:16:42 -04:00
seotts
f88fd8279a make map key responsive 2020-10-27 13:55:10 -04:00
Karishma Chadha
73cf337ac2 Map title update 2020-10-27 12:55:16 -04:00
Karishma Chadha
5771444811 Some content/copy changes. 2020-10-27 12:26:25 -04:00
seotts
90650ff5d8 fix community guidelines bullet points 2020-10-27 12:12:59 -04:00
carljbowman
2db15df51e Tweaks to the map container
- Ajust border radius
- Remove bottom padding to make the map flush with the bottom, which required adding `overflow: hidden` to maintain the bottom border radius.
2020-10-27 11:51:27 -04:00
seotts
ae16b8638b un-yoda-fy some country names (eg “Korea, Rep..”) 2020-10-27 11:49:00 -04:00
seotts
96b2627dd0 remove outline on blm project tiles 2020-10-27 11:36:25 -04:00
carljbowman
a028512aa3 Fix overlapping text in Financials key section 2020-10-27 11:27:26 -04:00
carljbowman
d05486d4d1 Adjust layout / spacing of BLM story 2020-10-27 11:19:53 -04:00
carljbowman
3f57ccecfa Tweak rules and spacing on donor lists 2020-10-27 11:17:55 -04:00
carljbowman
c08230aa45 Fix fallback fonts for buttons
Removed the narrowly scoped font-family definition on the button elements. Now buttons inherit the site wide font-family specification, which include the appropriate fallbacks.
2020-10-27 11:03:32 -04:00
carljbowman
29d03282d4 Fix Tutorial stats layout 2020-10-27 10:46:26 -04:00
carljbowman
dbae2cbe66 Fix layout issues with CPS grid of 4 photos
- Reorder images so supporting illustrations do not overlap important photographic content
- Tweaked Pizza and Pencils positioning to adjust layout
2020-10-27 10:30:47 -04:00
carljbowman
e2894dd18d Fix photo credit typographic styles 2020-10-27 10:13:54 -04:00
Karishma Chadha
b689702930 Leadership renamed to Team in subnav. Update content in Supporters and Team sections. Fix board member company attribution. Update Mitch's name in people grid. 2020-10-27 02:08:05 -04:00
Karishma Chadha
e2db5fd562 Minor content update for initiatives description 2020-10-27 01:28:05 -04:00
Karishma Chadha
615aa812c5 Update content/copy from Initiatives - Community through Financials section. Add missing link in Initiatives - Schools section. Add new financials note. Fix financials percentages. Clean up some commented out code from scss file. 2020-10-27 01:26:15 -04:00
Karishma Chadha
da1e8c00c5 Update translation image in reach section. Fix remaining world map prop type warning. 2020-10-27 01:20:04 -04:00
Karishma Chadha
a8c7919f5f Add Initiatives description. 2020-10-26 22:36:02 -04:00
Karishma Chadha
f284200997 Fix 'languages' typo 2020-10-26 18:46:37 -04:00
Karishma Chadha
5fc610ac87 Update content strings through Initiatives - Creative Tools. Also includes fixes for supporter levels where they were missing a 0. Added the new initiatives description blurb to l10n.json, though it's not yet referenced in the html. 2020-10-26 18:40:51 -04:00
seotts
9956ded2ad fix conferences spaces, mobile 2020-10-26 17:51:33 -04:00
seotts
f0951af780 fixed abhi section at intermediate size 2020-10-26 17:45:37 -04:00
seotts
d68691de40 add map key 2020-10-26 17:36:23 -04:00
carljbowman
020e9029e9 Fix relatively sized line-height on paragraph styles
Paragraphs with larger font sizes will now have proportionally sized line-heights based on the font size.
2020-10-26 15:11:32 -04:00
Karishma Chadha
14397625db Move transition messages from milestones section into reach section. Fix ScratchJr transition messages based on changes made with the milestone-reach transition images. Fix lint issue. 2020-10-26 01:27:00 -04:00
Karishma Chadha
3546be1b12 Make data point numbers in Reach section bold. Make spacing more consistent in mission section of the scss file. 2020-10-25 23:39:24 -04:00