Skip to content

Conversation

@janwright73
Copy link
Contributor

What: Closes #7642

Additional issues: I may need some extra guidance here as the existing example is throwing errors on PF.org. I also noticed that the design guidelines stated for grouped examples that only one group should be open at a time. The existing demos do not enforce this behavior. Final question - the 'lightweight' example - what is the purpose of this one? The only difference is the lack of global action menu and no close button for the drawer??

@patternfly-build
Copy link
Collaborator

patternfly-build commented Jul 5, 2022

@nicolethoen
Copy link
Contributor

nicolethoen commented Jul 8, 2022

I also noticed that the design guidelines stated for grouped examples that only one group should be open at a time. The existing demos do not enforce this behavior.

That's a great catch. It would be wise that our examples adhere to design guidelines since people like to copy/paste our example code. @mmenestr do you think the design guidelines that Jan references here are up to date and correct?

Final question - the 'lightweight' example - what is the purpose of this one? The only difference is the lack of global action menu and no close button for the drawer??

This is a great question for @mcarrano when he is back from PTO. A quick once over from me did not identify any other differences between the two examples.

@mcarrano
Copy link
Member

The design guidelines for this should be up to date as there have not really been any activity on this for at least the path year. If I recall, the "lightweight" variant was created specifically for OpenShift since they wanted to use a more stripped down implementation of the drawer.

@janwright73
Copy link
Contributor Author

@mcarrano - would Joe C be a good person to connect with for the need to keep (or can) the lightweight example?

@mcarrano
Copy link
Member

would Joe C be a good person to connect with for the need to keep (or can) the lightweight example?

Yes, definitely @janwright73

@jcaianirh
Copy link
Contributor

@mcarrano @janwright73 @nicolethoen Thats correct, the lightweight example is basically the OpenShift implementation. Since the original design, however, there was a follow on feature to add the x to close the drawer. Also there is no read/unread notifications since we don't have that concept with openshift. I should also say that regrettably we have not yet merged the pr that @DaoDaoNoCode wrote that contributes back the pf component, but thats another story. Design wise, the lightweight example is supposed to reflect the openshift implementation.

Copy link
Contributor

@thatblindgeye thatblindgeye left a comment

Choose a reason for hiding this comment

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

Looks good! I just had several (small) changes noted below + one nitpick

@janwright73
Copy link
Contributor Author

accepted all suggestions from Eric - please let me know if there are additional tasks to complete this work.

Copy link
Contributor

@thatblindgeye thatblindgeye left a comment

Choose a reason for hiding this comment

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

Looks good! The only other thing for me would be updating the "Lightweight" example to more closely resemble what was described as OpenShift's current implementation above.

Copy link
Contributor

@tlabaj tlabaj left a comment

Choose a reason for hiding this comment

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

@janwright73 this one can go in once the updates are made to the lightweight example.

@janwright73
Copy link
Contributor Author

Hey @tlabaj - the alst update did include the lightweight example updates that Eric requested. Is there an issue with the changes that I missed?

@tlabaj
Copy link
Contributor

tlabaj commented Aug 18, 2022

Hey @tlabaj - the alst update did include the lightweight example updates that Eric requested. Is there an issue with the changes that I missed?

@janwright73 it looks fine to me. It is however visually different from what was there before. Which is ok based on the conversation above. I will defer to @jcaianirh and @mcarrano for approval on the lightweight example.

Copy link
Contributor

@thatblindgeye thatblindgeye left a comment

Choose a reason for hiding this comment

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

Other than Titani's comment above about the lightweight example and getting feedback from Matt and/or Joe, looks good!

@mcarrano
Copy link
Member

Since the goal was to match OpenShift's implementation with this example, I'm OK with it even though it diverges from what we have now. That said, I'm not that familiar with the details of OpenShift's implementation so I'll defer to @jcaianirh on whether this is correct.

Copy link
Contributor

@jcaianirh jcaianirh left a comment

Choose a reason for hiding this comment

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

looks awesome, just a few issues noted in the code review otherwise looks great

Copy link
Contributor

@jcaianirh jcaianirh left a comment

Choose a reason for hiding this comment

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

/lgtm
thanks for making the updates!

@jcaianirh jcaianirh merged commit e6ca610 into patternfly:main Aug 23, 2022
@patternfly-build
Copy link
Collaborator

Your changes have been released in:

  • eslint-plugin-patternfly-react@4.73.2
  • @patternfly/react-catalog-view-extension@4.85.2
  • @patternfly/react-charts@6.87.2
  • @patternfly/react-code-editor@4.75.2
  • @patternfly/react-console@4.85.2
  • @patternfly/react-core@4.234.2
  • @patternfly/react-docs@5.95.2
  • @patternfly/react-icons@4.85.2
  • @patternfly/react-inline-edit-extension@4.79.2
  • demo-app-ts@4.194.2
  • @patternfly/react-integration@4.196.2
  • @patternfly/react-log-viewer@4.79.2
  • @patternfly/react-styles@4.84.2
  • @patternfly/react-table@4.103.2
  • @patternfly/react-tokens@4.86.2
  • @patternfly/react-topology@4.81.2
  • @patternfly/react-virtualized-extension@4.81.2
  • transformer-cjs-imports@4.72.2

Thanks for your contribution! 🎉

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.

Notification drawer: Convert examples to TS

8 participants