addons-frontend
addons-frontend copied to clipboard
Front-end to complement mozilla/addons-server
React 18 has near-complete support for `Suspense` on the server (for SSR), but in order to take advantage of this we'd need to migrate from using `renderToString` to using `renderToPipeableStream`....
We should update to the latest redux-saga. Renovate has a PR open at https://github.com/mozilla/addons-frontend/pull/10931, but this may be a large task, so it might need this as a tracking issue.
Somewhat related to: - #11593 - #11597 At the moment, server-side code is compiled w/ Babel on the fly via `@babel/register`, while client-side code is compiled via `babel-loader`. For tests,...
Now that we've modernized the test suite, it would make sense to take a moment to look at any missing coverage we have, and add coverage in places where it...
Related to: - https://github.com/mozilla/addons-frontend/issues/11598 - https://github.com/mozilla/addons-frontend/pull/11593 At the moment, server-side code is compiled w/ Babel on the fly via [@babel/register](https://babeljs.io/docs/en/babel-register/). This is usually not recommended for production, as it slows...
When converting TestScreenShots.js, I have been unable to get a test working that tests the functionality implemented via the `onOpenPhotoswipe` function. We cannot write a test the way we did...
Uncovered in https://github.com/mozilla/addons-frontend/pull/11593#discussion_r899031000. Some server-specific tests run w/ Jest's `testEnvironment: 'jsdom'`, which is the project's Jest config default. As a result, some globals are missing or extraneous & test environment...
The locale bundle is fetched when [`` require(`bundle-loader?name=[name]-i18n-[folder]!../../locale/${locale}/amo.js`) ``](https://github.com/mozilla/addons-frontend/blob/3675d16ab61def5126884b214ec7b47caeb0aaf2/src/amo/client/base.js#L86) is executed. `React.render` happens after that file has been fetched and executed. Therefore it would be a good thing to fetch...
As discussed https://github.com/mozilla/addons-frontend/issues/11161#issuecomment-1129721661 TAAR service is recommending addons on the detail pages into "Other popular extensions" section - on Android 2 of them are not compatible therefore they do not...
Apple added a great new feature to their App Store, being these new "privacy nutrition labels" that quickly summarize privacy information about an app.  Now, Google has seemed to...