-
Notifications
You must be signed in to change notification settings - Fork 314
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(content-uploader): Migrated ItemAction #3600
Conversation
34feaea
to
206de33
Compare
@@ -63,15 +63,15 @@ const ItemList = ({ | |||
cellRenderer={actionCell} | |||
dataKey="status" | |||
flexShrink={0} | |||
width={onUpgradeCTAClick ? 100 : 25} | |||
width={onUpgradeCTAClick ? 100 : 32} |
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.
can we store this in a constant
206de33
to
fa71b26
Compare
/> | ||
{isResumableUploadsEnabled && ( | ||
<Column | ||
className="bcu-item-list-action-column" | ||
cellRenderer={removeCell} | ||
dataKey="remove" | ||
flexShrink={0} | ||
width={25} | ||
width={32} |
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 was thinking more of storing 100/32 as a constant so that it can be used in both places
fa71b26
to
35f7b0b
Compare
import { IntlProvider } from 'react-intl'; | ||
import { TooltipProvider } from '@box/blueprint-web'; |
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.
How come this test isn't migrated, but ItemAction.test.tsx
is? Did we decide to do this as a separate task?
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! Thank you Greg!
.js
to.js.flow
TooltipProvider
to the root of the ContentUploader - Also added it to the testing-library utility