Skip to content

create profile component #51

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

Merged
merged 21 commits into from
Jun 22, 2017
Merged

create profile component #51

merged 21 commits into from
Jun 22, 2017

Conversation

ahdinosaur
Copy link
Member

@ahdinosaur ahdinosaur commented Jun 20, 2017

  • app.TextField component and story
  • app.TextAreaField component and story
  • app.ImageField component and story
  • agents.Profile component and story
    • agents.Profile editing and display modes
    • agents.ProfileIcon component and story

@@ -16,7 +16,7 @@ function Avatar (props) {
const {
size,
styles,
agent: { profile: { name, image } }
image
Copy link
Member Author

Choose a reason for hiding this comment

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

hmm... i'm not sure how i feel about this change.

my thinking was that the components we are building are not strictly generic, they are re-usable but specific to the data model concepts in Cobuy. so since an "agent" is a first class data model concept, maybe we should build our components to accept them as arguments directly, to avoid all sorts of destructuring and restructuring code. or, what if we want to later include the agent name when the avatar is large. or put a star icon in the avatar if they are the admin of the current group.

but maybe i'm being silly.

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah, i had some questions around levels here - let's discuss after lunch!

This was referenced Jun 22, 2017
@gregorykan gregorykan merged commit 5e7edaa into master Jun 22, 2017
@gregorykan gregorykan changed the title [wip] create profile component create profile component Jun 22, 2017
@ahdinosaur ahdinosaur added this to the sprint 1 milestone Jul 2, 2017
@ahdinosaur ahdinosaur modified the milestones: sprint 1, beta 1 Aug 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants