Commit graph

235 commits

Author SHA1 Message Date
MiroslavDionisiev
59a3bf380f fix: styling issues 2024-11-12 11:08:18 +02:00
MiroslavDionisiev
2f05776429 refactor: added missing parser to int 2024-11-08 18:27:21 +02:00
MiroslavDionisiev
2dbe9e1ec6 Merge remote-tracking branch 'origin/onboarding-integration' into chore/remove-user-guiding-calls 2024-11-06 10:28:32 +02:00
MiroslavDionisiev
f6b5253264 refactor: [UEPR-71] changed user eligibility logic 2024-10-25 11:19:37 +03:00
MiroslavDionisiev
0c2e42c238 chore: removed unused service 2024-10-23 16:25:03 +03:00
MiroslavDionisiev
ff9a54bfdd chore: resolved merge conflicts 2024-10-23 11:12:51 +03:00
MiroslavDionisiev
6a101fa76c refactor: [UEPR-71] removed rest from destructuring 2024-10-23 11:08:23 +03:00
Miroslav Dionisiev
7c58c33d12
Merge pull request #8830 from MiroslavDionisiev/UEPR-51
[UERP-51] Google Analytics events for onboarding journeys
2024-10-23 11:03:53 +03:00
MiroslavDionisiev
320ae55032 feat: [UEPR-71] Added onboarding feature toggle 2024-10-23 11:02:39 +03:00
MiroslavDionisiev
a693e5f0b7 refactor: [UEPR-51] Removed rest from destructuring user data 2024-10-22 11:19:20 +03:00
MiroslavDionisiev
0315cdeaf8 feat: [UEPR-51] Google Analytics events for onboarding journeys 2024-10-17 14:49:47 +03:00
MiroslavDionisiev
47ac1205ef refactor: [UEPR-44] Addressed review comments and chnage project journey behaviour 2024-10-16 15:45:49 +03:00
MiroslavDionisiev
cb5d05f39a feat: [UEPR-44] Implemented custom journeys for onboarding 2024-10-09 11:24:20 +03:00
Alexis Goodfellow
fbcc76160b Update user-guiding survey IDs 2024-08-29 14:03:43 -04:00
Aleksandar Shumakov
6fb0e3491d feat: simplify user guiding triggers
- Change exposed handler names to correspond to performed action
- Simplify method of picking random survey on interaction with Editor
- Move GUI useEffect hook to WWW in IntlGUIWithProjectHandler
- Remove onClick property from ComposeComment component
2024-08-22 16:00:27 +03:00
Aleksandar Shumakov
d97d3143e0 chore: change uesrguiding check to use result prop from parsed body 2024-08-22 15:42:46 +03:00
MiroslavDionisiev
727f57438b feat: [UEPR-40, UEPR-42] changed user condtions and added check for user guiding id 2024-08-22 15:42:46 +03:00
MiroslavDionisiev
442e90bcca feat: [UEPR-40, UEPR-42] added integration with user guiding 2024-08-22 15:42:46 +03:00
Christopher Willis-Ford
9c8ef43dc4 refactor: ensure any given file is all CJS or all ESM 2024-03-20 15:13:15 -07:00
Christopher Willis-Ford
170256c20f style: fix no-prototype-builtins violations 2024-02-26 13:35:15 -08:00
Christopher Willis-Ford
2c7afbce08 refactor: mark OS_ENUM as @enum{string} to reduce TS warnings 2023-07-11 15:23:10 -07:00
Andy O'Neill
5e35844e28 fix: use span for localized messages 2023-02-22 09:28:58 -05:00
Andy O'Neill
51c493a450
Merge pull request #7348 from aoneill01/feature/react-intl-5
feat: upgrade react-intl
2023-02-21 15:46:34 -05:00
Andy O'Neill
d5bbb96a52 feat: upgrade react-intl 2023-02-21 15:36:27 -05:00
Christopher Willis-Ford
3cb6bd91a2 fix: remove Sentry and rewrite ErrorBoundary tests 2023-01-27 06:57:29 -08:00
Andy O'Neill
7673bf66a0 Show alert if project uses video and cloud variables 2022-11-02 14:35:15 -04:00
Colby Gutierrez-Kraybill
1240c9e8b5 fix lint issue 2022-09-27 21:02:31 -04:00
Colby Gutierrez-Kraybill
22ed62400c Missing commit for valid/invalid 2022-09-27 13:37:57 -04:00
Colby Gutierrez-Kraybill
191cfb1d57 Add check on password complexity by using a backend call without divulging the list being checked against. 2022-09-22 00:23:59 -04:00
tomlum
60965bd24b adds changes from previous PR 2022-06-06 15:49:54 -04:00
picklesrus
e896c60f9a
Revert "Send fastly token to gui" 2022-05-24 17:01:54 -04:00
rschamp
8b4c692e33 Set token for project metadata request 2022-05-06 14:13:55 -04:00
Karishma Chadha
78688203b1
Merge pull request #6301 from kchadha/annual-report-fixes
[Develop] Annual report fixes
2021-11-16 11:47:36 -05:00
Karishma Chadha
c835c67fe7 Updates to TextAndMediaSnippet layout, spacing, and some font sizing. Fix width of components of other sections e.g. Scratch in India. 2021-11-15 17:07:56 -05:00
rschamp
dcc7fa2008 Transform async/await syntax for Safari <= 10 2021-11-08 12:00:56 -05:00
rschamp
735042c414 Revert "Merge pull request #6245 from LLK/revert-6243-hotfix/dynamic-intl-polyfill"
This reverts commit 42712bd636, reversing
changes made to f152df774f.
2021-11-08 11:50:18 -05:00
chrisgarrity
55d2a389e4
Revert "Replace static plural rule and relative time polyfills with a dynamic import" 2021-11-01 13:33:30 -04:00
rschamp
a6be8aea1c Fix lint 2021-11-01 11:10:22 -04:00
rschamp
5d14efd9a0 Add remaining supported locales to intl-polyfill 2021-10-18 11:38:43 -04:00
Chris Garrity
cb968f3842 [WIP] preliminary intl polyfill
partial implementation of intl-polyfill. Doesn't include all the www langauges, and we don't want to have to update www each time there is a language added, so this needs to move into scratch-l10n somehow.

polyfill.min.js no longer needs the intl.js polyfill, so removed. Should still look at whether the other parts of polyfill.min are needed, but they're unrelated to intl.
2021-08-25 11:13:24 -04:00
rschamp
f5fa49fa45 WIP: Use conditional importing for intl polyfills 2021-08-05 12:11:45 -04:00
Paul Kaplan
8a3e6155c4 Separate helper for creating the default redux store for www pages 2021-06-23 20:56:48 -04:00
Paul Kaplan
4db968970a Use admin routes for studio info, curators, managers and activity 2021-06-16 09:54:40 -04:00
picklesrus
41f7fcd68d Update relative-time-polyfill.js 2021-02-16 14:07:26 -05:00
picklesrus
14db1428f1 Update relative-time-polyfill.js 2021-02-16 14:06:10 -05:00
picklesrus
91c256ad75 Fix pluralrules polyfill
This should hopefully fix the Safari 12 issues we were having.
2021-02-16 14:06:02 -05:00
Chris Garrity
ae2bc24ffd Add @formatjs/relativetimeformat-polyfill
Safari < 14 does not support Intl.RelativeTimeFormat which is used in the moderation messaging. Adding this polyfill to support it. RelativeTimeFormat depends on Locale, which is also not available in Safari <14, and PluralRules, not available in Safari < 13.

There is a trade off between adding locale-data for all users that load the page regardless of what browser they’re using and whether they get muted, and only localizing the most common languages.
In the last 30 days only ~3% of users on scratch use a version of Safari (13.x) that doesn’t support Intl. Of that 3%, these 7 locales would cover over 60% of the users. English will be used by default if the locale data is not available.
2021-02-02 09:07:38 -05:00
picklesrus
e6f056b178 Add message at the top of file mentioning the version in scratchr2 2021-02-01 15:35:02 -05:00
picklesrus
b8cc0b2b83 Change time library to default to 1 minute when the time remaining is less than 30 seconds. 2021-02-01 09:53:46 -05:00
Benjamin Wheeler
aeaca81fb7
Merge pull request #4686 from benjiwheeler/api-check-username
switch educator registration checkusername endpoint from scratchr2 to api
2020-12-16 20:43:19 -05:00