Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

Move use-patternfly components and hooks in appservice-patternfly #37

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

riccardo-forina
Copy link
Collaborator

To do

  • app-layout: contains AppLayout, AppNavExpandable, AppNavGroup, AppNavItem, Loading, useBreadcrumb, useDocumentTitle; depends on PF4 and react-router
  • format-date - contains FormatDate, FormatDistance, FormatRelative; depends on date-fns
  • routing - contains useA11yRoute, LazyRoute , NotFound, SwitchWith404, depends on react-router

This is a WIP, I'll document the changes I did to the monorepo later.

Also removes script used by the example apps
This adds Storybook to the workspace to act as the single documentation
point for all packages. It's using a beta version of Storybook that
makes this kind of usage possible, together with  zero-conf Typescript
support.
Copy link
Member

@dlabaj dlabaj left a comment

Choose a reason for hiding this comment

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

Looks great @riccardo-forina Just a few comments and questions.

@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2020 Riccardo Forina
Copy link
Member

Choose a reason for hiding this comment

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

Can we change copy right to redhat?

@@ -0,0 +1,167 @@
# TSDX React User Guide
Copy link
Member

Choose a reason for hiding this comment

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

TSDX looks cool. Guessing we want to standardize on this instead of webpack configs for the libraries.


## Commands

TSDX scaffolds your new library inside `/src`, and also sets up a [Parcel-based](https://parceljs.org) playground for it inside `/example`.
Copy link
Member

Choose a reason for hiding this comment

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

Probably want to update this readme to be specific to app-layout library.

"@patternfly/react-core": "^3.77.2",
"@patternfly/react-icons": "^3.10.15",
"@patternfly/react-styles": "^3.5.7",
"react": ">=16",
Copy link
Member

Choose a reason for hiding this comment

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

We probably want to use the version where hooks are added, and have a specific version for these libraries.

@dlabaj dlabaj marked this pull request as ready for review July 21, 2020 14:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants