Skip to content

Page/setup group#120

Merged
iainkirkpatrick merged 32 commits into
masterfrom
page/setup-group
Aug 15, 2017
Merged

Page/setup group#120
iainkirkpatrick merged 32 commits into
masterfrom
page/setup-group

Conversation

@gregorykan

@gregorykan gregorykan commented Jul 27, 2017

Copy link
Copy Markdown
Contributor

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

@iainkirkpatrick iainkirkpatrick left a comment

Copy link
Copy Markdown
Member

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