Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

added validations to every step #50

Merged
merged 6 commits into from
Aug 20, 2019
Merged

added validations to every step #50

merged 6 commits into from
Aug 20, 2019

Conversation

partyshah
Copy link

@partyshah partyshah commented Aug 16, 2019

Closes #47
Closes #46
Closes #44
Closes #43

@github-learning-lab github-learning-lab bot temporarily deployed to production August 16, 2019 16:21 Inactive
@github-learning-lab
Copy link

Your draft course version was created!


You can edit it using the Course Builder UI!

@github-learning-lab github-learning-lab bot temporarily deployed to production August 16, 2019 16:38 Inactive
@github-learning-lab github-learning-lab bot temporarily deployed to production August 16, 2019 16:54 Inactive
@github-learning-lab github-learning-lab bot temporarily deployed to production August 16, 2019 17:23 Inactive
@github-learning-lab github-learning-lab bot temporarily deployed to production August 16, 2019 18:23 Inactive
@github-learning-lab github-learning-lab bot temporarily deployed to production August 16, 2019 18:39 Inactive
@partyshah
Copy link
Author

@hectorsector Can I get a review?

I fixed #50

Here is my repo where I tested it: partyshah/intro-react#2

Copy link
Member

@hectorsector hectorsector left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See the note about the one that didn't work. But if we leave that issue open we can 🚢 this.

action_id: fileContents
filename: 'src/List.jsx'
- type: gate
left: '/>\s*{\s*this\.props\.title\s*}\s*<\s*/gm'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one isn't validating for me, https://github.com/hectorsector/intro-react/pull/2#pullrequestreview-276208944. Let's leave that issue open and close the rest when we ship this.

action_id: fileContents
filename: 'src/App.jsx'
- type: gate
left: '/^\s*<\s*h3\s*className\s*=\s*"\s*Box-title\s*d-flex\s*flex-justify-center\s*"\s*>\s*GradeBook\s*<\s*\/\s*h3\s*>/gm'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

action_id: fileContents
filename: 'src/App.jsx'
- type: gate
left: '/^\s*import\s*List\s*from\s*"\s*\.\/List\s*"\s*;\s*/gm'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

action_id: fileContents
filename: 'src/App.jsx'
- type: gate
left: '/\s*students\s*:\s*\[\s*\]\s*,\s*/gm'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

action_id: fileContents
filename: 'src/App.jsx'
- type: gate
left: '/\s*placeholder\s*=\s*"Add\sStudent\.\.\."\s*\n\s*currList\s*=\s*{\s*this\.state\.students\s*}\n\s*addFunction\s*=\s*{\s*this\.addStudent\s*}\s*\n/gm'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@hectorsector hectorsector merged commit 9d0e527 into master Aug 20, 2019
@hectorsector hectorsector deleted the validations branch August 20, 2019 01:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants