Skip to content

Conversation

@sreidthomas
Copy link
Contributor

@sreidthomas sreidthomas commented Mar 25, 2025

The goal of this task is to create a new profile component in the stable build of the design system.

ProfileCard should be behave the same on Desktop & Mobile:

Mobile

Image

Desktop

Image

Requirements

FINAL RESULT:

2025-04-28.15-42-32.mp4

image

@sreidthomas sreidthomas self-assigned this Mar 25, 2025
Copy link
Contributor

@maxatdetroit maxatdetroit left a comment

Choose a reason for hiding this comment

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

This is definitely moving in the right direction. Some minor things:

  • When the profile card is a link (i.e. when the href attribute is provided), would you make sure that a right caret / chevron is added at the end of the person's name? See the mobile mockup screenshot for an example of what I'm talking about.
  • The vertical margins / padding between the text elements is off from the mockups. Would you go into figma and see what the right design specs are for that and mimic them here?
  • Would you update the inline styles in the stories to remove the blue text color on the profile card links in storybook?
  • Would you update the documentation page to include a section at the top for 'Usage' that includes Storybook controls? See an example of what I mean here: https://cityofdetroit.github.io/COD-Design-System/?path=/docs/components-tag--tag#usage

@maxatdetroit maxatdetroit mentioned this pull request Apr 15, 2025
5 tasks
Copy link
Contributor

@maxatdetroit maxatdetroit left a comment

Choose a reason for hiding this comment

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

Just some minor tweaks at this point but still needs some changes before the component API is stable and ready to merge in.

Copy link
Contributor

@maxatdetroit maxatdetroit left a comment

Choose a reason for hiding this comment

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

This is the last set of feedback, couple minor things inline. Also:

  • Could you make it so that the chevron animation happens on hover of any part of the link, not just the name text?
Screen.Recording.2025-05-06.101143.mp4

@sreidthomas sreidthomas requested a review from maxatdetroit May 13, 2025 12:28
@maxatdetroit maxatdetroit linked an issue Jul 15, 2025 that may be closed by this pull request
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.

Create profile component

3 participants