Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty state - replace icons with brand illustrations #1284

Open
mcarrano opened this issue Nov 4, 2022 · 6 comments
Open

Empty state - replace icons with brand illustrations #1284

mcarrano opened this issue Nov 4, 2022 · 6 comments
Labels
Feature end user feature that requires design to define this, i.e. changes or augments the user experience. Icons PatternFly 6 Design issues related to Penta work

Comments

@mcarrano
Copy link
Member

mcarrano commented Nov 4, 2022

Want to replace the existing PF-Icons coming from our icons set with illustrations pulled from the RH Brand Asset Library. Want to do this in a way that allows products that use the existing icons to maintain those icons but changes the default for PatternFly v5 and forward. Design issue with more detail here: #1198 This shows some standard options, but consumers should be allowed to customize.

Open question - how would we package and ship the SVGs for the new illustrations?

@mcarrano mcarrano added Feature end user feature that requires design to define this, i.e. changes or augments the user experience. PF5 labels Nov 4, 2022
@mcoker
Copy link
Contributor

mcoker commented Dec 14, 2022

@mcarrano I'm thinking we would

  • Add these to the pf-icon core webfont
    • This will add them to react-icons automatically so they're available in react
  • Include them in core in the empty state examples/demos
    • The icons aren't part of the empty state component, we just have examples/demos that show the icons to use
  • From my perspectivem react could either do the same (examples/demos show the icons to use, but it's up to the consumer to pick the right one or use their own), or we could have variants of the <EmptyState> or <EmptyStateIcon> components that include a default icon that is overridable. cc @tlabaj wdyt?

@tlabaj
Copy link

tlabaj commented Dec 15, 2022

@mcoker Adding them to the pf-icon core webfont and thus react-icons works. The react <EmptyStateIcon>component is already built so that consumer passes the icon via the icon prop.

@mcarrano
Copy link
Member Author

@mcoker @tlabaj I think it will be fine to have the new default illustrations passed as an icon. My only question is whether a developer could easily replace these with a custom SVG illustration that is not an icon. We don't want to restrict people in what can be placed here.

@nicolethoen
Copy link
Contributor

we can do this as an opt in in the future.

@nicolethoen nicolethoen added this to the Post v5 priority milestone Feb 14, 2023
@nicolethoen nicolethoen removed the PF5 label Mar 10, 2023
@stale
Copy link

stale bot commented May 9, 2023

This issue has been automatically marked as stale because it has not had activity in the last 60 days. It will be closed in 30 days if no further activity occurs.

@mcoker mcoker removed this from the Post v5 priority milestone Jul 7, 2023
@mcoker mcoker added this to the 2023.Q4 milestone Aug 17, 2023
@wise-king-sullyman wise-king-sullyman modified the milestones: 2023.Q4, 2024.Q1 Jan 18, 2024
@kmcfaul kmcfaul transferred this issue from patternfly/patternfly Mar 12, 2024
@lboehling
Copy link

I'm moving this back to design so we can consider adding these alongside the new branded UI icon set. Even though they are technically mini illustrations, we may need to add them to the PF icon repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature end user feature that requires design to define this, i.e. changes or augments the user experience. Icons PatternFly 6 Design issues related to Penta work
Projects
Status: Not started
Development

No branches or pull requests

7 participants