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

refactor(pick-list, pick-list-group, pick-list-item, value-list, value-list-group, value-list-item)!: Remove deprecated components. #10653

Merged

Conversation

aPreciado88
Copy link
Contributor

@aPreciado88 aPreciado88 commented Oct 30, 2024

Related Issues:

#9296
#9297

Summary

Remove the following deprecated components:

  • pick-list
  • pick-list-group
  • pick-list-item
  • value-list
  • value-list-group
  • value-list-item

BREAKING CHANGE: Use the List component instead.

…ue-list-group, value-list-item): remove deprecated components from code base
…ciado88/9297-remove-deprecated-component-from-code-base
@driskull
Copy link
Member

@aPreciado88 since this is a breaking change, it needs the ! in the title and breaking changes notes from here:
https://github.com/Esri/calcite-design-system/blob/dev/CONTRIBUTING.md#commit-message-format

I'm not sure if deprecate() is the right thing here.

deprecate: Documentation only changes for a deprecation 👎

It might be refactor()!: but I don't think our changelog picks up refactors so maybe we should use fix()!:? cc @jcfranco

@aPreciado88 aPreciado88 changed the title deprecate(pick-list, pick-list-group, pick-list-item, value-list, value-list-group, value-list-item): Remove deprecated components from code base in favor of the list component fix(pick-list, pick-list-group, pick-list-item, value-list, value-list-group, value-list-item)!: Remove deprecated components from code base in favor of the list component Oct 30, 2024
@aPreciado88
Copy link
Contributor Author

@driskull I updated the title and description. Thanks for catching that!

@driskull
Copy link
Member

Maybe the PR title can be shorted to:

fix(pick-list, pick-list-group, pick-list-item, value-list, value-list-group, value-list-item)!: Remove deprecated components.

And the breaking change description:

BREAKING CHANGE: The list component should be used instead of the following components:

Copy link
Member

@driskull driskull left a comment

Choose a reason for hiding this comment

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

LGTM! Should wait to merge until after the oct release wraps up.

@aPreciado88 aPreciado88 changed the title fix(pick-list, pick-list-group, pick-list-item, value-list, value-list-group, value-list-item)!: Remove deprecated components from code base in favor of the list component fix(pick-list, pick-list-group, pick-list-item, value-list, value-list-group, value-list-item)!: Remove deprecated components. Oct 30, 2024
@aPreciado88 aPreciado88 added the pr ready for visual snapshots Adding this label will run visual snapshot testing. label Oct 30, 2024
@aPreciado88
Copy link
Contributor Author

@ashetland @SkyeSeitz Could you please take a look at the chromatic build? It looks like they're false positives, but I want to confirm.

@ashetland
Copy link

Yep, just the usual set of false positives. 🍰

@jcfranco
Copy link
Member

Can you move the BREAKING CHANGE footer to the end of the description? It needs to be placed at the bottom to adhere to the conventional commits spec:

<type>[optional scope]: <description>

[optional body]

[optional footer(s)]

@aPreciado88 aPreciado88 changed the title fix(pick-list, pick-list-group, pick-list-item, value-list, value-list-group, value-list-item)!: Remove deprecated components. refactor(pick-list, pick-list-group, pick-list-item, value-list, value-list-group, value-list-item)!: Remove deprecated components. Oct 31, 2024
@jcfranco
Copy link
Member

It might be refactor()!: but I don't think our changelog picks up refactors so maybe we should use fix()!:? cc @jcfranco

refactor is the appropriate type. The breaking changes will be reflected in the changelog (see 2.0.0 changelog and some example PRs).

@aPreciado88 aPreciado88 merged commit a99368d into dev Oct 31, 2024
30 checks passed
@aPreciado88 aPreciado88 deleted the aPreciado88/9297-remove-deprecated-component-from-code-base branch October 31, 2024 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr ready for visual snapshots Adding this label will run visual snapshot testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants