Skip to content
This repository has been archived by the owner on Dec 23, 2017. It is now read-only.

Add endpoint for submitting issues to GitHub. #810

Merged
merged 7 commits into from
Oct 13, 2015

Conversation

jmcarp
Copy link
Contributor

@jmcarp jmcarp commented Oct 5, 2015

  • Submit issues to GitHub on the backend
  • Add barebones issue reporting form
  • Style issue form
  • Write form content
  • Write Python unit tests
  • Write JavaScript unit tests

This patch needs some work from @noahmanger and @emileighoutlaw on style and content, respectively. We should also decide what happens to the reporting form on successful submission and on failure.


FeedbackWidget.prototype.submit = function(e) {
e.preventDefault();
var promise = $.ajax({

Choose a reason for hiding this comment

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

'promise' is defined but never used.

@jmcarp jmcarp mentioned this pull request Oct 6, 2015
3 tasks
@@ -87,6 +89,9 @@ $(document).ready(function() {
BASE_PATH
);

// Initialize feedback
new feedback.Feedback(helpers.buildAppUrl(['issue']));

Choose a reason for hiding this comment

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

Do not use 'new' for side effects.

LindsayYoung added a commit that referenced this pull request Oct 13, 2015
Add endpoint for submitting issues to GitHub.
@LindsayYoung LindsayYoung merged commit 09fe334 into fecgov:develop Oct 13, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants