patternfly / patternfly-react

A set of React components for the PatternFly project.
https://react-staging.patternfly.org/
MIT License
775 stars 352 forks source link

Card View #2004

Closed rachael-phillips closed 4 years ago

rachael-phillips commented 5 years ago

Create a card demo based on this PR that was just merged in Core: https://github.com/patternfly/patternfly-next/pull/1716

Functionality includes the ability to check all cards using their checkboxes and delete them using the toolbar buttons. The kebab in each card should expand.

@mcarrano should be able to answer any other interaction questions.

mcarrano commented 5 years ago

This should be pretty straight forward. It's just a grid of cards with a toolbar inside of a full page layout. The cards must be selectable as @rachael-phillips notes. The core demo provides a reasonable default card to use for the demo. But it's important to note that the content of the card itself should not be constrained. The consumer should be able to add any actions or body content within the general card layouts that we support.

Let me know if you have further questions.

dlabaj commented 5 years ago

@rachael-phillips @mcarrano We need toolbar implemented to be consistent with core prior to doing this work. We currently are still using a layout. If we implement this in react without the toolbar component then it will not be the same as what we have in core.

rachael-phillips commented 5 years ago

@mcoker @mcarrano should we just wait until toolbar refactor is complete in Core and React to continue with this work?

mcarrano commented 5 years ago

Yes, I think so @rachael-phillips . Having a refactored React toolbar will be a dependency for any of these data views (card, list, or table).

jenny-s51 commented 5 years ago

Hi @mcarrano @dlabaj -- just wondering if this issue is still on hold ... are there any corresponding issues in core/react for the toolbar refactor? Does anyone know the status of those? I see https://github.com/patternfly/patternfly-react/issues/2009 is related but still open

mcarrano commented 5 years ago

I think that the Toolbar is complete now and #2009 should probably be closed. @tlabaj can you confirm that is the case? I am not aware of anything else that should be blocking this. There is design documentation recently released here that should provide more detail on expected behavior. https://www.patternfly.org/v4/design-guidelines/usage-and-behavior/card-view

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

mcarrano commented 4 years ago

@rachael-phillips @LHinson Should this get on the roadmap? We have a core demo but not a React.

jenny-s51 commented 4 years ago

@mcarrano happy to take on this issue once it's taken off hold!

mcarrano commented 4 years ago

Sounds good to me @jenny-s51

@rachael-phillips @tlabaj any issue with proceeding forward with this? I think it was on hold waiting for the Toolbar.

rachael-phillips commented 4 years ago

@mcarrano @jenny-s51 yes, we can go ahead and start working on this. One thing to keep in mind is because this will be experimental we will want to include the experimental alert as seen across our experimental features:

Screen Shot 2019-12-03 at 1 57 25 PM

cc @tlabaj

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

jenny-s51 commented 4 years ago

WIP via #2004. Card View display/functionality is complete -- currently working on a functional toolbar for the demo.

tlabaj commented 4 years ago

closed by #3441