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

#157385680 view room occupants #40

Merged
merged 23 commits into from
Jun 28, 2018
Merged

Conversation

JoyLubega
Copy link
Contributor

@JoyLubega JoyLubega commented Jun 12, 2018

What does this PR do?

Views all occupants in a given meeting room

screenshots

screen shot 2018-06-12 at 13 39 11

screen shot 2018-06-12 at 13 39 20

Description

N/A

Pivotal tracker story

#157385680

@@ -50,10 +56,15 @@ def mutate(self, info, room_id, **kwargs):

class Query(graphene.ObjectType):
all_rooms = graphene.List(Room)
get_room_by_id = graphene.Field(
Room,
get_room_by_id = graphene.List(
Copy link
Contributor

@PatrickCmd PatrickCmd Jun 12, 2018

Choose a reason for hiding this comment

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

I see you still have old work, please can you rebase with develop to have the current changes.

@JoyLubega JoyLubega force-pushed the ft-view-room-occupants-157385680 branch from ac70d81 to 5c5b342 Compare June 13, 2018 08:11
@coveralls
Copy link

coveralls commented Jun 13, 2018

Pull Request Test Coverage Report for Build 463

  • 20 of 22 (90.91%) changed or added relevant lines in 3 files are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-1.009%) to 98.163%

Changes Missing Coverage Covered Lines Changed/Added Lines %
api/room/schema.py 8 10 80.0%
Files with Coverage Reduction New Missed Lines %
api/room/schema.py 2 95.18%
Totals Coverage Status
Change from base Build 439: -1.009%
Covered Lines: 374
Relevant Lines: 381

💛 - Coveralls

@JoyLubega JoyLubega force-pushed the ft-view-room-occupants-157385680 branch 2 times, most recently from aa1a7c0 to f42da14 Compare June 19, 2018 10:43
@JoyLubega JoyLubega changed the title #157385680 view room occupants 157385680 #157385680 view room occupants Jun 19, 2018
@JoyLubega JoyLubega force-pushed the ft-view-room-occupants-157385680 branch from be68557 to e2981e6 Compare June 20, 2018 20:33
Copy link
Contributor

@sannytee sannytee left a comment

Choose a reason for hiding this comment

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

@JoyLubega has this been rebased with the current changes in develop. I'm having trouble pulling the branch to test. Kindly check and confirm

Copy link
Contributor

@proxiex proxiex left a comment

Choose a reason for hiding this comment

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

LGTM, except for the fact that your PR is behind. Do ensure you pull and rebase accordingly.

@JoyLubega
Copy link
Contributor Author

Thanks @proxiex and @sannytee I have rebased, just that my Tests are now failing.. Working on it

@JoyLubega JoyLubega force-pushed the ft-view-room-occupants-157385680 branch 3 times, most recently from 21fff3b to 5531303 Compare June 27, 2018 08:51
@JoyLubega JoyLubega force-pushed the ft-view-room-occupants-157385680 branch from 14433ea to f0419f2 Compare June 27, 2018 18:24
r"(^[a-zA-Z0-9_.+-]+@andela+\.com+$)", attendees)
if match:
all_attendees.append(attendee.get('email'))
print(all_attendees)
Copy link
Contributor

Choose a reason for hiding this comment

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

This print statement should be removed.

@@ -18,6 +18,7 @@ def test_query_rooms(self):

def test_query_room_with_id(self):
query = self.client.execute(room_query_by_id)
print(room_query_by_id_response)
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Working on it now

@@ -28,3 +29,4 @@ def __init__(self, **kwargs):
self.image_url = kwargs['image_url']
self.calendar_id = kwargs['calendar_id']
self.floor_id = kwargs['floor_id']
self.calendar_id = kwargs['calendar_id']
Copy link
Contributor

@PatrickCmd PatrickCmd Jun 28, 2018

Choose a reason for hiding this comment

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

calendar_id field is defined twice in the models

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have Fixed it

@PatrickCmd PatrickCmd merged commit 6132917 into develop Jun 28, 2018
@shemogumbe shemogumbe deleted the ft-view-room-occupants-157385680 branch October 29, 2018 11:13
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.

None yet

5 participants