freeCodeCamp/client
Jagruti Tiwari af156fdfe4
feat(client): add "completed x of y" in completion modal (#47022)
* feat: wrote a new function and updated the test case

* fix: lint errors

* fix: Fixed the changes not being reflected in the code. And undid unwanted commits from the last time

* fix: removing unwanted updates to the package-lock.json

* fix: Removing unwanted changes from package-lock.json

* fix: removing unwanted changes from package-lock.json

* fix: updating snapshots to fix the test case

* chore: update snapshot

* Update client/src/templates/Challenges/components/completion-modal.tsx

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

* Update client/src/templates/Challenges/components/completion-modal.tsx

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

* Update client/src/templates/Challenges/components/completion-modal.tsx

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

* fix: removed hard coded english words from translation text

* fix: only show output when id is cert project

* fix: correctly count completed challenges

* fix: update test and snapshot

[skip ci]

* fix: at least one challenge is always completed

When the modal pops-up, there is always at least one challenge counted as "complete"

* refactor: slightly improve readability

Co-authored-by: Ilenia <nethleen@gmail.com>
Co-authored-by: Mrugesh Mohapatra <hi@mrugesh.dev>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-10-27 14:26:45 +00:00
..
i18n feat(client): add "completed x of y" in completion modal (#47022) 2022-10-27 14:26:45 +00:00
plugins fix(dx): make gatsby id static for hot reloading (#44542) 2022-01-10 11:03:20 +02:00
src feat(client): add "completed x of y" in completion modal (#47022) 2022-10-27 14:26:45 +00:00
static fix(font): Replace Roboto Mono with Hack-ZeroSlash (#47767) 2022-10-06 15:57:40 +00:00
utils feat: add hidden skip-to-content button (#47577) 2022-10-05 20:43:00 +02:00
.babelrc.js feat(client): add pug to prism languages (#47910) 2022-10-08 14:32:09 +05:30
.gitignore chore(client): refactor & organise config (#40875) 2021-02-03 15:22:07 +05:30
gatsby-browser.js feat(client): add growthbook (#48003) 2022-10-17 14:53:25 +02:00
gatsby-config.js Add Sentry to client for error handling (#43920) 2022-04-15 09:54:02 -05:00
gatsby-node.js feat: improve file insertion (#45942) 2022-05-14 10:06:26 +05:30
gatsby-ssr.js feat(client): add growthbook (#48003) 2022-10-17 14:53:25 +02:00
package.json fix(deps): update dependency @growthbook/growthbook-react to v0.10.0 (#48212) 2022-10-26 15:07:49 +05:30
postcss.config.js feat: commandline chic 2019-08-20 13:37:11 +05:30
webpack-workers.js fix: update path of webpack bundles (#46180) 2022-05-27 19:36:05 +02:00