-
Notifications
You must be signed in to change notification settings - Fork 22
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
chore: Deprecate Dropdown, Input, Select; Remove Popover #680
Conversation
On hold as this overlaps some of the work from #672 |
0be5dbd
to
88a953b
Compare
92639c4
to
1b9f12b
Compare
@@ -41,8 +41,8 @@ type Props = { | |||
|
|||
function ColorPicker({ color = 0, small, onChange, colorList = COLORS }: Props) { |
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 wonder if we should deprecate this one, given that:
- It is relying on a deprecated component (technically not a reason for deprecating it, as it should be re-implemented internally to use something else)
- More importantly: I think we should create a new one eventually that will probably have a different interface), and I'd also rename the new one to be a "select" and not a "picker".
Anyway, maybe not do anything about it now. I'm just dumping my thoughts.
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.
Logged under #682 👍
Co-authored-by: Ernesto García <[email protected]>
680f520
to
6ecfbaa
Compare
Short description
As titled, this removes a couple components that have been deprecated for a while as we no longer use them in Todoist or Twist, and deprecates a few more components that will be removed in the future.
This allows us to reduce the scope of #676 so we have fewer legacy tests to maintain.
Deprecations
Dropdown
: still used in Twist and its export has been renamed toDeprecatedDropdown
Input
: still used in Twist and its export has been renamed toDeprecatedInput
.TextField
should be used insteadSelect
: one instance in Twist and one in Todoist.SelectField
should be used instead, renamed and will be removed in the next releaseRemovals
Popover
: this was undocumented and wasn't used in our codebasesTwist discussion around replacements for
Dropdown
: https://twist.com/a/1585/ch/190200/t/3685978/PR Checklist
npm run validate
and made sure no errors / warnings were shownCHANGELOG.md
package.json
andpackage-lock.json
(npm --no-git-tag-version version <major|minor|patch>
) refnpm run build-all
)Versioning
Major