aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorLines
2022-08-04Bump jest-watch-typeahead from 1.1.0 to 2.0.0Gravatar dependabot[bot]-7/+19
Bumps [jest-watch-typeahead](https://github.com/jest-community/jest-watch-typeahead) from 1.1.0 to 2.0.0. - [Release notes](https://github.com/jest-community/jest-watch-typeahead/releases) - [Changelog](https://github.com/jest-community/jest-watch-typeahead/blob/main/CHANGELOG.md) - [Commits](https://github.com/jest-community/jest-watch-typeahead/compare/v1.1.0...v2.0.0) --- updated-dependencies: - dependency-name: jest-watch-typeahead dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
2022-08-04Bump terser from 5.14.1 to 5.14.2Gravatar dependabot[bot]-17/+30
Bumps [terser](https://github.com/terser/terser) from 5.14.1 to 5.14.2. - [Release notes](https://github.com/terser/terser/releases) - [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md) - [Commits](https://github.com/terser/terser/commits) --- updated-dependencies: - dependency-name: terser dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]>
2022-08-03Bump @codemirror/view from 6.0.1 to 6.1.3Gravatar dependabot[bot]-5/+5
Bumps [@codemirror/view](https://github.com/codemirror/view) from 6.0.1 to 6.1.3. - [Release notes](https://github.com/codemirror/view/releases) - [Changelog](https://github.com/codemirror/view/blob/main/CHANGELOG.md) - [Commits](https://github.com/codemirror/view/compare/6.0.1...6.1.3) --- updated-dependencies: - dependency-name: "@codemirror/view" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
2022-07-19Add 404 PageGravatar Hassan Abouelela-8/+61
Signed-off-by: Hassan Abouelela <[email protected]>
2022-07-19Simplify Navigation ComponentGravatar Hassan Abouelela-120/+101
Extract the styles from the navigation component to common styles, and convert it to a function component. Signed-off-by: Hassan Abouelela <[email protected]>
2022-07-14Clear Authorization On ErrorGravatar Hassan Abouelela-2/+14
Deletes the OAuth cookies when an error happens during submit. This is a stopgap till we fix the authorization issues. Signed-off-by: Hassan Abouelela <[email protected]>
2022-07-14Fix Failing jest.spyOnGravatar Hassan Abouelela-1/+5
Version 1.2.206 of swc introduces a breaking change which makes jest.spyOn not work with our configuration. The response from the swc maintainer seems like a complete mess, so I won't touch it, and just use something else. See issue 5059 on https://github.com/swc-project/swc/issues Signed-off-by: Hassan Abouelela <[email protected]>
2022-07-14Wrap Tests In ActGravatar Hassan Abouelela-31/+32
Wrap the tests that were raising warnings in act statements. Signed-off-by: Hassan Abouelela <[email protected]>
2022-07-13Bump @swc/core from 1.2.204 to 1.2.213Gravatar dependabot[bot]-83/+83
Bumps [@swc/core](https://github.com/swc-project/swc) from 1.2.204 to 1.2.213. - [Release notes](https://github.com/swc-project/swc/releases) - [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md) - [Commits](https://github.com/swc-project/swc/compare/v1.2.204...v1.2.213) --- updated-dependencies: - dependency-name: "@swc/core" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
2022-07-02Base refresh timeout on diff from current timeGravatar Chris Lovering-1/+1
Previously the logic was using the expiry date's unix timestamp as if it was a number of ms until it expired. This caused the timeout to be far after the actual token expiry.
2022-07-01Codify Question State TypeGravatar Hassan Abouelela-171/+164
Uses an interface to define the RenderedQuestion component state, to reduce the required type and existence checks in the rest of the codebase. Signed-off-by: Hassan Abouelela <[email protected]>
2022-07-01Remove Unused Prop From ErrorPageGravatar Hassan Abouelela-3/+1
Signed-off-by: Hassan Abouelela <[email protected]>
2022-07-01Improve ErrorMessage InterfaceGravatar Hassan Abouelela-7/+8
Unify the string and element types on the interface to clarify they are mutually exclusive. Signed-off-by: Hassan Abouelela <[email protected]>
2022-07-01Style ChangesGravatar Hassan Abouelela-3/+3
Signed-off-by: Hassan Abouelela <[email protected]>
2022-07-01Restructure FormPageGravatar Hassan Abouelela-362/+545
The main FormPage component had gotten very out of hand, with many moving parts that were hard to parse, understand, or modify. This refactors breaks things up into separate files with better defined goals. Most changes are just straight copies without much change, however some structural changes have been introduced as a foundation for improving the app. Signed-off-by: Hassan Abouelela <[email protected]>
2022-07-01Display Test Names For Unittest FailuresGravatar Hassan Abouelela-5/+33
Signed-off-by: Hassan Abouelela <[email protected]>
2022-07-01Add Unittest Failure InterfaceGravatar Hassan Abouelela-0/+13
Signed-off-by: Hassan Abouelela <[email protected]>
2022-07-01Allow More Customization In Error MessageGravatar Hassan Abouelela-2/+13
Add transitions to the error message component, and allow more flexibility by allowing the caller to specify the inner component of the message. Signed-off-by: Hassan Abouelela <[email protected]>
2022-07-01Cleanup Code Owners Comments (#475)Gravatar Hassan Abouelela-2/+2
2022-06-30Bump react-spinners from 0.12.0 to 0.13.2Gravatar dependabot[bot]-8/+6
Bumps [react-spinners](https://github.com/davidhu2000/react-spinners) from 0.12.0 to 0.13.2. - [Release notes](https://github.com/davidhu2000/react-spinners/releases) - [Changelog](https://github.com/davidhu2000/react-spinners/blob/main/CHANGELOG.md) - [Commits](https://github.com/davidhu2000/react-spinners/commits) --- updated-dependencies: - dependency-name: react-spinners dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
2022-06-30Bump webpack-dev-server from 4.9.2 to 4.9.3Gravatar dependabot[bot]-10/+10
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.9.2 to 4.9.3. - [Release notes](https://github.com/webpack/webpack-dev-server/releases) - [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.9.2...v4.9.3) --- updated-dependencies: - dependency-name: webpack-dev-server dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
2022-06-30Add Selectable Styles To Code Field (#469)Gravatar Hassan Abouelela-1/+3
Adds the selectable CSS styles to the code field to fix a bug on safari that prevented users from clicking into it and writing. Thanks to Etzeitet & NoodleReaper for discovering this. Signed-off-by: Hassan Abouelela <[email protected]>
2022-06-29Bump @sentry/react from 7.2.0 to 7.3.1Gravatar dependabot[bot]-38/+38
Bumps [@sentry/react](https://github.com/getsentry/sentry-javascript) from 7.2.0 to 7.3.1. - [Release notes](https://github.com/getsentry/sentry-javascript/releases) - [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-javascript/compare/7.2.0...7.3.1) --- updated-dependencies: - dependency-name: "@sentry/react" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
2022-06-29Expand Code Field To Fill SpaceGravatar Hassan Abouelela-0/+4
Signed-off-by: Hassan Abouelela <[email protected]>
2022-06-29Fix Dropdown Overlap IssueGravatar Hassan Abouelela-9/+20
Signed-off-by: Hassan Abouelela <[email protected]>
2022-06-29Fix Map Conflicts In Dev ServerGravatar Hassan Abouelela-1/+3
Signed-off-by: Hassan Abouelela <[email protected]>
2022-06-28Update CODEOWNERSGravatar Joe Banks-2/+2
2022-06-23Bump @types/react-transition-group from 4.4.4 to 4.4.5Gravatar dependabot[bot]-5/+5
Bumps [@types/react-transition-group](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-transition-group) from 4.4.4 to 4.4.5. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-transition-group) --- updated-dependencies: - dependency-name: "@types/react-transition-group" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
2022-06-23Bump @typescript-eslint/eslint-plugin from 5.28.0 to 5.29.0Gravatar dependabot[bot]-55/+21
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.28.0 to 5.29.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.29.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
2022-06-23Bump @typescript-eslint/parser from 5.28.0 to 5.29.0Gravatar dependabot[bot]-9/+43
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.28.0 to 5.29.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.29.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
2022-06-23Bump @swc/core from 1.2.203 to 1.2.204Gravatar dependabot[bot]-83/+83
Bumps [@swc/core](https://github.com/swc-project/swc) from 1.2.203 to 1.2.204. - [Release notes](https://github.com/swc-project/swc/releases) - [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md) - [Commits](https://github.com/swc-project/swc/compare/v1.2.203...v1.2.204) --- updated-dependencies: - dependency-name: "@swc/core" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
2022-06-19Bump Webpack Dev Server To 4.9.2Gravatar Hassan Abouelela-1425/+311
Migration guide: https://github.com/webpack/webpack-dev-server/blob/74c928135c7182e08238efb52c044e2d49ce6e9a/migration-v4.md Signed-off-by: Hassan Abouelela <[email protected]>
2022-06-19Bump Webpack Related DependenciesGravatar Hassan Abouelela-102/+107
Signed-off-by: Hassan Abouelela <[email protected]>
2022-06-19Bump Emotion To 11.9.3Gravatar Hassan Abouelela-17/+4
Signed-off-by: Hassan Abouelela <[email protected]>
2022-06-18Bump React To 18.2.0Gravatar Hassan Abouelela-2030/+1236
Bump react to v18, and handle all the breaking changes. This includes bumping a lot of other dependencies to versions which support react 18, and handling the breaking changes for those. Refer to the following documents for migration guides: React: https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html Router: https://reactrouter.com/docs/en/v6/upgrading/v5 Signed-off-by: Hassan Abouelela <[email protected]>
2022-06-18Bump CodeMirror to 6.0.0Gravatar Hassan Abouelela-234/+115
Signed-off-by: Hassan Abouelela <[email protected]>
2022-06-18Bump Jest To 28.1.1Gravatar Hassan Abouelela-1237/+957
Bump jest and related dependencies, and account for breaking changes. Signed-off-by: Hassan Abouelela <[email protected]>
2022-06-18Remove jest-environment-jsdom-fourteenGravatar Hassan Abouelela-521/+32
jsdom-fourteen was deprecated in favor of the one shipped by jest. Switched to using that instead. Signed-off-by: Hassan Abouelela <[email protected]>
2022-06-18Remove Jest SVG TransformerGravatar Hassan Abouelela-7/+7
The current SVG transformer has not had an update in 4 years, and breaks with the latest jest version. The behavior can be very easily replicated by hand, as is documented by SVGR, the library we are already using in webpack. Signed-off-by: Hassan Abouelela <[email protected]>
2022-06-18Bump fortawesomeGravatar Hassan Abouelela-29/+29
Bump fortawesome dependencies to the latest versions. Signed-off-by: Hassan Abouelela <[email protected]>
2022-06-18Bump Husky To 8.0.1Gravatar Hassan Abouelela-9/+8
Bump husky, and regenerate config after breaking changes. Signed-off-by: Hassan Abouelela <[email protected]>
2022-06-18Bump ESLint To 8.18.0Gravatar Hassan Abouelela-259/+531
Bump ESLint and related dependencies. Signed-off-by: Hassan Abouelela <[email protected]>
2022-06-18Bump Webpack CLI To 4.10.0Gravatar Hassan Abouelela-56/+30
Signed-off-by: Hassan Abouelela <[email protected]>
2022-06-18Bump Typescript To 4.7.4Gravatar Hassan Abouelela-5/+5
Signed-off-by: Hassan Abouelela <[email protected]>
2022-06-18Bump React Transition GroupGravatar Hassan Abouelela-1/+1
Signed-off-by: Hassan Abouelela <[email protected]>
2022-06-18Bump Typing DependenciesGravatar Hassan Abouelela-26/+120
Signed-off-by: Hassan Abouelela <[email protected]>
2022-06-18Fix rendering error message for failed unit tests.Gravatar DavinderJolly-16/+22
fix rendering of error message by updating public_state prop before updating state, and only catch 422 status code in FormPage
2022-06-17Bump webpack from 5.66.0 to 5.73.0Gravatar dependabot[bot]-25/+25
Bumps [webpack](https://github.com/webpack/webpack) from 5.66.0 to 5.73.0. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v5.66.0...v5.73.0) --- updated-dependencies: - dependency-name: webpack dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
2022-06-17Bump @sentry/react from 6.3.5 to 7.2.0Gravatar dependabot[bot]-48/+37
Bumps [@sentry/react](https://github.com/getsentry/sentry-javascript) from 6.3.5 to 7.2.0. - [Release notes](https://github.com/getsentry/sentry-javascript/releases) - [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-javascript/compare/6.3.5...7.2.0) --- updated-dependencies: - dependency-name: "@sentry/react" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
2022-06-17Bump browserslist from 4.16.0 to 4.20.4Gravatar dependabot[bot]-27/+1
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.16.0 to 4.20.4. - [Release notes](https://github.com/browserslist/browserslist/releases) - [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md) - [Commits](https://github.com/browserslist/browserslist/compare/4.16.0...4.20.4) --- updated-dependencies: - dependency-name: browserslist dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]>