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

feat(docuworks): Add support for docuworks file types #1444

Merged
merged 2 commits into from
Mar 24, 2022

Conversation

ConradJChan
Copy link
Contributor

@ConradJChan ConradJChan commented Mar 23, 2022

2022-03-23 13 29 30

2022-03-23 13 30 44

@ConradJChan ConradJChan requested a review from a team as a code owner March 23, 2022 20:27
package.json Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
src/lib/extensions.js Outdated Show resolved Hide resolved
package.json Show resolved Hide resolved
@@ -1,6 +1,6 @@
import React from 'react';
import ReactDOM from 'react-dom';
import Grid from 'react-virtualized/dist/es/Grid/Grid';
import { Grid } from '@box/react-virtualized/dist/es/Grid';
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we need the object notation? It looks like the Grid barrel file re-exports Grid as its default.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah I tried without and the unit tests failed, I think because of the jest mapping to the commonjs directory might not have the same exports

@ConradJChan ConradJChan merged commit 61a1713 into box:master Mar 24, 2022
@ConradJChan ConradJChan deleted the add-docuworks-support branch March 24, 2022 18:00
karelee7 pushed a commit to jstoffan/box-content-preview that referenced this pull request Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants