Skip to content

Merge - #4

Merged
rawatrahul merged 2501 commits into
rawatrahul:masterfrom
freeCodeCamp:main
Oct 2, 2021
Merged

rawatrahul merged 2501 commits into
rawatrahul:masterfrom
freeCodeCamp:main

Conversation

@rawatrahul

@rawatrahul rawatrahul commented Oct 2, 2021 •

Copy link
Copy Markdown
Owner

Checklist:

  • I have read freeCodeCamp's contribution guidelines.
  • My pull request has a descriptive title (not a vague title like Update index.md)
  • My pull request targets the master branch of freeCodeCamp.
  • All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

Closes #XXXXX

renovate-bot and others added 30 commits August 29, 2021 09:31
…3349)

* rename: i18n rdbms challenge files

* fix: adjust frontmatter to match
chore(i18n,docs): processed translations
dharmin and others added 24 commits September 30, 2021 19:13
* fix: replace responsive web dev bitly links

* Revert "fix: replace responsive web dev bitly links"

This reverts commit 3d2bcbe.

* fix: remove video url from html challenges using old image srcs
Co-authored-by: Kristofer Koishigawa <[email protected]>
Co-authored-by: Oliver Eyton-Williams <[email protected]>
* fix: require login as step

* fix: cert rendering temporary

* fix: remove keys from other translation files

* fix: cypress test

* chore: shauns suggestions

* fix: remove steps

* fix: use a seperate UseEffect function

* Suggestions from Shaun

Co-authored-by: Shaun Hamilton <[email protected]>

* fix: certification temp rendering

* fix: cert temp rendering hopefully

* fix: button visibility and cert test

* fix: condition

* test: improve claim cert tests

Without npm run seed, retries will be in a different state.

Check the scroll position to (hopefully) catch the weird cert claim bug.

Co-authored-by: Shaun Hamilton <[email protected]>
Co-authored-by: Oliver Eyton-Williams <[email protected]>
react-monaco-editor depends on specific monaco-editor versions, so this
makes sure they're all updated in the same renovate PR
* feat: dispatch resetChallenge action

* fix: copy challengeFiles instead of in-place sort

* fix: handle null updateFile payloads in redux

* refactor: reorganise region initialization

* refactor: pull code into editorDidMount

Then we can rely on the presence of the editor and monaco and don't have
litter the code with null checks.

* refactor: use better name for editable region init

* refactor: remove unused decoration

* refactor: rename forbidden region init functions

* fix: keep all challengeFiles when resetting

* refactor: remove unused decoration class

* fix: reinitialize editor on reset

* fix: stop adding multiple scroll listeners

Since the challengeFile update on each keystroke extra (unnecessary)
adding of listeners slowed the editor to a crawl.

* fix: only scroll to editor on mount

Rather than on any edit.

* refactor: remove logs and comments

* fix: rename toSortedArray and fix broken test

* fix: check for null not falsy in updateFile

* fix: only update project features when project

* fix: only reset if editor contents have changed

* feat: focus on editor after reset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.