patternfly-org icon indicating copy to clipboard operation
patternfly-org copied to clipboard

docs(icons): Add severity icons to table.

Open edonehoo opened this issue 1 year ago • 7 comments

Closes #4133

edonehoo avatar Jul 15 '24 18:07 edonehoo

Some notes:

  1. I can't figure out how to fix the build errors 🥲
  2. It doesn't look like these icons are in the PF5 Figma kit: is that intentional?
  3. The "undefined" icon is named "unidentified" in Figma, but I kept undefined in these docs assuming we can update in Figma.

edonehoo avatar Jul 15 '24 18:07 edonehoo

I added them to v6 and can add to the v5 kit too.

andrew-ronaldson avatar Jul 15 '24 20:07 andrew-ronaldson

That's an annoying build error - I'm going to need to try to reproduce locally...

nicolethoen avatar Jul 17 '24 14:07 nicolethoen

Preview: https://patternfly-org-pr-4134-site.surge.sh

patternfly-build avatar Jul 31 '24 13:07 patternfly-build

@nicolethoen @andrew-ronaldson okay I think pulling in main fixed this image

Looks like the critical icon was already in there as something else: image do you see any reason that we can't just remove this one? (just removed it, but can add it back if needed)

edonehoo avatar Jul 31 '24 13:07 edonehoo

I had the same issue in Figma where I was reluctant to remove the old critical icon that teams would be consuming. We could rename it in v5 kit and omit the new icon?

andrew-ronaldson avatar Jul 31 '24 16:07 andrew-ronaldson

I had the same issue in Figma where I was reluctant to remove the old critical icon that teams would be consuming. We could rename it in v5 kit and omit the new icon?

@andrew-ronaldson had the same concern! Would renaming require code updates to override the old name, though (like if products are importing CriticalRiskIcon)? We could communicate that out if so, but also wondering if that's too disruptive. We could also keep the old icon/old name and rename it with v6 or something?

edonehoo avatar Jul 31 '24 16:07 edonehoo

We could leave it with both icons for the short-term because evewntually the RH icons will replace our existing libraries. That won't disrupt anyone.

andrew-ronaldson avatar Aug 06 '24 13:08 andrew-ronaldson