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

Backport #65772 to 6.7 #65905

Merged
merged 2 commits into from
Oct 8, 2024
Merged

Backport #65772 to 6.7 #65905

merged 2 commits into from
Oct 8, 2024

Commits on Oct 8, 2024

  1. PaletteEdit: dedupe palette element slugs (#65772)

    * First pass at deduping palette element slugs.
    
    * Addressing TypeScript errors where PaletteEditListViewProps is using a generic type parameter. The linter was complaining that I wasn't doing the same, even though I was using the same inherited types. Whatever. It could probably be optimized, but it's unrelated to the scope of this PR
    
    * Add changelog
    
    * Make use of PaletteElement type consistent
    
    * Address feedback on deduplicate util
    
    * Use count rather than index for new slugs
    
    ---------
    
    Co-authored-by: ramonjd <ramonopoly@git.wordpress.org>
    Co-authored-by: aaronrobertshaw <aaronrobertshaw@git.wordpress.org>
    Co-authored-by: ciampo <mciampini@git.wordpress.org>
    4 people committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    c30d6f0 View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG section

    ciampo committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    0791d4f View commit details
    Browse the repository at this point in the history