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

Form request #28

Merged
merged 12 commits into from
Sep 25, 2016
Merged

Form request #28

merged 12 commits into from
Sep 25, 2016

Conversation

jackcarlisle
Copy link
Member

@jackcarlisle jackcarlisle commented Sep 15, 2016

ready for review

@jackcarlisle jackcarlisle changed the title [WiP] Form request Form request Sep 16, 2016
<head>
<title>S3 Upload Demo</title>
// optional stylesheet
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flat-ui/2.2.2/css/flat-ui.min.css">
Copy link
Member

Choose a reason for hiding this comment

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

We really like the end result of Flat-UI. and for this demo it is good.
But that reminds me ... dwyl/learn-tachyons#1 😉

// link to image
var successMessage = document.createElement('h4')
successMessage.innerHTML = 'Image Successfully Uploaded at: '
var link = `https://<your_bucket_name>.s3.amazonaws.com/${filename}`
Copy link
Member

Choose a reason for hiding this comment

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

could the AWS_S3_BUCKET_NAME be an environment variable returned by the server in the getCredentialsFromServer call?

@nelsonic
Copy link
Member

@jackcarlisle looks good. sorry for delay in review. had it open and then totally got distracted... 😫
Made a few comments. And would be really good to get something resembling a test for this.
Merging. we can iterate. 👍

@nelsonic nelsonic merged commit dd5226e into master Sep 25, 2016
@nelsonic nelsonic deleted the formRequest branch September 25, 2016 10:15
@jackcarlisle
Copy link
Member Author

@nelsonic no problem! Yeah I want to have a crack at using nightwatch so I'll try and incorporate it in.

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.

2 participants