Commit Graph
2998 Commits
Author SHA1 Message Date
awu43 dd5d2919be feat(client): ts-migrate client/utils/** (#42823)
* rename js files

* update imports and references

* migrate build-challenges

* migrate challenge-types

* migrate utils/index

* migrate state-management

* install @types/psl for tags

* migrate tags

* migrate tags.test

* migrate challenge-page-creator

* migrate utils/gatsby/index

* migrate layout-selector

* migrate layout-selector.test

* revert challenge-types

Curriculum can't handle TS or modules

* convert arrow functions

* revert build-challenges

* revert utils/gatsby/index

* revert challenge-page-creator

* revert challenge-types reference

* Delete state-management

Deleted in #42960

* Disable render-result-naming-convention (for now)

* update layout-selector.test comment

* reorder imports in build-challenges

* change ts-ignore to ts-expect-error
2021-08-09 10:30:31 +02:00
Renovate Bot 1a212ab927 fix(deps): pin dependencies 2021-08-08 22:33:04 +00:00
b623c340a9 feat(client): add google pay (#43117)
* feat: initial button setup client

* feat: rename walletsButton to .tsx

* chore: typescriptize wallet component

* chore: re-add keys to config, env, etc + check in gatsby-node

* feat: refactor donate form and wallet component

* feat(client): set labels correctly

* chore: add stripe package back to server

* chore: add stripe back to allowed paths

* chore: copy donate.js code from PR #41924

* feat: attempt to make back end work

* feat: make redux work

* feat: clean up

* feat: hokify

* feat: add error handling

* fix: back-end should be working

* fix: type errors

* fix: clean up back-end

* feat:addd styles

* feat: connect the client to the api

* feat: display wallets button everywhere

* test: add stripe key for cypress action

* test: fix for cypress tests

* test: cypress tests again

* test: maybe?

* test: more

* test: more

* test: more

* test

* askdfjasklfj

* fix: tests finally?

* revert: remove space from cypress yaml action

* remove logs

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-08-08 23:22:25 +03:00
Renovate Bot ad54684dce fix(deps): update dependency @babel/standalone to v7.15.2 2021-08-08 18:12:00 +00:00
camperbot 1f4972c6f5 chore(i18n,learn): update translations (#43139) 2021-08-07 16:55:07 +01:00
Renovate Bot 41c6914a25 chore(deps): update codesee to v0.61.0 2021-08-06 23:07:34 +00:00
Renovate Bot ae734e7715 chore(deps): update dependency webpack to v5.49.0 2021-08-06 16:40:58 +00:00
camperbot 48fee9232b chore(i18n,learn): update translations (#43131) 2021-08-06 08:04:24 -07:00
eccc642d83 fix(client): store accessibility for screenreaders (#42996)
* fix: store accessibility for screenreaders

* Apply suggestions from code review

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

* fix: remove old comments

* feat: at short cut announcement when running test

* feat: announce that accesibility mode is turned on

* fix: use Redux values

* Apply suggestions from code review

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

* Apply suggestions from Oliver

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

* fix: "rip out redux stuff" and use store instead

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* fix: old use of props

* Update client/src/templates/Challenges/classic/editor.tsx

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

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-08-06 14:17:17 +02:00
Renovate Bot 097565c615 chore(deps): update codesee to v0.60.0 2021-08-05 22:37:25 +00:00
Tom f0aeb3b267 fix(curriculum): rename rdbms cert project to proper name (#43042)
* fix:(curriculum): rename rdbms cert project

* fix: some more spots to rename

* fix: rename i18n's
2021-08-05 22:15:44 +01:00
awu43 4134404bfd feat(client): ts-migrate WithInstantSearch.js (#42923)
* rename to TS

* update import

* migrate with-instant-search

* change falsy values to empty string

* update import order

Finish resolving conflict from #41824

* update import order for search-bar

* update setTimeout() type
2021-08-05 21:00:30 +01:00
DanielRosa74 038ac3e7b9 feat(client,i18n): update motivation.json for Portuguese (#43121) 2021-08-05 21:23:47 +02:00
Oliver Eyton-Williams 10286f6c80 feat: add stripe merchant id for apple pay (#43124) 2021-08-05 20:00:50 +01:00
camperbot e389517800 chore(i18n,learn): update translations (#43126) 2021-08-05 07:30:35 -07:00
Renovate Bot fe17982d27 fix(deps): update dependency @babel/standalone to v7.15.1 2021-08-05 09:41:54 +00:00
Renovate Bot b4ec41adfd chore(deps): update codesee to v0.59.1 2021-08-05 01:31:25 +00:00
Renovate Bot 35cdece8d7 chore(deps): update babel monorepo to v7.15.0 2021-08-05 00:13:20 +00:00
Renovate Bot 1307ce3eb9 fix(deps): update dependency react-reflex to v4.0.3 2021-08-04 22:29:35 +00:00
Tom 7b27821871 feat(curriculum): add icon for rdbms (#43109)
* feat(curriculum): add icon for rdbms

* fix: add better behaved icon
2021-08-04 13:22:58 -07:00
Renovate Bot 524556463a fix(deps): pin dependency @types/react-scrollable-anchor to 0.6.1 2021-08-04 12:19:55 +00:00
e34ec814ef feat(client): migrate donate module to ts (#42561)
* change DonationTextComponent extension to tsx

* migrate DonationTextComponents to ts

* change DonationModal extension to tsx

* add @types/react-redux

* migrate DonationModal to ts

* change PaypalButton extension to ts

* change DonateCompletion extension to tsx

* migrate DonateCompletion to TypeScript

* change PayPalButtonLoader extension to tsx

* first changes in paypal button (help needed)

* first changes in PayPalButtonScriptLoader (help needed)

* change DonateForm extension to tsx

* migrate donate module to ts

* Update client/src/components/Donation/DonateForm.tsx

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

* Update client/src/components/Donation/DonationModal.tsx

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

* Update client/src/components/Donation/DonationModal.tsx

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

* Update client/src/components/Donation/DonateForm.tsx

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

* Update client/src/components/Donation/DonateForm.tsx

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

* Delete console.log client/src/components/Donation/DonationModal.tsx

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

* applied changes requested

* fix: readjust default one time amount

* fix types

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

* chore: restore comments.json

* fix: type assertion

* fix: specific DonateForm props

* Apply suggestions from code review

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

* Update client/src/components/Donation/PaypalButton.tsx

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

* fix:set default stat for paypalbutton

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2021-08-04 11:21:11 +01:00
Renovate Bot 8886a9396c fix(deps): update dependency redux to v4.1.1 2021-08-03 17:08:11 +00:00
Renovate Bot 5ccb6cf452 chore(deps): update codesee to v0.57.0 2021-08-02 21:30:20 +00:00
Renovate Bot 785ec78af2 chore(deps): update dependency webpack to v5.48.0 2021-08-02 16:00:24 +00:00
camperbot 3350cb4522 chore(i18n,learn): update translations (#43088) 2021-08-02 07:05:00 -07:00
Oliver Eyton-Williams e118dda13a fix: order imports and remove circular dependencies (#41824)
* fix: remove circular dependency

redux depended on templates/Challenges/redux and vice versa.  This
meant that import order mattered and confusing bugs could arise.

(cherry picked from commit 7d67a4e70922bbb3051f2f9982dcc69e240d43dc)

* feat: require imports to be in alphabetical order

Import order generally does not matter, but there are edge cases
(circular  imports and css imports, for example) where changing order
changes behaviour

(cherry picked from commit b8d1393a91ec6e068caf8e8498a5c95df68c2b2c)

* chore: order imports

* fix: lift up challenge description + title comps

This brings the classic Show closer to the others as they
now all create the description and title components

* fix: remove donation-saga/index circular import

(cherry picked from commit 51a44ca668a700786d2744feffeae4fdba5fd207)

* refactor: extract action-types from settings

(cherry picked from commit 25e26124d691c84a0d0827d41dafb761c686fadd)

* fix: lint errors

* feat: prevent useless renames
2021-08-02 08:39:40 -05:00
Renovate Bot e7b4b5b2fd fix(deps): update dependency react-instantsearch-dom to v6.12.1 2021-08-02 09:59:21 +00:00
Renovate Bot e8dd7f5929 chore(deps): update babel monorepo to v7.14.9 2021-08-01 09:26:37 +00:00
Renovate Bot 24567cbe4a chore(deps): update codesee to v0.56.0 2021-07-30 23:24:17 +00:00
camperbot ffdc8315f6 chore(i18n,learn): update translations (#43077) 2021-07-30 15:31:19 +02:00
Renovate Bot 2b7683faa0 chore(deps): update dependency webpack to v5.47.1 2021-07-29 22:32:54 +00:00
camperbot 43308fd612 chore(i18n,client): processed translations (#43071) 2021-07-29 18:45:36 +05:30
Tom 826992fabf fix(client): open all certs in same tab (#43061) 2021-07-29 14:56:36 +03:00
Renovate Bot e9c740fe7e chore(deps): update codesee to v0.55.0 2021-07-28 21:17:43 +00:00
camperbot aced643bc2 chore(i18n,learn): update translations (#43045) 2021-07-28 10:36:53 -05:00
Shaun Hamilton 47adbde90b feat(client): add multifile editor breadcrumbs (#42907)
* feat(client): add multifile editor breadcrumbs

* adjust margin

* update snapshot

* re-remove duplicate css

* adjust arrow colours

* update that pesky snapshot

* add title to editor jaw

* remove bolding, and center

* update snapshot
2021-07-28 17:29:11 +03:00
Renovate Bot 3683414201 chore(deps): update codesee to v0.54.3 2021-07-28 08:27:29 +00:00
Ko b96132449b Add missing word in APIs and Microservices intro (#43030)
* Add missing word in APIs and Microservices intro

* Updated the word 'back end'
2021-07-28 09:28:50 +02:00
Renovate Bot 4ef6e9d3ea chore(deps): update codesee to v0.54.2 2021-07-28 04:16:07 +00:00
Shaun Hamilton 9731ea31b8 fix(client): fix i18n external locations in nav (#42995) 2021-07-28 07:31:07 +07:00
Renovate Bot c56510a6b2 chore(deps): update codesee to v0.54.0 2021-07-27 21:28:22 +00:00
Renovate Bot 4357fd03af chore(deps): update dependency webpack to v5.47.0 2021-07-27 18:09:51 +00:00
Oliver Eyton-Williams 49b4e1f2b3 fix: remove HOME_PATH (#43034)
It was only used as a default for hardGoTo, but that function is only
called once and does not need the default
2021-07-27 08:35:14 -07:00
camperbot 946f6847a7 chore(i18n,learn): update translations (#43032) 2021-07-27 08:24:26 -07:00
Victor Duarte a4358fc56c fix(client): update display prop on element (#42912)
* fix: profile menu icon overlapping content

* refactor: profile icon usage
2021-07-27 12:27:32 +03:00
Renovate Bot 7b92f1df83 chore(deps): update codesee to v0.52.1 2021-07-27 01:35:20 +00:00
Ahmad Abdolsaheb 9b401570bc fix(client): adjust big cta size (#43017) 2021-07-26 16:35:54 +01:00
Renovate Bot 0a82c36e1b fix(deps): update dependency react-i18next to v11.11.4 2021-07-26 10:51:21 +00:00
camperbot c5963374cb chore(i18n,client): processed translations (#43007) 2021-07-25 22:54:39 +05:30