reapit / elements

Reapit Elements UI Component Library
https://elements.reapit.cloud/?path=/story/welcome--page
0 stars 2 forks source link

v5 component refactor: DataList #142

Open HollyJoyPhillips opened 1 month ago

HollyJoyPhillips commented 1 month ago

Abstract

As part of the v5 Elements release, each component will be reviewed and refactored to ensure best practice and design system alignment

Specification

Developer Checklist

Release Checklist

Additional Context or Information

kurtdoherty commented 1 month ago

note: The DataList component described by the Design System is not a replacement for a Card component. A DataList may involve a list of Cards, but they are not the same the thing. I could also be worthwhile getting Design to comment on whether they see the DataList as an organism or a pattern, as that will influence its implementation.

willmcvay commented 4 weeks ago

@HollyJoyPhillips Can we get some clarity on this from the design team please? There isn't a card component in the DS so maybe we just deprecate card and add data list. @kurtdoherty FYI, don't know if you have any thoughts?

kurtdoherty commented 4 weeks ago

@willmcvay A few thoughts:

willmcvay commented 4 weeks ago

Thanks @kurtdoherty , so we know that DataList is signed off for dev - suggest we just build this as requested and re-visit the Card component at a later date?

kurtdoherty commented 3 weeks ago

@willmcvay Karmen has marked this component for review. While there's a case to be made for both Dev and Design to have a convenience component like DataList, it's more of a pattern than an individual component. The design team originally included DataList as a component because it was something they inherited from the Console component library; so as I mentioned above, I think there's some conversation that needs to happen with Design before we add a DataList to Elements.

suggestion: Instead of have devs try to tackle the implementation of a pattern via one or more React components, I'd recommend they focus on the other atomic components that need work done to them.