fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

neutralSecondaryAlt has been deprecated for a while and should be removed

Open phkuo opened this issue 8 years ago • 9 comments

Bug Report

  • Package version(s): all

Priorities and help requested (not applicable if asking question):

Are you willing to submit a PR to fix? Partially... each individual control owner should fix it

Requested priority: High

Products/sites affected: SPList

Describe the issue:

neutralSecondaryAlt was deprecated several months ago, we should remove any instances of it.

Actual behavior:

Several places in code are still using it: https://github.com/OfficeDev/office-ui-fabric-react/search?q=ms-color-neutralsecondaryalt&unscoped_q=ms-color-neutralsecondaryalt Also search for just neutralSecondaryAlt

This causes bad behavior, like text in columns in the detailList not theming because it's using a deprecated slot.

image

phkuo avatar Jun 13 '18 23:06 phkuo

@phkuo Looks like only 3 components are reproing this? Pivot/DocumentCard/DetailsList.

It feels like this isn't per se so much a fix for codeowners, but more requiring design signoff for what the right color should be (and in turn, @betrue-final-final to approve the changes in screener).

cliffkoh avatar Jun 14 '18 18:06 cliffkoh

maybe faster to just make a fix for the 3 places?

dzearing avatar Jun 21 '18 23:06 dzearing

I didn't know about this when I did #5324 (where I added neutralSecondaryAlt to IPalette), so I'll tag it here as a work item.

JasonGore avatar Jul 03 '18 20:07 JasonGore

Yes, we should get rid of this color.

betrue-final-final avatar Jul 03 '18 21:07 betrue-final-final

I will make the fix for now only for DetailsList as it has a bigger impact and create a separate issue for removing the remaining instances of it's use.

Vitalius1 avatar Sep 27 '18 23:09 Vitalius1

:tada:This issue was addressed in #6499, which has now been successfully released as [email protected].:tada:

Handy Links:

msft-github-bot avatar Sep 28 '18 12:09 msft-github-bot

I'm reopening this because there are still other occurrences in the codebase.

JasonGore avatar Sep 28 '18 15:09 JasonGore

Oops, I missed the comment about a new issue (but don't see a link to it here so will follow up.)

JasonGore avatar Sep 28 '18 15:09 JasonGore

Oops, I missed the comment about a new issue (but don't see a link to it here so will follow up.)

Linked now 👍

KevinTCoughlin avatar Sep 28 '18 17:09 KevinTCoughlin