Commit graph

108 commits

Author SHA1 Message Date
MiroslavDionisiev
320ae55032 feat: [UEPR-71] Added onboarding feature toggle 2024-10-23 11:02:39 +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
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
MiroslavDionisiev
442e90bcca feat: [UEPR-40, UEPR-42] added integration with user guiding 2024-08-22 15:42:46 +03:00
MiroslavDionisiev
2576c5d9cd Merge remote-tracking branch 'origin/develop' into monorepo-integration 2024-07-24 10:21:48 +03:00
MiroslavDionisiev
6bcf00ad8a fix: [UEPR-27] Added missing loaders to handle hex files, updated the configuration for loading css and added plugin to allow babel to habdle jsx files 2024-07-04 10:53:06 +03:00
Christopher Willis-Ford
4153ad6538 fix: correct Buffer polyfill in webpack config 2024-06-07 09:44:36 -07:00
Aleksandar Shumakov
1d35168b5c Replace hardcoded thumbnail URI and host with configurable ones 2024-05-13 10:28:35 +03:00
Christopher Willis-Ford
74d8280748 chore(deps): add buffer polyfill for webpack 4/5 compat 2024-02-26 20:22:47 -08:00
Christopher Willis-Ford
484487694a build: tweak Babel settings to match Scratch support FAQ
BREAKING CHANGE: this slightly changes our browser compatibility list
2024-01-22 11:57:55 -08:00
Christopher Willis-Ford
cab158ae01 build: fix webpack 5 deprecation warning re: chunk.files 2024-01-22 11:57:50 -08:00
Christopher Willis-Ford
0a37341084 chore(deps): upgrade to webpack@^5, add stream polyfill 2024-01-22 11:57:50 -08:00
Christopher Willis-Ford
678ad55ab6 build: replace handmade VersionPlugin with emit-file-webpack-plugin 2024-01-22 11:57:50 -08:00
Christopher Willis-Ford
cd51b2400f chore(deps): upgrade to html-webpack-plugin@^4 for webpack 5 compatibility 2024-01-22 11:57:50 -08:00
Christopher Willis-Ford
c2fa2fedd5 style: enable scratch/es6 lint rules 2024-01-18 09:20:10 -08:00
Christopher Willis-Ford
5b43dc0be5 fix: copy micro:bit hex file into the right place 2023-06-26 09:12:46 -07:00
Christopher Willis-Ford
8dc793ffa5 refactor: consolidate CopyWebpackPlugin instances 2023-06-26 09:12:05 -07:00
Christopher Willis-Ford
3cb6bd91a2 fix: remove Sentry and rewrite ErrorBoundary tests 2023-01-27 06:57:29 -08:00
picklesrus
96650c3fe0 Serve images from uploads instead of cdn2. cdn2 redirects to uploads already anyway. 2022-04-21 14:54:41 -04:00
BryceLTaylor
017b8cfd3d Update copy-webpack-plugin to version 6.4.1 2022-03-03 14:14:41 -05:00
BryceLTaylor
826ea6239f update css-loader to 5.2.7
Update webpack config to not resolve urls to remain compatible with previous version
Highest version before requiring Webpack 5
clean up package.json
2022-03-03 10:20:19 -05:00
BryceLTaylor
8c3d0bf559 Update Autoprefixer to 10.4.2
10.4.2 is the most recent version

To update past version 9.6.0 the broser list needs to be passed in through the package.json rather than as an argument in the webpack.config.
2022-02-14 10:21:45 -05:00
BryceLTaylor
d2fa14bdd8 update postcss-loader to 4.2.0
commit package lock

Update postcss-loader to version 4.2.0

Requires an update to the webpack config
Now plugins needs to be nested inside an obkect called postcssOptions
2022-02-10 10:22:12 -05:00
BryceLTaylor
98a0bef309 remove minimize: true from webpack config 2022-02-01 14:24:13 -05:00
BryceLTaylor
7238d57354 webpack config make limit TerserPlugin to parallel: 4 2022-02-01 13:58:29 -05:00
Ray Schamp
4bc4e62ca9
Merge pull request #5720 from paulkaplan/extract-css
Extract css from js into stylesheets
2021-08-10 10:49:51 -04:00
Paul Kaplan
f134dbf201 perf(styles): extract css from js into stylesheets 2021-07-12 14:48:08 -04:00
Paul Kaplan
8e4ee5fb7a feat(build): support dynamic import
add the babel plugin for dynamic import syntax and fixup the path references in webpack and template
so the chunks can be loaded dynamically
2021-07-12 14:34:17 -04:00
Paul Kaplan
fd613f1fff Upgrade to webpack4 2021-02-22 12:47:01 -05:00
Paul Kaplan
0a8ed95163 Fix local symlink resolution 2021-02-19 10:43:15 -05:00
picklesrus
d2cb0818c8 Maybe setup captcha site keys properly? 2019-08-29 11:22:55 -04:00
Ray Schamp
5a6fb64d4a Upgrade async to v3 2019-07-12 13:09:09 -04:00
Ray Schamp
0124c50692
Merge pull request #2828 from chrisgarrity/webpack-tutorial-images
Copy the gui localized image chunks to static
2019-03-07 10:33:28 -05:00
chrisgarrity
37ecc177ef Copy the gui localized image chunks to static
Support for dynamically loading translated images.
2019-03-07 16:21:47 +01:00
Ray Schamp
8df59a1c6a
Run pify package through babel loader 2019-03-07 09:22:53 -05:00
Paul Kaplan
93e9f950c2 Remove webpack step for now 2018-12-20 15:14:28 -05:00
Colby Gutierrez-Kraybill
6a946b99fc Update to new sentry API pattern
Use current Sentry browser package and forward errorId into eventId
Fix up errorInfo reference
Put Sentry on the window object for GUI to use
Remove unneeded reference to old style Raven and raven-js
Move Sentry webpack config into production only

Add GA tracker ID to window

Allows scratch-gui to use same GA id
2018-12-20 12:56:33 -05:00
Paul Kaplan
c768fab47d Add flag for dynamic meta tags in the template 2018-12-17 14:55:27 -05:00
Ben Wheeler
8e967737e5 use production or staging hosts for static assets url 2018-11-13 15:32:59 -05:00
Karishma Chadha
e771e91164 Configure cloud host and pass it as a prop to the gui. 2018-10-29 01:05:36 -04:00
Ray Schamp
d538412357 WIP: configure GUI for staging 2018-08-16 17:39:04 -04:00
Ray Schamp
a19fb29f36 WIP: enable backpack in preview 2018-08-16 17:37:19 -04:00
Connor Hudson
bd47d763fa remove babel-loader options in webpack since it's not necessary 2018-06-20 16:25:42 -04:00
Connor Hudson
df0db1b2c3 Update webpack config to load scratch-* dependencies 2018-06-19 11:24:22 -04:00
chrisgarrity
d1420862ea
Initial GUI embed (#1869)
- `/preview/editor` will load GUI with an empty project
- `/preview/:id/editor` will load GUI with a project from the projects server (not local data)
- passes intl object to GUI
- `/preview/:id` with show the project page with an embedded player
- `/preview/:id/fullscreen` will load the project page with the player in fullscreen mode.

* Note that we needed to Increase memory for the build to avoid running out of heap space, and build time increases by about 2 minutes
2018-05-02 15:27:49 -04:00
chrisgarrity
37437636ff FIx lint errors 2018-03-30 10:51:22 -04:00
Ray Schamp
d0e83afcb9 Allow building only a single view 2018-03-30 10:49:58 -04:00
Ray Schamp
aee9f0c608 Fix linting
Something is off with our indentation rules. Possibly a bug in the version of eslint we're using?
2018-03-19 11:58:03 -04:00
Andrew Sun͈̮
a66a0f02e5
lint? 2018-02-08 12:01:07 -05:00