freeCodeCamp/client/src/utils
Shaun Hamilton 6ca6d9950c
feat(client): improve SuperBlock cert claiming UX (#41147)
* feat(client): improve SuperBlock cert claiming UX

* broken: add certCard foundation

* broken: add TODO comments for scatter-brain

* restructure stepsToClaimSelector

* add api-server verifyCanClaimCert logic

* temp: correct verifyCanClaim URL

* move GET logic to CertificationCard, remove console.logs

* add error handling, and navigation logic

* correct verification logical flow

* fix completion-epic updates, fix cert verify

* update widget to button, disable button unless verified

* working: refactor CertChallenge with hook state

* add StepsType

* update Honesty snapshot

* add DonationModal to SuperBlockIntro

* disable Claim Cert button unless also isHonest

* prevent warning when viewing cert

* test: use navigate in Modal to return to hash

* test: replace gatsby.navigate with reach/router.navigate

* add propTypes

* fix: rename propTypes -> prop-types

* use react-scrollable-anchor to squash modal bug

* update location parser type

* open-source Oliver's suggestion

* fix superblock title

* add claim-cert-from-learn tests

* use larger tests

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* fix some cypress stuff

* fix ShowCertification cypress test

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-07-15 23:51:27 +09:00
..
__fixtures feat(client): ts-migrate /client/src/utils/fixtures/curriculum-helpers-* (#42469) 2021-06-30 20:50:56 +05:30
ajax.ts feat(client): improve SuperBlock cert claiming UX (#41147) 2021-07-15 23:51:27 +09:00
algolia-locale-setup.ts feat(client): ts-migrate client/src/utils (#42666) 2021-07-12 11:17:58 +02:00
create-types.ts feat(client): refactor propTypes to TS types (#42278) 2021-06-03 14:23:46 +03:00
css-help.test.ts chore: add jest global variables (#42573) 2021-06-20 09:14:42 +02:00
css-help.ts feat(client): remove whitespace from calculated values (#42400) 2021-06-10 14:59:02 -07:00
curriculum-helpers.test.ts feat(client): ts-migrate client/src/utils (#42666) 2021-07-12 11:17:58 +02:00
curriculum-helpers.ts fix(client): use @freecodecamp/strip-comments for js comments (#42254) 2021-06-01 01:37:45 +02:00
format.js fix: use util.inspect for more reliable logging (#37880) 2019-12-06 08:37:10 -08:00
format.test.ts feat(client): ts-migrate client/src/utils (#42666) 2021-07-12 11:17:58 +02:00
get-words.ts feat(client): ts-migrate client/src/utils (#42666) 2021-07-12 11:17:58 +02:00
handled-error.test.ts feat(client): ts-migrate client/src/utils (#42666) 2021-07-12 11:17:58 +02:00
handled-error.ts feat(client): ts-migrate client/src/utils (#42666) 2021-07-12 11:17:58 +02:00
index.ts feat(client): ts-migrate client/src/utils (#42666) 2021-07-12 11:17:58 +02:00
is-contained.test.ts fix(client): store challenge panes sizes (#42519) 2021-06-17 23:50:39 +05:30
is-contained.ts fix(client): store challenge panes sizes (#42519) 2021-06-17 23:50:39 +05:30
path-parsers.test.ts feat(client): ts-migrate client/src/utils (#42666) 2021-07-12 11:17:58 +02:00
path-parsers.ts feat(client): improve SuperBlock cert claiming UX (#41147) 2021-07-15 23:51:27 +09:00
really-weird-error-message.ts feat(client): ts-migrate client/src/utils (#42666) 2021-07-12 11:17:58 +02:00
report-error.ts feat(client): ts-migrate client/src/utils (#42666) 2021-07-12 11:17:58 +02:00
reported-error-message.ts feat(client): ts-migrate client/src/utils (#42666) 2021-07-12 11:17:58 +02:00
script-loaders.ts feat(client): ts-migrate client/src/utils (#42666) 2021-07-12 11:17:58 +02:00
standard-error-message.ts feat(client): ts-migrate client/src/utils (#42666) 2021-07-12 11:17:58 +02:00
to-learn-path.ts feat(client): ts-migrate client/src/utils (#42666) 2021-07-12 11:17:58 +02:00