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

Groups #41

Merged
merged 11 commits into from
Apr 21, 2017
Merged

Groups #41

merged 11 commits into from
Apr 21, 2017

Conversation

RDF014
Copy link
Contributor

@RDF014 RDF014 commented Apr 21, 2017

  • Able to Add/Delete Friends from groups

  • Able to change privacy settings of groups

  • Able to change privacy settings for friends

  • Removed unnecessary console logs

@@ -0,0 +1,118 @@
import React, { Component } from 'react';
import { endpoint } from './endpoint.js';

Choose a reason for hiding this comment

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

It doesn't seem like you use endpoint here. Could you remove it?

app/GroupMap.js Outdated
@@ -1,63 +1,204 @@
import React, { Component } from 'react';
import { endpoint } from './endpoint.js';

Choose a reason for hiding this comment

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

I don't think endpoint is being used here anymore either.

@@ -69,7 +69,7 @@ export default class CreateGroup extends Component {
return response.json();
})
.then((friends) => {
console.log(friends);
console.log('Successful Post');

Choose a reason for hiding this comment

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

Remove this console log please

app/FriendMap.js Outdated
data: {privacy: privacy}
})
.then(({data}) => {
console.log('Succesfull Update', data.privacy);

Choose a reason for hiding this comment

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

Remove this console.log please

Copy link

@mstifflin mstifflin left a comment

Choose a reason for hiding this comment

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

I added some comments--forgotten console logs, unneeded dependencies, etc. Otherwise, looks good!

Copy link

@mstifflin mstifflin left a comment

Choose a reason for hiding this comment

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

Looks good.

@mstifflin mstifflin merged commit 432c7a6 into blink672:master Apr 21, 2017
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