Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Challenge Statement summary field to Submit Challenge modal #267

Merged
merged 10 commits into from
Jul 14, 2018

Conversation

am9u
Copy link
Contributor

@am9u am9u commented Jul 12, 2018

No description provided.

@am9u am9u requested a review from nickreynolds July 12, 2018 19:25
<CopyLarge>Enter a summary of the reasons for your challenge (Max 120 characters)</CopyLarge>
<SectionFormOuter>
<FormInputGroup>
<RichTextEditor
Copy link
Member

Choose a reason for hiding this comment

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

the summary should be plaintext, not richtext, imo

@@ -196,4 +257,28 @@ export class SubmitChallengeModal extends React.Component<
</StepStyledFluid>
);
};

private handleBeforeInput = () => {
Copy link
Member

Choose a reason for hiding this comment

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

I think these functions should go on a TextInput component

Copy link
Member

@nickreynolds nickreynolds left a comment

Choose a reason for hiding this comment

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

let's keep summary as plaintext, not rich

@coveralls
Copy link

coveralls commented Jul 12, 2018

Pull Request Test Coverage Report for Build 5335

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 87.474%

Totals Coverage Status
Change from base Build 5325: 0.0%
Covered Lines: 580
Relevant Lines: 624

💛 - Coveralls

- Add `maxLength` prop to `TextareaInputProps`
@am9u
Copy link
Contributor Author

am9u commented Jul 12, 2018

Sure, that's actually much simpler.

@am9u am9u merged commit d09587f into master Jul 14, 2018
@am9u am9u deleted the am9u/dapp/challenge-statement-summary branch July 24, 2018 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants