Skip to content
This repository has been archived by the owner on Jun 27, 2020. It is now read-only.

Rw user sees list of orgs #76

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

RobAWilkinson
Copy link
Member

@RobAWilkinson RobAWilkinson commented Dec 15, 2018

Background

In order for a user to select which org they are a part of, they need to see a real list of organizations

Issue Resolved

Closes #70

Definition of Done

  • user can select from a real list of orgs on the front end

@RobAWilkinson RobAWilkinson requested a review from hpjaj December 15, 2018 01:17
Copy link
Contributor

@hpjaj hpjaj left a comment

Choose a reason for hiding this comment

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

I pulled this down and the form is working great. One adjustment...I changed my org and it saved to the db, but on page refresh is not reflected in the form as selected. So perhaps you'll just want to set the value of the select, or something to that effect.

@@ -224,7 +224,7 @@ export default class Profile extends Component {
<div className="flex-col w-1/2 mt-10 p-5 bg-gray m-auto bg-grey-lightest border border-grey rounded">
<UpdateAccessToken hasAccessToken={data.me.hasAccessToken} />
<UpdateGithubUsername githubUsername={data.me.githubUsername} />
<UpdateGithubOrg orgs={MOCK_ORGS} />
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you pls remove the MOCK_ORGS const, también

@hpjaj
Copy link
Contributor

hpjaj commented Dec 15, 2018

Heads up, there's a unique key iterator warning on profile:

image

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.

2 participants