-
Notifications
You must be signed in to change notification settings - Fork 123
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
Deprecate TipBox #2121
Deprecate TipBox #2121
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found some other instances of Tip Box which I'm not sure if should be renamed as well.
packages/vue-components/src/tests/TipBox.spec.js
packages/vue-components/src/utils/utils.js
Comment // Used in the TipBox component to classify the different styles used by bootstrap from the user input.
Hi @yucheng11122017! Thanks for looking through my PR, I intentionally left these as I felt they were referring to the TipBox component which is still currently named as |
If we're going by the original intent of fully deprecating the Of course, the other concern would be backwards compatibility, so while we can make |
We shouldn't need to support any usage as an alias since it's been undocumented since quite a while back (see this comment). Removing it altogether is fine :) As for renaming |
Alright! I will rename all variants of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🎊 Thanks @itsyme , can we also add more details to the commit message since this is a (improbable, but possibly) breaking deprecation?
Hi @jovyntls I have edited the commit message! Let me know if you would like any additions or changes to it. |
Hi @itsyme, I think @jovyntls (and I too) would think that a more detailed commit message following the following structure (as noted in the link in #2121 (review)) would be more suitable, could you update the commit message accordinly to it?
|
Hi @tlylt! Thank you for the clarification and the suggested structure! I interpreted it as a more detailed commit header. I will make the relevant changes now! |
Thanks for making the changes @itsyme 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for all the changes @itsyme 😄
What is the purpose of this pull request?
Overview of changes:
Resolves #1804. Changes all appropriate instances of tipbox to box.
Anything you'd like to highlight/discuss:
Testing instructions:
Proposed commit message: (wrap lines at 72 characters)
Deprecate TipBox
Both tip-box and box are supported with box being an alias for
tipbox.
This could be confusing for users and developers as the use of
tip-box is not documented.
Let's deprecate tipbox, remove support for the tip-box tag and
replace all instances of tipbox to box.
This prevents confusion between the use of variations of tipbox in
both code and documentation, making any reference to or use of this
this component consistent. Replacing tipbox with box removes the
need for box being an alias for tipbox, deprecating tipbox completely.
Checklist: ☑️