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

Chore/submit feedback #176

Merged
merged 2 commits into from
Oct 27, 2017
Merged

Chore/submit feedback #176

merged 2 commits into from
Oct 27, 2017

Conversation

frickjack
Copy link
Contributor

resolve #163
introduce SubmissionResult component to present submission summary:

  • 200 success - list number of entities submitted by type
  • 4XX error - list entities with errors
  • 504 timeout - explain timeout, suggest smaller submission

* break down submission counts by type on success
* extract errors on failure
* show note on timeout
Introduction of SubmissionResult component required
tweak of SubmitTSV.test due to DOM changes
@frickjack
Copy link
Contributor Author

Those 4 new Codacy issues result from the new code added, but do not actually reflect a decrease in code quality:

  • import 'brace' is needed by AceEditor to work properly for some reason - even though we don't use it directly
  • propTyps.object is not allowed is problematic, because the submission result data has a different shape depending on success or failure - this is not a regression
  • indentation 8 spaces is an eslint bug - if you indent 8, then it complains about that too
  • updating 'db' is idiomatic for the .reduce() function

Copy link
Contributor

@thanh-nguyen-dang thanh-nguyen-dang left a comment

Choose a reason for hiding this comment

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

lgtm 👍

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.

add summary by type to submission page
2 participants