Prioritizing PFE migrations #271
Replies: 9 comments 12 replies
-
PFE 2.0 ->
|
Beta Was this translation helpful? Give feedback.
-
@marionnegp asks:
|
Beta Was this translation helpful? Give feedback.
-
@marionnegp asks
|
Beta Was this translation helpful? Give feedback.
-
Should color context be moved over to RHDS? Meaning, should PFE drop support for context, and RHDS adopt it? The reasoning for asking is that context is a PFE-only feature, not mentioned in PFv4. |
Beta Was this translation helpful? Give feedback.
-
@markcaron and @methomps identified some ambiguity in the That doesn't solve the "handoff issue form is super intense" problem, for that, designers and developers should just dive in and we'll workshop the experience as we go. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Today I browsed the web pages for PatternFly v4, RHDS and PatternFly Elements to collect information on which components exist in which systems. In particular, the lists of components which exist in all three systems and the list of components which exist in PFv4 and PFE but not in RHDS are of interest, since we can develop them right away. We should also carefully read the list of components that ONLY exist in PFE, as they will disappear when PF1:1 is done, unless we find a project to adopt them. Components Represented in PF, PFE and RHDSThese components are not blocked on questions of ownership, so we can work on them immediately.
Orphaned PFE componentsThese components are not (yet) defined or planned in RHDS. Defined in PFv4These components we may keep in PFE.
PFE-onlyThese have no representation in RHDS. When removed from PFE, will have no where else to go.
PFv4-only componentsThese are PatternFly components which don't exist or aren't planned in RHDS or PFE. We may not prioritize for implementation. Show list
All ComponentsWhich components exist in which system?
Show Table
|
Beta Was this translation helpful? Give feedback.
-
@zhawkins we should review these potentially orphaned components to see if they are being used in FTS. |
Beta Was this translation helpful? Give feedback.
-
These are currently being used in one or more of the following
|
Beta Was this translation helpful? Give feedback.
-
Which elements, and in which order, do we need to port or migrate from PFE?
👉 Issues for migrations/ports should be opened here
What are we doing here?
We want to bring over all the elements from PFE into RHDS. Some of those elements, the ones which are designed upstream in PatternFly, will stay in PFE. In this thread, Let's call those elements PFE 1:1 elements. An example of a PFE 1:1 element is
<pfe-button>
, because it's design is designed upstream by PatternFly button.The rest of the elements, those that are not designed upstream. Let's call those RHDS-only elements. We'll remove them from PFE once they are published under
@rhds/elements
. An example RHDS-only element is<pfe-cta>
because it's not designed upstream, it's "root design" is in RHDS.RHDS-Only Elements
In broad strokes, the RHDS-only elements have to be migrated to this repository. Just like their "root design" is in RHDS, so too their main implementation will be here. Migrating such an element might look something like this:
<pfe-*
andPfe*
to<rh-*
andRh*
PFE 1:1 Elements
These elements have to be ported to this repository. Instead of reimplementing them here, we'll want to install and extend them. Porting such an element might look something like this:
@patternfly/pfe-*
package (if it isn't already installed)The goal of those steps would be to get a functional Red Hat branded and styled element as quickly as possible. Later on, we can go back to the PFE version and adjust it's APIs and designs to suit the original PatternFly design and APIs
Implementation Pre-Reqs
Implied in the above is that RHDS' CSS Custom Property convention has to be decided before any work can proceed, and the specific element ready to port needs it's specific properties defined (i.e. named).
Future Elements
For brand-new elements that we want to create here in RHDS, if the element is defined in PatternFly, we should implement the minimum API surface there first, then "reskin" it for RHDS, per the "PFE 1:1 Elements" workflow above. If the element is not defined by PatternFly, we can go ahead and implement it here right away.
The goal here is to allow RHDS to develop at pace, without diverging widely from PatternFly, which would create undue technical debt in PFE and RHDS both.
cc @markcaron @methomps @marionnegp
Beta Was this translation helpful? Give feedback.
All reactions