* chore(client): tidy Flash by tidying tone
* add store import
* fix enum, remove default switch case
Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
* typo galore
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
* rejig everything, because refactoring is fun 🙃
* refactor: DRY playTone
* fix url to foss library
Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
* alphabetasize FlashMessage enum
* add all FlashMessages to tone/index.ts
* remove redundant type
* my code is correctnpm run develop:client
* fix: remove circular dependency
* fix: typo
* remove logs, play special tones for nightmode
* play sound on challengeComplete
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* chore: rename the file CertificationCard.js to tsx
* refactor: refactor the file CertificationCard to tsx
refactor: refactor the file CertificationCard to tsx
refactor: refactor the file CertificationCard to tsx
* chore: rename the file ClaimCertSteps.js to tsx
* refactor: refactor the file ClaimCertSteps to TS
* chore: rename the file SuperBlockIntro.js to tsx
* refactor: refactor the file SuperBlockIntro to TS
* chore: rename the file Block.js to tsx
* refactor: refactor the file Block to TS
refactor: refactor the file Block to TS
refactor: refactor the file Block to TS
* chore: rename the file CertChallenge.js to tsx
* refactor: refactor the file CertChallenge to TS
* fix typing
* ignore missing redux store connection
Co-authored-by: ismail <i.tlemcani@quinten-maroc.com>
Co-authored-by: Ismail Tlemcani <ismail.tlemcani@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
* feat: add data for preview to challengeMeta
* feat: allow creation of project preview frames
* feat: make project preview data available for frame
* refactor: simplify reducer
* feat: show project preview for first challenge
* feat: show project preview on MultiFile challenges
* test: check for presence/absence of preview modal
* fix: simplify previewProject saga
* test: uncomment project preview test
* fix: increase modal size + change modal title
* modal-footer
* feat: adjust preview size
* fix: remove margin, padding, and line-height for preview of finished projects
* Revert "fix: remove margin, padding, and line-height for preview of finished projects"
This reverts commit 0db11a0819.
* fix: remove margin on all previews
* refactor: use closeModal('projectPreview') for clarity
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
* fix: get started -> start coding!
* fix: update closeModal type
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
* chore: rename Test-Suite.js to test-suite.tsx
* feat: migrate test-suite to ts
* feat: use type guard to narrow down tests prop
* revert: text prop from Test type I added when rebasing
* remove optionality from props
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* feat(alert): initialize component
* feat(alert): add children prop
* feat(alert): add className prop
* feat(alert): add variant prop
* feat(alert): add close button and handle onDismiss click
* feat(alert): place all alert related css in alert.css
* feat: define state color variables and use them instead of bootstrap ones
* chore: remove unused classes
* feat: replace base alert styles with tailwind classes
* feat: extract close button to separate component
* chore: remove unused css
* test: add close button tests
* refactor: use more tailwind-like approach for adding colors to theme
* refactor: use more expressive prop name for close button label
* refactor: use semantic color names
* feat: add stories with/without close button
* chore: add missing variants