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

Page/setup group #120

Merged
merged 32 commits into from
Aug 15, 2017
Merged

Page/setup group #120

merged 32 commits into from
Aug 15, 2017

Conversation

gregorykan
Copy link
Contributor

@gregorykan gregorykan commented Jul 27, 2017

closes #33, closes #35

depends on root-systems/dogstack-agents#6

group profile

  • handle onSubmit for profile page/form
  • check that it updates the profile on the backend

member invites

  • create migration for agentRelationships
  • add dux stuff for agentRelationships
  • handle creation of agents onSubmit
    • map through array of member data and fire create-agent action for each
      • specify 'type' to be 'person'
      • 'name' goes to profile creation
      • 'email' goes to credential creation
  • handle creation of agentRelationships in the after-create-agent hook
  • query for agentRelationships that have source as the group-agent id
    • then query for agents (target) based on those agentRelationships
  • get sourceRelationships from state
    • get group members from state (merge many relationships into members with roles)
  • pass data from relationships queries down to component to override form
  • updates
    • add new relationships (if any)
    • remove new relationships (if any)
    • update agent profile
    • update agent credentials

ahdinosaur and others added 25 commits August 14, 2017 16:40
but stop, because we should wait until we can generate test data from json schemas
Copy link
Member

@iainkirkpatrick iainkirkpatrick left a comment

Choose a reason for hiding this comment

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

👍

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.

page: invite group members page: create group profile
4 participants